summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-03-05 18:11:28 +0000
committerUlrich Müller <ulm@gentoo.org>2010-03-05 18:11:28 +0000
commitedb61a7e8137388a878e539a567961b7c1ca598b (patch)
treec998efd3bb910cfc6288de64fa0220f1a22979b4 /www-apps/cvsweb
parentVersion bump #306463 by ScytheMan. First attempt at USE=pulseaudio support #... (diff)
downloadgentoo-2-edb61a7e8137388a878e539a567961b7c1ca598b.tar.gz
gentoo-2-edb61a7e8137388a878e539a567961b7c1ca598b.tar.bz2
gentoo-2-edb61a7e8137388a878e539a567961b7c1ca598b.zip
Move package from dev-util to www-apps, bug 56967.
(Portage version: 2.2_rc63/cvs/Linux i686, RepoMan options: --force)
Diffstat (limited to 'www-apps/cvsweb')
-rw-r--r--www-apps/cvsweb/ChangeLog74
-rw-r--r--www-apps/cvsweb/cvsweb-1.112.ebuild37
-rw-r--r--www-apps/cvsweb/cvsweb-3.0.5.ebuild39
-rw-r--r--www-apps/cvsweb/cvsweb-3.0.6.ebuild39
-rw-r--r--www-apps/cvsweb/files/postinstall-en.txt1
-rw-r--r--www-apps/cvsweb/files/reconfig15
-rw-r--r--www-apps/cvsweb/metadata.xml5
7 files changed, 210 insertions, 0 deletions
diff --git a/www-apps/cvsweb/ChangeLog b/www-apps/cvsweb/ChangeLog
new file mode 100644
index 000000000000..b81386a41977
--- /dev/null
+++ b/www-apps/cvsweb/ChangeLog
@@ -0,0 +1,74 @@
+# ChangeLog for www-apps/cvsweb
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/cvsweb/ChangeLog,v 1.1 2010/03/05 18:11:28 ulm Exp $
+
+ 05 Mar 2010; Ulrich Mueller <ulm@gentoo.org> +cvsweb-1.112.ebuild,
+ +cvsweb-3.0.5.ebuild, +cvsweb-3.0.6.ebuild, +files/postinstall-en.txt,
+ +files/reconfig, +metadata.xml:
+ Move cvsweb from dev-util to www-apps; update dependency on dev-vcs/rcs;
+ bug 56967.
+
+ 19 Feb 2007; <malc@gentoo.org> cvsweb-3.0.6.ebuild:
+ Add ~amd64 - bug #167226
+
+ 03 Nov 2006; Gustavo Zacarias <gustavoz@gentoo.org> cvsweb-3.0.6.ebuild:
+ Stable on sparc wrt #26114
+
+ 31 Oct 2006; Christian Faulhammer <opfer@gentoo.org> cvsweb-3.0.6.ebuild:
+ stabled x86 due to bug #26114
+
+*cvsweb-3.0.6 (01 Oct 2005)
+
+ 01 Oct 2005; Renat Lumpau <rl03@gentoo.org> +cvsweb-3.0.6.ebuild:
+ Version bump
+
+ 21 Aug 2005; Renat Lumpau <rl03@gentoo.org> files/reconfig:
+ Housekeeping
+
+ 16 Apr 2005; Elfyn McBratney <beu@gentoo.org> cvsweb-1.93-r1.ebuild,
+ cvsweb-1.112.ebuild:
+ Fix HOMEPAGE and SRC_URI, thanks to Alex Polvi (bug #77557).
+
+*cvsweb-3.0.5 (16 Apr 2005)
+
+ 16 Apr 2005; Elfyn McBratney <beu@gentoo.org> +cvsweb-3.0.5.ebuild:
+ Version bump.
+
+ 05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
+ Fixed ChangeLog header.
+
+*cvsweb-3.0.1 (25 Aug 2004)
+
+ 25 Aug 2004; Renat Lumpau <rl03@gentoo.org> cvsweb-3.0.1.ebuild:
+ Explicitly +x the cgi.
+
+ 18 Aug 2004; Renat Lumpau <rl03@gentoo.org> :
+ Version bump (bug #43546). Thanks to Rodney Amato <rodnet@iinet.net.au>
+ for his initial ebuild.
+
+ 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +cvsweb-1.112.ebuild,
+ +cvsweb-1.93-r1.ebuild:
+ Moved from net-www/cvsweb to dev-util/cvsweb.
+
+ 13 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Added missing changelog entry.
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*cvsweb-1.112 (17 Jul 2002)
+
+ 17 July 2002; Nicholas Jones <carpaski@gentoo.org> cvsweb-1.112.ebuild :
+ Updated ebuild from Brian Rozmierski + Minor changes.
+
+ 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> cvsweb-1.93-r1.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+*cvsweb-1.93-r1 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/www-apps/cvsweb/cvsweb-1.112.ebuild b/www-apps/cvsweb/cvsweb-1.112.ebuild
new file mode 100644
index 000000000000..8c31d8bf7733
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-1.112.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/cvsweb/cvsweb-1.112.ebuild,v 1.1 2010/03/05 18:11:28 ulm Exp $
+
+DESCRIPTION="WWW interface to a CVS tree"
+HOMEPAGE="http://www.freebsd.org/projects/cvsweb.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86 sparc ~ppc"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5
+ >=dev-vcs/rcs-5.7"
+
+S="${WORKDIR}/cvsweb"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd "${S}"
+ local x
+ for x in cvsweb.cgi cvsweb.conf
+ do
+ cp ${x} ${x}.orig
+ sed -e "s:/usr/local/web/apache/conf/:/etc/apache/conf/:g" ${x}.orig > ${x}
+ done
+}
+
+src_install() {
+ insinto /etc/apache/conf
+ doins cvsweb.conf
+ insinto /home/httpd/cgi-bin
+ insopts -m755
+ doins cvsweb.cgi
+ dodoc README TODO
+}
diff --git a/www-apps/cvsweb/cvsweb-3.0.5.ebuild b/www-apps/cvsweb/cvsweb-3.0.5.ebuild
new file mode 100644
index 000000000000..048f2b861423
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-3.0.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/cvsweb/cvsweb-3.0.5.ebuild,v 1.1 2010/03/05 18:11:28 ulm Exp $
+
+inherit webapp
+
+DESCRIPTION="WWW interface to a CVS tree"
+HOMEPAGE="http://www.freebsd.org/projects/cvsweb.html"
+SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/scop/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~x86 ~sparc ~ppc"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.8
+ >=dev-util/cvs-1.11
+ >=dev-vcs/rcs-5.7
+ >=dev-perl/URI-1.28
+ dev-perl/IPC-Run
+ dev-perl/MIME-Types
+ dev-perl/String-Ediff
+ >=dev-util/cvsgraph-1.4.0
+ >=app-text/enscript-1.6.3"
+
+src_install() {
+ webapp_src_preinst
+
+ cp cvsweb.conf "${D}"/${MY_HOSTROOTDIR}
+ cp css/cvsweb.css "${D}"/${MY_HTDOCSDIR}
+ exeinto ${MY_CGIBINDIR}
+ doexe cvsweb.cgi
+ chmod +x "${D}"/${MY_CGIBINDIR}/cvsweb.cgi
+
+ dodoc README TODO NEWS ChangeLog
+
+ webapp_hook_script "${FILESDIR}"/reconfig
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/cvsweb/cvsweb-3.0.6.ebuild b/www-apps/cvsweb/cvsweb-3.0.6.ebuild
new file mode 100644
index 000000000000..c3c36a6228fd
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-3.0.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/cvsweb/cvsweb-3.0.6.ebuild,v 1.1 2010/03/05 18:11:28 ulm Exp $
+
+inherit webapp
+
+DESCRIPTION="WWW interface to a CVS tree"
+HOMEPAGE="http://www.freebsd.org/projects/cvsweb.html"
+SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/scop/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~ppc sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.8
+ >=dev-util/cvs-1.11
+ >=dev-vcs/rcs-5.7
+ >=dev-perl/URI-1.28
+ dev-perl/IPC-Run
+ dev-perl/MIME-Types
+ dev-perl/String-Ediff
+ >=dev-util/cvsgraph-1.4.0
+ >=app-text/enscript-1.6.3"
+
+src_install() {
+ webapp_src_preinst
+
+ cp cvsweb.conf "${D}"/${MY_HOSTROOTDIR}
+ cp css/cvsweb.css "${D}"/${MY_HTDOCSDIR}
+ exeinto ${MY_CGIBINDIR}
+ doexe cvsweb.cgi
+ chmod +x "${D}"/${MY_CGIBINDIR}/cvsweb.cgi
+
+ dodoc README TODO NEWS ChangeLog
+
+ webapp_hook_script "${FILESDIR}"/reconfig
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/cvsweb/files/postinstall-en.txt b/www-apps/cvsweb/files/postinstall-en.txt
new file mode 100644
index 000000000000..e6e1dbf1e54e
--- /dev/null
+++ b/www-apps/cvsweb/files/postinstall-en.txt
@@ -0,0 +1 @@
+Now edit ${VHOST_ROOT}/cvsweb.conf
diff --git a/www-apps/cvsweb/files/reconfig b/www-apps/cvsweb/files/reconfig
new file mode 100644
index 000000000000..10767108f1a9
--- /dev/null
+++ b/www-apps/cvsweb/files/reconfig
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+die() {
+ echo "#####"
+ echo $1
+ echo "#####"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
+ sed "s|/usr/local/etc/cvsweb/cvsweb.conf|${VHOST_ROOT}/cvsweb.conf|g
+ s|/usr/local/etc/cvsweb|${VHOST_ROOT}|g
+ s|/css/cvsweb.css|/cvsweb.css|g
+ s|/usr/local/etc/apache/mime.types|/etc/mime.types|g" -i ${VHOST_ROOT}/cgi-bin/cvsweb.cgi ${VHOST_ROOT}/cvsweb.conf || die "sed failed"
+fi
diff --git a/www-apps/cvsweb/metadata.xml b/www-apps/cvsweb/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/cvsweb/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>