svn commit: r313161 - in head/ports-mgmt: . prhistory prhistory/files

Jason Helfman jgh at FreeBSD.org
Fri Mar 1 19:06:03 UTC 2013


Author: jgh
Date: Fri Mar  1 19:06:01 2013
New Revision: 313161
URL: http://svnweb.freebsd.org/changeset/ports/313161

Log:
  - add new port: ports-mgmt/prhistory
  
  prhistory shows PR from the FreeBSD GNATS database corresponding
  to a port. Show a summary view of all PR related to a port and
  request an individual PR by number.
  
  WWW: https://github.com/waitman/prhistory
  
  PR:		175627
  Submitted by:	uzimac at da3m0n8t3r.com

Added:
  head/ports-mgmt/prhistory/
  head/ports-mgmt/prhistory/Makefile   (contents, props changed)
  head/ports-mgmt/prhistory/distinfo   (contents, props changed)
  head/ports-mgmt/prhistory/files/
  head/ports-mgmt/prhistory/files/pkg-message.in   (contents, props changed)
  head/ports-mgmt/prhistory/pkg-descr   (contents, props changed)
  head/ports-mgmt/prhistory/pkg-plist   (contents, props changed)
Modified:
  head/ports-mgmt/Makefile   (contents, props changed)

Modified: head/ports-mgmt/Makefile
==============================================================================
--- head/ports-mgmt/Makefile	Fri Mar  1 18:55:56 2013	(r313160)
+++ head/ports-mgmt/Makefile	Fri Mar  1 19:06:01 2013	(r313161)
@@ -75,6 +75,7 @@
     SUBDIR += portupgrade-devel
     SUBDIR += poudriere
     SUBDIR += poudriere-devel
+    SUBDIR += prhistory
     SUBDIR += psearch
     SUBDIR += pver
     SUBDIR += qtpkg

Added: head/ports-mgmt/prhistory/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/prhistory/Makefile	Fri Mar  1 19:06:01 2013	(r313161)
@@ -0,0 +1,39 @@
+# Created by: "Waitman Gobble" <uzimac at da3m0n8t3r.com>
+# $FreeBSD$
+
+PORTNAME=	prhistory
+PORTVERSION=	1.0
+CATEGORIES=	ports-mgmt
+MASTER_SITES=	GH
+
+MAINTAINER=	waitman at waitman.net
+COMMENT=	PR review for ports
+
+LICENSE=	PRHISTORY
+LICENSE_NAME=	PRHISTORY BSD LICENSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	${_LICENSE_PERMS_DEFAULT}
+
+LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
+		sqlite3:${PORTSDIR}/databases/sqlite3
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	waitman
+GH_TAGNAME=	master
+GH_COMMIT=	9113c59
+
+MAN7=	prhistory.7
+
+SUB_FILES=	pkg-message
+PORTDOCS=	*
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+	@${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>

Added: head/ports-mgmt/prhistory/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/prhistory/distinfo	Fri Mar  1 19:06:01 2013	(r313161)
@@ -0,0 +1,2 @@
+SHA256 (prhistory-1.0.tar.gz) = eb3e02a91a7b0c9dae96dd77706029d91e91fbad1cec4faf4b67825e6b5e1788
+SIZE (prhistory-1.0.tar.gz) = 4237

Added: head/ports-mgmt/prhistory/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/prhistory/files/pkg-message.in	Fri Mar  1 19:06:01 2013	(r313161)
@@ -0,0 +1,24 @@
+************************************************************************
+
+NOTICE
+
+prhistory has been installed as %%PREFIX%%/bin/prhistory
+
+In order to download the pr (ports only) database, 
+run the following command:
+# prhistory -u
+
+WARNING
+
+This command will download an SQLite db file to 
+/var/db/ports/ports-pr.db
+
+The remote file ports-pr.db is updated at most once per hour.
+
+MORE INFORMATION
+
+To create your own ports-pr.db see the notes at the following URL:
+https://dx.burplex.com/bin/prhistory.html
+
+************************************************************************
+

Added: head/ports-mgmt/prhistory/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/prhistory/pkg-descr	Fri Mar  1 19:06:01 2013	(r313161)
@@ -0,0 +1,5 @@
+prhistory shows PR from the FreeBSD GNATS database corresponding
+to a port. Show a summary view of all PR related to a port and 
+request an individual PR by number.
+
+WWW: https://github.com/waitman/prhistory

Added: head/ports-mgmt/prhistory/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/prhistory/pkg-plist	Fri Mar  1 19:06:01 2013	(r313161)
@@ -0,0 +1,2 @@
+bin/prhistory
+ at unexec echo "NOTICE: If you are permanently removing this utility, you may wish to delete the database file /var/db/ports/ports-pr.db"


More information about the svn-ports-all mailing list