aboutsummaryrefslogtreecommitdiffstats
path: root/comms/kermit
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-09-19 19:51:33 +0800
committerache <ache@FreeBSD.org>1995-09-19 19:51:33 +0800
commit506b8d1ecfec31cbae4ac74de8a1130bc85c82f7 (patch)
tree5a711d03128e8fb5b0bd72fd910d74858774bd30 /comms/kermit
parent28b24511bb7cdf14ad5d00c1d455a7c65ac82d39 (diff)
downloadfreebsd-ports-gnome-506b8d1ecfec31cbae4ac74de8a1130bc85c82f7.tar.gz
freebsd-ports-gnome-506b8d1ecfec31cbae4ac74de8a1130bc85c82f7.tar.zst
freebsd-ports-gnome-506b8d1ecfec31cbae4ac74de8a1130bc85c82f7.zip
Add compilation options: SETREUID,SAVEDUID,NDSYSERRLIST
Install as sgid dialer to make able to remove stale lock files. Degradate priv_opn function to simple open: we don't need sgid capabilities to open devices.
Diffstat (limited to 'comms/kermit')
-rw-r--r--comms/kermit/files/Makefile.sed9
1 files changed, 3 insertions, 6 deletions
diff --git a/comms/kermit/files/Makefile.sed b/comms/kermit/files/Makefile.sed
index 96d61a3c3bb7..e620585301ec 100644
--- a/comms/kermit/files/Makefile.sed
+++ b/comms/kermit/files/Makefile.sed
@@ -1,16 +1,13 @@
PROG= kermit
CFLAGS+= -I${.CURDIR} -DBSD44 -DCK_CURSES -DDYNAMIC -DTCPSOCKET \
- -DNOCOTFMC
+ -DNOCOTFMC -DSETREUID -DSAVEDUID -DNDSYSERRLIST
SRCS= ckcmai.c ckucmd.c ckuusr.c ckuus2.c ckuus3.c ckuus4.c ckuus5.c \
ckuus6.c ckuus7.c ckuusx.c ckuusy.c ckcpro.c ckcfns.c ckcfn2.c \
ckcfn3.c ckuxla.c ckucon.c ckutio.c ckufio.c ckudia.c ckuscr.c \
ckcnet.c
-# uncomment these for uucp setuid dialout
-#CFLAGS+= -DSETREUID
-#BINMODE=4510
-#BINOWN= uucp
-#BINGRP= dialer
+BINMODE=2555
+BINGRP=dialer
BINDIR=%%PREFIX%%/bin
MANDIR=%%PREFIX%%/man/man