Bug 187977

Summary: [patch] update net/libdnet to version 1.12
Product: Ports & Packages Reporter: Antoine Brodin <antoine>
Component: Individual Port(s)Assignee: Antoine Brodin <antoine>
Status: Closed FIXED    
Severity: Affects Only Me CC: onatan
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
libdnet.diff none

Description Antoine Brodin freebsd_committer freebsd_triage 2014-03-26 19:10:00 UTC
- Update to version 1.12
- Remove patches
- Simplify installation
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-26 19:10:03 UTC
Maintainer of net/libdnet,

Please note that PR ports/187977 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/187977

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-26 19:10:04 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2014-03-26 22:03:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->antoine

Track
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-04-27 16:32:13 UTC
Author: antoine
Date: Sun Apr 27 15:32:07 2014
New Revision: 352433
URL: http://svnweb.freebsd.org/changeset/ports/352433
QAT: https://qat.redports.org/buildarchive/r352433/

Log:
  Update to 1.12
  
  PR:		ports/187977
  Approved by:	maintainer timeout (1 month)

Deleted:
  head/net/libdnet/files/
Modified:
  head/net/libdnet/Makefile
  head/net/libdnet/distinfo
  head/net/libdnet/pkg-descr
  head/net/libdnet/pkg-plist

Modified: head/net/libdnet/Makefile
==============================================================================
--- head/net/libdnet/Makefile	Sun Apr 27 15:28:47 2014	(r352432)
+++ head/net/libdnet/Makefile	Sun Apr 27 15:32:07 2014	(r352433)
@@ -2,35 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	libdnet
-PORTVERSION=	1.11
-PORTREVISION?=	3
+PORTVERSION=	1.12
 CATEGORIES?=	net
-MASTER_SITES=	SF/libdnet/libdnet/libdnet-${PORTVERSION}
+MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER?=	onatan@gmail.com
-COMMENT=	A simple interface to low level networking routines
+COMMENT=	Simple interface to low level networking routines
+
+LICENSE=	BSD3CLAUSE
 
 GNU_CONFIGURE=	yes
-USES=		gmake
+CONFIGURE_ENV=	ac_cv_dnet_bsd_bpf=yes
+USES=		libtool:keepla tar:tgz
 
 .if !defined(LIBDNET_SLAVE)
 CONFIGURE_ARGS+=	--without-python
 USE_LDCONFIG=	yes
 .endif
 
-.include <bsd.port.pre.mk>
-
-.if !defined(LIBDNET_SLAVE)
-
 post-patch:
-	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
-
-post-build:
-	@cd ${WRKSRC}/src ; ${CC} ${CFLAGS} -shared -o libdnet.so .libs/addr-util.o .libs/addr.o .libs/blob.o .libs/ip-util.o .libs/ip6.o .libs/rand.o .libs/arp-bsd.o .libs/eth-bsd.o .libs/fw-pf.o .libs/intf.o .libs/ip.o .libs/route-bsd.o .libs/tun-bsd.o
-
-post-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/
-	@${LN} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.1
-.endif
+	@${REINPLACE_CMD} 's|shrext|shrext_cmds|g' ${WRKSRC}/configure
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/net/libdnet/distinfo
==============================================================================
--- head/net/libdnet/distinfo	Sun Apr 27 15:28:47 2014	(r352432)
+++ head/net/libdnet/distinfo	Sun Apr 27 15:32:07 2014	(r352433)
@@ -1,2 +1,2 @@
-SHA256 (libdnet-1.11.tar.gz) = 0eb78415c8f2564c2f1e8ad36e98473348d9c94852f796a226360c716cc7ca53
-SIZE (libdnet-1.11.tar.gz) = 446233
+SHA256 (libdnet-1.12.tgz) = 83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026
+SIZE (libdnet-1.12.tgz) = 970125

Modified: head/net/libdnet/pkg-descr
==============================================================================
--- head/net/libdnet/pkg-descr	Sun Apr 27 15:28:47 2014	(r352432)
+++ head/net/libdnet/pkg-descr	Sun Apr 27 15:32:07 2014	(r352433)
@@ -5,4 +5,4 @@ firewalling, network interface lookup an
 packet and Ethernet frame transmission. It is intended to complement
 the functionality provided by pcap(3).
 
-WWW: http://libdnet.sourceforge.net/
+WWW: https://code.google.com/p/libdnet/

Modified: head/net/libdnet/pkg-plist
==============================================================================
--- head/net/libdnet/pkg-plist	Sun Apr 27 15:28:47 2014	(r352432)
+++ head/net/libdnet/pkg-plist	Sun Apr 27 15:32:07 2014	(r352433)
@@ -1,11 +1,10 @@
 sbin/dnet
 bin/dnet-config
-lib/libdnet
-lib/libdnet.1
 lib/libdnet.a
 lib/libdnet.la
 lib/libdnet.so
 lib/libdnet.so.1
+lib/libdnet.so.1.0.1
 include/dnet.h
 include/dnet/addr.h
 include/dnet/arp.h
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Antoine Brodin freebsd_committer freebsd_triage 2014-04-27 16:36:30 UTC
State Changed
From-To: feedback->closed

Patch committed