diff options
author | fredb <fredb@pkgsrc.org> | 2003-12-20 20:09:50 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2003-12-20 20:09:50 +0000 |
commit | 3f044150296cbceb9ac0f74e653e016aaa8a2018 (patch) | |
tree | 4a4cc2b556215861ca054fa1600dbf3c621caea3 /comms/mgetty+sendfax | |
parent | b805a3f6b36059cc067fa3fbb14cf98272ea407e (diff) | |
download | pkgsrc-3f044150296cbceb9ac0f74e653e016aaa8a2018.tar.gz |
Don't make the outgoing fax spool directory chmod 1777. Unprivleged users
are supposed to use "faxspool" to submit faxes for sending, as explained
by Gert Doering (mgetty's author) on tech-pkg.
Diffstat (limited to 'comms/mgetty+sendfax')
-rwxr-xr-x | comms/mgetty+sendfax/INSTALL | 9 | ||||
-rw-r--r-- | comms/mgetty+sendfax/Makefile | 6 |
2 files changed, 6 insertions, 9 deletions
diff --git a/comms/mgetty+sendfax/INSTALL b/comms/mgetty+sendfax/INSTALL index c549a1bbfc1..b6fce560133 100755 --- a/comms/mgetty+sendfax/INSTALL +++ b/comms/mgetty+sendfax/INSTALL @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: INSTALL,v 1.4 2003/08/30 20:22:50 jlam Exp $ +# $NetBSD: INSTALL,v 1.5 2003/12/20 20:09:50 fredb Exp $ case ${STAGE} in POST-INSTALL) @@ -15,11 +15,8 @@ POST-INSTALL) fi if [ ! -d /var/spool/fax/outgoing ]; then ${MKDIR} /var/spool/fax/outgoing - ${CHMOD} 1777 /var/spool/fax/outgoing - fi - if [ ! -d /var/spool/fax/outgoing/locks ]; then - ${MKDIR} /var/spool/fax/outgoing/locks - ${CHMOD} 777 /var/spool/fax/outgoing/locks fi + ${CHMOD} 755 /var/spool/fax/outgoing + ${CHOWN} fax /var/spool/fax/outgoing ;; esac diff --git a/comms/mgetty+sendfax/Makefile b/comms/mgetty+sendfax/Makefile index 1197f4cded6..10bac5a9a93 100644 --- a/comms/mgetty+sendfax/Makefile +++ b/comms/mgetty+sendfax/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.36 2003/10/18 13:08:49 cjep Exp $ +# $NetBSD: Makefile,v 1.37 2003/12/20 20:09:50 fredb Exp $ # FreeBSD Id: Makefile,v 1.25 1998/07/16 06:44:37 vanilla Exp # DISTNAME= mgetty1.1.30-Dec16 PKGNAME= mgetty-1.1.30 +PKGREVISION= 1 WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} CATEGORIES= comms MASTER_SITES= ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/ \ @@ -46,8 +47,7 @@ PKG_USERS= fax:dialer _EXAMPLES_DIR= ${PREFIX}/share/examples/mgetty+sendfax MAKE_DIRS_PERMS+= /var/spool/fax ${ROOT_USER} ${ROOT_GROUP} 755 MAKE_DIRS_PERMS+= /var/spool/fax/incoming ${ROOT_USER} ${ROOT_GROUP} 755 -MAKE_DIRS_PERMS+= /var/spool/fax/outgoing ${ROOT_USER} ${ROOT_GROUP} 1777 -MAKE_DIRS_PERMS+= /var/spool/fax/outgoing/locks ${ROOT_USER} ${ROOT_GROUP} 777 +MAKE_DIRS_PERMS+= /var/spool/fax/outgoing fax ${ROOT_GROUP} 755 do-configure: ${MV} ${WRKSRC}/doc/fax.1in ${WRKSRC}/doc/sendfax.1in |