diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-09-17 17:15:39 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-09-17 17:15:39 +0000 |
commit | d1d6af283296f0287ef28e138ca92346a9fb5016 (patch) | |
tree | 51d4ef4654408cc5b2d2e7eb4c30913745ce5449 /net/freebsd-uucp | |
parent | 609907d039307735152f9f16ab5e02374829e20e (diff) | |
download | ports-d1d6af283296f0287ef28e138ca92346a9fb5016.tar.gz ports-d1d6af283296f0287ef28e138ca92346a9fb5016.zip |
Notes
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 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} diff --git a/net/freebsd-uucp/pkg-message b/net/freebsd-uucp/pkg-message index 2f56dda1a1c0..3757dca0f7f5 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 cafbb430bcff..39c7d4645391 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 |