summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/cvsweb')
-rw-r--r--www-apps/cvsweb/cvsweb-3.0.6-r2.ebuild (renamed from www-apps/cvsweb/cvsweb-3.0.6-r1.ebuild)31
-rw-r--r--www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch4
-rw-r--r--www-apps/cvsweb/metadata.xml2
3 files changed, 19 insertions, 18 deletions
diff --git a/www-apps/cvsweb/cvsweb-3.0.6-r1.ebuild b/www-apps/cvsweb/cvsweb-3.0.6-r2.ebuild
index 09482ea3a6c7..5bad03d5e545 100644
--- a/www-apps/cvsweb/cvsweb-3.0.6-r1.ebuild
+++ b/www-apps/cvsweb/cvsweb-3.0.6-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
-inherit eutils webapp
+inherit webapp
DESCRIPTION="WWW interface to a CVS tree"
HOMEPAGE="http://www.freebsd.org/projects/cvsweb.html"
@@ -11,30 +11,31 @@ SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/scop/${P}.tar.g
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
+RDEPEND="
+ >=app-text/enscript-1.6.3
+ >=dev-lang/perl-5.8
dev-perl/IPC-Run
dev-perl/MIME-Types
dev-perl/String-Ediff
+ >=dev-perl/URI-1.28
+ >=dev-vcs/cvs-1.11
>=dev-vcs/cvsgraph-1.4.0
- >=app-text/enscript-1.6.3"
+ >=dev-vcs/rcs-5.7
+"
-src_prepare() {
- epatch "${FILESDIR}/${P}-perl518.patch"
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-perl518.patch
+)
src_install() {
webapp_src_preinst
- cp cvsweb.conf "${D}"/${MY_HOSTROOTDIR}
- cp css/cvsweb.css "${D}"/${MY_HTDOCSDIR}
+ cp cvsweb.conf "${ED}"/${MY_HOSTROOTDIR} || die
+ cp css/cvsweb.css "${ED}"/${MY_HTDOCSDIR} || die
exeinto ${MY_CGIBINDIR}
doexe cvsweb.cgi
- chmod +x "${D}"/${MY_CGIBINDIR}/cvsweb.cgi
+ fperms +x ${MY_CGIBINDIR}/cvsweb.cgi
dodoc README TODO NEWS ChangeLog
diff --git a/www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch b/www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch
index ba1195ae9160..288a67551d36 100644
--- a/www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch
+++ b/www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch
@@ -3,8 +3,8 @@ http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/cvsweb/patches/patch-cvsweb.cgi.d
Fix warnings from newer perl versions
---- cvsweb.cgi.orig 2013-07-30 12:49:33.268655300 +0000
-+++ cvsweb.cgi
+--- a/cvsweb.cgi
++++ b/cvsweb.cgi
@@ -1192,7 +1192,7 @@ EOF
<legend>General options</legend>
<input type="hidden" name="copt" value="1" />
diff --git a/www-apps/cvsweb/metadata.xml b/www-apps/cvsweb/metadata.xml
index f2f2ba9e2823..78e603166211 100644
--- a/www-apps/cvsweb/metadata.xml
+++ b/www-apps/cvsweb/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>web-apps@gentoo.org</email>