Bug 180436 - [PATCH] net-p2p/libtorrent-rasterbar-16: update to 0.16.10, take maintainership
Summary: [PATCH] net-p2p/libtorrent-rasterbar-16: update to 0.16.10, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-10 15:50 UTC by nemysis
Modified: 2013-07-10 18:10 UTC (History)
1 user (show)

See Also:


Attachments
libtorrent-rasterbar-0.16.10.patch (3.79 KB, patch)
2013-07-10 15:50 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-07-10 15:50:01 UTC
- Update to 0.16.10
- Take maintainership
- Trim Makefile header
- Add license (BSD)
- Trim docs
- Add examples
- Add EXAMPLES Option
- Trim pkg-plist

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports)

How-To-Repeat: 
Can't give build log, because RedPorts not works for me at the time.

https://redports.org/buildarchive/20130710125500-10655/

"/usr/ports/Mk/bsd.port.mk", line 1512: Could not find /usr/ports/Mk/Uses/gmake.mk
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-07-10 16:35:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 William Grzybowski freebsd_committer freebsd_triage 2013-07-10 18:06:07 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-07-10 18:06:15 UTC
Author: wg
Date: Wed Jul 10 17:06:01 2013
New Revision: 322714
URL: http://svnweb.freebsd.org/changeset/ports/322714

Log:
  net-p2p/libtorrent-rasterbar-16: update to 0.16.10
  
  - Update to 0.16.10
  - Add back Created by to Makefile header
  - Add LICENSE (BSD)
  - Pass maintainership to submitter
  - Install examples
  
  PR:		ports/180436
  Submitted by:	nemysis <nemysis gmx.ch>

Modified:
  head/net-p2p/libtorrent-rasterbar-16/Makefile
  head/net-p2p/libtorrent-rasterbar-16/distinfo
  head/net-p2p/libtorrent-rasterbar-16/pkg-descr

Modified: head/net-p2p/libtorrent-rasterbar-16/Makefile
==============================================================================
--- head/net-p2p/libtorrent-rasterbar-16/Makefile	Wed Jul 10 17:04:49 2013	(r322713)
+++ head/net-p2p/libtorrent-rasterbar-16/Makefile	Wed Jul 10 17:06:01 2013	(r322714)
@@ -1,28 +1,28 @@
+# Created by: Doug Barton <dougb@FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	libtorrent-rasterbar
-PORTVERSION=	0.16.7
-PORTREVISION?=	2
+PORTVERSION=	0.16.10
 CATEGORIES?=	net-p2p ipv6
 MASTER_SITES=	GOOGLE_CODE
 PROJECTHOST=	libtorrent
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT?=	C++ library implementing a BitTorrent client
 
-MAKE_JOBS_SAFE=	yes
-
-CONFLICTS+=	libtorrent-rasterbar-0.1[45789].*
-
-NO_LATEST_LINK=	yes
+LICENSE=	BSD
 
 LIB_DEPENDS+=	boost_date_time:${PORTSDIR}/devel/boost-libs \
 		GeoIP:${PORTSDIR}/net/GeoIP
 
-GNU_CONFIGURE=	yes
 USES=		pathfix pkgconfig iconv
-USE_LDCONFIG=	yes
 USE_OPENSSL=	yes
+GNU_CONFIGURE=	yes
+USE_LDCONFIG=	yes
+MAKE_JOBS_SAFE=	yes
+
+CONFLICTS+=	libtorrent-rasterbar-0.1[45789].*
+NO_LATEST_LINK=	yes
 
 CONFIGURE_ARGS+=	--disable-debug \
 		--disable-static \
@@ -39,7 +39,16 @@ CONFIGURE_ARGS+=	--disable-debug \
 
 PORTDOCS=	*
 
-OPTIONS_DEFINE=	DOCS
+DOCSRCDIR1=	${WRKSRC}
+DOC_FILES1=	AUTHORS README
+
+DOCSRCDIR2=	 ${WRKSRC}/docs
+DOCSDIR2=	${DOCSDIR}/docs
+DOC_FILES2=	*.png *.jpg *.gif *.html *.rst *.css
+
+PORTEXAMPLES=	*.cpp
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 .include <bsd.port.pre.mk>
 
@@ -53,6 +62,7 @@ CONFIGURE_ARGS+=	--disable-python-bindin
 .if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes"
 post-patch:	slave-post-patch
 .else
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|<include>/usr/local/include|<include>${PREFIX}/include|' \
 		${WRKSRC}/Jamfile
@@ -65,11 +75,13 @@ post-install:
 .endif
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/*.css ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/*.gif ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/*.jpg ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/*.png ${DOCSDIR}
+	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR2}
+	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2}
+.endif
+.if ${PORT_OPTIONS:MEXAMPLES}
+	@${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.post.mk>

Modified: head/net-p2p/libtorrent-rasterbar-16/distinfo
==============================================================================
--- head/net-p2p/libtorrent-rasterbar-16/distinfo	Wed Jul 10 17:04:49 2013	(r322713)
+++ head/net-p2p/libtorrent-rasterbar-16/distinfo	Wed Jul 10 17:06:01 2013	(r322714)
@@ -1,2 +1,2 @@
-SHA256 (libtorrent-rasterbar-0.16.7.tar.gz) = 6d3ec18ffb14e6637020f020b3a7ea1831ab02941f4698f30beedbfa63f30048
-SIZE (libtorrent-rasterbar-0.16.7.tar.gz) = 2931824
+SHA256 (libtorrent-rasterbar-0.16.10.tar.gz) = 4c0d78b28af8051ff8a19a3a3e10a5edfec50945b8f3c9a76612111c47d671bc
+SIZE (libtorrent-rasterbar-0.16.10.tar.gz) = 2985640

Modified: head/net-p2p/libtorrent-rasterbar-16/pkg-descr
==============================================================================
--- head/net-p2p/libtorrent-rasterbar-16/pkg-descr	Wed Jul 10 17:04:49 2013	(r322713)
+++ head/net-p2p/libtorrent-rasterbar-16/pkg-descr	Wed Jul 10 17:06:01 2013	(r322714)
@@ -1,14 +1,12 @@
 libtorrent is a C++ library that aims to be a good alternative to all the
-other bittorrent implementations around.  It is a library and not a full
-featured client.
+other bittorrent implementations around. It is a library and not a full
+featured client, although it comes with a working example client.
 
-The main goals of libtorrent are:
-	* to be cpu efficient
-	* to be memory efficient
-	* to be very easy to use
+The main goals of libtorrent are to be cpu efficient, memory efficient and
+very easy to use.
 
 The 0.16 branch adds uTP support.
 
 Note that this is NOT the same library as the libtorrent port!
 
-WWW: http://www.rasterbar.com/products/libtorrent/index.html
+WWW: http://www.rasterbar.com/products/libtorrent/
_______________________________________________
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"