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.
This commit is contained in:
parent
6d7a1b6ed2
commit
953b15cda5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2168
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue