Empty @cwd in some ports

Daniel O'Connor doconnor at gsoft.com.au
Wed Mar 20 10:43:34 UTC 2013


I noticed I have a lot of ports which have an empty @cwd line in the +CONTENTS file (even after reinstalling).

For example a2ps..
@comment PKG_FORMAT_REVISION:1.1
@name a2ps-a4-4.13b_4
@comment ORIGIN:print/a2ps-a4
@cwd /usr/local
@pkgdep xineramaproto-1.2.1
@comment DEPORIGIN:x11/xineramaproto
<snip>
@exec /sbin/ldconfig -m /usr/local/lib
@unexec /sbin/ldconfig -R
@comment OPTIONS:+NLS -I18N +EMACS
@cwd 
@dirrm share/licenses/a2ps-a4-4.13b_4

And curl..
@comment PKG_FORMAT_REVISION:1.1
@name curl-7.24.0_2
@comment ORIGIN:ftp/curl
@cwd /usr/local
@pkgdep ca_root_nss-3.14.3
@comment DEPORIGIN:security/ca_root_nss
<snip>
@comment OPTIONS:-CARES -CURL_DEBUG -GNUTLS +IPV6 -KERBEROS4 -LDAP -LDAPS -LIBIDN -LIBSSH2 -NTLM +OPENSSL +CA_BUNDLE +PROXY -RTMP
@comment OPTIONS:-TRACKMEMORY
@cwd 
@dirrm share/licenses/curl-7.24.0_2
@unexec rmdir %D/share/licenses 2>/dev/null || true

This seems pretty broken but I am not sure what causes it :(
[midget 21:09] /var/db/pkg >egrep -l '@cwd $' */+CONTENTS| wc -l
     300

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the freebsd-stable mailing list