ports-mgmt/portscout: Remove port
Niche use case, not aligned with broad server application needs
This commit is contained in:
@@ -1967,6 +1967,7 @@ ports-mgmt/portless
|
||||
ports-mgmt/portmaster
|
||||
ports-mgmt/portoptscli
|
||||
ports-mgmt/portrac
|
||||
ports-mgmt/portscout
|
||||
ports-mgmt/portupgrade-devel
|
||||
ports-mgmt/poudriere-devel
|
||||
ports-mgmt/poudriere-dsh2dsh
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
SUBDIR += portgrep
|
||||
SUBDIR += portlint
|
||||
SUBDIR += ports-tools
|
||||
SUBDIR += portscout
|
||||
SUBDIR += portsdb
|
||||
SUBDIR += portsearch
|
||||
SUBDIR += portshaker
|
||||
|
||||
@@ -1,110 +0,0 @@
|
||||
PORTNAME= portscout
|
||||
PORTVERSION= 0.8.1.6
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= ports-mgmt
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Tool to scan for new versions of FreeBSD ports
|
||||
WWW= https://www.inerd.com/software/portscout/
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
RUN_DEPENDS= p5-DBI>=0:databases/p5-DBI \
|
||||
p5-CGI>=0:www/p5-CGI \
|
||||
p5-Proc-Queue>=0:devel/p5-Proc-Queue \
|
||||
p5-URI>=0:net/p5-URI \
|
||||
p5-XML-XPath>=0:textproc/p5-XML-XPath \
|
||||
p5-MIME-Lite>=0:mail/p5-MIME-Lite \
|
||||
p5-libwww>=0:www/p5-libwww \
|
||||
p5-JSON>0:converters/p5-JSON
|
||||
|
||||
USES= perl5 shebangfix
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= freebsd
|
||||
GH_TAGNAME= f1a90b0
|
||||
|
||||
SHEBANG_FILES= ${WRKSRC}/portscout.pl
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
PORTDOCS= UPDATING portscout-portconfig.txt xml-datasrc-example.xml
|
||||
|
||||
OPTIONS_DEFINE= DOCS HTTPS
|
||||
OPTIONS_DEFAULT= HTTPS PGSQL
|
||||
OPTIONS_MULTI= DATABASE
|
||||
OPTIONS_MULTI_DATABASE= SQLITE PGSQL
|
||||
|
||||
DATABASE_DESC= Database Backends
|
||||
|
||||
HTTPS_RUN_DEPENDS= p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https
|
||||
PGSQL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg
|
||||
PGSQL_USES= pgsql
|
||||
SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=0:databases/p5-DBD-SQLite
|
||||
SQLITE_USES= sqlite
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
pre-everything::
|
||||
.if ${PORT_OPTIONS:MSQLITE}
|
||||
@${ECHO_MSG} "+-------------------------------------------------------------+"
|
||||
@${ECHO_MSG} "| Warning! although SQLite is supported, portscout will only |"
|
||||
@${ECHO_MSG} "| operate in non-forking mode with this database backend. It |"
|
||||
@${ECHO_MSG} "| is therefore recommended only for use with light workloads. |"
|
||||
@${ECHO_MSG} "+-------------------------------------------------------------+"
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
@${REINPLACE_CMD} -e "s#^\(templates .*\)/etc#\1/share#" \
|
||||
-e "s#^prefix\( *= *\).*#prefix\1${PREFIX}#" \
|
||||
${WRKSRC}/portscout.conf
|
||||
@${REINPLACE_CMD} -e "s#^\(.*PREFIX.*=> *\)'.*'#\1'${PREFIX}'#" \
|
||||
${WRKSRC}/Portscout/Const.pm
|
||||
@${MV} ${WRKSRC}/docs/*.* ${WRKSRC}
|
||||
|
||||
pre-install-SQLITE-on:
|
||||
@${REINPLACE_CMD} 's/^\([^#]*DBI:Pg.*\)$$/#\1/g' ${WRKSRC}/portscout.conf
|
||||
@${REINPLACE_CMD} 's/^#\(.*DBI:SQLite.*\)$$/\1/g' ${WRKSRC}/portscout.conf
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Portscout
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Portscout/DataSrc
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Portscout/SiteHandler
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Portscout/SQL
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/Portscout/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Portscout/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/Portscout/DataSrc/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Portscout/DataSrc/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/Portscout/SiteHandler/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Portscout/SiteHandler/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/Portscout/SQL/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Portscout/SQL/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/Portscout.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Portscout.pm
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/portscout.pl ${STAGEDIR}${PREFIX}/bin/portscout
|
||||
|
||||
${INSTALL_DATA} ${WRKSRC}/portscout.pod ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
|
||||
|
||||
pod2man ${WRKSRC}/portscout.pod ${WRKSRC}/portscout.1
|
||||
${INSTALL_MAN} ${WRKSRC}/portscout.1 ${STAGEDIR}${PREFIX}/share/man/man1/
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/templates
|
||||
cd ${WRKSRC}/templates \
|
||||
&& ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/templates
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/sql
|
||||
cd ${WRKSRC}/sql && ${INSTALL_DATA} *.sql ${STAGEDIR}${DATADIR}/sql
|
||||
|
||||
${INSTALL_DATA} ${WRKSRC}/portscout.conf ${STAGEDIR}${PREFIX}/etc/portscout.conf.sample
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
. for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
. endfor
|
||||
|
||||
test:
|
||||
${PERL} ${WRKSRC}/t/00-use.t
|
||||
${PERL} ${WRKSRC}/t/01-vercompare.t
|
||||
.if ${PORT_OPTIONS:MSQLITE}
|
||||
${PERL} ${WRKSRC}/t/10-sqlite.t
|
||||
#.else
|
||||
# ${PERL} ${WRKSRC}/10-postgresql.t
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1699815045
|
||||
SHA256 (freebsd-portscout-0.8.1.6-f1a90b0_GH0.tar.gz) = 64184c88826dbfcfefa627db8cb2e126468c6b43d4ae50e398dbd3b5c257493e
|
||||
SIZE (freebsd-portscout-0.8.1.6-f1a90b0_GH0.tar.gz) = 58755
|
||||
@@ -1,16 +0,0 @@
|
||||
Portscout is a tool which looks for new versions of software in the
|
||||
FreeBSD ports tree, and potentially other software repositories. It
|
||||
is also possible to provide an arbitrary list of software in a simple
|
||||
XML format.
|
||||
|
||||
Various factors make this task a bit more difficult than it might
|
||||
initially seem. In particular, the array of weird and wonderful
|
||||
versioning schemes software vendors manage to come up with.
|
||||
|
||||
Portscout spawns several child processes and does its version checking
|
||||
in parallel, while attempting to best-guess strange-looking version
|
||||
numbers, navigate around unhelpful sites and web servers, and contend
|
||||
with the CPU-heavy rapidly-expanding FreeBSD ports system.
|
||||
|
||||
In addition to all this, it is possible to generate nice HTML reports
|
||||
and send reminder mails to interested parties.
|
||||
@@ -1,35 +0,0 @@
|
||||
bin/portscout
|
||||
@sample etc/portscout.conf.sample
|
||||
share/man/man1/portscout.1.gz
|
||||
%%DATADIR%%/templates/index.html
|
||||
%%DATADIR%%/templates/maintainer.html
|
||||
%%DATADIR%%/templates/reminder-no-maintainer.mail
|
||||
%%DATADIR%%/templates/reminder.mail
|
||||
%%DATADIR%%/templates/restricted-ports.html
|
||||
%%DATADIR%%/sql/pgsql_init.sql
|
||||
%%DATADIR%%/sql/pgsql_destroy.sql
|
||||
%%DATADIR%%/sql/pgsql_upgrade_0.7.1_to_0.7.2.sql
|
||||
%%DATADIR%%/sql/pgsql_upgrade_0.7.3_to_0.7.4.sql
|
||||
%%DATADIR%%/sql/pgsql_upgrade_0.7.4_to_0.8.sql
|
||||
%%DATADIR%%/sql/pgsql_upgrade_0.8_to_0.8.1.sql
|
||||
%%DATADIR%%/sql/sqlite_init.sql
|
||||
%%DATADIR%%/sql/sqlite_destroy.sql
|
||||
%%DATADIR%%/sql/sqlite_upgrade_0.8_to_0.8.1.sql
|
||||
%%SITE_PERL%%/Portscout.pm
|
||||
%%SITE_PERL%%/Portscout/API.pm
|
||||
%%SITE_PERL%%/Portscout/Config.pm
|
||||
%%SITE_PERL%%/Portscout/Const.pm
|
||||
%%SITE_PERL%%/Portscout/DataSrc.pm
|
||||
%%SITE_PERL%%/Portscout/DataSrc/Ports.pm
|
||||
%%SITE_PERL%%/Portscout/DataSrc/XML.pm
|
||||
%%SITE_PERL%%/Portscout/Make.pm
|
||||
%%SITE_PERL%%/Portscout/SQL.pm
|
||||
%%SITE_PERL%%/Portscout/SQL/Pg.pm
|
||||
%%SITE_PERL%%/Portscout/SQL/SQLite.pm
|
||||
%%SITE_PERL%%/Portscout/SiteHandler.pm
|
||||
%%SITE_PERL%%/Portscout/SiteHandler/GitHub.pm
|
||||
%%SITE_PERL%%/Portscout/SiteHandler/PyPI.pm
|
||||
%%SITE_PERL%%/Portscout/SiteHandler/SourceForge.pm
|
||||
%%SITE_PERL%%/Portscout/Template.pm
|
||||
%%SITE_PERL%%/Portscout/Util.pm
|
||||
%%SITE_PERL%%/portscout.pod
|
||||
Reference in New Issue
Block a user