diff options
author | bapt <bapt@FreeBSD.org> | 2012-10-26 02:02:31 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-10-26 02:02:31 +0800 |
commit | 4aa8b93a84fd9797cf6775fd6176cf218ae565a1 (patch) | |
tree | e41d0b4eb7fac97a36c95f527537815a4bf892db /net-mgmt | |
parent | 727c709e7847d2a1832142ad059d82d2750da9eb (diff) | |
download | freebsd-ports-gnome-4aa8b93a84fd9797cf6775fd6176cf218ae565a1.tar.gz freebsd-ports-gnome-4aa8b93a84fd9797cf6775fd6176cf218ae565a1.tar.zst freebsd-ports-gnome-4aa8b93a84fd9797cf6775fd6176cf218ae565a1.zip |
2012-10-20 security/sscep: No more public distfiles
2012-10-20 security/py-rijndael: No more public distfiles
2012-10-20 security/pam_af: No more public distfiles
2012-10-20 security/its4: No more public distfiles
2012-10-20 russian/xcyrBGR: No more public distfiles
2012-10-20 russian/wmcyrx: No more public distfiles
2012-10-20 print/advi: No more public distfiles
2012-10-20 palm/plucker: No more public distfiles
2012-10-20 net-p2p/py-bittornado-core: Depends on the deprecated wx 2.4
2012-10-20 net-p2p/py-bittornado: Depends on the deprecated wx 2.4
2012-10-20 net-mgmt/nagios-radauth-plugin: No more public distfiles
2012-10-20 net-mgmt/nagios-check_nick: No more public distfiles
Feature safe: yes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/nagios-check_nick/Makefile | 28 | ||||
-rw-r--r-- | net-mgmt/nagios-check_nick/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/nagios-check_nick/pkg-descr | 3 | ||||
-rw-r--r-- | net-mgmt/nagios-check_nick/pkg-plist | 2 | ||||
-rw-r--r-- | net-mgmt/nagios-radauth-plugin/Makefile | 33 | ||||
-rw-r--r-- | net-mgmt/nagios-radauth-plugin/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/nagios-radauth-plugin/files/patch-Makefile.in | 26 | ||||
-rw-r--r-- | net-mgmt/nagios-radauth-plugin/files/patch-radauth.c | 205 | ||||
-rw-r--r-- | net-mgmt/nagios-radauth-plugin/pkg-descr | 7 |
10 files changed, 0 insertions, 310 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 8fedfcad70de..f86b310c79d1 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -125,7 +125,6 @@ SUBDIR += nagios-check_memcached_paranoid SUBDIR += nagios-check_mysql_slave SUBDIR += nagios-check_netsnmp - SUBDIR += nagios-check_nick SUBDIR += nagios-check_ports SUBDIR += nagios-check_puppet SUBDIR += nagios-check_smartmon @@ -136,7 +135,6 @@ SUBDIR += nagios-pf-plugin SUBDIR += nagios-plugins SUBDIR += nagios-portaudit - SUBDIR += nagios-radauth-plugin SUBDIR += nagios-silfreed-plugins SUBDIR += nagios-snmp-plugins SUBDIR += nagios-snmp-plugins-extras diff --git a/net-mgmt/nagios-check_nick/Makefile b/net-mgmt/nagios-check_nick/Makefile deleted file mode 100644 index fd3c73576c78..000000000000 --- a/net-mgmt/nagios-check_nick/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# New ports collection makefile for: nagios-check_nick -# Date created: 2009-07-11 -# Whom: steinex -# -# $FreeBSD$ - -PORTNAME= check_nick -PORTVERSION= 1.0 -CATEGORIES= net-mgmt -MASTER_SITES= http://nognu.de/s/FreeBSD/distfiles/ -PKGNAMEPREFIX= nagios- - -MAINTAINER= ports@FreeBSD.org -COMMENT= Nagios plug-in to check if a nick is on IRC - -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-10-20 - -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/irclib.py:${PORTSDIR}/irc/py-irclib - -USE_PYTHON= yes -NO_BUILD= yes - -do-install: - @${MKDIR} ${PREFIX}/libexec/nagios - ${INSTALL_SCRIPT} ${WRKSRC}/check_nick ${PREFIX}/libexec/nagios - -.include <bsd.port.mk> diff --git a/net-mgmt/nagios-check_nick/distinfo b/net-mgmt/nagios-check_nick/distinfo deleted file mode 100644 index d1c38ef7a7a0..000000000000 --- a/net-mgmt/nagios-check_nick/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (check_nick-1.0.tar.gz) = 5c7d1b723a6d19a62ecb671278f06f0e8a5c39c4ece0965ac88afb4672f1eb0c -SIZE (check_nick-1.0.tar.gz) = 634 diff --git a/net-mgmt/nagios-check_nick/pkg-descr b/net-mgmt/nagios-check_nick/pkg-descr deleted file mode 100644 index 366f085b2b50..000000000000 --- a/net-mgmt/nagios-check_nick/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -check_nick is a Nagios plugin-in written in python that will -connect to an IRC server and check if a particular nick is -online. diff --git a/net-mgmt/nagios-check_nick/pkg-plist b/net-mgmt/nagios-check_nick/pkg-plist deleted file mode 100644 index bb24c8fb596c..000000000000 --- a/net-mgmt/nagios-check_nick/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -libexec/nagios/check_nick -@dirrmtry libexec/nagios diff --git a/net-mgmt/nagios-radauth-plugin/Makefile b/net-mgmt/nagios-radauth-plugin/Makefile deleted file mode 100644 index 37158d9c4eb0..000000000000 --- a/net-mgmt/nagios-radauth-plugin/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# New ports collection makefile for: nagios-spamd-plugin -# Date created: 2006-01-18 -# Whom: Andrew Kilpatrick <tiger@whitetigersd.com> -# -# $FreeBSD$ - -PORTNAME= nagios-radauth-plugin -PORTVERSION= 1.00 -PORTREVISION= 1 -CATEGORIES= net-mgmt -MASTER_SITES= http://www.hick.org/code/skape/radauth/ -DISTNAME= radauth-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Nagios plugin for checking radius server - -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-10-20 - -NAGIOS_PLUGIN_DIR?= libexec/nagios - -HAS_CONFIGURE= yes -CONFIGURE_ARGS+= --prefix=${PREFIX} \ - --bindir=${PREFIX}/${NAGIOS_PLUGIN_DIR} - -PLIST_FILES= "@exec ${MKDIR} ${NAGIOS_PLUGIN_DIR}" \ - ${NAGIOS_PLUGIN_DIR}/check_radauth -PLIST_DIRS= ${NAGIOS_PLUGIN_DIR} - -pre-install: - @${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR} - -.include <bsd.port.mk> diff --git a/net-mgmt/nagios-radauth-plugin/distinfo b/net-mgmt/nagios-radauth-plugin/distinfo deleted file mode 100644 index e7d8c7fe8c93..000000000000 --- a/net-mgmt/nagios-radauth-plugin/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (radauth-1.00.tar.gz) = 6d7c8a45ab9713c1cbeacc4eb8363f054fb68bd8b912f083a65957fb877e020d -SIZE (radauth-1.00.tar.gz) = 43087 diff --git a/net-mgmt/nagios-radauth-plugin/files/patch-Makefile.in b/net-mgmt/nagios-radauth-plugin/files/patch-Makefile.in deleted file mode 100644 index 1d373f487c27..000000000000 --- a/net-mgmt/nagios-radauth-plugin/files/patch-Makefile.in +++ /dev/null @@ -1,26 +0,0 @@ ---- Makefile.in.orig Sun Jan 14 08:33:28 2001 -+++ Makefile.in Sat Jan 21 21:55:42 2006 -@@ -1,8 +1,8 @@ --CC=@CC@ --DEBUG=@DEBUG@ -+CC?=@CC@ -+DEBUG= - DEFINES=@DEFINES@ --CFLAGS=-Wall ${DEFINES} ${DEBUG} -c --LFLAGS=-Wall ${DEFINES} ${DEBUG} -o -+CFLAGS+=-Wall ${DEFINES} ${DEBUG} -c -+LFLAGS+=-Wall ${DEFINES} ${DEBUG} -o - OBJS=radauth.o md5.o - BIN=radauth - LIBS=@LIBS@ -@@ -17,8 +17,8 @@ - ${CC} ${CFLAGS} md5.c -o md5.o - - install: ${OBJS} -- cp radauth /usr/local/bin/radauth -- chmod 755 /usr/local/bin/radauth -+ cp radauth @bindir@/check_radauth -+ chmod 555 @bindir@/check_radauth - - distclean: - rm -f core ${BIN} *.o config.status config.cache Makefile config.log diff --git a/net-mgmt/nagios-radauth-plugin/files/patch-radauth.c b/net-mgmt/nagios-radauth-plugin/files/patch-radauth.c deleted file mode 100644 index 1e1eb385855b..000000000000 --- a/net-mgmt/nagios-radauth-plugin/files/patch-radauth.c +++ /dev/null @@ -1,205 +0,0 @@ - -$FreeBSD$ - ---- radauth.c.orig -+++ radauth.c -@@ -137,13 +137,14 @@ - int c; - - fnInitialize(&radhead); /* initialize the header and global variables */ -+ global.verbose=0; /*clear it however should be zero since it is global variable */ - - while ((c = getopt(argc, argv, "hvu:p:s:r:c:t:")) != EOF) - { - switch (c) - { - case 'v': /* enable verbose output */ -- global.verbose = 1; -+ global.verbose++ ; - break; - case 'u': /* set username */ - strncpy(global.username,optarg,LEGAL_SIZE(global.username)); -@@ -254,11 +255,13 @@ - { - fprintf(stdout,"no radius server defined, aborting.\n"); - -- exit(0); -+ exit(3); - } - } - -+/* - fprintf(stdout,"\n"); -+*/ - - return; - } -@@ -303,7 +306,7 @@ - fprintf(stdout,"\t-t [auth timeout]\tinterval to wait until auth timeout in seconds\n"); - fprintf(stdout,"\t-h\t\t\tthis menu\n"); - -- exit(0); -+ exit(3); - } - - /* -@@ -331,13 +334,12 @@ - /* Calculate the radius header length */ - fnCalculateHeaderLength(radhead); - --#ifdef DEBUG /* Print debug information if debugging */ -- fprintf(stdout,"rad_code = %i\n",radhead->rad_code); -- fprintf(stdout,"rad_id = %i\n",radhead->rad_id); -- fprintf(stdout,"hashpwlen= %i\n",hashpwlen); -- fnPrintHash(global.password.pw_hash,hashpwlen); -- fprintf(stdout,"rad_length = %i\n",radhead->rad_length); --#endif -+ if (global.verbose>1) { /* Print debug information if debugging */ -+ fprintf(stdout,"rad_code = %i\n",radhead->rad_code); -+ fprintf(stdout,"rad_id = %i\n",radhead->rad_id); -+ fprintf(stdout,"hashpwlen= %i\n",hashpwlen); -+ fnPrintHash(global.password.pw_hash,hashpwlen); -+ fprintf(stdout,"rad_length = %i\n",ntohs(radhead->rad_length)); } - } - - /* -@@ -357,9 +359,9 @@ - for (x = 0; x < REQ_AUTH_LENGTH;x++) /* until then end of auth field has been reached */ - { - randnumb = rand()%128+127; --#ifdef DEBUG -- fprintf(stdout,"randnumb is = %i\n",randnumb); --#endif -+ if (global.verbose>1){ -+ fprintf(stdout,"randnumb is = %i\n",randnumb); -+ } - auth[x] = randnumb; - } - -@@ -478,7 +480,7 @@ - { - fprintf(stderr,"malloc failure, abort.\n"); - -- exit(0); -+ exit(3); - } - - curr->next = NULL; -@@ -523,14 +525,14 @@ - { - headlength += curr->attr_length; - --#ifdef DEBUG -- fprintf(stdout,"attr length = %i\n",curr->attr_length); --#endif -+ if (global.verbose >1 ){ -+ fprintf(stdout,"attr length = %i\n",curr->attr_length); -+ } - - curr = curr->next; - } - -- radhead->rad_length = headlength; /* set the final length */ -+ radhead->rad_length = htons(headlength); /* set the final length */ - - return; - } -@@ -543,7 +545,6 @@ - * - */ - --#ifdef DEBUG - void fnPrintHash(unsigned char *hash, int len) - { - int x = 0; -@@ -557,7 +558,6 @@ - - return; - } --#endif - - /* - * fnSendAndReceivePacket -@@ -569,7 +569,7 @@ - void fnSendAndReceivePacket(RADIUS_HEADER *radhead) - { - RADIUS_ATTR *curr = radhead->rad_attr; -- unsigned char packet[radhead->rad_length], firstlet; -+ unsigned char packet[ntohs(radhead->rad_length)], firstlet; - int pktpos = 0, sock, slen; - struct sockaddr_in s; - struct hostent *h; -@@ -577,7 +577,7 @@ - fd_set fdread; - - /* clear the packet to be sent */ -- memset(packet,0,radhead->rad_length); -+ memset(packet,0,ntohs(radhead->rad_length)); - - /* copy the first 20 bytes of the radius header. this size is static - * per RFC. -@@ -628,7 +628,7 @@ - { - fprintf(stdout,"unable to allocate udp socket, abort.\n"); - -- exit(0); -+ exit(3); - } - - s.sin_family = AF_INET; -@@ -641,7 +641,7 @@ - { - fprintf(stdout,"unable to resolve radius server: %s. abort.\n",global.radiusserver); - -- exit(0); -+ exit(3); - } - - memcpy(&s.sin_addr.s_addr,h->h_addr,h->h_length); -@@ -649,14 +649,15 @@ - - /* send the packet to the radius server */ - -- if (sendto(sock,(char *)packet,radhead->rad_length,0,(struct sockaddr *)&s,sizeof(s)) < 0) -+ if (sendto(sock,(char *)packet,ntohs(radhead->rad_length),0,(struct sockaddr *)&s,sizeof(s)) < 0) - { - fprintf(stdout,"error sending UDP packet to radius server. abort.\n"); - -- exit(0); -+ exit(3); - } - -- fprintf(stdout,"Authentication request sent to %s:%i ... (timeout = %i)\n",global.radiusserver,global.radiusport,global.authtimeout); -+/* fprintf(stdout,"Authentication request sent to %s:%i ... (timeout = %i)\n",global.radiusserver,global.radiusport,global.authtimeout); -+*/ - - slen = sizeof(s); - -@@ -670,6 +671,7 @@ - if (!select(sock + 1, &fdread, NULL, NULL, &tv)) - { - fprintf(stdout,"failed to receive a reply from the server, authentication FAILED.\n"); -+ exit(2); - - return; - } -@@ -681,15 +683,19 @@ - { - case 2: /* Access-Accept */ - fprintf(stdout,"Access GRANTED. (code = 2)\n"); -+ exit(0); - break; - case 3: /* Access-Reject */ - fprintf(stdout,"Access DENIED. (code = 3)\n"); -+ exit(2); - break; - case 11: - fprintf(stdout,"challenge issued, ignored. (code = 11)\n"); -+ exit(2); - break; - default: - fprintf(stdout,"unknown code. (code = %i)\n",firstlet); -+ exit(2); - break; - } - diff --git a/net-mgmt/nagios-radauth-plugin/pkg-descr b/net-mgmt/nagios-radauth-plugin/pkg-descr deleted file mode 100644 index 6c9f17139acc..000000000000 --- a/net-mgmt/nagios-radauth-plugin/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -radauth was developed to allow for command line authentication -against a radius server. This allows for more rapid -testing/troubleshooting of radius authentication problems depending -upon the method by which the person is authenticating (dial-up -customers come to mind). - -WWW: http://freecode.com/projects/radauth/ |