diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-09-18 01:15:39 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-09-18 01:15:39 +0800 |
commit | f5a0339e717de283a1e37f6cf815db76fb78f53c (patch) | |
tree | 1edaed19f25066837887659ef5f7834f059c1b1a /net/freebsd-uucp/Makefile | |
parent | 43ca24243b33d4130c9adbb5f78ce98d4bad6a44 (diff) | |
download | freebsd-ports-gnome-f5a0339e717de283a1e37f6cf815db76fb78f53c.tar.gz freebsd-ports-gnome-f5a0339e717de283a1e37f6cf815db76fb78f53c.tar.zst freebsd-ports-gnome-f5a0339e717de283a1e37f6cf815db76fb78f53c.zip |
fix default permissions of etc/uucp
update /etc/services from: http://www.iana.org/assignments/port-numbers)
suucp 4031/tcp #UUCP over SSL
mention UUCP_MAILER_PATH in pkg-message
Diffstat (limited to 'net/freebsd-uucp/Makefile')
-rw-r--r-- | net/freebsd-uucp/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile index a5ebc70f473b..9c07cbabd1df 100644 --- a/net/freebsd-uucp/Makefile +++ b/net/freebsd-uucp/Makefile @@ -7,6 +7,7 @@ PORTNAME= freebsd-uucp PORTVERSION= 1.06.1.10 +PORTREVISION= 1 CATEGORIES= net comms MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR=dinoex @@ -59,6 +60,14 @@ pre-install: .endif post-install: + @${CHOWN} uucp:uucp ${PREFIX}/etc/uucp + @${CHMOD} 750 ${PREFIX}/etc/uucp + @${ECHO_CMD} "updating ${DESTDIR}/etc/services" + @${CP} ${DESTDIR}/etc/services ${DESTDIR}/etc/services.bak + @(grep -v ^suucp ${DESTDIR}/etc/services.bak; \ + ${ECHO_CMD} "suucp 4031/tcp #UUCP over SSL"; \ + ${ECHO_CMD} "suucp 4031/udp #UUCP over SSL" ) \ + > ${DESTDIR}/etc/services @${ECHO} "Use the 'make upgrade' command to copy your old configuration" @${ECHO} "files from /etc/uucp to the new location in ${PREFIX}/etc/uucp" @${ECHO} |