ports/96289: Adopt a few more ports + minor tweaks
Shaun Amott
shaun at inerd.com
Mon Apr 24 22:20:24 UTC 2006
>Number: 96289
>Category: ports
>Synopsis: Adopt a few more ports + minor tweaks
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 24 22:20:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Shaun Amott
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
>Description:
Take responsibility for a few orphaned ports:
databases/p5-DBD-Google
www/p5-libwww [1]
devel/p5-File-Tail
misc/geekcode
net/GeoIP
news/newsgrab [2]
games/tuxracer
sysutils/cronolog [3]
[1] This port is still assigned to petef@, but the rest of his ports
were reset. Was this one overlooked? In any case, the port needs an
active maintainer, since people want it kept up-to-date.
[2] Patch to tidy up port a bit below.
[3] I submitted a patch for this almost three months ago - is this
maintainer considered AWOL yet? :-) At the least, could someone
apply my patch (PR ports/92830)?
I have also now cut down pkg-descr to keep portlint happy (patch
below)
All ports tested and portlint(1)'ed.
>How-To-Repeat:
>Fix:
--- newsgrab.diff begins here ---
diff -urN news/newsgrab.orig/Makefile news/newsgrab/Makefile
--- news/newsgrab.orig/Makefile Sat Apr 15 21:31:57 2006
+++ news/newsgrab/Makefile Sun Apr 23 20:19:38 2006
@@ -13,7 +13,7 @@
MASTER_SITE_SUBDIR= newsgrab
EXTRACT_SUFX= .tgz
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= shaun at inerd.com
COMMENT= Download and uudecode binary files from USENET using regexps
RUN_DEPENDS= ${SITE_PERL}/News/NNTPClient.pm:${PORTSDIR}/news/p5-NNTPClient \
@@ -23,7 +23,8 @@
NO_BUILD= yes
USE_PERL5= yes
-USE_REINPLACE= yes
+
+PORTDOCS= README newsgrabrc
post-patch:
@${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/newsgrab.pl
@@ -31,9 +32,8 @@
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${PREFIX}/bin/newsgrab
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/newsgrab
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/newsgrab
- ${INSTALL_DATA} ${WRKSRC}/newsgrabrc ${PREFIX}/share/doc/newsgrab
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff -urN news/newsgrab.orig/pkg-plist news/newsgrab/pkg-plist
--- news/newsgrab.orig/pkg-plist Mon Aug 5 00:02:19 2002
+++ news/newsgrab/pkg-plist Sun Apr 23 20:17:49 2006
@@ -1,4 +1 @@
bin/newsgrab
-%%PORTDOCS%%share/doc/newsgrab/README
-%%PORTDOCS%%share/doc/newsgrab/newsgrabrc
-%%PORTDOCS%%@dirrm share/doc/newsgrab
--- newsgrab.diff ends here ---
--- cronolog.diff begins here ---
--- pkg-descr.orig Wed Apr 5 19:11:45 2006
+++ pkg-descr Mon Apr 24 20:03:36 2006
@@ -1,12 +1,9 @@
"cronolog" is a simple program that reads log messages from its input
and writes them to a set of output files, the names of which are
-constructed using template and the current date and time. The
-template uses the same format specifiers as the Unix date command
-(which are the same as the standard C strftime library function).
+constructed using template and the current date and time.
"cronolog" is intended to be used in conjunction with a Web server, such
-as Apache to split the access log into daily or monthly logs. For
-example the Apache configuration directives:
+as Apache to split the access log into daily or monthly logs. E.g.:
TransferLog "|/www/sbin/cronolog /www/logs/%Y/%m/%d/access.log"
ErrorLog "|/www/sbin/cronolog /www/logs/%Y/%m/%d/errors.log"
@@ -14,22 +11,14 @@
would instruct Apache to pipe its access and error log messages into
separate copies of cronolog, which would create new log files each day
in a directory hierarchy structured by date, i.e. on 31 December 1996
-messages would be written to
+messages would be written to:
/www/logs/1996/12/31/access.log
/www/logs/1996/12/31/errors.log
-after midnight the files
+After midnight the following files would be used:
/www/logs/1997/01/01/access.log
/www/logs/1997/01/01/errors.log
-would be used, with the directories 1997, 1997/01 and 1997/01/01 being
-created if they did not already exist.
-
-The most up-to-date version of "cronolog" can be found at:
-
- WWW: http://cronolog.org/
-
-- Mark Blackman
-tmb at maddog.u-net.com
+WWW: http://cronolog.org/
--- cronolog.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list