1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Satoshi Asami
06edab4007 Unmark this port broken, operator error (old header file).
Reported by:	fenner@parc.xerox.com, jhay@mikom.csir.co.za
1997-11-23 16:59:12 +00:00
Satoshi Asami
0c4c115d81 Mark this port broken, it does not build. If it builds for -current,
please add some sysctl -n kern.osreldate magic, Justin.
NFIGURE_ARGS=	--with-defaults --with-sys-contact=nobody@no.where
.else
IS_INTERACTIVE= yes
.endif
MAN1=		snmpget.1 snmpset.1 snmpwalk.1 snmpbulkwalk.1 \
		snmpgetnext.1 snmptest.1 snmpnetstat.1 snmptranslate.1 \
		snmptrap.1 snmpstatus.1
MAN3=		snmp_api.3 mib_api.3
MAN5=		variables.5 snmpd.conf.5
MAN8=		snmptrapd.8 snmpd.8

BIN=		snmpbulkwalk snmpget snmpgetnext snmpnetstat \
		snmpset snmpstatus snmptest snmptranslate \
		snmptrap snmptrapd snmpwalk
SBIN=		snmpd

post-install:
	( cd ${PREFIX}/bin; strip ${BIN} )
	( cd ${PREFIX}/sbin; strip ${SBIN} )
	@${MKDIR} ${PREFIX}/share/examples/ucd-snmp
	@for F in ${WRKSRC}/etc/* ; do \
		${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done
	@if [ ! -f ${PREFIX}/etc/rc.d/snmpd.sh ]; then \
		echo "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \
		echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/snmpd.sh; \
		echo "[ -x /usr/local/sbin/snmpd ] && /usr/local/sbin/snmpd && echo -n ' snmpd'" >> ${PREFIX}/etc/rc.d/snmpd.sh; \
		chmod 751 ${PREFIX}/etc/rc.d/snmpd.sh; \
	 fi

.include <bsd.port.mk>
1997-11-22 01:27:13 +00:00
Gary Palmer
f1ba5c4d8a Add newline to end of file
Pointed-Out-By:	Dave Duchscher <Dave.Duchscher@net.tamu.edu>
1997-07-05 02:42:48 +00:00
Bill Fenner
6e7adb7599 Upgrade to ucd-snmp 3.2, and make it work on -current. 1997-07-03 04:59:05 +00:00
Satoshi Asami
688da587cc Mark this broken for -current. (Even Peter can't get it to work.) 1997-07-02 09:39:17 +00:00
James FitzGibbon
8fd36313da Install libsnmp.a into ${PREFIX}/lib
Install SNMP headers into ${PREFIX}/include/snmp
Compile libsnmp.a with "-DPIC -fpic" to allow dynamic linking without RRS
Text Relocation errors.
PR:	ports/3880
1997-06-26 23:28:01 +00:00
Bill Fenner
65901f8d98 Make the port not IS_INTERACTIVE if PACKAGE_BUILDING 1997-05-17 17:24:59 +00:00
Gary Palmer
abcbcf3adc Remember to change the Required line :) 1997-03-07 11:36:04 +00:00
Gary Palmer
76bd4dfdd7 Try to bring this port up to date. Upgrade to 3.1.3, and untangle the
patches a bit (author incorporated a fair number of them, and made
even more cross-platfrm portability improvements). I'll deal with
any packaging changes tomorrow.
1997-03-07 11:33:51 +00:00
Masafumi Max NAKANE
86913ca557 No `.' is needed at the end of the reason string for NO_CDROM, NO_PACKAGE,
RESTRICTED or BROKEN.
Pointed-out by:	asami
1996-12-08 01:45:16 +00:00
Masafumi Max NAKANE
3e17de1c73 Now, string describing reason for defining these variables must be set
when you define NO_CDROM, NO_PACKAGE or RESTRICTED instead of just ``yes''.
1996-12-07 11:26:58 +00:00
David E. O'Brien
6d580f890e Cleaned up post-install target. 1996-12-01 01:20:15 +00:00
Satoshi Asami
3c01626a9d Dang, what am I thinking?!? It's NO_PACKAGE, not NO_PACKAGES dummy.
Maybe I should go to sleep.
1996-11-22 11:48:53 +00:00
Satoshi Asami
3919ad374a Make this NO_PACKAGE, it asks too many questions. 1996-11-22 11:45:46 +00:00
Satoshi Asami
300c45cf2e Use MAN? macros. CATEGORIES+= -> CATEGORIES. 1996-11-18 11:44:27 +00:00
Gary Palmer
a8ec3d04fc It's net, not networking (which makes me wonder where I copied this from) 1996-07-09 19:00:08 +00:00
Gary Palmer
d3cb3cb927 The SNMP package from University of California at Davis
Ok'ed by:	 asami
1996-07-06 08:14:49 +00:00