Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2015 14:48:58 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404655 - in head/net/ladvd: . files
Message-ID:  <201512281448.tBSEmwRG028744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Mon Dec 28 14:48:58 2015
New Revision: 404655
URL: https://svnweb.freebsd.org/changeset/ports/404655

Log:
  Update to upstream version 1.1.0, fetch distfile from GitHub
  
  PR:		204896
  Submitted by:	freebsd@simweb.ch
  Reviewed by:	riggs
  Approved by:	maintainer timeout

Deleted:
  head/net/ladvd/files/patch-src__cli.c
  head/net/ladvd/files/patch-src__compat__setproctitle.c
  head/net/ladvd/files/patch-src__compat__vis.c
  head/net/ladvd/files/patch-src__compat__vis.h
  head/net/ladvd/files/patch-src__proto__tlv.c
  head/net/ladvd/files/patch-src__util.c
Modified:
  head/net/ladvd/Makefile
  head/net/ladvd/distinfo
  head/net/ladvd/files/pkg-message.in
  head/net/ladvd/pkg-descr

Modified: head/net/ladvd/Makefile
==============================================================================
--- head/net/ladvd/Makefile	Mon Dec 28 14:42:50 2015	(r404654)
+++ head/net/ladvd/Makefile	Mon Dec 28 14:48:58 2015	(r404655)
@@ -2,26 +2,28 @@
 # $FreeBSD$
 
 PORTNAME=	ladvd
-PORTVERSION=	1.0.4
-PORTREVISION=	2
+PORTVERSION=	1.1.0
+DISTVERSIONPREFIX=v
 CATEGORIES=	net
-MASTER_SITES=	GOOGLE_CODE \
-		http://blinkenlights.nl/software/ladvd/
 
 MAINTAINER=	sten@blinkenlights.nl
-COMMENT=	Minimal LLDP/CDP daemon
+COMMENT=	Minimal LLDP/CDP/EDP/FDP/NDP sender daemon
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/doc/LICENSE
 
 LIB_DEPENDS=	libevent.so:${PORTSDIR}/devel/libevent2
 
 USERS=		ladvd
 GROUPS=		${USERS}
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	sspans
+USES=		autoreconf libtool pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-chroot-dir=/var/empty
 
-PORTDOCS=	*
+PORTDOCS=	README TODO HACKING
 USE_RC_SUBR=	ladvd
 SUB_FILES=	pkg-message
 
@@ -32,8 +34,13 @@ PLIST_FILES=	man/man8/ladvd.8.gz \
 
 OPTIONS_DEFINE=	DOCS
 
-post-patch-DOCS-off:
-	@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
-		${WRKSRC}/doc/Makefile.in
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 1000000
+CFLAGS_amd64=   -fPIC
+.endif
+
+post-patch:
+	${REINPLACE_CMD} -e 's|LICENSE||' ${WRKSRC}/doc/Makefile.am
 
 .include <bsd.port.mk>

Modified: head/net/ladvd/distinfo
==============================================================================
--- head/net/ladvd/distinfo	Mon Dec 28 14:42:50 2015	(r404654)
+++ head/net/ladvd/distinfo	Mon Dec 28 14:48:58 2015	(r404655)
@@ -1,2 +1,2 @@
-SHA256 (ladvd-1.0.4.tar.gz) = 90033d04004bd30e058faca96c0e632000d44b2ef0a65c70f9d972abda4a22ba
-SIZE (ladvd-1.0.4.tar.gz) = 463939
+SHA256 (sspans-ladvd-v1.1.0_GH0.tar.gz) = 6db4b3270d90469e7081695f62ed13b88ac15bd41b8467c81eec5d035742ae57
+SIZE (sspans-ladvd-v1.1.0_GH0.tar.gz) = 108845

Modified: head/net/ladvd/files/pkg-message.in
==============================================================================
--- head/net/ladvd/files/pkg-message.in	Mon Dec 28 14:42:50 2015	(r404654)
+++ head/net/ladvd/files/pkg-message.in	Mon Dec 28 14:48:58 2015	(r404655)
@@ -1,6 +1,6 @@
 *******************************************************************
  If you want to run ladvd at startup you'll need the following
- line in /etc/rc.conf(.local):
+ line in %%PREFIX%%/rc.conf(.local):
 
     ladvd_enable="YES"
 

Modified: head/net/ladvd/pkg-descr
==============================================================================
--- head/net/ladvd/pkg-descr	Mon Dec 28 14:42:50 2015	(r404654)
+++ head/net/ladvd/pkg-descr	Mon Dec 28 14:48:58 2015	(r404655)
@@ -1,4 +1,4 @@
 ladvd is a minimal link layer advertisement daemon which supports
-LLDP, CDP, EDP, FDP and NDP advertisements.
+sending LLDP, CDP, EDP, FDP and NDP advertisements.
 
-WWW: http://code.google.com/p/ladvd/
+WWW: https://github.com/sspans/ladvd



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512281448.tBSEmwRG028744>