aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-11-10 13:20:33 +0100
committerJustin Lecher <jlec@gentoo.org>2014-11-10 13:20:33 +0100
commit14e7d067427a0dd0ec0c9d0c6903edb4560a4817 (patch)
treee41a258ec7153db07a0953208d1cd6b54ebd8d2d /net-ftp
parentnet-ftp/bbftp-client: Bump EAPI; respect CC; version Bump (diff)
downloadsci-14e7d067427a0dd0ec0c9d0c6903edb4560a4817.tar.gz
sci-14e7d067427a0dd0ec0c9d0c6903edb4560a4817.tar.bz2
sci-14e7d067427a0dd0ec0c9d0c6903edb4560a4817.zip
net-ftp/bbftp-server: Bump EAPI; respect CC; version Bump
Package-Manager: portage-2.2.14
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/bbftp-server/ChangeLog6
-rw-r--r--net-ftp/bbftp-server/Manifest2
-rw-r--r--net-ftp/bbftp-server/bbftp-server-3.2.1.ebuild (renamed from net-ftp/bbftp-server/bbftp-server-3.2.0.ebuild)42
-rw-r--r--net-ftp/bbftp-server/metadata.xml4
4 files changed, 33 insertions, 21 deletions
diff --git a/net-ftp/bbftp-server/ChangeLog b/net-ftp/bbftp-server/ChangeLog
index b73e12c55..0c4698771 100644
--- a/net-ftp/bbftp-server/ChangeLog
+++ b/net-ftp/bbftp-server/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for net-ftp/bbftp-server
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 10 Nov 2014; Justin Lecher <jlec@gentoo.org> -bbftp-server-3.2.0.ebuild,
+ +bbftp-server-3.2.1.ebuild, metadata.xml:
+ Bump EAPI; respect CC; version Bump
+
24 Jun 2011; Justin Lecher <jlec@gentoo.org> bbftp-server-3.2.0.ebuild:
Sort inherit and/or USE
diff --git a/net-ftp/bbftp-server/Manifest b/net-ftp/bbftp-server/Manifest
index 1a3a9608b..4b97508fa 100644
--- a/net-ftp/bbftp-server/Manifest
+++ b/net-ftp/bbftp-server/Manifest
@@ -1 +1 @@
-DIST bbftp-server-3.2.0.tar.gz 222600 SHA256 04fbe472dc4c39f5b3e82520c08a084e8c4fd5301242c6bbb934d6984013b8ff
+DIST bbftp-server-3.2.1.tar.gz 234731 SHA256 818e2de73fbda68b854e0253d13e95f9aae2abe0efb3b4077667a66fe76a5201 SHA512 7a11af95cd6724fbe70077e3ee2406cdd4c0ca66d7f74b568dfeedf34637838142cbeca646ab32827fc934634269fe7472cfaa2b0622983807b46ed1803aefec WHIRLPOOL 07985de35d19ec2dd44b7b55c5fc0ce4289d270101da5f9b4f4fdf260453ac6005fabc7af2e506a3008b99ffdb09d5f9884cf2f0cc111155ed55c56c7b225872
diff --git a/net-ftp/bbftp-server/bbftp-server-3.2.0.ebuild b/net-ftp/bbftp-server/bbftp-server-3.2.1.ebuild
index c24f9c153..177c18364 100644
--- a/net-ftp/bbftp-server/bbftp-server-3.2.0.ebuild
+++ b/net-ftp/bbftp-server/bbftp-server-3.2.1.ebuild
@@ -2,13 +2,13 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils
+EAPI=5
-DESCRIPTION="Secure file transfer software with its own transfer protocol optimized for files larger than 2GB"
+inherit eutils toolchain-funcs
+DESCRIPTION="Secure file transfer software with its own transfer protocol optimized for files larger than 2GB"
HOMEPAGE="http://doc.in2p3.fr/bbftp/"
SRC_URI="http://doc.in2p3.fr/bbftp/dist/${P}.tar.gz"
-S="${WORKDIR}/${P}/bbftpd"
LICENSE="GPL-2"
SLOT="0"
@@ -18,29 +18,37 @@ IUSE="pam ssl"
DEPEND="ssl? ( dev-libs/openssl )"
RDEPEND="${DEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}/${P}"
+S="${WORKDIR}/${P}/bbftpd"
+
+src_prepare() {
epatch "${FILESDIR}"/${PV}-deffixes.patch
+
+ sed \
+ -e '/@INSTALL@\|mkdir/s:${\(prefix\|mandir\|bindir\)}:${DESTDIR}${\1}:' \
+ -e '/\/etc/d' \
+ -i Makefile.in
+
+ tc-export CC
}
-src_compile() {
- sed -i -e '/@INSTALL@\|mkdir/s:${\(prefix\|mandir\|bindir\)}:${DESTDIR}${\1}:' -e '/\/etc/d' Makefile.in
- econf $(use_with ssl) $(use_with pam) --with-gzip \
+src_configure() {
+ econf \
+ $(use_with ssl) \
+ $(use_with pam) \
+ --with-gzip \
--without-rfio \
- --without-afs || die "configure failed"
- emake || die "compile failed"
+ --without-afs
}
src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- newinitd "${FILESDIR}/bbftpd.init.d" bbftpd
- dodoc ../README ../ChangeLog ../TODO
- dodoc ../doc/*
+ default
+
+ newinitd "${FILESDIR}"/bbftpd.init.d bbftpd
+ dodoc ../README ../ChangeLog ../TODO ../doc/*
doman ../doc/bbftpd.1
if use pam; then
- echo -e "#%PAM-1.0\nauth include system-auth\naccount include system-auth" >> "${T}/bbftp.pam"
+ echo -e "#%PAM-1.0\nauth include system-auth\naccount include system-auth" >> "${T}"/bbftp.pam
insinto /etc/pam.d
- newins "${T}/bbftp.pam" bbftp
+ newins "${T}"/bbftp.pam bbftp
fi
}
diff --git a/net-ftp/bbftp-server/metadata.xml b/net-ftp/bbftp-server/metadata.xml
index 7e915aa7e..7e5e95698 100644
--- a/net-ftp/bbftp-server/metadata.xml
+++ b/net-ftp/bbftp-server/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<longdescription>
+ <herd>sci</herd>
+ <longdescription>
bbFTP is a file transfer software. It implements its own transfer protocol,
which is optimized for large files (larger than 2GB) and secure as it does not
read the password in a file and encrypts the connection information.