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
This commit is contained in:
parent
609907d039
commit
d1d6af2832
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66522
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user