summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-03-21 21:04:15 +0000
committerJustin Lecher <jlec@gentoo.org>2015-03-21 21:04:15 +0000
commit6b112e3b306b17dc19804c7bc6e634cdc2535fd5 (patch)
treea3d3bc03f53295b1130405c62ce84f7015fcfd7d /www-servers
parentuse dobin instead of exeinto /usr/bin/ && doexe; swicth from base eclass to e... (diff)
downloadgentoo-2-6b112e3b306b17dc19804c7bc6e634cdc2535fd5.tar.gz
gentoo-2-6b112e3b306b17dc19804c7bc6e634cdc2535fd5.tar.bz2
gentoo-2-6b112e3b306b17dc19804c7bc6e634cdc2535fd5.zip
use dobin instead of exeinto /usr/bin/ && doexe; bump EAPI
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/publicfile/ChangeLog7
-rw-r--r--www-servers/publicfile/publicfile-0.52-r4.ebuild22
2 files changed, 16 insertions, 13 deletions
diff --git a/www-servers/publicfile/ChangeLog b/www-servers/publicfile/ChangeLog
index cd7af3761c28..d9dff7b6c96e 100644
--- a/www-servers/publicfile/ChangeLog
+++ b/www-servers/publicfile/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-servers/publicfile
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/ChangeLog,v 1.32 2014/03/22 17:58:07 kensington Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/ChangeLog,v 1.33 2015/03/21 21:04:15 jlec Exp $
+
+ 21 Mar 2015; Justin Lecher <jlec@gentoo.org> publicfile-0.52-r4.ebuild:
+ use dobin instead of exeinto /usr/bin/ && doexe; bump EAPI
22 Mar 2014; Michael Palimaka <kensington@gentoo.org>
-publicfile-0.52-r3.ebuild:
diff --git a/www-servers/publicfile/publicfile-0.52-r4.ebuild b/www-servers/publicfile/publicfile-0.52-r4.ebuild
index 74ecc327f5ca..7b31c0795af0 100644
--- a/www-servers/publicfile/publicfile-0.52-r4.ebuild
+++ b/www-servers/publicfile/publicfile-0.52-r4.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/publicfile-0.52-r4.ebuild,v 1.5 2014/01/14 15:34:38 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/publicfile/publicfile-0.52-r4.ebuild,v 1.6 2015/03/21 21:04:15 jlec Exp $
-EAPI=4
+EAPI=5
inherit eutils toolchain-funcs user
DESCRIPTION="publish files through FTP and HTTP"
HOMEPAGE="http://cr.yp.to/publicfile.html"
-SRC_URI="http://cr.yp.to/publicfile/${P}.tar.gz
+SRC_URI="
+ http://cr.yp.to/publicfile/${P}.tar.gz
http://www.ohse.de/uwe/patches/${P}-filetype-diff
http://www.publicfile.org/ftp-ls-patch"
@@ -16,13 +17,15 @@ LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="selinux vanilla"
-RESTRICT="mirror bindist test"
-RDEPEND="virtual/daemontools
+RDEPEND="
+ virtual/daemontools
>=sys-apps/ucspi-tcp-0.83
selinux? ( sec-policy/selinux-publicfile )
!net-ftp/netkit-ftpd"
+RESTRICT="mirror bindist test"
+
src_prepare() {
# verbose build log
epatch "${FILESDIR}"/${P}-build.patch
@@ -34,7 +37,7 @@ src_prepare() {
use vanilla || epatch "${DISTDIR}"/ftp-ls-patch
# fix for glibc-2.3.2 errno issue
- sed -i -e 's|extern int errno;|#include <errno.h>|' error.h
+ sed -i -e 's|extern int errno;|#include <errno.h>|' error.h || die
# fix file collision
sed -i configure.c \
@@ -51,10 +54,7 @@ src_configure() {
}
src_install() {
- exeinto /usr/bin
- newexe ftpd publicfile-ftpd
- newexe httpd publicfile-httpd
- newexe configure publicfile-conf
+ newbin ftpd publicfile-ftpd httpd publicfile-httpd configure publicfile-conf
dodoc CHANGES README TODO
}