Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2014 17:09:23 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Tijl Coosemans <tijl@FreeBSD.org>, Ryan Steinmetz <zi@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r350763 - head/net-mgmt/net-snmp
Message-ID:  <53471693.2080007@FreeBSD.org>
In-Reply-To: <20140410102630.65029403@kalimero.tijl.coosemans.org>
References:  <201404100241.s3A2fDrS077880@svn.freebsd.org> <20140410102630.65029403@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Wo28RcsIW1FGn5P4wqIveuXx3aEWb5TKm
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 4/10/2014 3:26 AM, Tijl Coosemans wrote:
> On Thu, 10 Apr 2014 02:41:13 +0000 (UTC) Ryan Steinmetz wrote:
>> @@ -622,3 +621,4 @@ sbin/snmptrapd
>>  @cwd /
>>  @exec mkdir -p var/agentx
>>  @unexec rmdir var/agentx 2>/dev/null || true
>> +@dirrmtry /var/agentx
>=20
> @dirrmtry doesn't work with absolute paths.
>=20
> You can replace these 4 lines with:
>=20
> @exec mkdir -p /var/agentx
> @unexec rm -d /var/agentx 2>/dev/null || true
>=20
> This should work with both the old pkg_install and the new pkg.
>=20

pkg specifically looks for 'rmdir' for directory tracking. It doesn't
support rm -d.

We'll need to cleanup these ports too:

> devel/aegis/pkg-plist:@unexec rm -d %D/com/aegis 2>/dev/null || true
> mail/bsmtp/pkg-plist:@unexec rm -d /var/spool/bsmtp 2>/dev/null || true=

> net/freebsd-uucp/pkg-plist:@unexec rm -d /var/spool/uucppublic 2>/dev/n=
ull || true
> net/freebsd-uucp/pkg-plist:@unexec rm -d /var/spool/uucp/.Preserve 2>/d=
ev/null || true
> net/freebsd-uucp/pkg-plist:@unexec rm -d /var/spool/uucp/.Sequence 2>/d=
ev/null || true
> net/freebsd-uucp/pkg-plist:@unexec rm -d /var/spool/uucp/.Status 2>/dev=
/null || true
> net/freebsd-uucp/pkg-plist:@unexec rm -d /var/spool/uucp/.Temp 2>/dev/n=
ull || true
> net/freebsd-uucp/pkg-plist:@unexec rm -d /var/spool/uucp/.Xqtdir 2>/dev=
/null || true
> net/freebsd-uucp/pkg-plist:@unexec rm -d /var/spool/uucp 2>/dev/null ||=
 true
> net/freebsd-uucp/pkg-plist:%%VAR_LOG%%@unexec rm -d /var/log/uucp 2>/de=
v/null || true



--=20
Regards,
Bryan Drewery


--Wo28RcsIW1FGn5P4wqIveuXx3aEWb5TKm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTRxaTAAoJEDXXcbtuRpfP6XQH/0Me3a6xUBey9utK6WRXz37x
1Zd8GhbMWx9lIehv31csYZOM4Eecv6lt/z3slR3It77f8IH89g2S69tRbcrSsEUe
eAM6jTllJcTo/rf2rqSjaw41BXX3O0fB4KvuY0UXXNRyBbru210JxoBUdxWRxXSk
Y7C20JKaRVOLC/SwuXeJgEjQ3xvNkfBGV3RdEO/bq8IOx2VJcYLfHYr8zgDZP48S
Qe3KE3SmT/uEfa5fcbto0NQlKtKcad4Y65v4HBMha3jlZhvyNQry/MM0d4EIaC19
3A7hu2DqSCJww0ikwVKdV+Syeevr4FhIWmNCSJkV3BdkMv83c3cG17GQGykcgWk=
=YOon
-----END PGP SIGNATURE-----

--Wo28RcsIW1FGn5P4wqIveuXx3aEWb5TKm--



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