Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2020 03:55:21 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550760 - in head: mail/mailagent net-mgmt/arpwatch
Message-ID:  <202010010355.0913tLHm052698@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Oct  1 03:55:21 2020
New Revision: 550760
URL: https://svnweb.freebsd.org/changeset/ports/550760

Log:
  Backout changes in WIP those crept in in the middle of the gnome update
  
  Reported by:	leres

Modified:
  head/mail/mailagent/pkg-plist
  head/net-mgmt/arpwatch/pkg-plist

Modified: head/mail/mailagent/pkg-plist
==============================================================================
--- head/mail/mailagent/pkg-plist	Thu Oct  1 00:44:27 2020	(r550759)
+++ head/mail/mailagent/pkg-plist	Thu Oct  1 03:55:21 2020	(r550760)
@@ -34,8 +34,8 @@ man/man1/edusers.1.gz
 man/man1/mailagent.1.gz
 man/man1/mailhelp.1.gz
 man/man1/package.1.gz
-@touch %%ORGFILE%%
-@rmempty %%ORGFILE%%
+@exec [ -f %%ORGFILE%% ] || touch %%ORGFILE%% || true
+@unexec [ -s %%ORGFILE%% ] || rm -f %%ORGFILE%% || true
 %%EXAMPLESDIR%%/agent/README
 %%EXAMPLESDIR%%/agent/daemon
 %%EXAMPLESDIR%%/agent/mailfolders

Modified: head/net-mgmt/arpwatch/pkg-plist
==============================================================================
--- head/net-mgmt/arpwatch/pkg-plist	Thu Oct  1 00:44:27 2020	(r550759)
+++ head/net-mgmt/arpwatch/pkg-plist	Thu Oct  1 03:55:21 2020	(r550760)
@@ -11,6 +11,6 @@ man/man8/arpsnmp.8.gz
 man/man8/arpwatch.8.gz
 sbin/arpsnmp
 sbin/arpwatch
-@touch arpwatch/arp.dat
-@rmempty arpwatch/arp.dat
+@postexec test -f %D/arpwatch/arp.dat || touch %D/arpwatch/arp.dat
+@preunexec test -f %D/arpwatch/arp.dat && test -s %D/arpwatch/arp.dat || rm -f %D/arpwatch/arp.dat
 @dir(,operator,0755) arpwatch



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