ports/59086: [PATCH] net/net-snmp: remove obsolete prompt, fix makefile

Lars Thegler lars at thegler.dk
Sun Nov 9 17:40:16 UTC 2003


>Number:         59086
>Category:       ports
>Synopsis:       [PATCH] net/net-snmp: remove obsolete prompt, fix makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 09 09:40:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Nov  5 11:25:36 CET
>Description:

- Since we *are* providing defaults for prompted values, remove
  obsolete 'Configuration Section' prompt.
- Make portlint happy (change spaces to tabs in Makefile).

Port maintainer (kuriyama at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- net-snmp-5.0.9_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/net-snmp/Makefile,v
retrieving revision 1.93
diff -u -r1.93 Makefile
--- Makefile	31 Oct 2003 14:17:06 -0000	1.93
+++ Makefile	9 Nov 2003 17:28:13 -0000
@@ -10,7 +10,7 @@
 PORTREVISION=	1
 CATEGORIES=	net ipv6
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= net-snmp
+MASTER_SITE_SUBDIR=	net-snmp
 
 MAINTAINER=	kuriyama at FreeBSD.org
 COMMENT=	An extendable SNMP implementation
@@ -26,13 +26,14 @@
 USE_PERL5=	yes
 .endif
 
-CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host ucd-snmp/diskio" \
-		 --with-default-snmp-version="${DEFAULT_SNMP_VERSION}" \
-		 --with-sys-contact="${NET_SNMP_SYS_CONTACT}" \
-		 --with-sys-location="${NET_SNMP_SYS_LOCATION}" \
-		 --with-logfile="${NET_SNMP_LOGFILE}" \
-		 --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \
-		 --with-gnu-ld --with-libwrap --with-libs="-lkvm -ldevstat"
+CONFIGURE_ARGS+=--enable-shared --with-mib-modules="host ucd-snmp/diskio" \
+		--with-default-snmp-version="${DEFAULT_SNMP_VERSION}" \
+		--with-sys-contact="${NET_SNMP_SYS_CONTACT}" \
+		--with-sys-location="${NET_SNMP_SYS_LOCATION}" \
+		--with-logfile="${NET_SNMP_LOGFILE}" \
+		--with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \
+		--with-gnu-ld --with-libwrap --with-libs="-lkvm -ldevstat" \
+		--with-defaults
 .if defined(WITHOUT_PERL)
 PLIST_SUB+=	WITHPERL="@comment "
 .else
@@ -40,16 +41,16 @@
 PLIST_SUB+=	WITHPERL=""
 .endif
 .if defined(BATCH)
-CONFIGURE_ARGS+= --with-defaults
+CONFIGURE_ARGS+=--with-defaults
 .else
-IS_INTERACTIVE= yes
+IS_INTERACTIVE=	yes
 .endif
 _CONFIGURE_ENV=	AUTOCONF=${LOCALBASE}/bin/autoconf213 \
 	AUTOHEADER=${LOCALBASE}/bin/autoheader213
 
 DEFAULT_SNMP_VERSION?=	3
 NET_SNMP_SYS_CONTACT?=	nobody at no.where
-NET_SNMP_SYS_LOCATION?=	
+NET_SNMP_SYS_LOCATION?=
 NET_SNMP_LOGFILE?=	/var/log/snmpd.log
 NET_SNMP_PERSISTENTDIR?=/var/net-snmp
 
@@ -89,7 +90,7 @@
 		NetSNMP::netsnmp_request_infoPtr.3 \
 		NetSNMP::agent.3 SNMP.3
 MAN3PERLPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
-_MANPAGES+=     ${MAN3PERL:S%^%${MAN3PERLPREFIX}/man/man3/%}
+_MANPAGES+=	${MAN3PERL:S%^%${MAN3PERLPREFIX}/man/man3/%}
 .endif
 MAN5=		snmp.conf.5 snmp_config.5 snmpd.conf.5 \
 		snmptrapd.conf.5 variables.5
@@ -103,7 +104,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} >= 400014
-CONFIGURE_ARGS+= --enable-ipv6 \
+CONFIGURE_ARGS+=--enable-ipv6 \
 		--with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix"
 .endif
 
--- net-snmp-5.0.9_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list