portscout is dead, long live portroach!

This commit is contained in:
jasper 2014-09-05 14:39:08 +00:00
parent 96387df235
commit 177321dd30
7 changed files with 2 additions and 167 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.166 2014/09/02 12:32:24 jasper Exp $
# $OpenBSD: Makefile,v 1.167 2014/09/05 14:39:08 jasper Exp $
SUBDIR =
SUBDIR += WordGenerator
@ -76,7 +76,7 @@
SUBDIR += pdmenu
SUBDIR += pfm
SUBDIR += plan
SUBDIR += portscout
SUBDIR += portroach
SUBDIR += py-imdb
SUBDIR += py-memcached
SUBDIR += pymissile

View File

@ -1,60 +0,0 @@
# $OpenBSD: Makefile,v 1.8 2014/09/04 18:38:04 jasper Exp $
COMMENT= ports tree version scanner
# git clone 702b8944 taken from https://github.com/jasperla/portscout/
DISTNAME= portscout-0.8.1.4
CATEGORIES= misc
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
HOMEPAGE= http://www.inerd.com/software/portscout/
# BSD
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://distfiles.nl/
MODULES= perl
RUN_DEPENDS= converters/p5-JSON \
devel/p5-Try-Tiny \
mail/p5-MIME-Lite \
sysutils/p5-Proc-Queue \
textproc/p5-XML-XPath \
www/p5-HTML-Parser \
www/p5-URI \
www/p5-XML-Feed \
www/p5-libwww
# database
RUN_DEPENDS += p5-DBD-SQLite-*|p5-DBD-Pg-*:databases/p5-DBD-SQLite
PKG_ARCH= *
NO_BUILD= Yes
NO_TEST= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/portscout.conf
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/portscout.pl ${PREFIX}/bin/portscout
${INSTALL_DATA_DIR} ${PREFIX}/share/portscout/{sql,templates}/
${INSTALL_DATA} ${WRKSRC}/templates/* \
${PREFIX}/share/portscout/templates/
${INSTALL_DATA} ${WRKSRC}/sql/* \
${PREFIX}/share/portscout/sql/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/portscout/
${INSTALL_DATA} ${WRKSRC}/portscout.conf \
${PREFIX}/share/examples/portscout/
${INSTALL_DATA_DIR} ${PREFIX}/${P5SITE}/Portscout/
cd ${WRKSRC}/Portscout/ && umask 022 && pax -rw . \
${PREFIX}/${P5SITE}/Portscout/
${INSTALL_DATA} ${WRKSRC}/Portscout.pm ${PREFIX}/${P5SITE}/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/portscout/
.for f in README UPDATING docs/portscout-portconfig.txt
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/portscout/
.endfor
/usr/bin/pod2man ${WRKSRC}/portscout.pod > ${PREFIX}/man/man1/portscout.1
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (portscout-0.8.1.4.tar.gz) = p0rnzn0iO+xzCUnhewl2kWF9qLGIlRKATYtrDa5P27s=
SIZE (portscout-0.8.1.4.tar.gz) = 234742

View File

@ -1,30 +0,0 @@
$OpenBSD: patch-portscout_conf,v 1.2 2014/09/02 17:43:10 ajacoutot Exp $
--- portscout.conf.orig Mon Sep 1 13:30:12 2014
+++ portscout.conf Tue Sep 2 19:41:52 2014
@@ -18,7 +18,7 @@
prefix = /var/
tmpdir = /tmp
-wwwdir = %(prefix)/www/portscout/
+wwwdir = %(prefix)/www/
#-- Data Provider -------------------------------------------------------------
@@ -51,7 +51,7 @@ ports dir = /usr/ports # Ports root
html data dir = %(wwwdir)/portscout # Where to put generated HTML
-templates dir = /home/jasper/portscout/templates # Where HTML templates are kept
+templates dir = ${PREFIX}/share/portscout/templates # Where HTML templates are kept
#-- Limit Processing ----------------------------------------------------------
@@ -86,7 +86,7 @@ indexfile enable = true # Use INDEX if needed
mail enable = false
mail from = portscout # Sender address
-mail subject = FreeBSD ports you maintain which are out of date
+mail subject = OpenBSD ports you maintain which are out of date
mail method = sendmail # Can be 'sendmail' or 'smtp'
#mail host = localhost # SMTP server, if method is 'smtp'

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-portscout_pod,v 1.1 2014/09/02 15:04:59 ajacoutot Exp $
--- portscout.pod.orig Tue Sep 2 17:00:01 2014
+++ portscout.pod Tue Sep 2 17:00:25 2014
@@ -63,8 +63,8 @@ The recommended database backend is PostgreSQL.
Create database:
- # createuser -U pgsql -P portscout
- # createdb -U pgsql portscout
+ # createuser -U postgres -P portscout
+ # createdb -U postgres portscout
Execute the included F<pgsql_init.sql> script via C<psql>:

View File

@ -1,6 +0,0 @@
Portscout is a tool which looks for new versions of software in the
FreeBSD ports tree, and potentially other software repositories.
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.

View File

@ -1,53 +0,0 @@
@comment $OpenBSD: PLIST,v 1.5 2014/09/04 18:38:04 jasper Exp $
bin/portscout
${P5SITE}/Portscout/
${P5SITE}/Portscout.pm
${P5SITE}/Portscout/API.pm
${P5SITE}/Portscout/Config.pm
${P5SITE}/Portscout/Const.pm
${P5SITE}/Portscout/DataSrc/
${P5SITE}/Portscout/DataSrc.pm
${P5SITE}/Portscout/DataSrc/Ports.pm
${P5SITE}/Portscout/DataSrc/XML.pm
${P5SITE}/Portscout/Make.pm
${P5SITE}/Portscout/SQL/
${P5SITE}/Portscout/SQL.pm
${P5SITE}/Portscout/SQL/Pg.pm
${P5SITE}/Portscout/SQL/SQLite.pm
${P5SITE}/Portscout/SQL/mysql.pm
${P5SITE}/Portscout/SiteHandler/
${P5SITE}/Portscout/SiteHandler.pm
${P5SITE}/Portscout/SiteHandler/CPAN.pm
${P5SITE}/Portscout/SiteHandler/GitHub.pm
${P5SITE}/Portscout/SiteHandler/Hackage.pm
${P5SITE}/Portscout/SiteHandler/RubyGems.pm
${P5SITE}/Portscout/SiteHandler/SourceForge.pm
${P5SITE}/Portscout/Template.pm
${P5SITE}/Portscout/Util.pm
@man man/man1/portscout.1
share/doc/portscout/
share/doc/portscout/README
share/doc/portscout/UPDATING
share/doc/portscout/portscout-portconfig.txt
share/examples/portscout/
share/examples/portscout/portscout.conf
@mode 0640
@sample ${SYSCONFDIR}/portscout.conf
@mode
share/portscout/
share/portscout/sql/
share/portscout/sql/mysql_init.sql
share/portscout/sql/pgsql_destroy.sql
share/portscout/sql/pgsql_init.sql
share/portscout/sql/pgsql_upgrade_0.7.1_to_0.7.2.sql
share/portscout/sql/pgsql_upgrade_0.7.3_to_0.7.4.sql
share/portscout/sql/pgsql_upgrade_0.7.4_to_0.8.sql
share/portscout/sql/pgsql_upgrade_0.8_to_0.8.1.sql
share/portscout/sql/sqlite_destroy.sql
share/portscout/sql/sqlite_init.sql
share/portscout/sql/sqlite_upgrade_0.8_to_0.8.1.sql
share/portscout/templates/
share/portscout/templates/index.html
share/portscout/templates/maintainer.html
share/portscout/templates/reminder.mail
share/portscout/templates/restricted-ports.html