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 | |
parent | 43ca24243b33d4130c9adbb5f78ce98d4bad6a44 (diff) | |
download | freebsd-ports-graphics-f5a0339e717de283a1e37f6cf815db76fb78f53c.tar.gz freebsd-ports-graphics-f5a0339e717de283a1e37f6cf815db76fb78f53c.tar.zst freebsd-ports-graphics-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')
-rw-r--r-- | net/freebsd-uucp/Makefile | 9 | ||||
-rw-r--r-- | net/freebsd-uucp/pkg-message | 2 | ||||
-rw-r--r-- | net/freebsd-uucp/pkg-plist | 4 |
3 files changed, 15 insertions, 0 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile index a5ebc70f473..9c07cbabd1d 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} diff --git a/net/freebsd-uucp/pkg-message b/net/freebsd-uucp/pkg-message index 2f56dda1a1c..3757dca0f7f 100644 --- a/net/freebsd-uucp/pkg-message +++ b/net/freebsd-uucp/pkg-message @@ -10,3 +10,5 @@ daily_status_uucp_enable="YES" # Check uucp status # 300.uucp weekly_uucp_enable="YES" # Clean uucp weekly +# in your sendmail.mc file you need to set the path: +define(`UUCP_MAILER_PATH', `/usr/local/bin/uux')dnl diff --git a/net/freebsd-uucp/pkg-plist b/net/freebsd-uucp/pkg-plist index cafbb430bcf..39c7d464539 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 |