Updated diff disables PIE on hppa too (thanks, brad) Please test / comment / ok.
Paul On Sat, May 22, 2010 at 01:21:25PM +0200, Paul de Weerd wrote: | | Hi Guys, | | Please find attached the update for ladvd to 0.9.0. This version | brings the following new features : | | o improved privilege droppig logic | o better ifdescr support (shows portname) | o better unit tests | o support for vlan encapsulated advertisements | o improved decoding | o cli command to print received packets | o improved handling of removed interfaces | o improved child failure handling | | It has been tested on sparc64, amd64 and i386 so far (thanks to Sten, | William and Michiel for initial testing). Please test on other | platforms (arm would be nice) and give me your comments / ok's. Index: Makefile =================================================================== RCS file: /cvs/ports/net/ladvd/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 21 Apr 2010 22:57:04 -0000 1.6 +++ Makefile 22 May 2010 11:46:44 -0000 @@ -2,8 +2,7 @@ COMMENT = link advertisement (LLDP/CDP etc) daemon -DISTNAME = ladvd-0.8 -PKGNAME = ${DISTNAME}p0 +DISTNAME = ladvd-0.9.0 CATEGORIES = net HOMEPAGE = http://blinkenlights.nl/software/ladvd/ @@ -18,7 +17,7 @@ MASTER_SITES = ${HOMEPAGE} -AUTOCONF_VERSION = 2.61 +AUTOCONF_VERSION = 2.64 CONFIGURE_STYLE = gnu autoconf CONFIGURE_ARGS += --with-user=_ladvd --with-chroot-dir=/var/empty Index: distinfo =================================================================== RCS file: /cvs/ports/net/ladvd/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 15 Jul 2009 08:51:35 -0000 1.3 +++ distinfo 22 May 2010 11:46:44 -0000 @@ -1,5 +1,5 @@ -MD5 (ladvd-0.8.tar.gz) = moC0Wsgw+vAVHSNiOu1UlA== -RMD160 (ladvd-0.8.tar.gz) = 1okcgtmULs7EvWqp/h8k2uHxy5Q= -SHA1 (ladvd-0.8.tar.gz) = EjkqF1N+4ZxmjDkWW7gJHmmDoUk= -SHA256 (ladvd-0.8.tar.gz) = 0FRT0/GPdgVuh2TDkz+zq+kitR3F64fM+ltObHVFYsc= -SIZE (ladvd-0.8.tar.gz) = 398595 +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 Index: patches/patch-configure_ac =================================================================== RCS file: /cvs/ports/net/ladvd/patches/patch-configure_ac,v retrieving revision 1.1 diff -u -r1.1 patch-configure_ac --- patches/patch-configure_ac 26 Jul 2009 10:50:53 -0000 1.1 +++ patches/patch-configure_ac 22 May 2010 11:46:44 -0000 @@ -1,13 +1,15 @@ -$OpenBSD: patch-configure_ac,v 1.1 2009/07/26 10:50:53 kili Exp $ ---- configure.ac.orig Sun Jun 21 21:43:51 2009 -+++ configure.ac Wed Jul 22 12:29:58 2009 -@@ -31,6 +31,9 @@ case "$target_os" in - AC_DEFINE([TARGET_IS_FREEBSD], 1, [Define if target OS is FreeBSD]) +$OpenBSD$ +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 + use_pie=no ;; openbsd*) + case "$target" in + arm-*-openbsd*) use_pie=no;; ++ hppa-*-openbsd*) use_pie=no;; + esac - AC_DEFINE([TARGET_IS_OPENBSD], 1, [Define if target OS is OpenBSD]) ;; *) + AC_MSG_ERROR([Unsupported operating system]) Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/net/ladvd/pkg/PLIST,v retrieving revision 1.2 diff -u -r1.2 PLIST --- pkg/PLIST 15 Jul 2009 08:51:35 -0000 1.2 +++ pkg/PLIST 22 May 2010 11:46:44 -0000 @@ -2,7 +2,9 @@ @newgroup _ladvd:606 @newuser _ladvd:606:606:daemon:Link Advertisement Daemon:/var/empty:/sbin/nologin @man man/man8/ladvd.8 +...@man man/man8/ladvdc.8 @bin sbin/ladvd +...@bin sbin/ladvdc share/doc/ladvd/ share/doc/ladvd/ChangeLog share/doc/ladvd/LICENSE -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/