1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

- fix mtree on clean install

PR:		227467
This commit is contained in:
Dirk Meyer 2018-04-14 08:47:16 +00:00
parent 6d1494264d
commit 1b57d4a9a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467299
2 changed files with 6 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= freebsd-uucp
PORTREVISION= 1
PORTREVISION= 2
DISTVERSIONPREFIX= r
DISTVERSION= 1_07_4
CATEGORIES= net comms ipv6

View File

@ -7,6 +7,7 @@ etc/mtree/uucp-local.mtree
etc/periodic/daily/340.uucp
etc/periodic/daily/410.status-uucp
etc/periodic/weekly/300.uucp
@dir(uucp,uucp,750) etc/uucp
etc/uucp/call.sample
etc/uucp/config.sample
etc/uucp/dial.sample
@ -48,10 +49,10 @@ libexec/uucp/uucico
@mode
@owner
@group
@preexec pw usermod uucp -s %D/libexec/uucp/uucico
@preexec mtree -deU -f %D/etc/mtree/uucp-var.mtree -p /var
@preexec mtree -deU -f %D/etc/mtree/uucp-local.mtree -p %D
@preexec 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
@postexec pw usermod uucp -s %D/libexec/uucp/uucico
@postexec mtree -deU -f %D/etc/mtree/uucp-var.mtree -p /var
@postexec mtree -deU -f %D/etc/mtree/uucp-local.mtree -p %D
@postexec 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
@postunexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^suucp /etc/services.bak ) > /etc/services
%%VAR_LOG%%@dir(uucp,uucp,775) /var/log/uucp
@dir(uucp,uucp,775) /var/spool/uucp/.Preserve