summaryrefslogtreecommitdiff
path: root/www-apps/cvsweb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/cvsweb
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/cvsweb')
-rw-r--r--www-apps/cvsweb/Manifest13
-rw-r--r--www-apps/cvsweb/cvsweb-1.112.ebuild36
-rw-r--r--www-apps/cvsweb/cvsweb-3.0.5.ebuild38
-rw-r--r--www-apps/cvsweb/cvsweb-3.0.6-r1.ebuild44
-rw-r--r--www-apps/cvsweb/cvsweb-3.0.6.ebuild38
-rw-r--r--www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch25
-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.xml8
9 files changed, 218 insertions, 0 deletions
diff --git a/www-apps/cvsweb/Manifest b/www-apps/cvsweb/Manifest
new file mode 100644
index 000000000000..829cd318796e
--- /dev/null
+++ b/www-apps/cvsweb/Manifest
@@ -0,0 +1,13 @@
+AUX cvsweb-3.0.6-perl518.patch 791 SHA256 67d58cf9447050a8db26e56f836e1c74417a58d3d9d88ea1dd86fb3e9df81693 SHA512 9cdd1f92974dd35c70280913301050b6d2f0a6d37e19bd87834aefd78985469f508262f7e63d282d0ab98446dc4687626fd8b166a1c59a20e2098d23c45cf145 WHIRLPOOL 1e43665d43cc3eb01a72062709e82ee463be6008ca7bad398ea2e1b30d21cb9683092869fc6cd51e4a6e6e6f7112d6d3ee78438875bfe028dcd7c8584bb0cd2b
+AUX postinstall-en.txt 35 SHA256 1f0dd317eb5e367a5a9a281967a9842859a251134268ba9043869bdf8fc0128a SHA512 ba2ac529a8b20dfbe9110559a33d80dbe2b846af99b49bb8602520084e24474ef89ea2dd309287455ca94f9d9332ac8f36b2b7a2082dfb063e46456f1d11ca74 WHIRLPOOL 475ee106f736f3b175a1b4761a1aac74acf6fd2f25ad5dcfff648ad0651e1a29cf9888b846a69f5e398e9f52f814f5979cec56eaccdb37e325497d00d2182ce0
+AUX reconfig 381 SHA256 cf9e8d281abff2be46b265f504381c0aabb950d803ab513ff9d9942ac551bffd SHA512 73883f035c7d82de255a9aad5cc58d20b614e70eec86d5b524783e28e34e60888a0215923fd956aa851a42be31a3eb27634ad5d693148722160b569ea73b749b WHIRLPOOL d4b123b68a8fa44744434eccea682110f35cc7bdae3f83fa09bcd71a71186ed626211289b96f685a8124379452daa7937c20e55806ec0cc64ea80b76d6a5e0f7
+DIST cvsweb-1.112.tar.gz 37239 SHA256 55656465590231d8ead238cb2b7def59a9f00ad5f126176c15f2a9e340812fa4 SHA512 f0e427d4225498a4a7342335f902d7f37ca546135e2ec90e4e1fa14923c301ba5479061fae27a2728f94e45b833242c86d73dbad797681e24eb54c30b796c59d WHIRLPOOL 9908f3975028d47cb55a46e354fddd74f1d1ff2e0dfe126964a86158f382d4f9f7e81e1dff5ce9ab5a4079e78dd769149b3ee0c8c55acd2fd587a921ac58cde4
+DIST cvsweb-3.0.5.tar.gz 72199 SHA256 ab1acebde0b4f2c75932bab529150c8280cf881deba81323d71733d81c28643c SHA512 68b6d0a1ef3ec17c1cdd71f90e1cfa27aa8a4591f1bb0cf342a168e7fb2c79ff0d5d0fe56916aa1255f43524c8ed281c228eea18183a0410a69789fefea5f8d3 WHIRLPOOL af1ae78daf51966f622d9835bc4d53fcaf324b12bedb7cd182fb540147d15a51ecea338d88d1716b0f37f43eacf59caa84ea4f509316a29ba545611687c27f6a
+DIST cvsweb-3.0.6.tar.gz 72484 SHA256 07391ee70212ae42e54b8f6d5e613623ef2aad5fd7474899a102fcca48d213c2 SHA512 32ac58bcb025746e4cc20bdc12d1bd915e2286a4093afebf8d60cb94a70ac614301f9b7f0a175458b14262a03d3d2eb8c29eabaf9127bef1aa6847905f331cc6 WHIRLPOOL becd4a96f21b178595be2083f8117e84b6203508fca09a9a74891cc324f8086b6a2b273eabfbb50301864a0f5f53a84374f7e3e0c9a1a32b0e7bd08a1a60aaa3
+EBUILD cvsweb-1.112.ebuild 716 SHA256 e740a9ab8e324134c77ced175e456c0c034e04f67a530228dd7dcb25bef9b4cb SHA512 2deb62c5b57b365206dd71feba1958f226171932516fbafef03f7f3389b07c7b05b86a2679ae14b2fd12b751671291646f089992973c85cf3becfe4b721a32cf WHIRLPOOL 8db85e8cefcae8e1e9c2b6207722cd89e49a0fd5e50194e543ac1c0840879da9452b3827c5ea1d2920f3fd947d8df01ff8fd0e7214dd5c0ba00d4794f39ff6f9
+EBUILD cvsweb-3.0.5.ebuild 927 SHA256 248c78cfa85060db04479451db85ad92a64f5a4afbefa6aef128969ee93d8954 SHA512 a568dae3c228f722e2d7c3dc8f1f943207274f8dd87bfd526837e3f5666656c5c67babb38a2fea5bd980c7314fbfa5147e2e2e54d9538db2c5fbb93fa760970b WHIRLPOOL 4c50803fe99441c92bbd68d8bdc814ae75e74887c7580885438dca299792316743ece048251451625cbbf153ed0a6848f2f40a9e2c06769539ff7b76d9c5ef6b
+EBUILD cvsweb-3.0.6-r1.ebuild 1007 SHA256 dcb051f974291968641dc014cdef219f5953a64f5da2acbbc0ab58d3d43bc8c8 SHA512 75e8a1b8561f89bdf7f8525b08374850e43867e5f7b6d6140924ea5b41446fc42fcd6ce2188ac5f6756934471265ae637407643b56108d170672751de273bf34 WHIRLPOOL fc34e3927ea031e2956b1f34eed3ee1454b5e7fb18a48d48212801700fc7038af2b6305f56ec2e9d5458a0f69ae572d16c0642625c2bdbcb02d3285e1d01c7d3
+EBUILD cvsweb-3.0.6.ebuild 932 SHA256 035f2ad11f74f052024136ec6f0cc07371f7b3cc63cd6b43a62c3ee07059c3f2 SHA512 dfbfd43bbdc58aced2541655d28f52d96c77a8c8428848bf18ca0cce7a7aba148d64ccafc22c5569be3784042a9e9f309a2737f1d93a15c124774ef8ca4cede2 WHIRLPOOL 76ee31bc6a33fab4b5e899806af3ac1885aabce3d7738f359a9c8be163b3664102952feb17b655d09bb7e1ed746ed140d011bc58b3df0fdd09d6ad725087c44d
+MISC ChangeLog 2663 SHA256 4bb4ee2c90f57dfa7d448da0b1b5ff1b1e4879b8f7c6fa1c46c8359d891da1c1 SHA512 4a6302d6a9bbc5a6ede77849082d3cf637945c684109749ea8034fd8f2d986297c566eaa743f7232020e1d7fc2dcb66647e96917a3c7d1594b12d7932cdc1557 WHIRLPOOL 12a5c03b3a17d095ca0722623737ee1810d10e798359e1c52ba663f70b41419f949db8066bd08e99e7900561330cade20498c7a5c85bef5de01070c241224532
+MISC ChangeLog-2015 3078 SHA256 d350c20ed147a6f53e29d39250f988e327ed6981c5022839cbfc32bf76021043 SHA512 adc8a374ca0a2f53e9b018ff1e97f703d7e3300b339740411e507ac57f38054965f77f7c590e63cd138a4f8d60953fd9fb7293d11e691d2c0a95394274086a9a WHIRLPOOL a5d57653b32b0360b43d06c2aa87edbf95696b14667c13b96a24ec0de5206d6b8e143a7947d1c582fe9c94388f7d0b29e150f5f973a2dad24d72ab6adc574db6
+MISC metadata.xml 246 SHA256 f696b469729aeeb7810f246774e90471415680a9ebd6b55c56c13a5213057508 SHA512 1181711d3b020b2ca7beae0a539a9b7f1abe70962cd8561900e5f06e14c9c871c61ca6088fb674de19ef3b844a1b3c29cf0f84f638b2d0cb7c030f60cd1d42ed WHIRLPOOL fef696fa5b101de1ba4bdc0188a4757648d9eb40d4b01408cf17416d1f39909026a80e4b082d8497801aae1caea588b6d28616cd3853e1b03b94a8fd672f9c85
diff --git a/www-apps/cvsweb/cvsweb-1.112.ebuild b/www-apps/cvsweb/cvsweb-1.112.ebuild
new file mode 100644
index 000000000000..475a89beac01
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-1.112.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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..04e2333ac8f0
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-3.0.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-vcs/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-vcs/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-r1.ebuild b/www-apps/cvsweb/cvsweb-3.0.6-r1.ebuild
new file mode 100644
index 000000000000..09482ea3a6c7
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-3.0.6-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils 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-vcs/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-vcs/cvsgraph-1.4.0
+ >=app-text/enscript-1.6.3"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-perl518.patch"
+}
+
+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..00ed18debcbd
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-3.0.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-vcs/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-vcs/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/cvsweb-3.0.6-perl518.patch b/www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch
new file mode 100644
index 000000000000..ba1195ae9160
--- /dev/null
+++ b/www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch
@@ -0,0 +1,25 @@
+Source:
+http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/cvsweb/patches/patch-cvsweb.cgi.diff?r1=1.1.2.1&r2=1.1.2.2&f=h
+
+Fix warnings from newer perl versions
+
+--- cvsweb.cgi.orig 2013-07-30 12:49:33.268655300 +0000
++++ cvsweb.cgi
+@@ -1192,7 +1192,7 @@ EOF
+ <legend>General options</legend>
+ <input type="hidden" name="copt" value="1" />
+ EOF
+- for my $v qw(hidecvsroot hidenonreadable) {
++ for my $v (qw(hidecvsroot hidenonreadable)) {
+ printf(qq{<input type="hidden" name="%s" value="%s" />\n},
+ $v, $input{$v} || 0);
+ }
+@@ -2951,7 +2951,7 @@ sub printLog($$$;$$)
+ print "<br />\n";
+
+ print '<i>';
+- if (defined @mytz) {
++ if (@mytz) {
+ my ($est) = $mytz[(localtime($date{$_}))[8]];
+ print scalar localtime($date{$_}), " $est</i> (";
+ } else {
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..f2f2ba9e2823
--- /dev/null
+++ b/www-apps/cvsweb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>web-apps@gentoo.org</email>
+ <name>Gentoo Webapps</name>
+</maintainer>
+</pkgmetadata>