Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2013 12:36:59 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Daniel O'Connor <doconnor@gsoft.com.au>
Cc:        "freebsd-stable@freebsd.org stable" <freebsd-stable@freebsd.org>
Subject:   Re: Empty @cwd in some ports
Message-ID:  <20130320113659.GN67352@ithaqua.etoilebsd.net>
In-Reply-To: <2AB1C509-75DF-4CDC-91D7-8C1A3670065F@gsoft.com.au>
References:  <2AB1C509-75DF-4CDC-91D7-8C1A3670065F@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--dPW7zu3hTOhZvCDO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 20, 2013 at 09:13:08PM +1030, Daniel O'Connor wrote:
> I noticed I have a lot of ports which have an empty @cwd line in the +CON=
TENTS file (even after reinstalling).
>=20
> 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=20
> @dirrm share/licenses/a2ps-a4-4.13b_4
>=20
> 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=20
> @dirrm share/licenses/curl-7.24.0_2
> @unexec rmdir %D/share/licenses 2>/dev/null || true
>=20
> 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
>=20
> --
> 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
>=20
>=20
>=20
>=20
>=20
>=20
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"

Empty cwd is normal, it is equivalent to @cwd %%PREFIX%%

regards,
Bapt

--dPW7zu3hTOhZvCDO
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlFJn1sACgkQ8kTtMUmk6EwrGQCfe69ubUmH4QhsR2FOPHRYFpbn
aWQAn31hi9T1YH5q+YBGhnVo5qP4VLdX
=JbkN
-----END PGP SIGNATURE-----

--dPW7zu3hTOhZvCDO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130320113659.GN67352>