[MacPorts] #7214: Absolute symlinks in /opt/local/var/db/dports/build/...

MacPorts trac at macosforge.org
Fri Dec 28 10:29:26 PST 2007


#7214: Absolute symlinks in /opt/local/var/db/dports/build/...
----------------------------+-----------------------------------------------
  Reporter:  n3npq at mac.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect         |      Status:  closed                               
  Priority:  Normal         |   Milestone:                                       
 Component:  base           |     Version:  1.2                                  
Resolution:  wontfix        |    Keywords:                                       
----------------------------+-----------------------------------------------
Old description:

> Absolute symlinks prevent backup/restore of /opt to a different path.
>
> Well "prevent" is too strong, but I believe relative links are more
> flexible and hence preferred.
>
> PITA, yes.
>
> $ ls -al /Volumes/Mac\ OS\
> X/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports
> .org_dpupdate_dports_kde_kde-i18n-
> fr/work/destroot/opt/local/share/doc/kde/fr/kruler/common
> lrwxr-xr-x   1 root  admin  34 Jan 28 06:09 /Volumes/Mac OS
> X/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports
> .org_dpupdate_dports_kde_kde-i18n-
> fr/work/destroot/opt/local/share/doc/kde/fr/kruler/common ->
> /opt/local/share/doc/kde/fr/common

New description:

 Absolute symlinks prevent backup/restore of /opt to a different path.

 Well "prevent" is too strong, but I believe relative links are more
 flexible and hence preferred.

 PITA, yes.

 {{{
 $ ls -al /Volumes/Mac\ OS\
 X/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports
 .org_dpupdate_dports_kde_kde-i18n-
 fr/work/destroot/opt/local/share/doc/kde/fr/kruler/common
 lrwxr-xr-x   1 root  admin  34 Jan 28 06:09 /Volumes/Mac OS
 X/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports
 .org_dpupdate_dports_kde_kde-i18n-
 fr/work/destroot/opt/local/share/doc/kde/fr/kruler/common ->
 /opt/local/share/doc/kde/fr/common
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/7214#comment:4>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list