diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2001-03-15 21:36:30 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2001-03-15 21:36:30 +0800 |
commit | c6c8587587ab7d106dc06f1e620943be1946f413 (patch) | |
tree | 984cce84ecfc5614e78495694e7d43559cdcbc70 /sysutils | |
parent | f19207fc2a7a06d71874b6c2987638dbbb95365c (diff) | |
download | freebsd-ports-gnome-c6c8587587ab7d106dc06f1e620943be1946f413.tar.gz freebsd-ports-gnome-c6c8587587ab7d106dc06f1e620943be1946f413.tar.zst freebsd-ports-gnome-c6c8587587ab7d106dc06f1e620943be1946f413.zip |
Add cvsweb-converters 0.1,
create hyperlinks to cvsweb from cvs[up]
output or FreeBSD commitlogs.
PR: 25533
Submitted by: Martin Kammerhofer <mkamm@gmx.net>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/cvsweb-converters/Makefile | 38 | ||||
-rw-r--r-- | sysutils/cvsweb-converters/distinfo | 1 | ||||
-rw-r--r-- | sysutils/cvsweb-converters/files/patch-aa | 24 | ||||
-rw-r--r-- | sysutils/cvsweb-converters/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/cvsweb-converters/pkg-descr | 24 | ||||
-rw-r--r-- | sysutils/cvsweb-converters/pkg-message | 13 | ||||
-rw-r--r-- | sysutils/cvsweb-converters/pkg-plist | 4 |
8 files changed, 106 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 6ac2676290ef..fb9ac6f34307 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -25,6 +25,7 @@ SUBDIR += cpbk SUBDIR += cpdup SUBDIR += cronolog + SUBDIR += cvsweb-converters SUBDIR += daemontools SUBDIR += daemontools53 SUBDIR += deleted diff --git a/sysutils/cvsweb-converters/Makefile b/sysutils/cvsweb-converters/Makefile new file mode 100644 index 000000000000..9d08e2eb34dd --- /dev/null +++ b/sysutils/cvsweb-converters/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: cvsweb-converters +# Date created: 4 Mar 2001 +# Whom: Martin Kammerhofer <mkamm@gmx.net> +# +# $FreeBSD$ +# + +PORTNAME= cvsweb-converters +PORTVERSION= 0.1 +CATEGORIES= sysutils +MASTER_SITES= http://www.sbox.TUGraz.at/home/d/dada/distfiles/ + +MAINTAINER= mkamm@gmx.net + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib + +NO_BUILD= yes +USE_PERL5= yes + +post-patch: + @${PERL} -i -wpe ' \ + s[ /usr/local ](${PREFIX})gx; \ + s[ !!PERL!! ](${PERL})gx; \ + ' -- "${WRKSRC}"/*.pl + +do-install: + cd ${WRKSRC} && \ + ${MKDIR} -- "${PREFIX}/bin" "${PREFIX}/etc" && \ + for f in *.pl; do \ + ${INSTALL_SCRIPT} -- $$f "${PREFIX}/bin/`basename $$f .pl`"; \ + done && \ + ${INSTALL_DATA} -- commitlog2cvsweb.conf.sample "${PREFIX}/etc" + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/sysutils/cvsweb-converters/distinfo b/sysutils/cvsweb-converters/distinfo new file mode 100644 index 000000000000..e088b485f355 --- /dev/null +++ b/sysutils/cvsweb-converters/distinfo @@ -0,0 +1 @@ +MD5 (cvsweb-converters-0.1.tar.gz) = ca234e394c61fead3d84d835a6e46214 diff --git a/sysutils/cvsweb-converters/files/patch-aa b/sysutils/cvsweb-converters/files/patch-aa new file mode 100644 index 000000000000..cb05e9cde8e9 --- /dev/null +++ b/sysutils/cvsweb-converters/files/patch-aa @@ -0,0 +1,24 @@ +--- commitlog2cvsweb.pl~ Sun Mar 4 14:26:59 2001 ++++ commitlog2cvsweb.pl Sun Mar 4 17:26:00 2001 +@@ -1,4 +1,4 @@ +-#! /usr/bin/perl -wT ++#! !!PERL!! -wT + # Copyright ,A)(B 2001 Martin Kammerhofer <mkamm@gmx.net> + # All rights reserved. + # +--- cvsrdiff2cvsweb.pl~ Sun Mar 4 14:27:19 2001 ++++ cvsrdiff2cvsweb.pl Sun Mar 4 17:26:00 2001 +@@ -1,4 +1,4 @@ +-#! /usr/bin/perl -wT ++#! !!PERL!! -wT + # Copyright ,A)(B 2001 Martin Kammerhofer <mkamm@gmx.net> + # All rights reserved. + # +--- cvsuplog2cvsweb.pl~ Sun Mar 4 14:27:33 2001 ++++ cvsuplog2cvsweb.pl Sun Mar 4 17:26:00 2001 +@@ -1,4 +1,4 @@ +-#! /usr/bin/perl -wT ++#! !!PERL!! -wT + # Copyright ,A)(B 2001 Martin Kammerhofer <mkamm@gmx.net> + # All rights reserved. + # diff --git a/sysutils/cvsweb-converters/pkg-comment b/sysutils/cvsweb-converters/pkg-comment new file mode 100644 index 000000000000..58cc78a2ac3f --- /dev/null +++ b/sysutils/cvsweb-converters/pkg-comment @@ -0,0 +1 @@ +Create hyperlinks to cvsweb from cvs[up] output or FreeBSD commitlogs diff --git a/sysutils/cvsweb-converters/pkg-descr b/sysutils/cvsweb-converters/pkg-descr new file mode 100644 index 000000000000..1d6643fa2631 --- /dev/null +++ b/sysutils/cvsweb-converters/pkg-descr @@ -0,0 +1,24 @@ +Note: If you don't know what cvs, cvsup and cvsweb.cgi are then this +text is most likely not interesting for you. This is primarily +intended for people tracking the development of FreeBSD and other open +source projects with a public CVS repository. + +This package provides three Perl scripts: + + commitlog2cvsweb: converts FreeBSD commitlog files to HTML + + cvsrdiff2cvsweb: converts output of "cvs rdiff -s" to HTML + + cvsuplog2cvsweb: converts log output of "cvsup" to HTML + +They basically transform their input almost unchanged to HTML, adding +only hyperlinks to a cvsweb.cgi script for each changed file. In order +to use them you need + 1. access to a CVS repository of interest to you (either by + local/remote cvs or by cvsup) + 2. WWW access to the repository with a cvsweb CGI. +To use commitlog2cvsweb you have to mirror the src-base part of the +FreeBSD CVS repository. This is currently (2001) about 17 megabytes. + +Other than saving you some typing (of URLs) these scripts won't do much +for you. You probably don't need this unless you frequently use cvsweb +or you got used to browse FreeBSD commit logs. +-- +Martin Kammerhofer <mkamm@gmx.net> diff --git a/sysutils/cvsweb-converters/pkg-message b/sysutils/cvsweb-converters/pkg-message new file mode 100644 index 000000000000..98a4d34e1c02 --- /dev/null +++ b/sysutils/cvsweb-converters/pkg-message @@ -0,0 +1,13 @@ +****************************************************************** +If this is a first installation (not an upgrade) do this: + + cd ${PREFIX}/etc + cp commitlog2cvsweb.conf.sample commitlog2cvsweb.conf + +and edit commitlog2cvsweb.conf. Change $cvsweb to your nearest +cvsweb mirror. Check http://www.FreeBSD.org/support.html#cvs for +cvsweb mirror sites. + +Documentation is included inside the scripts in POD format. +Use "perldoc <script>" to read the documentation for <script>. +****************************************************************** diff --git a/sysutils/cvsweb-converters/pkg-plist b/sysutils/cvsweb-converters/pkg-plist new file mode 100644 index 000000000000..e04eaa815fd0 --- /dev/null +++ b/sysutils/cvsweb-converters/pkg-plist @@ -0,0 +1,4 @@ +bin/commitlog2cvsweb +bin/cvsrdiff2cvsweb +bin/cvsuplog2cvsweb +etc/commitlog2cvsweb.conf.sample |