import of ap-utils 1.3
submitted by Chris Kuethe <ckuethe at ualberta dot ca> This is a set of utilites to configure and monitor Wireless Access Points under Unix using SNMP. ap-utils probably works with all Access Points based on the Atmel chipset. It may also work with APs with IEEE 802.11 MIB and NWN DOT11EXT MIB support, such as Compex WP11. naddy@ OK
This commit is contained in:
parent
359e2311ed
commit
33387426e1
32
net/ap-utils/Makefile
Normal file
32
net/ap-utils/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/01/20 17:15:57 sturm Exp $
|
||||
COMMENT= "wireless access point configuration tools"
|
||||
|
||||
DISTNAME= ap-utils-1.3
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://ap-utils.polesye.net/
|
||||
MAINTAINER= Chris Kuethe <ckuethe@ualberta.ca>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://ap-utils.uk.polesye.net/files/ \
|
||||
http://web.cs.cmu.edu/~dpelleg/download/ \
|
||||
http://ap-utils.polesye.net/files/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
MODULES= gettext iconv
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --without-included-gettext \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-libintl-prefix=${LOCALBASE}
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/systrace/
|
||||
${INSTALL_DATA} files/bin_ap_config ${PREFIX}/share/examples/systrace/
|
||||
|
||||
.include <bsd.port.mk>
|
4
net/ap-utils/distinfo
Normal file
4
net/ap-utils/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
# $OpenBSD: distinfo,v 1.1.1.1 2003/01/20 17:15:57 sturm Exp $
|
||||
MD5 (ap-utils-1.3.tar.bz2) = 880e3386cc06346a33be7fdbbb7f10d8
|
||||
RMD160 (ap-utils-1.3.tar.bz2) = afbd8a8744f2007d77c2169df5ef2037ad28df88
|
||||
SHA1 (ap-utils-1.3.tar.bz2) = 46747fee62d5a1b29404789bfc2e83e85876645e
|
52
net/ap-utils/files/bin_ap_config
Normal file
52
net/ap-utils/files/bin_ap_config
Normal file
@ -0,0 +1,52 @@
|
||||
# $OpenBSD: bin_ap_config,v 1.1.1.1 2003/01/20 17:15:57 sturm Exp $
|
||||
Policy: /usr/local/bin/ap-config, Emulation: native
|
||||
native-__sysctl: permit
|
||||
native-bind: sockaddr eq "inet-[0.0.0.0]:0" then permit
|
||||
native-break: permit
|
||||
native-close: permit
|
||||
native-exit: permit
|
||||
native-fcntl: permit
|
||||
native-fork: permit
|
||||
native-fsread: filename eq "$HOME/.ap-config" then permit
|
||||
native-fsread: filename eq "$HOME/.terminfo" then permit
|
||||
native-fsread: filename eq "$HOME/.terminfo.db" then permit
|
||||
native-fsread: filename eq "/etc/malloc.conf" then permit
|
||||
native-fsread: filename eq "/usr/X11R6/lib" then permit
|
||||
native-fsread: filename eq "/usr/lib" then permit
|
||||
native-fsread: filename eq "/usr/lib/libc.so.29.0" then permit
|
||||
native-fsread: filename eq "/usr/lib/libmenu.so.2.0" then permit
|
||||
native-fsread: filename eq "/usr/lib/libncurses.so.9.0" then permit
|
||||
native-fsread: filename eq "/usr/libexec/ld.so" then permit
|
||||
native-fsread: filename eq "/usr/local/lib" then permit
|
||||
native-fsread: filename eq "/usr/share/misc/terminfo.db" then permit
|
||||
native-fsread: filename eq "/var/run/ld.so.hints" then permit
|
||||
native-fstat: permit
|
||||
native-fstatfs: permit
|
||||
native-fswrite: filename eq "$HOME/.ap-config" then permit
|
||||
native-getdirentries: permit
|
||||
native-getegid: permit
|
||||
native-geteuid: permit
|
||||
native-getgid: permit
|
||||
native-gettimeofday: permit
|
||||
native-getuid: permit
|
||||
native-ioctl: permit
|
||||
native-issetugid: permit
|
||||
native-lseek: permit
|
||||
native-madvise: permit
|
||||
native-mmap: permit
|
||||
native-mprotect: permit
|
||||
native-munmap: permit
|
||||
native-nanosleep: permit
|
||||
native-pipe: permit
|
||||
native-poll: permit
|
||||
native-pread: permit
|
||||
native-read: permit
|
||||
native-recvfrom: permit
|
||||
native-sendto: sockaddr match "inet-*:161" then permit
|
||||
native-setitimer: permit
|
||||
native-setsockopt: permit
|
||||
native-sigaction: permit
|
||||
native-sigprocmask: permit
|
||||
native-socket: sockdom eq "AF_INET" and socktype eq "SOCK_DGRAM" then permit
|
||||
native-wait4: permit
|
||||
native-write: permit
|
21
net/ap-utils/patches/patch-configure
Normal file
21
net/ap-utils/patches/patch-configure
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2003/01/20 17:15:57 sturm Exp $
|
||||
--- configure.orig Thu Jan 16 21:22:25 2003
|
||||
+++ configure Thu Jan 16 21:23:25 2003
|
||||
@@ -3881,7 +3881,7 @@ else
|
||||
#include "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"
|
||||
@@ -3889,7 +3889,7 @@ extern
|
||||
const char *_nl_expand_alias ();
|
||||
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:3896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
12
net/ap-utils/patches/patch-lib_Makefile_in
Normal file
12
net/ap-utils/patches/patch-lib_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-lib_Makefile_in,v 1.1.1.1 2003/01/20 17:15:57 sturm Exp $
|
||||
--- lib/Makefile.in.orig Sun Jan 19 14:46:59 2003
|
||||
+++ lib/Makefile.in Sun Jan 19 14:47:12 2003
|
||||
@@ -106,7 +106,7 @@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIB
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
|
||||
-CFLAGS = -I../intl
|
||||
+CFLAGS = @CFLAGS@
|
||||
|
||||
noinst_LIBRARIES = libap.a
|
||||
|
12
net/ap-utils/patches/patch-lib_ap-utils_h
Normal file
12
net/ap-utils/patches/patch-lib_ap-utils_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-lib_ap-utils_h,v 1.1.1.1 2003/01/20 17:15:57 sturm Exp $
|
||||
--- lib/ap-utils.h.orig Sun Jan 19 14:50:08 2003
|
||||
+++ lib/ap-utils.h Sun Jan 19 14:50:19 2003
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
/* GNU gettext stuff*/
|
||||
#include <locale.h>
|
||||
-#include <libgnuintl.h>
|
||||
+#include <intl/libgnuintl.h>
|
||||
#define _(String) gettext (String)
|
||||
|
||||
#define TITLE "Wireless Access Point Utilites for Unix"
|
12
net/ap-utils/patches/patch-src_Makefile_in
Normal file
12
net/ap-utils/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2003/01/20 17:15:57 sturm Exp $
|
||||
--- src/Makefile.in.orig Sun Jan 19 14:47:17 2003
|
||||
+++ src/Makefile.in Sun Jan 19 14:47:29 2003
|
||||
@@ -106,7 +106,7 @@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIB
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
|
||||
-CFLAGS =
|
||||
+CFLAGS = @CFLAGS@
|
||||
DEFS = -DLOCALEDIR=\"$(datadir)/locale\" -DHAVE_CONFIG_H
|
||||
INCLUDES = -I../lib -I.. -I../intl
|
||||
|
18
net/ap-utils/pkg/DESCR
Normal file
18
net/ap-utils/pkg/DESCR
Normal file
@ -0,0 +1,18 @@
|
||||
Wireless Access Point Utilites for Unix
|
||||
|
||||
This is a set of utilites to configure and monitor Wireless Access Points
|
||||
under Unix using SNMP. This package includes three utilities:
|
||||
|
||||
ap-mrtg - to get stats from AP and return it in MRTG format;
|
||||
ap-trapd - to receive, parse and log trap messages from AP;
|
||||
ap-config - to configure and get stats from Atmel-MIB based
|
||||
APs and devices that support IEEE 802.11 MIB and
|
||||
NWN DOT11EXT MIB;
|
||||
|
||||
Supported Hardware
|
||||
|
||||
ap-utils probably works with all Access Points based on the Atmel chipset.
|
||||
It may also work with APs with IEEE 802.11 MIB and NWN DOT11EXT MIB support,
|
||||
such as Compex WP11.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
6
net/ap-utils/pkg/MESSAGE
Normal file
6
net/ap-utils/pkg/MESSAGE
Normal file
@ -0,0 +1,6 @@
|
||||
+------------
|
||||
| The ap-config systrace sample policy has been installed into
|
||||
| ${PREFIX}/share/examples/systrace. Please view this file
|
||||
| and change the policy to meet your needs. You can install this
|
||||
| file into /etc/systrace or your ~/.systrace directory.
|
||||
+------------
|
11
net/ap-utils/pkg/PLIST
Normal file
11
net/ap-utils/pkg/PLIST
Normal file
@ -0,0 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/01/20 17:15:57 sturm Exp $
|
||||
bin/ap-config
|
||||
bin/ap-mrtg
|
||||
man/man8/ap-config.8
|
||||
man/man8/ap-mrtg.8
|
||||
man/man8/ap-trapd.8
|
||||
sbin/ap-trapd
|
||||
share/examples/systrace/bin_ap_config
|
||||
share/locale/fr/LC_MESSAGES/ap-utils.mo
|
||||
share/locale/pl/LC_MESSAGES/ap-utils.mo
|
||||
share/locale/uk/LC_MESSAGES/ap-utils.mo
|
Loading…
Reference in New Issue
Block a user