svn commit: r350763 - head/net-mgmt/net-snmp
Bryan Drewery
bdrewery at FreeBSD.org
Thu Apr 10 22:09:31 UTC 2014
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
>> + at dirrmtry /var/agentx
>
> @dirrmtry doesn't work with absolute paths.
>
> You can replace these 4 lines with:
>
> @exec mkdir -p /var/agentx
> @unexec rm -d /var/agentx 2>/dev/null || true
>
> This should work with both the old pkg_install and the new pkg.
>
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/null || true
> net/freebsd-uucp/pkg-plist:@unexec rm -d /var/spool/uucp/.Preserve 2>/dev/null || true
> net/freebsd-uucp/pkg-plist:@unexec rm -d /var/spool/uucp/.Sequence 2>/dev/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/null || 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>/dev/null || true
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20140410/d48ebf75/attachment.sig>
More information about the svn-ports-all
mailing list