diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-08-25 15:39:33 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-08-25 15:39:33 +0000 |
commit | f7bc05c39865e8ff675eaaf4ab233558e9b21f43 (patch) | |
tree | 73582fa3724ec13b63852efef0751317f0cea0f4 /net-proxy/sshproxy | |
parent | Stable on alpha, bug 144946. (diff) | |
download | gentoo-2-f7bc05c39865e8ff675eaaf4ab233558e9b21f43.tar.gz gentoo-2-f7bc05c39865e8ff675eaaf4ab233558e9b21f43.tar.bz2 gentoo-2-f7bc05c39865e8ff675eaaf4ab233558e9b21f43.zip |
Version bump (#141415).
(Portage version: 2.1-r2)
Diffstat (limited to 'net-proxy/sshproxy')
-rw-r--r-- | net-proxy/sshproxy/ChangeLog | 8 | ||||
-rw-r--r-- | net-proxy/sshproxy/files/digest-sshproxy-0.4.4 | 3 | ||||
-rw-r--r-- | net-proxy/sshproxy/sshproxy-0.4.4.ebuild | 55 |
3 files changed, 65 insertions, 1 deletions
diff --git a/net-proxy/sshproxy/ChangeLog b/net-proxy/sshproxy/ChangeLog index 143d80439067..c8b3090d90dc 100644 --- a/net-proxy/sshproxy/ChangeLog +++ b/net-proxy/sshproxy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/sshproxy # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/sshproxy/ChangeLog,v 1.2 2006/07/15 15:07:17 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/sshproxy/ChangeLog,v 1.3 2006/08/25 15:39:33 mrness Exp $ + +*sshproxy-0.4.4 (25 Aug 2006) + + 25 Aug 2006; Alin Nastac <mrness@gentoo.org> -sshproxy-0.4.2.ebuild, + +sshproxy-0.4.4.ebuild: + Version bump (#141415). *sshproxy-0.4.3 (15 Jul 2006) diff --git a/net-proxy/sshproxy/files/digest-sshproxy-0.4.4 b/net-proxy/sshproxy/files/digest-sshproxy-0.4.4 new file mode 100644 index 000000000000..76d8e2c0bb49 --- /dev/null +++ b/net-proxy/sshproxy/files/digest-sshproxy-0.4.4 @@ -0,0 +1,3 @@ +MD5 50b9e133bf62f00431bc970865ea0dd9 sshproxy-0.4.4.tar.gz 50644 +RMD160 a7e13a1c0053e245c86119f22ff12f84995796fa sshproxy-0.4.4.tar.gz 50644 +SHA256 f38b96c3d86f8a7444573fd74a0adb9bc004b0cb016cc7e27d053ee85706cedb sshproxy-0.4.4.tar.gz 50644 diff --git a/net-proxy/sshproxy/sshproxy-0.4.4.ebuild b/net-proxy/sshproxy/sshproxy-0.4.4.ebuild new file mode 100644 index 000000000000..934282eaef5a --- /dev/null +++ b/net-proxy/sshproxy/sshproxy-0.4.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/sshproxy/sshproxy-0.4.4.ebuild,v 1.1 2006/08/25 15:39:33 mrness Exp $ + +inherit distutils + +DESCRIPTION="sshproxy is an ssh gateway to apply ACLs on ssh connections" +HOMEPAGE="http://penguin.fr/sshproxy/" +SRC_URI="http://penguin.fr/sshproxy/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mysql" + +DEPEND=">=dev-lang/python-2.4.0 + >=dev-python/paramiko-1.6 + mysql? ( >=dev-python/mysql-python-1.2.0 )" + +pkg_setup() { + enewgroup sshproxy + enewuser sshproxy -1 -1 /var/lib/sshproxy sshproxy +} + +src_install () { + distutils_src_install + + diropts -o sshproxy -g sshproxy -m0750 + dodir /var/lib/sshproxy + keepdir /var/lib/sshproxy + + # init/conf files for sshproxy daemon + newinitd "${FILESDIR}/sshproxyd.initd" sshproxyd +} + +pkg_postinst () { + pkg_setup #for creating the user when installed from binary package + + distutils_pkg_postinst + + echo + einfo "If this is your first installation, run" + einfo " emerge --config =${CATEGORY}/${PF}" + einfo "to initialize the backend." + echo + einfo "There is no need to install sshproxy on a client machine." + einfo "You can connect to a SSH server using this proxy by running" + einfo " ssh -tp PROXY_PORT PROXY_HOST REMOTE_USER@REMOTE_HOST" +} + +pkg_config() { + HOME=/var/lib/sshproxy INITD_STARTUP="/etc/init.d/sshproxyd start" \ + chroot "${ROOT}" /usr/bin/sshproxyd --wizard + chown -R sshproxy:sshproxy "${ROOT}/var/lib/sshproxy" +} |