head	1.20;
access;
symbols
	pkgsrc-2013Q2:1.20.0.54
	pkgsrc-2013Q2-base:1.20
	pkgsrc-2012Q4:1.20.0.52
	pkgsrc-2012Q4-base:1.20
	pkgsrc-2011Q4:1.20.0.50
	pkgsrc-2011Q4-base:1.20
	pkgsrc-2011Q2:1.20.0.48
	pkgsrc-2011Q2-base:1.20
	pkgsrc-2009Q4:1.20.0.46
	pkgsrc-2009Q4-base:1.20
	pkgsrc-2008Q4:1.20.0.44
	pkgsrc-2008Q4-base:1.20
	pkgsrc-2008Q3:1.20.0.42
	pkgsrc-2008Q3-base:1.20
	cube-native-xorg:1.20.0.40
	cube-native-xorg-base:1.20
	pkgsrc-2008Q2:1.20.0.38
	pkgsrc-2008Q2-base:1.20
	pkgsrc-2008Q1:1.20.0.36
	pkgsrc-2008Q1-base:1.20
	pkgsrc-2007Q4:1.20.0.34
	pkgsrc-2007Q4-base:1.20
	pkgsrc-2007Q3:1.20.0.32
	pkgsrc-2007Q3-base:1.20
	pkgsrc-2007Q2:1.20.0.30
	pkgsrc-2007Q2-base:1.20
	pkgsrc-2007Q1:1.20.0.28
	pkgsrc-2007Q1-base:1.20
	pkgsrc-2006Q4:1.20.0.26
	pkgsrc-2006Q4-base:1.20
	pkgsrc-2006Q3:1.20.0.24
	pkgsrc-2006Q3-base:1.20
	pkgsrc-2006Q2:1.20.0.22
	pkgsrc-2006Q2-base:1.20
	pkgsrc-2006Q1:1.20.0.20
	pkgsrc-2006Q1-base:1.20
	pkgsrc-2005Q4:1.20.0.18
	pkgsrc-2005Q4-base:1.20
	pkgsrc-2005Q3:1.20.0.16
	pkgsrc-2005Q3-base:1.20
	pkgsrc-2005Q2:1.20.0.14
	pkgsrc-2005Q2-base:1.20
	pkgsrc-2005Q1:1.20.0.12
	pkgsrc-2005Q1-base:1.20
	pkgsrc-2004Q4:1.20.0.10
	pkgsrc-2004Q4-base:1.20
	pkgsrc-2004Q3:1.20.0.8
	pkgsrc-2004Q3-base:1.20
	pkgsrc-2004Q2:1.20.0.6
	pkgsrc-2004Q2-base:1.20
	pkgsrc-2004Q1:1.20.0.4
	pkgsrc-2004Q1-base:1.20
	pkgsrc-2003Q4:1.20.0.2
	pkgsrc-2003Q4-base:1.20
	buildlink2-base:1.20
	netbsd-1-5-RELEASE:1.3
	netbsd-1-4-PATCH003:1.3
	netbsd-1-4-PATCH002:1.2
	comdex-fall-1999:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.20
date	2002.02.13.16.43.35;	author tron;	state dead;
branches;
next	1.19;

1.19
date	2002.02.12.12.24.57;	author skrll;	state Exp;
branches;
next	1.18;

1.18
date	2002.02.12.12.16.54;	author skrll;	state Exp;
branches;
next	1.17;

1.17
date	2002.02.12.10.16.45;	author skrll;	state Exp;
branches;
next	1.16;

1.16
date	2002.01.11.06.42.35;	author itojun;	state Exp;
branches;
next	1.15;

1.15
date	2001.09.26.23.53.55;	author wrstuden;	state Exp;
branches;
next	1.14;

1.14
date	2001.09.24.15.06.20;	author tron;	state Exp;
branches;
next	1.13;

1.13
date	2001.09.11.01.33.22;	author wrstuden;	state Exp;
branches;
next	1.12;

1.12
date	2001.09.11.01.30.43;	author wrstuden;	state dead;
branches;
next	1.11;

1.11
date	2001.08.30.23.31.30;	author wrstuden;	state Exp;
branches;
next	1.10;

1.10
date	2001.05.09.19.05.42;	author wiz;	state dead;
branches;
next	1.9;

1.9
date	2001.04.05.15.22.28;	author wiz;	state Exp;
branches;
next	1.8;

1.8
date	2001.03.27.03.20.12;	author hubertf;	state Exp;
branches;
next	1.7;

1.7
date	2001.02.25.04.18.09;	author hubertf;	state Exp;
branches;
next	1.6;

1.6
date	2001.02.17.18.19.49;	author wiz;	state Exp;
branches;
next	1.5;

1.5
date	2001.02.05.09.01.02;	author tron;	state Exp;
branches;
next	1.4;

1.4
date	2001.01.26.05.21.47;	author hubertf;	state Exp;
branches;
next	1.3;

1.3
date	2000.03.17.19.28.37;	author kim;	state Exp;
branches;
next	1.2;

1.2
date	2000.01.10.01.39.04;	author wiz;	state Exp;
branches;
next	1.1;

1.1
date	99.09.22.21.11.39;	author kim;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.09.22.21.11.39;	author kim;	state Exp;
branches;
next	;


desc
@@


1.20
log
@Remove "ucd-snmp-current" package because "ucd-snmp" package was updated
to the same version but has an extra security fixe.
@
text
@# $NetBSD: Makefile,v 1.19 2002/02/12 12:24:57 skrll Exp $

DISTNAME=	ucd-snmp-4.2.3
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=	packages@@netbsd.org
HOMEPAGE=	http://net-snmp.sourceforge.net/
COMMENT=	Extensible SNMP implementation

BUILD_DEPENDS+=	autoconf-2.13:../../devel/autoconf

BUILD_DEFS+=	USE_INET6

USE_BUILDLINK_ONLY=	

.include "../../mk/bsd.prefs.mk"

.if (${OPSYS} == NetBSD && \
	${LOWER_ARCH} == i386 && \
	${OS_VERSION:M1.5.[12]*} != "")
BROKEN=		Please update your sys/disklabel.h from the netbsd-1-5 branch
.endif

USE_LIBTOOL=	yes
LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig

#CPPFLAGS+=	-I${BUILDLINK_DIR}/include
#LDFLAGS+=	-L${BUILDLINK_DIR}/lib

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-defaults --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers} --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 ones too
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"

# 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:
	(cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf)
.if ${OPSYS} == SunOS
# 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.
	(cd ${WRKSRC} && ${SED} \
		's/ac_max_sed_cmds=[0-9][0-9]*/ac_max_sed_cmds=10/' \
		configure > tmp && cp tmp configure && rm tmp)
.endif

post-build:
	${SED} 's,@@PREFIX@@,${PREFIX},g' < ${FILESDIR}/snmpd.sh > ${WRKDIR}/snmpd
	${SED} 's,@@PREFIX@@,${PREFIX},g' < ${FILESDIR}/snmptrapd.sh > ${WRKDIR}/snmptrapd

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucd-snmp
	${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${PREFIX}/share/examples/ucd-snmp
	${INSTALL_DATA_DIR} ${PREFIX}/lib/snmp/dlmod
	${INSTALL_SCRIPT} ${WRKDIR}/snmpd ${PREFIX}/etc/rc.d
	${INSTALL_SCRIPT} ${WRKDIR}/snmptrapd ${PREFIX}/etc/rc.d

.if (${OPSYS} == "NetBSD")
CFLAGS+=	-Dnetbsd1
.endif

.include "../../security/openssl/buildlink.mk"	# USE_SSL=	yes
.include "../../security/tcp_wrappers/buildlink.mk"

.include "../../mk/bsd.pkg.mk"
@


1.19
log
@Mark as broken on NetBSD/i386 1.5.[12]
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2002/02/12 12:16:54 skrll Exp $
@


1.18
log
@Remove the workaround - something else breaks instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2002/02/12 10:16:45 skrll Exp $
d21 6
@


1.17
log
@Attempt to workaround includes lossage on NetBSD-1.5.[12] that causes
build failures. Tested to compile and install cleanly on -current.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2002/01/11 06:42:35 itojun Exp $
a75 3
.if (${OS_VERSION:M1.5.[12]*} != "")
CFLAGS+=	-D__HAVE_OLD_DISKLABEL
.endif
@


1.16
log
@upgrade to 4.2.3.

4.2.2 -> 4.2.3
http://sourceforge.net/forum/forum.php?forum_id=140118

New:
- sysLocation, sysContact, sysName and snmpEnableAuthenTraps are
persistent after being set remotely.
- New "ignoredisk" directive to ignore disks in the host resources mib.

Bug Fixes:
- The ifTable on Linux no longer reports duplicate interfaces.
- perl scripts print better error messages if needed modules
aren't available.
- trap sinks aren't duplicated after a SIGHUP.
- misc other fixes.

Ports:
- improved irix support.
- more mibII support for windows.

4.2.1 -> 4.2.2
http://sourceforge.net/forum/forum.php?forum_id=116910

Security Bug Fixes:
- A few security bugs have been found and fixed. No known exploits
have been released to date. However, users are encouraged to
upgrade to the 4.2.2 release as soon as possible.

Bug fixes:
- many misc bug fixes.
- misc documentation corrections.
- updated libtool to 1.4. This fixes a couple of platforms (eg, NetBSD).

Ports:
- mibII support for win32
- It should compile and work on MacOS X (Darwin)
- udpTable supported on solaris.
- win32 borland compiler supported (see win32/config.h.borland)

New:
- tkmib supports SETs and saving of configuration data.
- snmpwalk detects out of order OIDs being returned from an agent.
- snmpset accepts the '=' sign for a datatype if the mib is
available to extract the datatype from instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2001/09/26 23:53:55 wrstuden Exp $
d76 3
@


1.15
log
@Make this package more likely to work. After we do the autoconf step,
crank down the maximum number of commands to feed one sed. Otherwise
config.status won't work with any of sun's seds.

Doing something with gsed won't work because while you can tell a
package to use a given sed (via ${SED} if needed), you can't tell
configure to use a given sed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2001/09/24 15:06:20 tron Exp $
d3 1
a3 1
DISTNAME=	ucd-snmp-4.2.1
@


1.14
log
@Fix build problem under NetBSD-current. Patch supplied by Naoto Shimazaki
in PR pkg/14005.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2001/09/11 01:33:22 wrstuden Exp $
d54 8
a61 1
	cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf
@


1.13
log
@Second try at reviving.

Original message:
Bring ucd-snmp-current back to life. This is a package of ucd-snmp
4.2.1, the latest release of the net-snmp project (the name change is
still in progress).
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.11 2001/08/30 23:31:30 wrstuden Exp $
#
d51 1
@


1.12
log
@This file didn't come back to live right. Try killing it again to see if
I can fix it.
@
text
@@


1.11
log
@Bring ucd-snmp-current back to life. This is a package of ucd-snmp
4.2.1, the latest release of the net-snmp project (the name change is
still in progress).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2001/05/09 19:05:42 wiz dead $
@


1.10
log
@Remove ucd-snmp-current, since ucd-snmp is newer.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2001/04/05 15:22:28 wiz Exp $
d4 1
a4 2
DISTNAME=	ucd-snmp-4.0.1
PKGNAME=	${DISTNAME}.12
d6 4
a9 2
MASTER_SITES= 	ftp://ucd-snmp.ucdavis.edu/ \
		ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/
a10 6
# This patch is malformed (first Index line is missing, other
# Index lines are relative to the agent directory), so I've
# put a fixed copy in ${PATCHDIR}/patch-zz.  (kim 1999-09-21)
#PATCH_SITES=	http://ucd-snmp.ucdavis.edu/patches/
#PATCHFILES=	012.patch
#DIST_SUBDIR=	ucd-snmp
d12 1
a12 1
HOMEPAGE=	http://www.ece.ucdavis.edu/ucd-snmp/
d17 12
d30 15
a44 6
CONFIGURE_ARGS+= --with-defaults
CONFIGURE_ARGS+= --with-dummy-values
CONFIGURE_ARGS+= --with-libwrap
CONFIGURE_ARGS+= --with-sys-contact=root
# note the default appends a redundant and silly ".log"
CONFIGURE_ARGS+= --with-logfile="/var/log/snmpd"
d46 1
a46 1
CONFIGURE_ARGS+= --with-mibdirs="${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tnm2.1.8/mibs:/usr/local/share/snmp/mibs"
d48 4
a51 2
# pass down PKG_PREFIX to simulate pkg_add's environment
MAKE_ENV+=	PKG_PREFIX="${PREFIX}"
d53 2
a54 1
.include "../../mk/bsd.prefs.mk"
d56 3
a58 2
pre-configure:
	(cd ${WRKSRC}; autoreconf --force)
a59 1
# Need to run INSTALL script as this doesn't happen automagically from pkgsrc.
d61 2
a62 8
	@@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucd-snmp
	@@for F in ${WRKSRC}/etc/* ; do \
		${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; \
	done
	${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd startup file."; \
	${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/snmpd; \
	${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${PREFIX}/etc/rc.d/snmpd
	${CHMOD} 755 ${PREFIX}/etc/rc.d/snmpd
d64 9
a72 1
	${TOUCH} ${PREFIX}/lib/snmp/dlmod/.keepme
@


1.9
log
@Standardize patch file names.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2001/03/27 03:20:12 hubertf Exp $
@


1.8
log
@Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@@netbsd.org>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2001/02/25 04:18:09 hubertf Exp $
d12 1
a12 2
# put a fixed copy in ${FILESDIR}.  (kim 1999-09-21)

a15 1

@


1.7
log
@Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2001/02/17 18:19:49 wiz Exp $
d22 1
a22 1
BUILD_DEPENDS+=	${LOCALBASE}/bin/autoconf:../../devel/autoconf
@


1.6
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2001/02/05 09:01:02 tron Exp $
d44 1
a44 1
	@@${MKDIR} ${PREFIX}/share/examples/ucd-snmp
@


1.5
log
@Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2001/01/26 05:21:47 hubertf Exp $
d20 1
@


1.4
log
@etc/rc.d cleanup: rename *.sh -> *
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2000/03/17 19:28:37 kim Exp $
d21 1
a21 1
BUILD_DEPENDS+=	autoconf:../../devel/autoconf
@


1.3
log
@Undo previous change.  A bug in pkglint does not mean we must
change all Makefiles to accommodate.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2000/01/10 01:39:04 wiz Exp $
d47 4
a50 4
	${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \
	${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/snmpd.sh; \
	${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${PREFIX}/etc/rc.d/snmpd.sh
	${CHMOD} 755 ${PREFIX}/etc/rc.d/snmpd.sh
@


1.2
log
@miscellaneous small changes to make pkglint happy
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 1999/09/22 21:11:39 kim Exp $
a9 3
MAINTAINER=	packages@@netbsd.org
HOMEPAGE=	http://www.ece.ucdavis.edu/ucd-snmp/

d17 3
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d10 3
a19 3

MAINTAINER=	packages@@netbsd.org
HOMEPAGE=	http://www.ece.ucdavis.edu/ucd-snmp/
@


1.1.1.1
log
@Current ucd-snmp package, version 4.0.1 with patch 12 applied.
@
text
@@
