Update to latest release, and abandon maintainership
ok sthen
This commit is contained in:
parent
484427e60a
commit
5c2a960006
@ -1,14 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2010/05/22 14:03:23 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2010/06/26 14:32:15 ckuethe Exp $
|
||||
|
||||
COMMENT= wireless access point configuration tools
|
||||
COMMENT= Atmel/NWN wireless access point configuration tools
|
||||
|
||||
DISTNAME= ap-utils-1.3.2
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
DISTNAME= ap-utils-1.5
|
||||
CATEGORIES= net
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
HOMEPAGE= http://ap-utils.polesye.net/
|
||||
MAINTAINER= Chris Kuethe <ckuethe@ualberta.ca>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -17,7 +15,7 @@ PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c curses menu
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ap-utils/}
|
||||
MASTER_SITES= ftp://linux.zhitomir.net/ap-utils/
|
||||
|
||||
MODULES= devel/gettext converters/libiconv
|
||||
|
||||
@ -25,6 +23,7 @@ CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --without-included-gettext \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-libintl-prefix=${LOCALBASE}
|
||||
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
||||
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
|
||||
|
||||
post-install:
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (ap-utils-1.3.2.tar.bz2) = QZ134FG9aMpfYKNghbpL2g==
|
||||
RMD160 (ap-utils-1.3.2.tar.bz2) = zlj+rGlKBcuXvQvp3F+smblDKRk=
|
||||
SHA1 (ap-utils-1.3.2.tar.bz2) = G+kNno3yFO9CL/1YHC0pwrlh6ow=
|
||||
SHA256 (ap-utils-1.3.2.tar.bz2) = I/ZalWARG6WWX4qGRsWDS66sERjeMqjnDBRJL4vnhQc=
|
||||
SIZE (ap-utils-1.3.2.tar.bz2) = 280243
|
||||
MD5 (ap-utils-1.5.tar.bz2) = 69sqAzAmSMk5rJZWF94oiQ==
|
||||
RMD160 (ap-utils-1.5.tar.bz2) = KoHy3+TP+MBhQaEU8f6ya6jLi34=
|
||||
SHA1 (ap-utils-1.5.tar.bz2) = h858gAKWLVOo1VpaIUg+MLh1l2Y=
|
||||
SHA256 (ap-utils-1.5.tar.bz2) = 8B0GhlDw8FxbN1MUfuCl09/AdzLJeIuylWg+ZkFaMl0=
|
||||
SIZE (ap-utils-1.5.tar.bz2) = 409480
|
||||
|
12
net/ap-utils/patches/patch-Makefile_in
Normal file
12
net/ap-utils/patches/patch-Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1 2010/06/26 14:32:15 ckuethe Exp $
|
||||
--- Makefile.in.orig Fri Jun 25 21:39:40 2010
|
||||
+++ Makefile.in Fri Jun 25 21:39:43 2010
|
||||
@@ -158,7 +158,7 @@ sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
|
||||
-SUBDIRS = lib src ap-gl Documentation intl po
|
||||
+SUBDIRS = lib src ap-gl Documentation po
|
||||
|
||||
AUTOMAKE_OPTIONS = gnu
|
||||
|
@ -1,15 +1,23 @@
|
||||
$OpenBSD: patch-configure,v 1.3 2005/02/09 00:41:20 alek Exp $
|
||||
--- configure.orig Wed May 28 11:56:16 2003
|
||||
+++ configure Tue Feb 8 23:08:13 2005
|
||||
@@ -3887,13 +3887,13 @@ else
|
||||
gt_save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $INCINTL"
|
||||
gt_save_LIBS="$LIBS"
|
||||
- LIBS="$LIBS $LIBINTL"
|
||||
+ LIBS="$LIBS $LIBINTL $LIBICONV"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3893 "configure"
|
||||
#include "confdefs.h"
|
||||
$OpenBSD: patch-configure,v 1.4 2010/06/26 14:32:15 ckuethe Exp $
|
||||
--- configure.orig Fri Jun 25 21:20:03 2010
|
||||
+++ configure Fri Jun 25 21:38:41 2010
|
||||
@@ -6433,12 +6433,12 @@ cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include <libintl.h>
|
||||
extern int _nl_msg_cat_cntr;
|
||||
-extern int *_nl_domain_bindings;
|
||||
+extern int *_nl_domain_bindings__;
|
||||
int
|
||||
main ()
|
||||
{
|
||||
bindtextdomain ("", "");
|
||||
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
|
||||
+return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings__
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
@@ -6840,7 +6840,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include <libintl.h>
|
||||
extern int _nl_msg_cat_cntr;
|
||||
-extern int *_nl_domain_bindings;
|
||||
@ -17,21 +25,34 @@ $OpenBSD: patch-configure,v 1.3 2005/02/09 00:41:20 alek Exp $
|
||||
extern
|
||||
#ifdef __cplusplus
|
||||
"C"
|
||||
@@ -3901,7 +3901,7 @@ extern
|
||||
const char *_nl_expand_alias ();
|
||||
int main() {
|
||||
@@ -6886,7 +6886,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
#include <libintl.h>
|
||||
extern int _nl_msg_cat_cntr;
|
||||
-extern int *_nl_domain_bindings;
|
||||
+extern int *_nl_domain_bindings__;
|
||||
extern
|
||||
#ifdef __cplusplus
|
||||
"C"
|
||||
@@ -6896,7 +6896,7 @@ int
|
||||
main ()
|
||||
{
|
||||
bindtextdomain ("", "");
|
||||
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
|
||||
+return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings__ + *_nl_expand_alias (0)
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
@@ -4380,7 +4380,7 @@ s%@DATADIRNAME@%$DATADIRNAME%g
|
||||
s%@INSTOBJEXT@%$INSTOBJEXT%g
|
||||
s%@GENCAT@%$GENCAT%g
|
||||
s%@INTL_LIBTOOL_SUFFIX_PREFIX@%$INTL_LIBTOOL_SUFFIX_PREFIX%g
|
||||
-s%@INTLLIBS@%$INTLLIBS%g
|
||||
+s%@INTLLIBS@%$LTLIBINTL $LTLIBICONV%g
|
||||
s%@LIBINTL@%$LIBINTL%g
|
||||
s%@LTLIBINTL@%$LTLIBINTL%g
|
||||
s%@POSUB@%$POSUB%g
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
@@ -6951,9 +6951,9 @@ echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
|
||||
INTLOBJS="\$(GETTOBJS)"
|
||||
BUILD_INCLUDED_LIBINTL=yes
|
||||
USE_INCLUDED_LIBINTL=yes
|
||||
- LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
|
||||
- LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
|
||||
- LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
|
||||
+ LIBINTL="-lintl -liconv"
|
||||
+ LTLIBINTL="-lint -liconv"
|
||||
+ # LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
|
||||
fi
|
||||
|
||||
if test "$gt_use_preinstalled_gnugettext" = "yes" \
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-lib_Makefile_in,v 1.4 2010/05/22 14:03:24 espie Exp $
|
||||
--- lib/Makefile.in.orig Wed May 28 12:02:27 2003
|
||||
+++ lib/Makefile.in Sat May 22 15:50:39 2010
|
||||
@@ -104,7 +104,7 @@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
$OpenBSD: patch-lib_Makefile_in,v 1.5 2010/06/26 14:32:15 ckuethe Exp $
|
||||
--- lib/Makefile.in.orig Sun Mar 6 15:36:29 2005
|
||||
+++ lib/Makefile.in Fri Jun 25 18:23:26 2010
|
||||
@@ -155,7 +155,7 @@ sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
|
||||
-INCLUDES = -I../intl
|
||||
+INCLUDES =
|
||||
noinst_LIBRARIES = libap.a
|
||||
libap_a_SOURCES = ap-utils.h reset.c snmp.c
|
||||
libap_a_SOURCES = ap-utils.h ap-curses.h reset.c snmp.c oui.c input.c menu.c scr.c wep.c wlan.c test.c stat.c set_community.c cmd.c radio.c aps.c ap_search.c sysinfo.c set_oeminfo.c common.c file.c
|
||||
EXTRA_libap_a_SOURCES = ber.c
|
||||
|
@ -1,20 +1,12 @@
|
||||
$OpenBSD: patch-lib_ap-utils_h,v 1.2 2003/06/02 02:02:36 margarida Exp $
|
||||
--- lib/ap-utils.h.orig Tue May 20 13:32:31 2003
|
||||
+++ lib/ap-utils.h Thu May 29 08:53:44 2003
|
||||
@@ -17,14 +17,14 @@
|
||||
#ifndef _AP_CNF
|
||||
#define _AP_CNF 1
|
||||
|
||||
-#include <stdint.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
#define TITLE "Wireless Access Point Utilites for Unix"
|
||||
|
||||
|
||||
$OpenBSD: patch-lib_ap-utils_h,v 1.3 2010/06/26 14:32:15 ckuethe Exp $
|
||||
--- lib/ap-utils.h.orig Fri Jun 25 18:20:22 2010
|
||||
+++ lib/ap-utils.h Fri Jun 25 18:20:57 2010
|
||||
@@ -48,7 +48,7 @@ typedef unsigned int uint32_t;
|
||||
#ifdef HAVE_GETTEXT
|
||||
/* GNU gettext stuff*/
|
||||
#include <locale.h>
|
||||
-#include <libgnuintl.h>
|
||||
+#include <intl/libgnuintl.h>
|
||||
#define _(String) gettext (String)
|
||||
|
||||
|
||||
#else
|
||||
#define _(String) (String)
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.3 2005/02/09 00:41:20 alek Exp $
|
||||
--- src/Makefile.in.orig Tue Feb 8 23:05:44 2005
|
||||
+++ src/Makefile.in Tue Feb 8 23:06:00 2005
|
||||
@@ -108,7 +108,7 @@ USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
|
||||
DEFS = -DLOCALEDIR=\"$(datadir)/locale\" -DHAVE_CONFIG_H
|
||||
-INCLUDES = -I../lib -I../intl -I..
|
||||
+INCLUDES = -I../lib -I..
|
||||
LIBS = @INTLLIBS@ @LIBS@
|
||||
|
||||
bin_PROGRAMS = ap-config ap-mrtg
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-src_file_c,v 1.1 2010/05/22 14:03:24 espie Exp $
|
||||
--- src/file.c.orig Wed Feb 26 00:05:41 2003
|
||||
+++ src/file.c Sat May 22 16:01:58 2010
|
||||
@@ -115,7 +115,8 @@ struct APList *parse_db_str(char *str)
|
||||
|
||||
int get_opts()
|
||||
{
|
||||
- extern char ap_type, *community;
|
||||
+ extern short ap_type;
|
||||
+ extern char *community;
|
||||
extern struct in_addr ap_ip;
|
||||
extern int sockfd;
|
||||
|
@ -1,12 +1,22 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:17:38 espie Exp $
|
||||
bin/ap-config
|
||||
bin/ap-mrtg
|
||||
@comment $OpenBSD: PLIST,v 1.4 2010/06/26 14:32:15 ckuethe Exp $
|
||||
@bin bin/ap-auth
|
||||
@bin bin/ap-config
|
||||
@bin bin/ap-gl
|
||||
@bin bin/ap-mrtg
|
||||
@bin bin/ap-rrd
|
||||
@bin bin/ap-tftp
|
||||
@man man/man8/ap-auth.8
|
||||
@man man/man8/ap-config.8
|
||||
@man man/man8/ap-gl.8
|
||||
@man man/man8/ap-mrtg.8
|
||||
@man man/man8/ap-tftp.8
|
||||
@man man/man8/ap-trapd.8
|
||||
sbin/ap-trapd
|
||||
@bin sbin/ap-trapd
|
||||
share/examples/systrace/
|
||||
share/examples/systrace/bin_ap_config
|
||||
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/tr/LC_MESSAGES/ap-utils.mo
|
||||
share/locale/uk/LC_MESSAGES/ap-utils.mo
|
||||
|
Loading…
Reference in New Issue
Block a user