summaryrefslogtreecommitdiffstats
path: root/net/freebsd-uucp/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'net/freebsd-uucp/pkg-plist')
-rw-r--r--net/freebsd-uucp/pkg-plist4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/freebsd-uucp/pkg-plist b/net/freebsd-uucp/pkg-plist
index cafbb43..39c7d46 100644
--- a/net/freebsd-uucp/pkg-plist
+++ b/net/freebsd-uucp/pkg-plist
@@ -19,6 +19,8 @@ etc/uucp/passwd.sample
etc/uucp/port.sample
etc/uucp/sys1.sample
etc/uucp/sys2.sample
+@exec chown uucp:uucp %D/etc/uucp
+@exec chmod 750 %D/etc/uucp
info/uucp.info.gz
@exec install-info %D/info/uucp.info %D/info/dir
@unexec install-info --delete %D/info/uucp.info %D/info/dir
@@ -29,3 +31,5 @@ sbin/uuchk
sbin/uuconv
@dirrm etc/uucp
@dirrm libexec/uucp
+@exec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^suucp /etc/services.bak ; echo "suucp 4031/tcp #UUCP over SSL"; echo "suucp 4031/udp #UUCP over SSL") > /etc/services
+@unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^suucp /etc/services.bak ) > /etc/services
OpenPOWER on IntegriCloud