A small bug was found in 1.0.3, so here's an update to 1.0.4 (which also takes Antoine's CONFIGURE_STYLE diff into account).
Index: Makefile =================================================================== RCS file: /cvs/ports/net/ladvd/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 21 Feb 2012 16:21:42 -0000 1.12 +++ Makefile 22 Feb 2012 07:06:40 -0000 @@ -2,8 +2,7 @@ COMMENT = link advertisement (LLDP/CDP etc) daemon -DISTNAME = ladvd-0.9.2 -REVISION = 0 +DISTNAME = ladvd-1.0.4 CATEGORIES = net HOMEPAGE = http://blinkenlights.nl/software/ladvd/ @@ -18,12 +17,11 @@ MASTER_SITES = ${HOMEPAGE} -AUTOCONF_VERSION = 2.64 +AUTOCONF_VERSION = 2.65 CONFIGURE_STYLE = autoconf CONFIGURE_ARGS += --with-user=_ladvd --with-chroot-dir=/var/empty -USE_GROFF = Yes -WANTLIB = c event +WANTLIB = c event pcap # enables regression tests; GNU configure script enables them # only if devel/check is available at build time Index: distinfo =================================================================== RCS file: /cvs/ports/net/ladvd/distinfo,v retrieving revision 1.5 diff -u -r1.5 distinfo --- distinfo 27 Sep 2010 19:26:06 -0000 1.5 +++ distinfo 22 Feb 2012 07:06:43 -0000 @@ -1,5 +1,5 @@ -MD5 (ladvd-0.9.2.tar.gz) = VEIap0srwXncCNQti7cwfA== -RMD160 (ladvd-0.9.2.tar.gz) = hRd4CkLaBbbCXPPvvTVQ5yR36Hw= -SHA1 (ladvd-0.9.2.tar.gz) = ISdR4bFXTa+ys6eLNxd16NvQy2Y= -SHA256 (ladvd-0.9.2.tar.gz) = FyFknGTSVoq3JPe4C/vKHHly9YR6EfXW0JYS7pkIxoo= -SIZE (ladvd-0.9.2.tar.gz) = 450906 +MD5 (ladvd-1.0.4.tar.gz) = msjp91tEVANVF57d9pftKw== +RMD160 (ladvd-1.0.4.tar.gz) = 6+FXvoYbwwV6lTcxRSB15OZV1iY= +SHA1 (ladvd-1.0.4.tar.gz) = hZY5JTcRSQeAPDz5uG54E5pIGQg= +SHA256 (ladvd-1.0.4.tar.gz) = kAM9BABL0w4Fj6ypbA5jIADUSy7wplxw+dlyq9pKIro= +SIZE (ladvd-1.0.4.tar.gz) = 463939 Index: patches/patch-src_master_c =================================================================== RCS file: patches/patch-src_master_c diff -N patches/patch-src_master_c --- patches/patch-src_master_c 27 Sep 2010 19:26:06 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -$OpenBSD: patch-src_master_c,v 1.1 2010/09/27 19:26:06 weerd Exp $ -Merge BPF direction fix from upstream - -http://code.google.com/p/ladvd/source/detail?r=d0ee6ffcfd - ---- src/master.c.orig Thu Sep 23 11:27:37 2010 -+++ src/master.c Thu Sep 23 11:28:02 2010 -@@ -610,7 +610,7 @@ int master_socket(struct rawfd *rfd) { - if (ioctl(fd, BIOCSDIRECTION, (caddr_t)&enable) < 0) - my_fatal("unable to configure BPF direction for %s", rfd->name); - #elif defined BIOCSDIRFILT -- enable = BPF_DIRECTION_IN; -+ enable = BPF_DIRECTION_OUT; - if (ioctl(fd, BIOCSDIRFILT, (caddr_t)&enable) < 0) - my_fatal("unable to configure BPF direction for %s", rfd->name); - #endif -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/
