summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-07-11 14:16:26 +0000
committerRoy Marples <uberlord@gentoo.org>2006-07-11 14:16:26 +0000
commit09e3c923ec951ecb2878410def4e6c9f123baa5f (patch)
treed070d6e5016238b6c652d278392843aab6ed5582 /net-ftp/tlswrap
parentMark 1.4.0-r1 stable on ia64, mark 1.4.1 ~ia64 (diff)
downloadhistorical-09e3c923ec951ecb2878410def4e6c9f123baa5f.tar.gz
historical-09e3c923ec951ecb2878410def4e6c9f123baa5f.tar.bz2
historical-09e3c923ec951ecb2878410def4e6c9f123baa5f.zip
Initial import
Package-Manager: portage-2.1.1_pre2-r6
Diffstat (limited to 'net-ftp/tlswrap')
-rw-r--r--net-ftp/tlswrap/ChangeLog11
-rw-r--r--net-ftp/tlswrap/Manifest24
-rw-r--r--net-ftp/tlswrap/files/digest-tlswrap-1.023
-rw-r--r--net-ftp/tlswrap/files/tlswrap-1.02-quiet-stderr.patch24
-rw-r--r--net-ftp/tlswrap/files/tlswrap.init20
-rw-r--r--net-ftp/tlswrap/metadata.xml13
-rw-r--r--net-ftp/tlswrap/tlswrap-1.02.ebuild33
7 files changed, 128 insertions, 0 deletions
diff --git a/net-ftp/tlswrap/ChangeLog b/net-ftp/tlswrap/ChangeLog
new file mode 100644
index 000000000000..1352722a0900
--- /dev/null
+++ b/net-ftp/tlswrap/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-ftp/tlswrap
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tlswrap/ChangeLog,v 1.1 2006/07/11 14:16:26 uberlord Exp $
+
+*tlswrap-1.02 (11 Jul 2006)
+
+ 11 Jul 2006; Roy Marples <uberlord@gentoo.org>
+ +files/tlswrap-1.02-quiet-stderr.patch, +files/tlswrap.init,
+ +metadata.xml, +tlswrap-1.02.ebuild:
+ Initial import, #89131 thanks to Boris and Daniel Persson.
+
diff --git a/net-ftp/tlswrap/Manifest b/net-ftp/tlswrap/Manifest
new file mode 100644
index 000000000000..245280555d97
--- /dev/null
+++ b/net-ftp/tlswrap/Manifest
@@ -0,0 +1,24 @@
+AUX tlswrap-1.02-quiet-stderr.patch 998 RMD160 d6280328b5c94757f2e7bff19e32c493f926ebd8 SHA1 509ece90a16ca87d39e578740cdea2c33adda433 SHA256 499a2318b490f6883d80083cecd7fae8cc95a879bb1b22c527b8d44a0d8bf869
+MD5 dd6f705e8d41bc966a66a905905c198a files/tlswrap-1.02-quiet-stderr.patch 998
+RMD160 d6280328b5c94757f2e7bff19e32c493f926ebd8 files/tlswrap-1.02-quiet-stderr.patch 998
+SHA256 499a2318b490f6883d80083cecd7fae8cc95a879bb1b22c527b8d44a0d8bf869 files/tlswrap-1.02-quiet-stderr.patch 998
+AUX tlswrap.init 505 RMD160 a4642276c0c5f7ce1621a25d738e42de9f866b53 SHA1 adb4720c8a9736c911f403a0ff64435c6a9f2c54 SHA256 39405fbb3919136e38e497dff28202eb3c6f43f27a55d47a91e1d7a7d975ca65
+MD5 07480550c458af715eacffd8d8b50395 files/tlswrap.init 505
+RMD160 a4642276c0c5f7ce1621a25d738e42de9f866b53 files/tlswrap.init 505
+SHA256 39405fbb3919136e38e497dff28202eb3c6f43f27a55d47a91e1d7a7d975ca65 files/tlswrap.init 505
+DIST tlswrap-1.02.tar.gz 137602 RMD160 bcdb03542ba2eaa606d942cf6bd9b6846398a647 SHA1 22968f4e3832dd040090be945f9e18f4abd266c5 SHA256 024a8ba6ba9b5917a1aa3a8d1723812b9bf5a14f931bf35eebe790c1058bf054
+EBUILD tlswrap-1.02.ebuild 695 RMD160 93838c95f7bc9856d6f3c18a93a3b8e56d78ac0d SHA1 268d499e197bbd8a17beb3cd99fcf4945bb88e72 SHA256 291d453f18d153619fec0d38a2fc7c4d9c83e98bd9293e96b5ec1b87d8c27b6f
+MD5 ff3d5328ed224d963da507d9f4ab9f5b tlswrap-1.02.ebuild 695
+RMD160 93838c95f7bc9856d6f3c18a93a3b8e56d78ac0d tlswrap-1.02.ebuild 695
+SHA256 291d453f18d153619fec0d38a2fc7c4d9c83e98bd9293e96b5ec1b87d8c27b6f tlswrap-1.02.ebuild 695
+MISC ChangeLog 447 RMD160 2b6825651712ca98e6f78e26a7dc241c8a608c8c SHA1 92faca067bff15af7ea838a59e4d91d6d475d1b1 SHA256 736e4580370bf7537ad1c507fbb8d3c7d8d6e3b2b9e31410e6db3fc50db1bc47
+MD5 71382ef29c9f89f13479226183fad45a ChangeLog 447
+RMD160 2b6825651712ca98e6f78e26a7dc241c8a608c8c ChangeLog 447
+SHA256 736e4580370bf7537ad1c507fbb8d3c7d8d6e3b2b9e31410e6db3fc50db1bc47 ChangeLog 447
+MISC metadata.xml 382 RMD160 d8faaad4f73acb62cfe0feec500dbc4fc303037c SHA1 e2fca30c47292f8b131c7661af22ce48ed146bcd SHA256 d6afc740d1770c01aad8bf998ddd998b72d109dc781ff316052833a73a55b6a3
+MD5 fe3c11cc56df926a42ce871f7a360828 metadata.xml 382
+RMD160 d8faaad4f73acb62cfe0feec500dbc4fc303037c metadata.xml 382
+SHA256 d6afc740d1770c01aad8bf998ddd998b72d109dc781ff316052833a73a55b6a3 metadata.xml 382
+MD5 7f916bed4d2c2d24fb2e410904207262 files/digest-tlswrap-1.02 238
+RMD160 5f9919e2baf794c65a5dcb6ebbada4fbf2999ddb files/digest-tlswrap-1.02 238
+SHA256 98cd8b271267d1741de1707134938ce802e747ea1b320debb564f0c2f0fdecf8 files/digest-tlswrap-1.02 238
diff --git a/net-ftp/tlswrap/files/digest-tlswrap-1.02 b/net-ftp/tlswrap/files/digest-tlswrap-1.02
new file mode 100644
index 000000000000..848872af9794
--- /dev/null
+++ b/net-ftp/tlswrap/files/digest-tlswrap-1.02
@@ -0,0 +1,3 @@
+MD5 fa9e503a861a7519a8f485bad77e2cc7 tlswrap-1.02.tar.gz 137602
+RMD160 bcdb03542ba2eaa606d942cf6bd9b6846398a647 tlswrap-1.02.tar.gz 137602
+SHA256 024a8ba6ba9b5917a1aa3a8d1723812b9bf5a14f931bf35eebe790c1058bf054 tlswrap-1.02.tar.gz 137602
diff --git a/net-ftp/tlswrap/files/tlswrap-1.02-quiet-stderr.patch b/net-ftp/tlswrap/files/tlswrap-1.02-quiet-stderr.patch
new file mode 100644
index 000000000000..124ed35ac434
--- /dev/null
+++ b/net-ftp/tlswrap/files/tlswrap-1.02-quiet-stderr.patch
@@ -0,0 +1,24 @@
+diff -Naur tlswrap-1.02/tlswrap.c tlswrap-1.02-new/tlswrap.c
+--- tlswrap-1.02/tlswrap.c 2005-07-09 16:11:37.000000000 +0200
++++ tlswrap-1.02-new/tlswrap.c 2006-05-09 22:38:58.000000000 +0200
+@@ -358,9 +358,9 @@
+
+ listen_fd = setup_listen(5, cfg_listenhost, cfg_listenport, 0);
+
+- fprintf(stderr,
++ fprintf(stdout,
+ "TLSWrap %s (c) 2002-2005 Tomas Svensson <ts@unix1.net>\n", TLSWRAP_VERSION_TEXT);
+- fprintf(stderr, "Servicing up to %u clients on %s:%s\n", cfg_max_users, cfg_listenhost, cfg_listenport);
++ fprintf(stdout, "Servicing up to %u clients on %s:%s\n", cfg_max_users, cfg_listenhost, cfg_listenport);
+ #if !defined __CYGWIN__ && !defined WIN32
+ #ifdef __HAVE_DAEMON
+ if (!debug)
+@@ -370,7 +370,7 @@
+ if ( (childpid = fork()) < 0)
+ sys_err("fork()");
+ else if (childpid != 0) {
+- fprintf(stderr, "Running as process %u\n", (unsigned int)childpid);
++ fprintf(stdout, "Running as process %u\n", (unsigned int)childpid);
+ exit(0); /* parent */
+ }
+ (void)setsid();
diff --git a/net-ftp/tlswrap/files/tlswrap.init b/net-ftp/tlswrap/files/tlswrap.init
new file mode 100644
index 000000000000..700e296eb9f6
--- /dev/null
+++ b/net-ftp/tlswrap/files/tlswrap.init
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tlswrap/files/tlswrap.init,v 1.1 2006/07/11 14:16:26 uberlord Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting tlswrap"
+ start-stop-daemon --start --exec /usr/bin/tlswrap >/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping tlswrap"
+ start-stop-daemon --stop --exec /usr/sbin/tlswrap
+ eend $?
+}
diff --git a/net-ftp/tlswrap/metadata.xml b/net-ftp/tlswrap/metadata.xml
new file mode 100644
index 000000000000..7986d2f54ba0
--- /dev/null
+++ b/net-ftp/tlswrap/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-ftp</herd>
+ <maintainer>
+ <email>uberlord@gentoo.org</email>
+ <name>Roy Marples</name>
+ </maintainer>
+ <longdescription>
+ TLSWRAP is a TLS/SSL FTP wrapper/proxy which allows to use TLS with
+ every FTP client
+ </longdescription>
+</pkgmetadata>
diff --git a/net-ftp/tlswrap/tlswrap-1.02.ebuild b/net-ftp/tlswrap/tlswrap-1.02.ebuild
new file mode 100644
index 000000000000..54a591eeff8a
--- /dev/null
+++ b/net-ftp/tlswrap/tlswrap-1.02.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header $
+
+inherit eutils
+
+DESCRIPTION="TLSWRAP is a TLS/SSL FTP wrapper/proxy which allows to use TLS with every FTP client"
+HOMEPAGE="http://tlswrap.sunsite.dk"
+SRC_URI="http://tlswrap.sunsite.dk/${P}.tar.gz"
+
+LICENSE="tlswrap"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/openssl-0.9.7"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-quiet-stderr.patch"
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dodoc ChangeLog README
+ einstall || die "einstall failed"
+ newinitd "${FILESDIR}/tlswrap.init" tlswrap
+}