From sten@mx1.blinkenlights.nl  Fri Sep 11 12:27:36 2009
Return-Path: <sten@mx1.blinkenlights.nl>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D99C8106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Sep 2009 12:27:36 +0000 (UTC)
	(envelope-from sten@mx1.blinkenlights.nl)
Received: from mx1.blinkenlights.nl (towel.blinkenlights.nl [IPv6:2a02:898:0:30::17:1])
	by mx1.freebsd.org (Postfix) with ESMTP id 84F588FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Sep 2009 12:27:36 +0000 (UTC)
Received: by mx1.blinkenlights.nl (Postfix, from userid 101)
	id B74EA3F41E; Fri, 11 Sep 2009 14:27:34 +0200 (CEST)
Message-Id: <20090911122734.B74EA3F41E@mx1.blinkenlights.nl>
Date: Fri, 11 Sep 2009 14:27:34 +0200 (CEST)
From: Sten Spans <sten@blinkenlights.nl>
Reply-To: Sten Spans <sten@blinkenlights.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: net/ladvd: update to 0.8.5
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         138734
>Category:       ports
>Synopsis:       net/ladvd: update to 0.8.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    beat
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 11 12:30:02 UTC 2009
>Closed-Date:    Thu Sep 17 21:35:56 UTC 2009
>Last-Modified:  Thu Sep 17 21:40:13 UTC 2009
>Originator:     Sten Spans
>Release:        FreeBSD 6.4-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD towel.blinkenlights.nl 6.4-RELEASE-p3 FreeBSD 6.4-RELEASE-p3 #3: Sat Mar 28 01:11:22 CET 2009 root@towel.blinkenlights.nl:/usr/obj/usr/src/sys/TOWEL i386


	
>Description:
	The following patch updates the port to 0.8.5
>How-To-Repeat:
	
>Fix:

diff -Nru ladvd.orig/Makefile ladvd/Makefile
--- ladvd.orig/Makefile	2009-07-29 07:58:49.000000000 +0200
+++ ladvd/Makefile	2009-09-10 20:29:33.000000000 +0200
@@ -6,13 +6,12 @@
 #
 
 PORTNAME=	ladvd
-PORTVERSION=	0.8
-PORTREVISION=	1
+PORTVERSION=	0.8.5
 CATEGORIES=	net
 MASTER_SITES=	http://blinkenlights.nl/software/ladvd/
 
 MAINTAINER=	sten@blinkenlights.nl
-COMMENT=	A minimal CDP/LLDP sender
+COMMENT=	A minimal CDP/LLDP daemon
 
 LIB_DEPENDS=	event-1.4:${PORTSDIR}/devel/libevent
 
diff -Nru ladvd.orig/distinfo ladvd/distinfo
--- ladvd.orig/distinfo	2009-06-23 22:09:31.000000000 +0200
+++ ladvd/distinfo	2009-09-10 20:31:47.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (ladvd-0.8.tar.gz) = 9a80b45ac830faf0151d23623aed5494
-SHA256 (ladvd-0.8.tar.gz) = d05453d3f18f76056e8764c3933fb3abe922b51dc5eb87ccfa5b4e6c754562c7
-SIZE (ladvd-0.8.tar.gz) = 398595
+MD5 (ladvd-0.8.5.tar.gz) = f5e6ce1d95406e18d31e84ce1fec508d
+SHA256 (ladvd-0.8.5.tar.gz) = 6097ae7eb079c2a7556dcd0e7097dd515fc29071cbf6fe69448b8205a18fe6bd
+SIZE (ladvd-0.8.5.tar.gz) = 414545
diff -Nru ladvd.orig/files/patch-backport ladvd/files/patch-backport
--- ladvd.orig/files/patch-backport	2009-07-29 07:58:49.000000000 +0200
+++ ladvd/files/patch-backport	1970-01-01 01:00:00.000000000 +0100
@@ -1,83 +0,0 @@
---- ./src/netif.c.orig	2009-06-21 12:36:07.000000000 -0700
-+++ ./src/netif.c	2009-07-28 19:03:00.229811057 -0700
-@@ -399,6 +399,12 @@
-     memset(&drvinfo, 0, sizeof(drvinfo));
- #endif
- 
-+#ifdef HAVE_NET_IF_LAGG_H
-+    struct lagg_reqall ra;
-+#elif HAVE_NET_IF_TRUNK_H
-+    struct trunk_reqall ra;
-+#endif
-+
- #ifdef HAVE_SYSFS
-     if (snprintf(path, SYSFS_PATH_MAX,
- 	    SYSFS_CLASS_NET "/%s/device", ifaddr->ifa_name) > 0) {
-@@ -442,13 +448,17 @@
-     if (if_data->ifi_type == IFT_ETHER) {
- 
- 	// bonding
-+#if defined(HAVE_NET_IF_LAGG_H) || defined(HAVE_NET_IF_TRUNK_H)
-+	memset(&ra, 0, sizeof(ra));
-+	strlcpy(ra.ra_ifname, ifaddr->ifa_name, sizeof(ra.ra_ifname));
- #ifdef HAVE_NET_IF_LAGG_H
--	if (ioctl(sockfd, SIOCGLAGG, (caddr_t)ifr) >= 0)
-+	if (ioctl(sockfd, SIOCGLAGG, &ra) >= 0)
- 	    return(NETIF_BONDING);
- #elif HAVE_NET_IF_TRUNK_H
--	if (ioctl(sockfd, SIOCGTRUNK, (caddr_t)ifr) == 0)
-+	if (ioctl(sockfd, SIOCGTRUNK, &ra) == 0)
- 	    return(NETIF_BONDING);
- #endif
-+#endif
- 
- 	// accept regular devices
- 	return(NETIF_REGULAR);
-@@ -459,8 +469,9 @@
- 	return(NETIF_BRIDGE);
- #endif
- #ifdef IFT_IEEE8023ADLAG
-+    // trunk ports have a special type
-     } else if (if_data->ifi_type == IFT_IEEE8023ADLAG) {
--	return(NETIF_BONDING);
-+	return(NETIF_REGULAR);
- #endif
-     }
- 
-@@ -548,7 +559,7 @@
- 		my_log(INFO, "found slave %s", subif->name);
- 		subif->slave = 1;
- 		subif->master = master;
--		subif->lacp_index = i++;
-+		subif->lacp_index = i;
- 		csubif->subif = subif;
- 		csubif = subif;
- 	    }
---- ./configure.orig	2009-06-21 12:44:00.000000000 -0700
-+++ ./configure	2009-07-28 19:04:14.275354033 -0700
-@@ -20062,15 +20062,12 @@
- 
- 	;;
-     freebsd*)
--	case "$target" in
--	    x86_64-*-freebsd7.*)
--		use_pie=no
--	esac
- 
- cat >>confdefs.h <<\_ACEOF
- #define TARGET_IS_FREEBSD 1
- _ACEOF
- 
-+	use_pie=no
- 	;;
-     openbsd*)
- 
-@@ -20479,7 +20476,7 @@
- { echo "$as_me:$LINENO: result: $ssp_cv_cc" >&5
- echo "${ECHO_T}$ssp_cv_cc" >&6; }
-     if test $ssp_cv_cc = yes; then
--      WFLAGS="$WFLAGS -fstack-protector"
-+      WCFLAGS="$WCFLAGS -fstack-protector"
- 
- cat >>confdefs.h <<\_ACEOF
- #define ENABLE_SSP_CC 1

>Release-Note:
>Audit-Trail:

From: Sten Spans <sten@blinkenlights.nl>
To: Andrzej Tobola <ato@iem.pw.edu.pl>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/138734: net/ladvd: update to 0.8.5
Date: Sat, 12 Sep 2009 22:27:37 +0200 (CEST)

 On Sat, 12 Sep 2009, Andrzej Tobola wrote:
 
 > Hello Sten,
 >
 > Please request UID/GID in /usr/ports/UIDs /usr/ports/GIDs
 > to make your port complete.
 
 Good catch, I somehow forgot to request a UID earlier.
 Here's the diff:
 
 --- UIDs.orig	2009-09-12 22:20:27.000000000 +0200
 +++ UIDs	2009-09-12 22:22:51.000000000 +0200
 @@ -77,6 +77,7 @@
   rabbitmq:*:135:135::0:0:RabbitMQ:/var/db/rabbitmq:/usr/sbin/nologin
   dhcpd:*:136:136::0:0:ISC DHCP daemon:/nonexistent:/usr/sbin/nologin
   cricket:*:141:80::0:0:Cricket Monitoring User:/usr/local/cricket:/usr/sbin/nologin
 +ladvd:*:142:142::0:0:Ladvd User:/var/empty:/usr/sbin/nologin
   dovecot:*:143:143::0:0:Dovecot User:/var/empty:/usr/sbin/nologin
   rbldns:*:153:153::0:0:rbldnsd pseudo-user:/nonexistent:/usr/sbin/nologin
   sfs:*:171:171::0:0:Self-Certifying File System:/nonexistent:/usr/sbin/nologin
 --- GIDs.orig	2009-09-12 22:22:59.000000000 +0200
 +++ GIDs	2009-09-12 22:23:29.000000000 +0200
 @@ -68,6 +68,7 @@
   undernet:*:134:
   rabbitmq:*:135:
   dhcpd:*:136:
 +ladvd:*:142:
   dovecot:*:143:
   rbldns:*:153:
   sfs:*:171:
 
 -- 
 Sten Spans
 
 "There is a crack in everything, that's how the light gets in."
 Leonard Cohen - Anthem

From: Sten Spans <sten@blinkenlights.nl>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/138734: net/ladvd: update to 0.8.5
Date: Tue, 15 Sep 2009 19:13:37 +0200 (CEST)

 On Fri, 11 Sep 2009, FreeBSD-gnats-submit@FreeBSD.org wrote:
 
 > Thank you very much for your problem report.
 > It has the internal identification `ports/138734'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs.
 >
 
 It would be really nice to get this in before 8.0,
 please note that the 0.8 -> 0.8.5 upgrade only contains
 bugfixes and cleanups.
 
 -- 
 Sten Spans
 
 "There is a crack in everything, that's how the light gets in."
 Leonard Cohen - Anthem
Responsible-Changed-From-To: freebsd-ports-bugs->beat 
Responsible-Changed-By: beat 
Responsible-Changed-When: Thu Sep 17 15:44:00 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138734 
State-Changed-From-To: open->closed 
State-Changed-By: beat 
State-Changed-When: Thu Sep 17 21:35:55 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138734 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/138734: commit references a PR
Date: Thu, 17 Sep 2009 21:35:21 +0000 (UTC)

 beat        2009-09-17 21:35:12 UTC
 
   FreeBSD ports repository
 
   Modified files:
     .                    GIDs UIDs 
     net/ladvd            Makefile distinfo 
   Removed files:
     net/ladvd/files      patch-backport 
   Log:
   - Update to 0.8.5
   - Adjust COMMENT
   - Add UID and GID entries for net/ladvd
   
   PR:             ports/138734
   Submitted by:   Sten Spans <sten AT blinkenlights.nl> (maintainer)
   Feature safe:   yes
   
   Revision  Changes    Path
   1.82      +2 -1      ports/GIDs
   1.96      +2 -1      ports/UIDs
   1.5       +2 -3      ports/net/ladvd/Makefile
   1.4       +3 -3      ports/net/ladvd/distinfo
   1.2       +0 -83     ports/net/ladvd/files/patch-backport (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
