diff options
Diffstat (limited to 'net-mgmt/arpalert')
-rw-r--r-- | net-mgmt/arpalert/Makefile | 23 | ||||
-rw-r--r-- | net-mgmt/arpalert/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/arpalert/files/patch-arpalert.c | 28 | ||||
-rw-r--r-- | net-mgmt/arpalert/files/patch-install.sh.in | 23 | ||||
-rw-r--r-- | net-mgmt/arpalert/files/patch-macname.h | 10 | ||||
-rw-r--r-- | net-mgmt/arpalert/files/patch-module_example__Makefile | 13 | ||||
-rw-r--r-- | net-mgmt/arpalert/pkg-descr | 5 | ||||
-rw-r--r-- | net-mgmt/arpalert/pkg-plist | 9 |
8 files changed, 0 insertions, 113 deletions
diff --git a/net-mgmt/arpalert/Makefile b/net-mgmt/arpalert/Makefile deleted file mode 100644 index ec3a977ba625..000000000000 --- a/net-mgmt/arpalert/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# Created by: Yen-Ming Lee <leeym@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= arpalert -PORTVERSION= 2.0.12 -PORTREVISION= 1 -CATEGORIES= net-mgmt -MASTER_SITES= http://www.arpalert.org/src/ - -MAINTAINER= hrs@FreeBSD.org -COMMENT= ARP traffic monitoring - -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2020-05-05 - -LICENSE= GPLv2 - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --localstatedir=/var -ALL_TARGET= ${PORTNAME} - -.include <bsd.port.mk> diff --git a/net-mgmt/arpalert/distinfo b/net-mgmt/arpalert/distinfo deleted file mode 100644 index fb4ddd675d51..000000000000 --- a/net-mgmt/arpalert/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (arpalert-2.0.12.tar.gz) = 7e097ff969dadc923742289dac6e9a527c63ce623bf1abce2006beadd5c368b9 -SIZE (arpalert-2.0.12.tar.gz) = 887059 diff --git a/net-mgmt/arpalert/files/patch-arpalert.c b/net-mgmt/arpalert/files/patch-arpalert.c deleted file mode 100644 index e85562af464b..000000000000 --- a/net-mgmt/arpalert/files/patch-arpalert.c +++ /dev/null @@ -1,28 +0,0 @@ ---- arpalert.c.orig 2011-11-08 19:36:51 UTC -+++ arpalert.c -@@ -179,6 +179,12 @@ int main(int argc, char **argv){ - if(cur_timeout.tv_sec != -1){ - time_sous(&cur_timeout, ¤t_t, &timeout); - -+ if (0 > timeout.tv_usec) { -+ /* avoid EINVAL (paranoid) */ -+ timeout.tv_sec -= (timeout.tv_usec / 1000000) + 1; -+ timeout.tv_usec = (timeout.tv_usec % 1000000) + 1000000; -+ } -+ - // prevent negative timeout - if(timeout.tv_sec < 0){ - timeout.tv_usec = 0; -@@ -188,6 +194,12 @@ int main(int argc, char **argv){ - timeout.tv_usec += 10000; - tmout = &timeout; - -+ if (1000000 <= timeout.tv_usec) { -+ /* avoid EINVAL */ -+ timeout.tv_sec += timeout.tv_usec / 1000000; -+ timeout.tv_usec %= 1000000; -+ } -+ - // if no timeout - } else { - tmout = NULL; diff --git a/net-mgmt/arpalert/files/patch-install.sh.in b/net-mgmt/arpalert/files/patch-install.sh.in deleted file mode 100644 index b99a5e076832..000000000000 --- a/net-mgmt/arpalert/files/patch-install.sh.in +++ /dev/null @@ -1,23 +0,0 @@ ---- install.sh.in.orig 2011-11-08 19:36:51 UTC -+++ install.sh.in -@@ -33,16 +33,16 @@ mkdir -p ${DESTDIR}${includedir} - mkdir -p ${DESTDIR}${mandir}/man8 - - # install man --cp -f doc/arpalert.8 ${DESTDIR}${mandir}/man8 -+install -m 0444 doc/arpalert.8 ${DESTDIR}${mandir}/man8 - - # copy oui list --cp -f etc/oui.txt ${DESTDIR}${config_dir} -+install -m 0444 etc/oui.txt ${DESTDIR}${config_dir} - - # copy API --cp -f api/arpalert.h ${DESTDIR}${includedir} -+install -m 0444 api/arpalert.h ${DESTDIR}${includedir} - - # insall binary --cp -f arpalert ${DESTDIR}${sbindir} -+install -s -m 0555 arpalert ${DESTDIR}${sbindir} - - # if doesn't exist conf - if [ ! -f ${DESTDIR}${config_dir}/arpalert.conf ]; then diff --git a/net-mgmt/arpalert/files/patch-macname.h b/net-mgmt/arpalert/files/patch-macname.h deleted file mode 100644 index e173775be45a..000000000000 --- a/net-mgmt/arpalert/files/patch-macname.h +++ /dev/null @@ -1,10 +0,0 @@ ---- macname.h.orig 2011-11-08 19:36:51 UTC -+++ macname.h -@@ -7,6 +7,7 @@ - #ifndef __MACNAME_H__ - #define __MACNAME_H__ - -+#include <sys/types.h> - #include <sys/socket.h> - #include <net/if.h> - #include <net/if_arp.h> diff --git a/net-mgmt/arpalert/files/patch-module_example__Makefile b/net-mgmt/arpalert/files/patch-module_example__Makefile deleted file mode 100644 index 86a741968e1d..000000000000 --- a/net-mgmt/arpalert/files/patch-module_example__Makefile +++ /dev/null @@ -1,13 +0,0 @@ ---- module_example/Makefile.orig 2011-11-08 19:36:51 UTC -+++ module_example/Makefile -@@ -1,8 +1,8 @@ - # Copyright (c) 2005-2010 Thierry FOURNIER - # $Id: Makefile 690 2008-03-31 18:36:43Z $ - --CC = gcc --CFLAGS = -Wall -g -+#CC = gcc -+CFLAGS = -Wall -g -fPIC - - all: example.so - diff --git a/net-mgmt/arpalert/pkg-descr b/net-mgmt/arpalert/pkg-descr deleted file mode 100644 index 26964b382806..000000000000 --- a/net-mgmt/arpalert/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Arpalert uses ARP protocol monitoring to prevent unauthorized connections -on the local network. If an illegal connection is detected, a program or -script is launched, which could be used to send an alert message, for example. - -WWW: http://www.arpalert.org/ diff --git a/net-mgmt/arpalert/pkg-plist b/net-mgmt/arpalert/pkg-plist deleted file mode 100644 index 696e764f8c79..000000000000 --- a/net-mgmt/arpalert/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -etc/arpalert/arpalert.conf -etc/arpalert/maclist.allow -etc/arpalert/maclist.deny -etc/arpalert/oui.txt -include/arpalert.h -sbin/arpalert -man/man8/arpalert.8.gz -@dir /var/lib/arpalert -@dir /var/lib |