summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2016-08-11 14:21:29 -0400
committerBrian Evans <grknight@gentoo.org>2016-08-11 14:26:27 -0400
commit196fa9022f136bcbd82ab6f52a8d4c617b0603d6 (patch)
treed34bc41745d8e1d320d3964ce2dd5ddbfd7b021b /www-apps/websvn/websvn-2.3.3-r1.ebuild
parentsys-kernel/gentoo-sources: Linux patch 4.4.17 (diff)
downloadgentoo-196fa9022f136bcbd82ab6f52a8d4c617b0603d6.tar.gz
gentoo-196fa9022f136bcbd82ab6f52a8d4c617b0603d6.tar.bz2
gentoo-196fa9022f136bcbd82ab6f52a8d4c617b0603d6.zip
www-apps/websvn: Non-maintainer security revision bump and EAPI cleanup
Remove the deprecated depend.php wrt bug 552838 Include Debian security patches wrt bug 552684, bug 575486, and bug 582234 Package-Manager: portage-2.3.0
Diffstat (limited to 'www-apps/websvn/websvn-2.3.3-r1.ebuild')
-rw-r--r--www-apps/websvn/websvn-2.3.3-r1.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/www-apps/websvn/websvn-2.3.3-r1.ebuild b/www-apps/websvn/websvn-2.3.3-r1.ebuild
new file mode 100644
index 000000000000..27275ad7894f
--- /dev/null
+++ b/www-apps/websvn/websvn-2.3.3-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit webapp
+
+MY_P="${P//_/}"
+
+DESCRIPTION="Web-based browsing tool for Subversion (SVN) repositories in PHP"
+HOMEPAGE="http://www.websvn.info/ http://websvn.tigris.org/"
+DOWNLOAD_NUMBER="49056"
+SRC_URI="http://websvn.tigris.org/files/documents/1380/${DOWNLOAD_NUMBER}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+IUSE="enscript"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[xml]
+ dev-vcs/subversion
+ virtual/httpd-php:*
+ enscript? ( app-text/enscript )"
+RESTRICT="mirror"
+
+PATCHES=(
+ "${FILESDIR}/13_security_CVE-2013-6892.patch"
+ "${FILESDIR}/30_CVE-2016-2511.patch"
+ "${FILESDIR}/31_CVE-2016-1236.patch"
+)
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ webapp_src_preinst
+
+ DOCS=( changes.txt )
+ HTML_DOCS=( doc/* )
+ einstalldocs
+
+ mv include/{dist,}config.php
+ rm -rf license.txt changes.txt doc/
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_configfile "${MY_HTDOCSDIR}"/include/config.php
+ webapp_configfile "${MY_HTDOCSDIR}"/wsvn.php
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/cache
+
+ webapp_src_install
+}