head	1.56;
access;
symbols
	pkgsrc-2013Q2:1.56.0.50
	pkgsrc-2013Q2-base:1.56
	pkgsrc-2012Q4:1.56.0.48
	pkgsrc-2012Q4-base:1.56
	pkgsrc-2011Q4:1.56.0.46
	pkgsrc-2011Q4-base:1.56
	pkgsrc-2011Q2:1.56.0.44
	pkgsrc-2011Q2-base:1.56
	pkgsrc-2009Q4:1.56.0.42
	pkgsrc-2009Q4-base:1.56
	pkgsrc-2008Q4:1.56.0.40
	pkgsrc-2008Q4-base:1.56
	pkgsrc-2008Q3:1.56.0.38
	pkgsrc-2008Q3-base:1.56
	cube-native-xorg:1.56.0.36
	cube-native-xorg-base:1.56
	pkgsrc-2008Q2:1.56.0.34
	pkgsrc-2008Q2-base:1.56
	pkgsrc-2008Q1:1.56.0.32
	pkgsrc-2008Q1-base:1.56
	pkgsrc-2007Q4:1.56.0.30
	pkgsrc-2007Q4-base:1.56
	pkgsrc-2007Q3:1.56.0.28
	pkgsrc-2007Q3-base:1.56
	pkgsrc-2007Q2:1.56.0.26
	pkgsrc-2007Q2-base:1.56
	pkgsrc-2007Q1:1.56.0.24
	pkgsrc-2007Q1-base:1.56
	pkgsrc-2006Q4:1.56.0.22
	pkgsrc-2006Q4-base:1.56
	pkgsrc-2006Q3:1.56.0.20
	pkgsrc-2006Q3-base:1.56
	pkgsrc-2006Q2:1.56.0.18
	pkgsrc-2006Q2-base:1.56
	pkgsrc-2006Q1:1.56.0.16
	pkgsrc-2006Q1-base:1.56
	pkgsrc-2005Q4:1.56.0.14
	pkgsrc-2005Q4-base:1.56
	pkgsrc-2005Q3:1.56.0.12
	pkgsrc-2005Q3-base:1.56
	pkgsrc-2005Q2:1.56.0.10
	pkgsrc-2005Q2-base:1.56
	pkgsrc-2005Q1:1.56.0.8
	pkgsrc-2005Q1-base:1.56
	pkgsrc-2004Q4:1.56.0.6
	pkgsrc-2004Q4-base:1.56
	pkgsrc-2004Q3:1.56.0.4
	pkgsrc-2004Q3-base:1.56
	pkgsrc-2004Q2:1.56.0.2
	pkgsrc-2004Q2-base:1.56
	pkgsrc-2004Q1:1.55.0.2
	pkgsrc-2004Q1-base:1.55
	pkgsrc-2003Q4:1.52.0.2
	pkgsrc-2003Q4-base:1.52
	netbsd-1-6-1:1.48.0.2
	netbsd-1-6-1-base:1.48
	netbsd-1-6:1.45.0.6
	netbsd-1-6-RELEASE-base:1.45
	pkgviews:1.45.0.2
	pkgviews-base:1.45
	buildlink2:1.41.0.2
	buildlink2-base:1.45
	netbsd-1-5-PATCH003:1.41
	netbsd-1-5-PATCH001:1.34
	netbsd-1-5-RELEASE:1.22
	netbsd-1-4-PATCH003:1.22
	netbsd-1-4-PATCH002:1.18
	comdex-fall-1999:1.14
	netbsd-1-4-PATCH001:1.12
	netbsd-1-4-RELEASE:1.11
	netbsd-1-3-PATCH003:1.6;
locks; strict;
comment	@# @;


1.56
date	2004.03.29.16.30.23;	author cube;	state dead;
branches;
next	1.55;

1.55
date	2004.03.26.02.27.50;	author wiz;	state Exp;
branches;
next	1.54;

1.54
date	2004.02.19.22.38.10;	author christos;	state Exp;
branches;
next	1.53;

1.53
date	2004.02.14.17.21.47;	author jlam;	state Exp;
branches;
next	1.52;

1.52
date	2003.11.12.03.39.42;	author jschauma;	state Exp;
branches;
next	1.51;

1.51
date	2003.07.30.21.04.58;	author jmmv;	state Exp;
branches;
next	1.50;

1.50
date	2003.07.17.22.51.58;	author grant;	state Exp;
branches;
next	1.49;

1.49
date	2003.06.02.01.17.40;	author jschauma;	state Exp;
branches;
next	1.48;

1.48
date	2003.01.04.22.16.43;	author wiz;	state Exp;
branches;
next	1.47;

1.47
date	2002.10.02.21.10.10;	author wiz;	state Exp;
branches;
next	1.46;

1.46
date	2002.08.25.18.39.39;	author jlam;	state Exp;
branches;
next	1.45;

1.45
date	2002.06.17.10.34.38;	author wiz;	state Exp;
branches;
next	1.44;

1.44
date	2002.05.25.08.04.51;	author tron;	state Exp;
branches;
next	1.43;

1.43
date	2002.05.25.06.39.10;	author tron;	state Exp;
branches;
next	1.42;

1.42
date	2002.05.25.06.37.32;	author tron;	state Exp;
branches;
next	1.41;

1.41
date	2002.04.11.09.44.04;	author tron;	state Exp;
branches
	1.41.2.1;
next	1.40;

1.40
date	2002.04.09.09.53.54;	author itojun;	state Exp;
branches;
next	1.39;

1.39
date	2002.02.14.09.40.31;	author tron;	state Exp;
branches;
next	1.38;

1.38
date	2002.02.13.16.41.40;	author tron;	state Exp;
branches;
next	1.37;

1.37
date	2001.09.24.15.02.53;	author tron;	state Exp;
branches;
next	1.36;

1.36
date	2001.09.24.09.40.00;	author tron;	state Exp;
branches;
next	1.35;

1.35
date	2001.08.27.14.35.12;	author tron;	state Exp;
branches;
next	1.34;

1.34
date	2001.03.27.03.20.12;	author hubertf;	state Exp;
branches;
next	1.33;

1.33
date	2001.03.05.19.06.47;	author wiz;	state Exp;
branches;
next	1.32;

1.32
date	2001.03.04.13.28.45;	author itojun;	state Exp;
branches;
next	1.31;

1.31
date	2001.02.25.04.18.09;	author hubertf;	state Exp;
branches;
next	1.30;

1.30
date	2001.02.17.18.19.49;	author wiz;	state Exp;
branches;
next	1.29;

1.29
date	2001.02.06.03.16.59;	author fredb;	state Exp;
branches;
next	1.28;

1.28
date	2001.02.05.09.01.02;	author tron;	state Exp;
branches;
next	1.27;

1.27
date	2001.01.31.00.33.23;	author hubertf;	state Exp;
branches;
next	1.26;

1.26
date	2001.01.26.02.02.34;	author hubertf;	state Exp;
branches;
next	1.25;

1.25
date	2000.12.16.09.04.40;	author hubertf;	state Exp;
branches;
next	1.24;

1.24
date	2000.12.04.11.48.23;	author itojun;	state Exp;
branches;
next	1.23;

1.23
date	2000.11.05.11.07.57;	author veego;	state Exp;
branches;
next	1.22;

1.22
date	2000.10.13.18.16.00;	author kim;	state Exp;
branches;
next	1.21;

1.21
date	2000.10.13.17.55.35;	author kim;	state Exp;
branches;
next	1.20;

1.20
date	2000.08.14.23.48.24;	author wiz;	state Exp;
branches;
next	1.19;

1.19
date	2000.06.01.11.23.37;	author rh;	state Exp;
branches;
next	1.18;

1.18
date	2000.01.24.04.18.35;	author itojun;	state Exp;
branches;
next	1.17;

1.17
date	2000.01.23.15.13.49;	author itojun;	state Exp;
branches;
next	1.16;

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

1.15
date	2000.01.23.10.41.09;	author itojun;	state Exp;
branches;
next	1.14;

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

1.13
date	99.08.15.09.44.00;	author tron;	state Exp;
branches;
next	1.12;

1.12
date	99.05.04.03.51.57;	author tv;	state Exp;
branches;
next	1.11;

1.11
date	99.04.21.20.47.22;	author abs;	state Exp;
branches;
next	1.10;

1.10
date	99.04.05.00.59.07;	author hubertf;	state Exp;
branches;
next	1.9;

1.9
date	99.03.07.04.02.06;	author hubertf;	state Exp;
branches;
next	1.8;

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

1.7
date	98.10.07.20.17.20;	author agc;	state Exp;
branches;
next	1.6;

1.6
date	98.08.23.15.12.05;	author frueauf;	state Exp;
branches;
next	1.5;

1.5
date	98.08.20.15.17.20;	author tsarna;	state Exp;
branches;
next	1.4;

1.4
date	98.08.03.19.36.00;	author frueauf;	state Exp;
branches;
next	1.3;

1.3
date	98.06.22.12.58.35;	author agc;	state Exp;
branches;
next	1.2;

1.2
date	98.05.30.14.41.16;	author frueauf;	state Exp;
branches;
next	1.1;

1.1
date	98.05.24.12.31.11;	author hubertf;	state Exp;
branches;
next	;

1.41.2.1
date	2002.06.21.23.05.33;	author jlam;	state Exp;
branches;
next	1.41.2.2;

1.41.2.2
date	2002.06.23.18.57.12;	author jlam;	state Exp;
branches;
next	1.41.2.3;

1.41.2.3
date	2002.07.01.05.43.59;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.56
log
@Remove ucd-snmp package, which is outdated, insecure, and now unused in
pkgsrc since gkrellm1-snmp conversion to net-snmp.
@
text
@# $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"
@


1.55
log
@PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2004/02/19 22:38:10 christos Exp $
@


1.54
log
@Add #include <des.h> to make this compile again with current.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2004/02/14 17:21:47 jlam Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.53
log
@LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2003/11/12 03:39:42 jschauma Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.52
log
@PKGREVISION++ after openssl update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2003/07/30 21:04:58 jmmv Exp $
d21 1
a25 3
USE_LIBTOOL=		yes
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool

@


1.51
log
@Convert to the bsd.pkg.install.mk framework:
- Honour PKG_SYSCONFDIR.
- Use RCD_SCRIPTS to automatically handle rc.d scripts.

Also convert the two installed rc.d scripts to the rc.subr framework (keeping
some compatibility if not present).

Bump PKGREVISION to 1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2003/07/17 22:51:58 grant Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.50
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2003/06/02 01:17:40 jschauma Exp $
d4 1
d21 1
d57 5
a92 4
post-build:
	${SED} 's,@@PREFIX@@,${PREFIX},g' < ${FILESDIR}/snmpd.sh > ${WRKDIR}/snmpd
	${SED} 's,@@PREFIX@@,${PREFIX},g' < ${FILESDIR}/snmptrapd.sh > ${WRKDIR}/snmptrapd

d94 2
a95 2
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucd-snmp
	${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${PREFIX}/share/examples/ucd-snmp
a96 2
	${INSTALL_SCRIPT} ${WRKDIR}/snmpd ${PREFIX}/etc/rc.d
	${INSTALL_SCRIPT} ${WRKDIR}/snmptrapd ${PREFIX}/etc/rc.d
@


1.49
log
@Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2003/01/04 22:16:43 wiz Exp $
d10 1
a10 1
MAINTAINER=	tech-pkg@@netbsd.org
@


1.48
log
@Add perl build dependency.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2002/10/02 21:10:10 wiz Exp $
d10 1
a10 1
MAINTAINER=	packages@@netbsd.org
@


1.47
log
@autoconf dependency not needed -- we already have a configure.
While here, delete unnecessary parts of said configure patch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2002/08/25 18:39:39 jlam Exp $
d19 1
d97 1
@


1.46
log
@Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41.2.3 2002/07/01 05:43:59 jlam Exp $
a15 2
BUILD_DEPENDS+=	autoconf-2.13:../../devel/autoconf

a73 1
	cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf
@


1.45
log
@Remove another USE_SSL comment.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2002/05/25 08:04:51 tron Exp $
d20 1
a20 1
USE_BUILDLINK_ONLY=	
d24 2
a25 2
USE_LIBTOOL=	yes
LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig
d27 6
a32 7
#CPPFLAGS+=	-I${BUILDLINK_DIR}/include
#LDFLAGS+=	-L${BUILDLINK_DIR}/lib

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-defaults --with-logfile="/var/log/snmpd"
CONFIGURE_ARGS+=--with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers}
CONFIGURE_ARGS+=--with-mib-modules="smux host"
d35 3
a37 1
CONFIGURE_ARGS+=--with-dummy-values
d39 4
a42 3
CONFIGURE_ARGS+=--with-sys-contact="default_user@@contact.domain"
CONFIGURE_ARGS+=--with-sys-location="defaultlocation"
CONFIGURE_ARGS+=--enable-shared
d49 6
a54 2
# 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"
d56 3
a58 2
# deal with libwrap bogosity by providing these variables to programs which
# do not supply them:
d60 2
a61 1
	@@${ECHO} 'int allow_severity, deny_severity;' >${WRKSRC}/snmplib/libwrap.c
d66 4
a69 4
	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;	\
d71 1
a71 1
.if (${LOWER_ARCH} == i386 && ${OS_VERSION:M1.5.[123]*} != "")
d74 1
d76 5
a80 2
.endif
	(cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf)
d82 4
a85 5
# 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)
d99 2
a100 6
.if (${OPSYS} == "NetBSD")
CFLAGS+=	-Dnetbsd1
.endif

.include "../../security/openssl/buildlink.mk"
.include "../../security/tcp_wrappers/buildlink.mk"
@


1.44
log
@Enable memory and VM statistic under NetBSD. This fixes PR pkg/14438
by Scott Presnell.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2002/05/25 06:39:10 tron Exp $
d92 1
a92 1
.include "../../security/openssl/buildlink.mk"	# USE_SSL=	yes
@


1.43
log
@Remove debugging statement committed by accident.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2002/05/25 06:37:32 tron Exp $
d57 7
a63 3
.if (${OPSYS} == NetBSD && \
	${LOWER_ARCH} == i386 && \
	${OS_VERSION:M1.5.[123]*} != "")
d66 1
@


1.42
log
@Wrap unnecessary long line.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2002/04/11 09:44:04 tron Exp $
a45 1
CONFIGURE_SCRIPT=	${SH} -x ./configure
@


1.41
log
@Record conflict with "net-snmp-current" package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2002/04/09 09:53:54 itojun Exp $
d31 2
a32 1
CONFIGURE_ARGS+=--with-defaults --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers} --with-logfile="/var/log/snmpd"
d46 1
@


1.41.2.1
log
@Rename USE_BUILDLINK2_ONLY to USE_BUILDLINK2 for less verbosity.  Also
convert a few more packages to use the buildlink2 framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2002/04/11 09:44:04 tron Exp $
d20 1
a20 1
USE_BUILDLINK2=	# defined
d24 2
a25 2
USE_LIBTOOL=		yes
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
d27 6
a32 6
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"
#
d35 1
a35 3
#
CONFIGURE_ARGS+=	--with-dummy-values
#
d37 3
a39 4
#
CONFIGURE_ARGS+=	--with-sys-contact="default_user@@contact.domain"
CONFIGURE_ARGS+=	--with-sys-location="defaultlocation"
CONFIGURE_ARGS+=	--enable-shared
d46 2
a47 6
# 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
d49 2
a50 3
# Deal with libwrap bogosity by providing these variables to programs which
# do not supply them.
#
d52 1
a52 2
	@@${ECHO} 'int allow_severity, deny_severity;'			\
		> ${WRKSRC}/snmplib/libwrap.c
d56 3
a58 2
.if (${OPSYS} == "NetBSD") && (${LOWER_ARCH} == "i386") && \
    !empty(OS_VERSION:M1.5.[123]*)
d62 2
a63 2
	cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf
#
d65 4
a68 7
# 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}
d82 6
a87 2
.include "../../security/openssl/buildlink2.mk"
.include "../../security/tcp_wrappers/buildlink2.mk"
@


1.41.2.2
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41.2.1 2002/06/21 23:05:33 jlam Exp $
d65 2
a66 7
.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]*} != "")
@


1.41.2.3
log
@Whitespacing for readability.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41.2.2 2002/06/23 18:57:12 jlam Exp $
d71 1
a71 1
.  if (${LOWER_ARCH} == i386 && ${OS_VERSION:M1.5.[123]*} != "")
a73 1
.  endif
@


1.40
log
@upgrade to 4.2.4.
release note: http://sourceforge.net/project/shownotes.php?release_id=83551
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2002/02/14 09:40:31 tron Exp $
d13 2
@


1.39
log
@Add work arround for build problems under NetBSD-i386 1.5.1, 1.5.2 and
early 1.5.3 alpha versions caused by an error in "sys/disklabel.h"
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2002/02/13 16:41:40 tron Exp $
d3 1
a3 2
DISTNAME=	ucd-snmp-4.2.3
PKGREVISION=	1
@


1.38
log
@Update "ucd-snmp" package to version 4.2.3nb1:
- Replace with contents of "ucd-snmp-current" package to fix various
  security problems.
- Add patch sent to "bugtraq" by Juan M. de la Torre to fix buffer overflow
  in "snmpnetstat" client.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2002/02/12 12:24:57 skrll Exp $
a22 6
.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

d55 6
@


1.37
log
@Put a "@@" in front of the recently added "${LN}" command so that the
"post-extract" target is quiet again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2001/09/24 09:40:00 tron Exp $
d3 2
a4 1
DISTNAME=	ucd-snmp-4.1.2
d12 1
a12 1
HOMEPAGE=	http://net-snmp.sourceforge.net/
d15 1
a15 1
BUILD_DEPENDS+=	autoconf>=2.13:../../devel/autoconf
d19 2
d23 6
d30 4
a33 1
USE_SSL=	yes
d36 1
a36 1
CONFIGURE_ARGS+=--with-defaults --with-libwrap --with-logfile="/var/log/snmpd"
d61 8
a68 1
	cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf
d84 3
@


1.36
log
@Fix build problem under NetBSD-current. Patch supplied by Naoto Shimazaki
in PR pkg/14045.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2001/08/27 14:35:12 tron Exp $
d46 1
a46 1
	${LN} ${WRKSRC}/s/netbsd.h ${WRKSRC}/s/netbsdelf.h
@


1.35
log
@Use wildcard dependence on "autoconf" package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2001/03/27 03:20:12 hubertf Exp $
d46 1
@


1.34
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 3
# $NetBSD: Makefile,v 1.33 2001/03/05 19:06:47 wiz Exp $
# FreeBSD Id: Makefile,v 1.18 1998/04/06 20:50:31 andreas Exp
#
d14 1
a14 1
BUILD_DEPENDS+=	autoconf-2.13:../../devel/autoconf
@


1.33
log
@Undo part of 1.30 (which must have been an error). pkg/12334.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2001/03/04 13:28:45 itojun Exp $
d16 1
a16 1
BUILD_DEPENDS+=	${LOCALBASE}/bin/autoreconf:../../devel/autoconf
@


1.32
log
@remove obsoleted PATCH_SITES section.  the kame patch is already integrated
into ucd-snmp distribution.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2001/02/25 04:18:09 hubertf Exp $
d5 1
a5 1
DISTNAME=	ucd-snmp-4.2
@


1.31
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.30 2001/02/17 18:19:49 wiz Exp $
a10 4

#PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/
#PATCHFILES=	ucd-snmp-4.0.1-v6-20000124b.diff.gz
#PATCH_DIST_STRIP=	-p1
@


1.30
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2001/02/06 03:16:59 fredb Exp $
d5 1
a5 1
DISTNAME=	ucd-snmp-4.1.2
d61 1
a61 1
	${MKDIR} ${PREFIX}/share/examples/ucd-snmp
@


1.29
log
@Make that "autoreconf" -- there is no "autoremake".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2001/02/05 09:01:02 tron Exp $
d18 1
@


1.28
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.27 2001/01/31 00:33:23 hubertf Exp $
d19 1
a19 1
BUILD_DEPENDS+=	${LOCALBASE}/bin/autoremake:../../devel/autoconf
d53 1
a53 1
	@@(cd ${WRKSRC} && ${LOCALBASE}/bin/autoremake)
@


1.27
log
@use MASTER_SITE_SOURCEFORGE for better reachability
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2001/01/26 02:02:34 hubertf Exp $
d19 1
a19 1
BUILD_DEPENDS+=	autoreconf:../../devel/autoconf
d53 1
a53 1
	@@(cd ${WRKSRC} && autoreconf)
@


1.26
log
@ * Fix rc.d scripts
 * support HOST-RESOURCES MIB

Patch submitted by Greg A. Woods <woods@@weird.com> in PR 12043
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2000/12/16 09:04:40 hubertf Exp $
d7 1
a7 1
MASTER_SITES=	ftp://download.sourceforge.net/net-snmp/ \
@


1.25
log
@Make rc.d script handle stop/start/restart
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2000/12/04 11:48:23 itojun Exp $
d30 7
d45 1
a45 1
CONFIGURE_ARGS+=--with-mibdirs="${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tcl/tnm2.1.10/mibs:/usr/local/share/snmp/mibs"
d55 4
d63 2
a64 3
	${SED} -e 's,@@PREFIX@@,${PREFIX},' \
	    < ${FILESDIR}/snmpd.sh > ${WRKDIR}/snmpd.sh
	${INSTALL_SCRIPT} ${WRKDIR}/snmpd.sh ${PREFIX}/etc/rc.d
@


1.24
log
@ucd-snmp moved to sourceforge.  PR 11592.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2000/11/05 11:07:57 veego Exp $
a47 4
post-build:
	@@${SED} -e 's,@@PREFIX@@,${PREFIX},' \
	    < ${FILESDIR}/snmpd.sh > ${WRKDIR}/snmpd.sh

d49 1
a49 1
	@@${MKDIR} ${PREFIX}/share/examples/ucd-snmp
d52 2
@


1.23
log
@Fix the scotty mips path.
Should we add a depends line for scotty?
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2000/10/13 18:16:00 kim Exp $
d7 2
a8 1
MASTER_SITES= 	ftp://ucd-snmp.ucdavis.edu/ \
d17 1
a17 1
HOMEPAGE=	http://ucd-snmp.ucdavis.edu/
@


1.22
log
@Add a startup script.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2000/10/13 17:55:35 kim Exp $
d37 1
a37 1
CONFIGURE_ARGS+=--with-mibdirs="${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tnm2.1.8/mibs:/usr/local/share/snmp/mibs"
@


1.21
log
@Update to 4.1.2:

*4.1.2*
 Fixes:
    - Host resources fixes for FreeBSD and NetBSD
    - ucd-snmp memory/vmstat fixes for FreeBSD-3
    - configure --enable-ipv6 fixes
    - AIX fix (use knlist)
    - fix init_master_agent calling exit
    - bad free in subagent.c
    - dont let a agentx subagent be a smux master
    - ucd-snmp/loadave fix for AIX
    - fix doing a set on a pass variable
    - snmptable fixes
    - snmpnetstat fixes for v2c exceptions
    - man page fixes

 Features:
    - Some UnixWare 5 configuration support
    - configure --enable-mini-agent --without-openssl
    - snmptrapd -n
    - snmp_log callbacks
    - noTokenWarnings and noRangeCheck in snmp.conf
    - using a counter type in snmpset/snmptrap

*4.1.1*
 Fixes:
    - Better agent handling of unauthorized requests.
    - Better "make test" support.
    - Misc bug fixes.

*4.1*
 New:
    - Many new command line flags have been added for input/output flexibility.
      (see the snmpcmd(1) manual page on the -O flag and -I flag)
    - The tools support regex matching of oids on the command line.
      (see the snmpcmd(1) manual page on the -Ib option)
    - A ucd-snmp usage tutorial has been placed on the main web page.
      (see http://ucd-snmp.ucdavis.edu/tutorial)
    - snmptable is much smarter and handles sparse tables better.
    - tkmib supports snmpv3.
    - New agent libraries to embed SNMP and AgentX agents into other programs.
      (see the snmp_agent_api(3) manual page and the tutorial)
    - SNMP over TCP is supported.
      (-T TCP on the command lines)
    - OpenSSL has replaced KMT for SHA authentication and DES encryption.
      (Get OpenSSL from http://www.openssl.org/).
    - Some easier-to-use access-control snmpd.conf directives for simple setups.
      (see the snmpd.conf(5) manual page)
    - Easier setup of SNMPv3 support for the agent.
      (see the README.snmpv3 file).
    - Command line argument parsing has been reworked for getopt() use.
      (currently backwards compatible; see the snmpcmd(1) manual page)
    - Table rows with embedded strings are dealt with for both input and output.
      (see the snmpcmd(1) manual on the -Ob flag)
    - Many more snmp.conf directives supported.
      (see the snmp.conf(5) manual page)
    - Many AgentX improvements.
    - All of our distributed mibs have been updated to be SMIv2 compliant.
    - Trap support in the agent has been cleaned up and an API created.

 Perl:
    - Joe Marzot's perl module is now included with the ucd-snmp source.
      (this should help people trying to synchronize the two packages)

 Fixes:
    - SMUX support has been reintegrated into the agent in a better way.
    - Many many others.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2000/08/14 23:48:24 wiz Exp $
d47 4
d55 1
@


1.20
log
@USE_PKGLIBTOOL -> USE_LIBTOOL
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2000/06/01 11:23:37 rh Exp $
d5 1
a5 1
DISTNAME=	ucd-snmp-4.0.1
d11 3
a13 3
PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES=	ucd-snmp-4.0.1-v6-20000124b.diff.gz
PATCH_DIST_STRIP=	-p1
d25 1
d49 1
a49 1
	${INSTALL_DATA} ${WRKSRC}/etc/* ${PREFIX}/share/examples/ucd-snmp
@


1.19
log
@s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2000/01/24 04:18:35 itojun Exp $
d21 1
d24 1
a24 1
USE_PKGLIBTOOL=	yes
@


1.18
log
@Be friendly with ELF-based netbsd systems.
(issue in ucd-snmp side - submitted diff to ucd-snmp-coders@@ucdavis)

depend on devel/autoconf, to simplify the build.

ELF breakage reported from: "Michael L. Hitch" <mhitch@@lightning.msu.montana.edu>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2000/01/23 15:13:49 itojun Exp $
d23 1
a23 1
USE_LIBTOOL=	yes
@


1.17
log
@use today's KAME diff.
this should fix non-IPv6 compilation on NetBSd-current node.

From: tron
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2000/01/23 10:42:15 itojun Exp $
d12 1
a12 1
PATCHFILES=	ucd-snmp-4.0.1-v6-20000124a.diff.gz
d18 2
d41 3
@


1.16
log
@remove explicit PKGNAME (DISNAME == PKGNAME).
include $NetBSD$ into patches.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2000/01/23 10:41:09 itojun Exp $
d12 1
a12 1
PATCHFILES=	ucd-snmp-4.0.1-v6-20000121a.diff.gz
@


1.15
log
@upgrade ucd-snmp to 4.0.1.
include IPv6 MIB support patch into compilation.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 1999/08/15 11:07:13 tron Exp $
a5 1
PKGNAME=	ucd-snmp-4.0.1
@


1.14
log
@Fix "ucd-snmpd" to return "mib-2.ip.ipAddrTable" and make sure "netbsd1"
preprocessor symbol gets defined on NetBSD systems.
Patches supplied by Zdenek Salvet in PR pkg/7799.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 1999/08/15 09:44:00 tron Exp $
d5 2
a6 2
DISTNAME=	ucd-snmp-3.6.1
PKGNAME=	ucd-snmp-3.6.1p1
d9 6
a14 1
		ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/
d17 4
a20 1
HOMEPAGE=	http://www.ece.ucdavis.edu/ucd-snmp/
d26 6
a44 2

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


1.13
log
@Make this package build on ELF systems.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 1999/05/04 03:51:57 tv Exp $
d31 6
@


1.12
log
@Build libsnmp as a shared object with libtool.  Bump version to "...p1".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 1999/04/21 20:47:22 abs Exp $
a20 3

# provide path to libtool's lib directory:
MAKE_ENV=	CC_RUNTIME_ARG="-L../snmplib/.libs -L../../snmplib/.libs"
@


1.11
log
@Previous workaround for dynamically linking against libwrap but not using
any functions does not appear to work anymore.
Modify config to only use libwrap in for the snmpd agent (which fixes it
in a more 'clean' fashion.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 1999/04/05 00:59:07 hubertf Exp $
d6 1
d14 1
a14 1
BUILD_DEPENDS+=	autoconf:../../devel/autoconf
d17 2
a18 4
CONFIGURE_ARGS+= --with-defaults
CONFIGURE_ARGS+= --with-libwrap
# note the default appends a redundant and silly ".log"
CONFIGURE_ARGS+= --with-logfile="/var/log/snmpd"
d20 1
a20 4
CONFIGURE_ARGS+= --with-mibdirs="${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tnm2.1.8/mibs:/usr/local/share/snmp/mibs"

# pass down PKG_PREFIX to simulate pkg_add's environment
MAKE_ENV+=	PKG_PREFIX="${PREFIX}"
d22 2
a23 1
.include "../../mk/bsd.prefs.mk"
d25 4
a28 2
pre-configure:
	(cd ${WRKSRC}; autoreconf --force)
a29 1
# Need to run INSTALL script as this doesn't happen automagically from pkgsrc.
d32 1
a32 7
	@@for F in ${WRKSRC}/etc/* ; do \
		${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; \
	done
	${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
a33 1
	${TOUCH} ${PREFIX}/lib/snmp/dlmod/.keepme
@


1.10
log
@Update to V3.6.1, as sent in in PR 7322 by Greg A. Woods <woods@@planix.com>

Changes:
 - 3.6.1 is a bugfix release
 - This package uses NetBSD's libwrap
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 1999/03/07 04:02:06 hubertf Exp $
a26 12

# XXX This most horrible hack is necessary because of the stupid linker's
# insistence on requiring that all externals referenced from a shared library
# be defined, even if nothing elese from the library is ever used.  In this
# case the libwrap.so library is at fault as it references 'deny_severity' and
# 'allow_severity', but none of the configure tests will include this, nor
# indeed will any product binary except for snmpd (which is the only one that
# actualy uses tcp_wrappers).
#
# /usr/libexec/ld.so: Undefined symbol "_deny_severity" in conftest:/usr/lib/libwrap.so.0.0
#
CFLAGS+=	-static
@


1.9
log
@Update to V3.6
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1999/02/20 22:48:37 hubertf Exp $
d5 1
a5 1
DISTNAME=	ucd-snmp-3.6
d8 1
a8 2
		ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
		ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/
d13 2
d16 23
a38 1
CONFIGURE_ARGS=	--with-defaults
d40 2
a41 3
BIN=		snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \
		snmpstatus snmptest snmptranslate snmptrap snmpwalk
SBIN=		snmpd snmptrapd
d43 1
a44 2
	( cd ${PREFIX}/bin; strip ${BIN} )
	( cd ${PREFIX}/sbin; strip ${SBIN} )
d47 8
a54 7
		${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 ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${PREFIX}/etc/rc.d/snmpd.sh; \
		chmod 751 ${PREFIX}/etc/rc.d/snmpd.sh; \
	 fi
@


1.8
log
@Fix CONFLICTS (remove redundancy, mostly)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1998/10/07 20:17:20 agc Exp $
d5 1
a5 1
DISTNAME=	ucd-snmp-3.5.3
d7 1
a7 1
MASTER_SITES= 	ftp://ftp.ece.ucdavis.edu/pub/snmp/ \
@


1.7
log
@Update ucd-snmp, an extensible Simple Network Management Protocol
implementation, to version 3.5.3.  This is a bug-fix release, with no
added functionality.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1998/08/23 15:12:05 frueauf Exp $
a12 2

CONFLICTS=	ucd-snmp-3.4 ucd-snmp-3.5
@


1.6
log
@Add missing / to HOMEPAGE URL.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1998/08/20 15:17:20 tsarna Exp $
d5 1
a5 1
DISTNAME=	ucd-snmp-3.5
d14 1
a14 1
CONFLICTS=	ucd-snmp-3.4
@


1.5
log
@The Grand Homepagification:
	- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1998/08/03 19:36:00 frueauf Exp $
d12 1
a12 1
HOMEPAGE=	http://www.ece.ucdavis.edu/ucd-snmp
@


1.4
log
@Update ucd-snmp to 3.5, inspired by pr 5880 by Jeff Rizzo.

XXX The configure script sets KERNEL and _KERNEL before including
XXX <sys/socket.h> for whatever reason. This breaks some little
XXX programms which detect options for configure, one of those
XXX should detect the rtentry style, on NetBSD-current where
XXX <sys/socket.h> includes opt_compat_*.h files. patch-aa
XXX workarounds this, but a clean solution should be found and
XXX feedbacked to the author.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1998/06/22 12:58:35 agc Exp $
d12 1
@


1.3
log
@Update package Makefiles for automatic manual page handling.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/05/30 14:41:16 frueauf Exp $
d5 1
a5 3
DISTNAME=	ucd-snmp
PKGNAME=	ucd-snmp-3.4
WRKSRC=		${WRKDIR}/ucd-snmp-3.4
d12 2
@


1.2
log
@Shut up portlint.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 1998/05/24 12:31:11 hubertf Exp $
a17 6
MAN1=		snmpbulkwalk.1 snmpd.1 snmpdelta.1 snmpget.1 snmpgetnext.1 \
		snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \
		snmptranslate.1 snmptrap.1 snmpwalk.1
MAN3=		mib_api.3 snmp_api.3
MAN5=		snmpd.conf.5 variables.5
MAN8=		snmptrapd.8
@


1.1
log
@Add pkg for UCD SNMP implementation, based on FreeBSD port.
@
text
@d1 1
a1 1
# $NetBSD$
d7 1
d11 1
a11 2
                ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/
WRKSRC=		${WRKDIR}/ucd-snmp-3.4
d35 3
a37 3
		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; \
@
