summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-01-23 07:14:45 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-01-23 07:14:45 +0000
commitb0675881622cea693f541c717dd4b22b0889080f (patch)
treeda14618541e0ab9c2d8e1b44bc345cd47f28472a /net-misc/uftp
parentversion bump (bug #452272) (diff)
downloadgentoo-2-b0675881622cea693f541c717dd4b22b0889080f.tar.gz
gentoo-2-b0675881622cea693f541c717dd4b22b0889080f.tar.bz2
gentoo-2-b0675881622cea693f541c717dd4b22b0889080f.zip
Version bump, wrt bug #452712. Thanks to Azamat Hackimov
(Portage version: 2.2.0_alpha159/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-misc/uftp')
-rw-r--r--net-misc/uftp/ChangeLog9
-rw-r--r--net-misc/uftp/uftp-3.7.1.ebuild46
2 files changed, 53 insertions, 2 deletions
diff --git a/net-misc/uftp/ChangeLog b/net-misc/uftp/ChangeLog
index a32e55b1f53b..4c8a26e31418 100644
--- a/net-misc/uftp/ChangeLog
+++ b/net-misc/uftp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/uftp
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/uftp/ChangeLog,v 1.1 2012/08/10 15:16:27 maksbotan Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/uftp/ChangeLog,v 1.2 2013/01/23 07:14:45 pinkbyte Exp $
+
+*uftp-3.7.1 (23 Jan 2013)
+
+ 23 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> +uftp-3.7.1.ebuild:
+ Version bump, wrt bug #452712. Thanks to Azamat Hackimov
*uftp-3.7 (10 Aug 2012)
diff --git a/net-misc/uftp/uftp-3.7.1.ebuild b/net-misc/uftp/uftp-3.7.1.ebuild
new file mode 100644
index 000000000000..16a685b2beb9
--- /dev/null
+++ b/net-misc/uftp/uftp-3.7.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/uftp/uftp-3.7.1.ebuild,v 1.1 2013/01/23 07:14:45 pinkbyte Exp $
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Encrypted UDP based FTP with multicast"
+HOMEPAGE="http://www.tcnj.edu/~bush/uftp.html"
+SRC_URI="http://www.tcnj.edu/~bush/downloads/${P}.tar"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+server ssl"
+
+DEPEND="ssl? ( dev-libs/openssl )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-3.7_makefile.patch"
+}
+
+src_compile() {
+ use ssl || local opt="NO_ENCRYPTION=1"
+ emake CC=$(tc-getCC) $opt uftp uftp_keymgt
+ use server && emake CC=$(tc-getCC) $opt uftpd uftpproxyd
+}
+
+src_install() {
+ dobin uftp uftp_keymgt
+ dodoc ReadMe.txt
+ doman uftp.1 uftp_keymgt.1
+
+ if use server ; then
+ dosbin uftpd uftpproxyd
+ newinitd "${FILESDIR}/uftpd.init" uftpd
+ newconfd "${FILESDIR}/uftpd.conf" uftpd
+ newinitd "${FILESDIR}/uftpproxyd.init" uftpproxyd
+ newconfd "${FILESDIR}/uftpproxyd.conf" uftpproxyd
+ doman uftpd.1 uftpproxyd.1
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/logrotate" uftpd
+ fi
+}