Date: Sat, 31 Jul 2004 18:15:08 -0400 (EDT) From: Dan Pelleg <daniel+aputils@pelleg.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69856: Maintainer update: net-mgmt/ap-utils to 1.4.1, conditional NLS Message-ID: <20040731221508.8A077E67@palraz.wburn> Resent-Message-ID: <200407312220.i6VMKET0086983@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69856 >Category: ports >Synopsis: Maintainer update: net-mgmt/ap-utils to 1.4.1, conditional NLS >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: Sat Jul 31 22:20:13 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Dan Pelleg >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD l 4.7-STABLE FreeBSD 4.7-STABLE #8: Wed Jul 3 21:28:13 EDT 2002 d@p i386 >Description: - port updated to latest version - WITHOUT_NLS support added >How-To-Repeat: >Fix: diff -ruN /usr/ports/net-mgmt/ap-utils/Makefile ap-utils-1.4.1/Makefile --- /usr/ports/net-mgmt/ap-utils/Makefile Sat Mar 6 12:45:15 2004 +++ ap-utils-1.4.1/Makefile Sat Jul 31 08:22:56 2004 @@ -6,7 +6,7 @@ # PORTNAME= ap-utils -PORTVERSION= 1.4 +PORTVERSION= 1.4.1 CATEGORIES= net-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,10 +17,19 @@ GNU_CONFIGURE= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_BZIP2= yes -USE_GETTEXT= yes USE_REINPLACE= yes CONFIGURE_ENV= LDFLAGS="-lintl -L${LOCALBASE}/lib" MAN8= ap-trapd.8 ap-mrtg.8 ap-config.8 + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +CONFIGURE_ARGS+= --enable-nls +PLIST_FILES= share/locale/fr/LC_MESSAGES/ap-utils.mo share/locale/nl/LC_MESSAGES/ap-utils.mo \ + share/locale/pl/LC_MESSAGES/ap-utils.mo share/locale/ro/LC_MESSAGES/ap-utils.mo \ + share/locale/uk/LC_MESSAGES/ap-utils.mo +.else +CONFIGURE_ARGS+= --disable-nls +.endif post-patch: @${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure diff -ruN /usr/ports/net-mgmt/ap-utils/distinfo ap-utils-1.4.1/distinfo --- /usr/ports/net-mgmt/ap-utils/distinfo Sat Mar 6 12:45:15 2004 +++ ap-utils-1.4.1/distinfo Fri Jul 30 22:16:39 2004 @@ -1,2 +1,2 @@ -MD5 (ap-utils-1.4.tar.bz2) = ff2ba8d6563d4e53ea3db6bd0262e381 -SIZE (ap-utils-1.4.tar.bz2) = 367750 +MD5 (ap-utils-1.4.1.tar.bz2) = 15b3ee8ae8f5e501ffa6dd8ced9c528d +SIZE (ap-utils-1.4.1.tar.bz2) = 348746 diff -ruN /usr/ports/net-mgmt/ap-utils/files/patch-aa ap-utils-1.4.1/files/patch-aa --- /usr/ports/net-mgmt/ap-utils/files/patch-aa Wed Dec 31 19:00:00 1969 +++ ap-utils-1.4.1/files/patch-aa Fri Jul 30 22:29:57 2004 @@ -0,0 +1,10 @@ +--- lib/ap_search.c.orig Tue May 4 11:18:09 2004 ++++ lib/ap_search.c Fri Jul 30 22:29:37 2004 +@@ -34,6 +34,7 @@ + #include <sys/socket.h> + #endif + ++#include <sys/socket.h> + #include <net/if.h> + #include <sys/time.h> + #include <errno.h> diff -ruN /usr/ports/net-mgmt/ap-utils/pkg-plist ap-utils-1.4.1/pkg-plist --- /usr/ports/net-mgmt/ap-utils/pkg-plist Sat Mar 6 12:45:15 2004 +++ ap-utils-1.4.1/pkg-plist Sat Jul 31 08:20:57 2004 @@ -2,11 +2,6 @@ bin/ap-mrtg bin/ap-gl sbin/ap-trapd -share/locale/fr/LC_MESSAGES/ap-utils.mo -share/locale/nl/LC_MESSAGES/ap-utils.mo -share/locale/pl/LC_MESSAGES/ap-utils.mo -share/locale/ro/LC_MESSAGES/ap-utils.mo -share/locale/uk/LC_MESSAGES/ap-utils.mo %%PORTDOCS%%%%DOCSDIR%%/FAQ %%PORTDOCS%%%%DOCSDIR%%/Ovislink-HOWTO.html %%PORTDOCS%%%%DOCSDIR%%/HARDWARE-NOTES >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040731221508.8A077E67>