Add NOPAM hook to be able to use login(1) here...
This commit is contained in:
parent
9f63a91c4c
commit
bc8fb49115
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/08/28 08:57:16 abial Exp $
|
||||
# $Id: Makefile,v 1.3 1998/10/15 21:40:01 abial Exp $
|
||||
#
|
||||
SRC?=/usr/src
|
||||
|
||||
@ -7,21 +7,17 @@ all: crunch
|
||||
|
||||
crunch:
|
||||
@if [ ! -f .patched ]; then \
|
||||
cat login.diff|(cd /usr/src/usr.bin/login; patch -p0); \
|
||||
cat passwd.diff|(cd /usr/src/usr.bin/passwd; patch -p0); \
|
||||
cat ppp.diff|(cd /usr/src/usr.sbin/ppp; patch -p0); \
|
||||
touch .patched; \
|
||||
fi
|
||||
@cat crunch.conf|sed -e "s@/usr/src@${SRC}@" >crunch1.conf
|
||||
@crunchgen ./crunch1.conf
|
||||
@${MAKE} -f crunch1.mk all \
|
||||
@${MAKE} -f crunch1.mk -DNOPAM all \
|
||||
"CFLAGS=${CFLAGS} -DCRUNCHED_BINARY -DNOSECURE -DNOCRYPT" #2>&1 >/dev/null
|
||||
|
||||
clean:
|
||||
@if [ -f .patched ]; then \
|
||||
cat login.diff|(cd /usr/src/usr.bin/login; patch -R -p0); \
|
||||
cat passwd.diff|(cd /usr/src/usr.bin/passwd; patch -R -p0); \
|
||||
cat ppp.diff|(cd /usr/src/usr.sbin/ppp; patch -R -p0); \
|
||||
rm .patched; \
|
||||
fi
|
||||
rm -f *.o *.stub *.lo *_stub.c *.mk \
|
||||
@ -42,8 +38,8 @@ install:
|
||||
done
|
||||
rm /mnt/stand/crunch
|
||||
# Install the MIB files
|
||||
mkdir -p /mnt/usr/local/share/snmp/mibs
|
||||
cp ../../net/crunch1/mibs/*.txt /mnt/usr/local/share/snmp/mibs/
|
||||
#mkdir -p /mnt/usr/local/share/snmp/mibs
|
||||
#cp ../../net/crunch1/mibs/*.txt /mnt/usr/local/share/snmp/mibs/
|
||||
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: crunch.conf,v 1.3 1998/09/15 07:35:31 abial Exp $
|
||||
# $Id: crunch.conf,v 1.4 1998/09/15 11:12:18 abial Exp $
|
||||
#
|
||||
# NOTE: the string "/usr/src" will be automatically replaced with the
|
||||
# correct value set in 'build' script - you should change it there
|
||||
@ -16,7 +16,7 @@ srcdirs ../../tinyware
|
||||
# OBJS=${MIBOBJS} ${AGENTOBJS}
|
||||
# * we install a special version of MIB files - stripped of comments and
|
||||
# descriptions. These MIBs are included here to save you the stripping.
|
||||
srcdirs /usr/ports/net/ucd-snmp/work/ucd-snmp-3.5
|
||||
#srcdirs /usr/ports/net/ucd-snmp/work/ucd-snmp-3.5
|
||||
# other sources
|
||||
srcdirs /usr/src/bin
|
||||
srcdirs /usr/src/sbin/i386
|
||||
@ -27,12 +27,13 @@ srcdirs /usr/src/usr.sbin
|
||||
srcdirs /usr/src/libexec
|
||||
|
||||
progs ash test echo hostname ln login getty
|
||||
progs inetd telnetd stty w msg kget snmpd natd
|
||||
progs inetd telnetd stty w msg kget natd
|
||||
progs init fsck ifconfig df ps ns vm cat
|
||||
progs cp rm mkdir ls chmod chown
|
||||
progs sysctl route swapon pwd_mkdb dev_mkdb
|
||||
progs mount mount_msdos umount comcontrol
|
||||
progs kill mount_std natd
|
||||
#progs snmpd
|
||||
|
||||
progs pwd pppd telnet more
|
||||
progs passwd date
|
||||
@ -54,7 +55,7 @@ ln msg dmesg
|
||||
ln ns netstat
|
||||
|
||||
# For snmpd
|
||||
libs /usr/ports/net/ucd-snmp/work/ucd-snmp-3.5/snmplib/libsnmp.a
|
||||
#libs /usr/ports/net/ucd-snmp/work/ucd-snmp-3.5/snmplib/libsnmp.a
|
||||
libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm
|
||||
libs -lmytinfo -lipx -lz -lpcap -lalias
|
||||
libs -ltermcap -lgnuregex -ltelnet -lcurses
|
||||
|
Loading…
x
Reference in New Issue
Block a user