[Midnightbsd-cvs] mports: mports/devel: Remove cvsweb 2.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Aug 24 16:39:31 EDT 2008


Log Message:
-----------
Remove cvsweb 2.  it's old and 3 is much better

Modified Files:
--------------
    mports/devel:
        Makefile (r1.241 -> r1.242)

Removed Files:
-------------
    mports/devel/cvsweb:
        Makefile
        distinfo
        pkg-descr
        pkg-plist
    mports/devel/cvsweb/files:
        patch-cvsweb.cgi
        patch-cvsweb.conf
        pkg-message.in

-------------- next part --------------
--- devel/cvsweb/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-FreeBSD-CVSweb is a WWW CGI script that allows remote users to browse
-a CVS repository tree via web.  It can display the revision history of
-a file, as well as diffs between revisions and downloading the whole
-file.
-
-The cvsweb script has been written by Bill Fenner <fenner at FreeBSD.org>
-for the FreeBSD project, improved visually and functionally by Henner
-Zeller <zeller at think.de>, Henrik Nordstrom <hno at hem.passagen.se>, and
-Ken Coar <Ken.Coar at Golux.Com>, then Akinori MUSHA <knu at FreeBSD.org>
-brought it back to the FreeBSD community and made further
-improvements.
-
-WWW:	http://www.FreeBSD.org/projects/cvsweb.html
-Author:	The FreeBSD Project <freebsd-cvsweb at FreeBSD dot org>
--- devel/cvsweb/pkg-plist
+++ /dev/null
@@ -1,21 +0,0 @@
-etc/cvsweb/cvsweb.conf.dist
-etc/cvsweb/cvsweb.conf-freebsd.dist
-etc/cvsweb/cvsweb.conf-openbsd.dist
-etc/cvsweb/cvsweb.conf-netbsd.dist
-etc/cvsweb/cvsweb.conf-ruby.dist
- at dirrm etc/cvsweb
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/TODO.FreeBSD
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%CGIDIR%%/cvsweb.cgi
-%%ICONSDIR%%/cvsweb/back.gif
-%%ICONSDIR%%/cvsweb/dir.gif
-%%ICONSDIR%%/cvsweb/miniback.gif
-%%ICONSDIR%%/cvsweb/minidir.gif
-%%ICONSDIR%%/cvsweb/minitext.gif
-%%ICONSDIR%%/cvsweb/text.gif
- at dirrm %%ICONSDIR%%/cvsweb
--- devel/cvsweb/Makefile
+++ /dev/null
@@ -1,86 +0,0 @@
-# New ports collection makefile for:	cvsweb
-# Date created:		27 Jun 1999
-# Whom:			SADA Kenji <sada at FreeBSD.org>
-#
-# $FreeBSD: ports/devel/cvsweb/Makefile,v 1.78 2006/01/23 07:04:09 linimon Exp $
-# $MidnightBSD: mports/devel/cvsweb/Makefile,v 1.2 2007/04/30 02:39:56 ctriv Exp $
-#
-
-PORTNAME=	cvsweb
-PORTVERSION=	2.0.6
-PORTREVISION=	2
-CATEGORIES=	devel www
-MASTER_SITES=	${MASTER_SITE_LOCAL} \
-		http://people.FreeBSD.org/~scop/cvsweb/
-MASTER_SITE_SUBDIR=	scop
-
-# For issues that are not specific to this port/package, please consult
-# the <freebsd-cvsweb at FreeBSD.org> mailing list.
-MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	WWW CGI script to browse CVS repository trees
-
-CONFLICTS=	cvsweb-3.*
-
-NO_BUILD=	yes
-USE_PERL5=	yes
-
-# Specify where your repository belongs.
-# (You can reconfigure it after installation anyway)
-.if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT)
-CVSROOT=	/home/cvs
-.endif
-
-# Specify the title of your cvsweb site.
-TITLE?=		My CVS Repository
-
-# Specify these directories in relative paths to ${PREFIX}.
-.if !exists(${PREFIX}/www) && exists(${PREFIX}/share/apache)
-CGIDIR?=	share/apache/cgi-bin
-ICONSDIR?=	share/apache/icons
-.else
-CGIDIR?=	www/cgi-bin
-ICONSDIR?=	www/icons
-.endif
-
-CONFFILES=	cvsweb.conf \
-		cvsweb.conf-freebsd \
-		cvsweb.conf-openbsd \
-		cvsweb.conf-netbsd \
-		cvsweb.conf-ruby
-
-PLIST_SUB=	CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}"
-
-SUB_FILES=	pkg-message
-SUB_LIST=	PREFIX="${PREFIX}" DOCSDIR="${DOCSDIR}"
-
-post-patch:
-	${PERL} -i -pe "\
-		s'!!PERL!!'${PERL}'g; \
-		s'!!PREFIX!!'${PREFIX}'g;" \
-		${WRKSRC}/cvsweb.cgi
-	${PERL} -i -pe "\
-		s'!!PREFIX!!'${PREFIX}'g; \
-		s'!!CVSROOT!!'${CVSROOT}'g; \
-		s'!!TITLE!!'${TITLE}'g;" \
-		${WRKSRC}/cvsweb.conf
-
-do-install:
-	${MKDIR} ${PREFIX}/${CGIDIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/${CGIDIR}/
-	${MKDIR} ${PREFIX}/etc/cvsweb
-.for f in ${CONFFILES}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/etc/cvsweb/${f}.dist
-.endfor
-	${MKDIR} ${PREFIX}/${ICONSDIR}/cvsweb
-	${INSTALL_DATA} ${WRKSRC}/icons/* ${PREFIX}/${ICONSDIR}/cvsweb/
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for f in ChangeLog INSTALL README README.FreeBSD TODO TODO.FreeBSD
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
-.endif
-
-post-install:
-	${ECHO_CMD} "@unexec rmdir %D/${CGIDIR} %D/${ICONSDIR} 2>/dev/null || true" >> ${TMPPLIST}
-
-.include <bsd.port.mk>
--- devel/cvsweb/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (cvsweb-2.0.6.tar.gz) = fd15c8521b26be858616a7ba52fc2c22
-SHA256 (cvsweb-2.0.6.tar.gz) = 9545bee1715087e7a19951b335b3490c49e954c2d356920d0b65446223d5fd42
-SIZE (cvsweb-2.0.6.tar.gz) = 52659
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.241
retrieving revision 1.242
diff -L devel/Makefile -L devel/Makefile -u -r1.241 -r1.242
--- devel/Makefile
+++ devel/Makefile
@@ -46,7 +46,6 @@
     SUBDIR += cvsps
     SUBDIR += cvsps-devel
     SUBDIR += cvstrac
-    SUBDIR += cvsweb
     SUBDIR += cvsweb3
     SUBDIR += dbus
     SUBDIR += dbus-glib
--- devel/cvsweb/files/patch-cvsweb.conf
+++ /dev/null
@@ -1,65 +0,0 @@
---- cvsweb.conf.orig	Mon Sep 23 14:30:17 2002
-+++ cvsweb.conf	Thu Aug 12 22:15:20 2004
-@@ -18,7 +18,7 @@
- #   uname, cvs, rlog, rcsdiff
- #   gzip (if you enable $allow_compress)
- #   tar, rm, zip (if you enable $allow_tar)
--$command_path = '/bin:/usr/bin:/usr/local/bin';
-+$command_path = '/bin:/usr/bin:!!PREFIX!!/bin';
- 
- # Search the above directories for each command
- for (qw(uname cvs rlog rcsdiff gzip tar rm zip)) {
-@@ -43,7 +43,7 @@
- # 'symbolic_name' => ['name_to_display', 'path_to_the_actual_repository']
- # Listed in the order specified:
- @CVSrepositories = (
--	'local'   => ['Local Repository', '/home/cvs'],
-+	'local'   => ['!!TITLE!!', '!!CVSROOT!!'],
- #	'freebsd' => ['FreeBSD',          '/home/ncvs'],
- #	'openbsd' => ['OpenBSD',          '/home/ncvs'],
- #	'netbsd'  => ['NetBSD',           '/home/ncvs'],
-@@ -200,7 +200,7 @@
- # These default icons are coming with apache.
- # If these icons are too large, check out the miniicons in the
- # icons/ directory; they have a width/height of 16/16
--my $iconsdir = "/icons";
-+my $iconsdir = "/icons/cvsweb";
- 
- # format:             TEXT      ICON-URL              width height
- %ICONS = (
-@@ -335,7 +335,7 @@
- # cvsweb to guess the correct mime-type on
- # checkout; you can use the mime.types from
- # apache here:
--$mime_types = '/usr/local/etc/apache/mime.types';
-+$mime_types = '!!PREFIX!!/etc/apache/mime.types';
- 
- # quick mime-type lookup; maps file-suffices to
- # mime-types for displaying checkouts in the browser.
-@@ -368,7 +368,7 @@
- 
- # e.g.
- ## unify/convert Japanese code into EUC-JP
--#$output_filter= '/usr/local/bin/nkf -e';
-+#$output_filter= '!!PREFIX!!/bin/nkf -e';
- 
- ##############
- # Misc
-@@ -472,7 +472,7 @@
- $allow_tar = '';
- 
- # Options to pass to tar(1).
-- at tar_options = qw();
-+ at tar_options = qw(--ignore-failed-read);
- 
- # e.g. @tar_options = qw(--ignore-failed-read);
- #      GNU tar has some useful options against unexpected errors.
-@@ -495,7 +495,7 @@
- # For cvs versions prior to 1.11, the '-l' option doesn't work; If you want
- # working checkouts with an older cvs version, you'll have to make sure that
- # the cvsweb user can read and write to CVSROOT/history.
-- at cvs_options = qw(-lf);
-+ at cvs_options = qw(-f);
- 
- push @cvs_options, '-R' if ($uname eq 'FreeBSD' || $uname eq 'OpenBSD');
- push @cvs_options, '-u' if ($uname eq 'NetBSD');
--- devel/cvsweb/files/pkg-message.in
+++ /dev/null
@@ -1,15 +0,0 @@
-************************************************************
-Quickstart:
-	cd %%PREFIX%%/etc/cvsweb
-	cp cvsweb.conf.dist cvsweb.conf
-
-and you can browse your CVS repository via web if you set up
-your web server correctly.  The URL to get to the cvsweb
-will be like `http://localhost/cgi-bin/cvsweb.cgi/'.
-
-  To configure its appearance and repository entries to
-browse, edit cvsweb.conf* as you like.
-
-  For further information, please look into the directory
-`%%DOCSDIR%%'.
-************************************************************
--- devel/cvsweb/files/patch-cvsweb.cgi
+++ /dev/null
@@ -1,17 +0,0 @@
---- cvsweb.cgi.orig	Fri Sep 27 05:56:05 2002
-+++ cvsweb.cgi	Tue Feb 24 23:12:51 2004
-@@ -1,4 +1,4 @@
--#!/usr/bin/perl -wT
-+#!!!PERL!! -w
- #
- # cvsweb - a CGI interface to CVS trees.
- #
-@@ -157,7 +157,7 @@
- 
- # == EDIT this ==
- # Locations to search for user configuration, in order:
--for ("$mydir/cvsweb.conf", '/usr/local/etc/cvsweb/cvsweb.conf') {
-+for ("$mydir/cvsweb.conf", '!!PREFIX!!/etc/cvsweb/cvsweb.conf') {
- 	if (defined($_) && -r $_) {
- 		$config = $_;
- 		last;


More information about the Midnightbsd-cvs mailing list