pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/mgetty+sendfax Don't make the outgoing fax spool...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5b18f288543c
branches: trunk
changeset: 465095:5b18f288543c
user: fredb <fredb%pkgsrc.org@localhost>
date: Sat Dec 20 20:09:50 2003 +0000
description:
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:
comms/mgetty+sendfax/INSTALL | 9 +++------
comms/mgetty+sendfax/Makefile | 6 +++---
2 files changed, 6 insertions(+), 9 deletions(-)
diffs (50 lines):
diff -r ad0163bc0f1d -r 5b18f288543c comms/mgetty+sendfax/INSTALL
--- a/comms/mgetty+sendfax/INSTALL Sat Dec 20 20:06:38 2003 +0000
+++ b/comms/mgetty+sendfax/INSTALL Sat Dec 20 20:09:50 2003 +0000
@@ -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 @@
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 -r ad0163bc0f1d -r 5b18f288543c comms/mgetty+sendfax/Makefile
--- a/comms/mgetty+sendfax/Makefile Sat Dec 20 20:06:38 2003 +0000
+++ b/comms/mgetty+sendfax/Makefile Sat Dec 20 20:09:50 2003 +0000
@@ -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 @@
_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
Home |
Main Index |
Thread Index |
Old Index