Update to ladvd-0.9.2. Tested on sparc64 and amd64 by myself, on i386

by william@ and build-tested on powerpc and mips64 by jasper@.

ok jasper@
This commit is contained in:
weerd 2010-09-27 19:26:06 +00:00
parent 6b84d7245b
commit cb0781fd1c
5 changed files with 29 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.7 2010/05/26 17:03:59 weerd Exp $
# $OpenBSD: Makefile,v 1.8 2010/09/27 19:26:06 weerd Exp $
COMMENT = link advertisement (LLDP/CDP etc) daemon
DISTNAME = ladvd-0.9.0
DISTNAME = ladvd-0.9.2
CATEGORIES = net
HOMEPAGE = http://blinkenlights.nl/software/ladvd/

View File

@ -1,5 +1,5 @@
MD5 (ladvd-0.9.0.tar.gz) = waTOwN2MvDEq2WRlYkSlxQ==
RMD160 (ladvd-0.9.0.tar.gz) = F3rLY7XtqfKnppXkp8QBhkG1N58=
SHA1 (ladvd-0.9.0.tar.gz) = mZEmVmXmx+m5CFJnGzYMeUFxxVU=
SHA256 (ladvd-0.9.0.tar.gz) = BpxGsN6uANus356+TpXjGpOQvEvQmbYKNvSKaHood/g=
SIZE (ladvd-0.9.0.tar.gz) = 397506
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

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-configure_ac,v 1.2 2010/05/26 17:03:59 weerd Exp $
$OpenBSD: patch-configure_ac,v 1.3 2010/09/27 19:26:06 weerd Exp $
Disable PIE on ARM and HPPA
--- configure.ac.orig Thu May 20 11:17:15 2010
+++ configure.ac Sat May 22 13:46:10 2010
@@ -28,6 +28,10 @@ case "$target_os" in
--- configure.ac.orig Tue Sep 21 09:52:07 2010
+++ configure.ac Thu Sep 23 11:26:58 2010
@@ -35,6 +35,10 @@ case "$target_os" in
use_pie=no
;;
openbsd*)

View File

@ -0,0 +1,16 @@
$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

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2010/05/26 17:03:59 weerd Exp $
@comment $OpenBSD: PLIST,v 1.4 2010/09/27 19:26:06 weerd Exp $
@newgroup _ladvd:606
@newuser _ladvd:606:606:daemon:Link Advertisement Daemon:/var/empty:/sbin/nologin
@man man/man8/ladvd.8
@ -7,6 +7,7 @@
@bin sbin/ladvdc
share/doc/ladvd/
share/doc/ladvd/ChangeLog
share/doc/ladvd/HACKING
share/doc/ladvd/LICENSE
share/doc/ladvd/README
share/doc/ladvd/TODO