summaryrefslogtreecommitdiff
path: root/net/ucd-snmp/Makefile
diff options
context:
space:
mode:
authorcube <cube>2004-03-29 16:30:23 +0000
committercube <cube>2004-03-29 16:30:23 +0000
commit4ddf4d993302e56b229be318d42c2182b5922eb5 (patch)
treeee633c934da9166cd4c5e71b246eac9dd71a151d /net/ucd-snmp/Makefile
parent02267c653bd6d646dca90f6980ac22b4335de47a (diff)
downloadpkgsrc-4ddf4d993302e56b229be318d42c2182b5922eb5.tar.gz
Remove ucd-snmp package, which is outdated, insecure, and now unused in
pkgsrc since gkrellm1-snmp conversion to net-snmp.
Diffstat (limited to 'net/ucd-snmp/Makefile')
-rw-r--r--net/ucd-snmp/Makefile100
1 files changed, 0 insertions, 100 deletions
diff --git a/net/ucd-snmp/Makefile b/net/ucd-snmp/Makefile
deleted file mode 100644
index d87622a5b95..00000000000
--- a/net/ucd-snmp/Makefile
+++ /dev/null
@@ -1,100 +0,0 @@
-# $NetBSD: Makefile,v 1.55 2004/03/26 02:27:50 wiz Exp $
-
-DISTNAME= ucd-snmp-4.2.4
-PKGREVISION= 4
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/} \
- ftp://ucd-snmp.ucdavis.edu/ \
- ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
- ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.net-snmp.org/
-COMMENT= Extensible SNMP implementation
-
-CONFLICTS+= net-snmp-[0-9]*
-
-BUILD_DEFS+= USE_INET6
-
-USE_BUILDLINK2= # defined
-USE_PERL5= build
-USE_LIBTOOL= yes
-USE_PKGINSTALL= yes
-
-.include "../../mk/bsd.prefs.mk"
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-defaults
-CONFIGURE_ARGS+= --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers}
-CONFIGURE_ARGS+= --with-logfile="/var/log/snmpd"
-CONFIGURE_ARGS+= --with-mib-modules="smux host"
-#
-# NOTE: if you do not allow dummy values some tools such as
-# scotty/tkined may ignore results when they shouldn't.
-#
-CONFIGURE_ARGS+= --with-dummy-values
-#
-# NOTE: without this the default is USER@DOMAINNAME of the package builder
-#
-CONFIGURE_ARGS+= --with-sys-contact="default_user@contact.domain"
-CONFIGURE_ARGS+= --with-sys-location="defaultlocation"
-CONFIGURE_ARGS+= --enable-shared
-.if defined(USE_INET6) && ${USE_INET6} == "YES"
-CONFIGURE_ARGS+=--enable-ipv6
-.else
-CONFIGURE_ARGS+=--disable-ipv6
-.endif
-
-# This might make it easier to use scotty's MIBs and local MIBs.
-CONFIGURE_ARGS+= --with-mibdirs="${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tcl/tnm2.1.10/mibs:${PREFIX}/lib/tnm2.1.8/mibs:/usr/local/share/snmp/mibs"
-
-.if (${OPSYS} == "NetBSD")
-CFLAGS+= -Dnetbsd1
-.endif
-
-RCD_SCRIPTS= snmpd snmptrapd
-
-PKG_SYSCONFSUBDIR= snmp
-EGDIR= ${PREFIX}/share/examples/ucd-snmp
-
-# Deal with libwrap bogosity by providing these variables to programs which
-# do not supply them.
-#
-post-extract:
- @${ECHO} 'int allow_severity, deny_severity;' \
- > ${WRKSRC}/snmplib/libwrap.c
- @${LN} ${WRKSRC}/s/netbsd.h ${WRKSRC}/s/netbsdelf.h
-
-pre-configure:
-.if (${OPSYS} == NetBSD)
- if [ -f /usr/include/uvm/uvm_param.h ]; then \
- cd ${BUILDLINK_DIR}/include; \
- ${MKDIR} vm; \
- ${LN} -s /usr/include/uvm/uvm_param.h vm/vm_param.h; \
- fi
-. if (${LOWER_ARCH} == i386 && ${OS_VERSION:M1.5.[123]*} != "")
- ${MKDIR} ${BUILDLINK_DIR}/include/sys
- ${LN} -s ${FILESDIR}/disklabel.h ${BUILDLINK_DIR}/include/sys
-. endif
-.endif
-#
-# Adapt for the fact that the default I've seen of ac_max_sed_cmds=90
-# will not work w/ built-in sed on Solaris.
-#
-.if ${OPSYS} == SunOS
- cd ${WRKSRC}; \
- ${SED} 's/ac_max_sed_cmds=[0-9][0-9]*/ac_max_sed_cmds=10/' \
- ${CONFIGURE_SCRIPT} > ${CONFIGURE_SCRIPT}.fixed; \
- ${MV} -f ${CONFIGURE_SCRIPT}.orig ${CONFIGURE_SCRIPT}
-.endif
-
-post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${EGDIR}
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/snmp/dlmod
-
-.include "../../lang/perl5/buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
-.include "../../security/tcp_wrappers/buildlink2.mk"
-
-.include "../../mk/bsd.pkg.mk"