Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 16:48:23 +0200 (CEST)
From:      Sten Spans <sten@blinkenlights.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/135966: net/ladvd: update to 0.8
Message-ID:  <20090623144823.40D193F41E@mx1.blinkenlights.nl>
Resent-Message-ID: <200906231450.n5NEo2U9044896@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135966
>Category:       ports
>Synopsis:       net/ladvd: update to 0.8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 23 14:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>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
>How-To-Repeat:
	
>Fix:

diff -Nru ladvd.old/Makefile ladvd/Makefile
--- ladvd.old/Makefile	2008-09-24 10:42:45.000000000 +0200
+++ ladvd/Makefile	2009-06-23 16:36:19.000000000 +0200
@@ -6,21 +6,26 @@
 #
 
 PORTNAME=	ladvd
-PORTVERSION=	0.6.1
+PORTVERSION=	0.8
 CATEGORIES=	net
 MASTER_SITES=	http://blinkenlights.nl/software/ladvd/
 
 MAINTAINER=	sten@blinkenlights.nl
 COMMENT=	A minimal CDP/LLDP sender
 
+LIB_DEPENDS=	event-1.4:${PORTSDIR}/devel/libevent
+
 GNU_CONFIGURE=	yes
 
+PORTDOCS=	*
 MAN8=		ladvd.8
 USE_RC_SUBR+=	ladvd
 SUB_FILES=	pkg-message pkg-install
 
+post-patch:
 .if defined(NOPORTDOCS)
-EXTRA_PATCHES=	${PATCHDIR}/extra-patch-Makefile.in
+	@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
+		${WRKSRC}/doc/Makefile.in
 .endif
 
 post-install:
diff -Nru ladvd.old/distinfo ladvd/distinfo
--- ladvd.old/distinfo	2008-09-24 10:42:45.000000000 +0200
+++ ladvd/distinfo	2009-06-23 13:24:12.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (ladvd-0.6.1.tar.gz) = 90989dec5200d6cab48dc7a6cff3cbe6
-SHA256 (ladvd-0.6.1.tar.gz) = eed25fb6a299f3beb89c46e145e6cef6035fb568a5cd04414ad4701c476e8172
-SIZE (ladvd-0.6.1.tar.gz) = 125949
+MD5 (ladvd-0.8.tar.gz) = 9a80b45ac830faf0151d23623aed5494
+SHA256 (ladvd-0.8.tar.gz) = d05453d3f18f76056e8764c3933fb3abe922b51dc5eb87ccfa5b4e6c754562c7
+SIZE (ladvd-0.8.tar.gz) = 398595
diff -Nru ladvd.old/files/extra-patch-Makefile.in ladvd/files/extra-patch-Makefile.in
--- ladvd.old/files/extra-patch-Makefile.in	2008-09-24 10:42:45.000000000 +0200
+++ ladvd/files/extra-patch-Makefile.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,44 +0,0 @@
---- Makefile.in.orig	2008-09-22 20:26:22.000000000 +0200
-+++ Makefile.in	2008-09-23 08:57:33.000000000 +0200
-@@ -178,7 +178,6 @@
- target_os = @target_os@
- target_vendor = @target_vendor@
- SUBDIRS = src
--dist_doc_DATA = LICENSE doc/ChangeLog doc/README
- man_MANS = doc/ladvd.8
- EXTRA_DIST = debian doc/ladvd.8.in
- all: all-recursive
-@@ -263,15 +262,6 @@
- 	  echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
- 	  rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
- 	done
--install-dist_docDATA: $(dist_doc_DATA)
--	@$(NORMAL_INSTALL)
--	test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
--	@list='$(dist_doc_DATA)'; for p in $$list; do \
--	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
--	  f=$(am__strip_dir) \
--	  echo " $(dist_docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
--	  $(dist_docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
--	done
- 
- uninstall-dist_docDATA:
- 	@$(NORMAL_UNINSTALL)
-@@ -609,7 +599,7 @@
- 
- info-am:
- 
--install-data-am: install-dist_docDATA install-man
-+install-data-am: install-man
- 
- install-exec-am:
- 
-@@ -650,7 +640,7 @@
- 	distclean-generic distclean-recursive distclean-tags \
- 	distcleancheck distdir distuninstallcheck dvi dvi-am html \
- 	html-am info info-am install install-am install-data \
--	install-data-am install-dist_docDATA install-exec \
-+	install-data-am install-exec \
- 	install-exec-am install-info install-info-am install-man \
- 	install-man8 install-strip installcheck installcheck-am \
- 	installdirs installdirs-am maintainer-clean \
diff -Nru ladvd.old/files/ladvd.in ladvd/files/ladvd.in
--- ladvd.old/files/ladvd.in	2008-08-05 18:57:54.000000000 +0200
+++ ladvd/files/ladvd.in	2009-06-23 16:19:19.000000000 +0200
@@ -21,7 +21,7 @@
 
 # set defaults
 ladvd_enable=${ladvd_enable:-"NO"}
-ladvd_flags=${ladvd_flags:-"-cl"}
+ladvd_flags=${ladvd_flags:-"-a"}
 
 start_precmd="ladvd_check"
 
diff -Nru ladvd.old/pkg-descr ladvd/pkg-descr
--- ladvd.old/pkg-descr	2008-08-05 18:57:54.000000000 +0200
+++ ladvd/pkg-descr	2009-06-23 16:42:29.000000000 +0200
@@ -1,4 +1,4 @@
-ladvd is a minimal link layer advertisement sender which supports the
-CDP and LLDP packet formats.
+ladvd is a minimal link layer advertisement daemon which supports
+LLDP, CDP, EDP, FDP and NDP advertisements.
 
 WWW: http://www.blinkenlights.nl/software/ladvd/
diff -Nru ladvd.old/pkg-plist ladvd/pkg-plist
--- ladvd.old/pkg-plist	2008-09-24 10:42:45.000000000 +0200
+++ ladvd/pkg-plist	2009-06-23 16:37:19.000000000 +0200
@@ -1,8 +1,4 @@
 sbin/ladvd
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @unexec echo ""
 @unexec echo "If you are permanently removing ladvd, you should also:" | /usr/bin/fmt
 @unexec echo "'remove user/group 'ladvd'." | /usr/bin/fmt

>Release-Note:
>Audit-Trail:
>Unformatted:



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