- 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@da3m0n8t3r.com
This commit is contained in:
parent
2e2d3a815f
commit
583c0400c8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313161
6 changed files with 73 additions and 0 deletions
|
@ -75,6 +75,7 @@
|
|||
SUBDIR += portupgrade-devel
|
||||
SUBDIR += poudriere
|
||||
SUBDIR += poudriere-devel
|
||||
SUBDIR += prhistory
|
||||
SUBDIR += psearch
|
||||
SUBDIR += pver
|
||||
SUBDIR += qtpkg
|
||||
|
|
39
ports-mgmt/prhistory/Makefile
Normal file
39
ports-mgmt/prhistory/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= prhistory
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= GH
|
||||
|
||||
MAINTAINER= waitman@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>
|
2
ports-mgmt/prhistory/distinfo
Normal file
2
ports-mgmt/prhistory/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (prhistory-1.0.tar.gz) = eb3e02a91a7b0c9dae96dd77706029d91e91fbad1cec4faf4b67825e6b5e1788
|
||||
SIZE (prhistory-1.0.tar.gz) = 4237
|
24
ports-mgmt/prhistory/files/pkg-message.in
Normal file
24
ports-mgmt/prhistory/files/pkg-message.in
Normal file
|
@ -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
|
||||
|
||||
************************************************************************
|
||||
|
5
ports-mgmt/prhistory/pkg-descr
Normal file
5
ports-mgmt/prhistory/pkg-descr
Normal file
|
@ -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
|
2
ports-mgmt/prhistory/pkg-plist
Normal file
2
ports-mgmt/prhistory/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
|||
bin/prhistory
|
||||
@unexec echo "NOTICE: If you are permanently removing this utility, you may wish to delete the database file /var/db/ports/ports-pr.db"
|
Loading…
Reference in a new issue