diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2007-11-06 07:20:28 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2007-11-06 07:20:28 +0000 |
commit | 16e10efaf071f4b429828af68142300df244c472 (patch) | |
tree | 7523fbed69ed5cc5da36593acbda98a335e56267 /net-misc | |
parent | whitespace (diff) | |
download | gentoo-2-16e10efaf071f4b429828af68142300df244c472.tar.gz gentoo-2-16e10efaf071f4b429828af68142300df244c472.tar.bz2 gentoo-2-16e10efaf071f4b429828af68142300df244c472.zip |
clean up
(Portage version: 2.1.3.16)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/vpnc/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/vpnc/files/digest-vpnc-0.4.0 | 3 | ||||
-rw-r--r-- | net-misc/vpnc/files/digest-vpnc-0.4.0-r3 | 3 | ||||
-rw-r--r-- | net-misc/vpnc/files/digest-vpnc-0.4.0-r4 | 3 | ||||
-rw-r--r-- | net-misc/vpnc/files/digest-vpnc-0.5.0 | 3 | ||||
-rw-r--r-- | net-misc/vpnc/files/vpnc-0.4.0-build.patch | 17 | ||||
-rw-r--r-- | net-misc/vpnc/files/vpnc.init | 56 | ||||
-rw-r--r-- | net-misc/vpnc/vpnc-0.4.0-r3.ebuild | 44 | ||||
-rw-r--r-- | net-misc/vpnc/vpnc-0.4.0-r4.ebuild | 45 | ||||
-rw-r--r-- | net-misc/vpnc/vpnc-0.4.0.ebuild | 27 | ||||
-rw-r--r-- | net-misc/vpnc/vpnc-0.5.0.ebuild | 53 |
11 files changed, 6 insertions, 255 deletions
diff --git a/net-misc/vpnc/ChangeLog b/net-misc/vpnc/ChangeLog index ae21caaef3bb..e4b6c051d2ed 100644 --- a/net-misc/vpnc/ChangeLog +++ b/net-misc/vpnc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/vpnc # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.54 2007/11/06 00:47:19 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.55 2007/11/06 07:20:28 opfer Exp $ + + 06 Nov 2007; Christian Faulhammer <opfer@gentoo.org> + -files/vpnc-0.4.0-build.patch, -files/vpnc.init, -vpnc-0.4.0.ebuild, + -vpnc-0.4.0-r3.ebuild, -vpnc-0.4.0-r4.ebuild, -vpnc-0.5.0.ebuild: + clean up 06 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> vpnc-0.5.1.ebuild: Stable on amd64 wrt bug #186577. diff --git a/net-misc/vpnc/files/digest-vpnc-0.4.0 b/net-misc/vpnc/files/digest-vpnc-0.4.0 deleted file mode 100644 index 7945ee2ab04e..000000000000 --- a/net-misc/vpnc/files/digest-vpnc-0.4.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 604807e7dd90fce00a4e2344ee29c76d vpnc-0.4.0.tar.gz 75491 -RMD160 1640481601074d4517746f6e3b147b12f24b06e3 vpnc-0.4.0.tar.gz 75491 -SHA256 f91c6bc2547cb503fde4f244ba82304553fec3954c65521482f8db2491700586 vpnc-0.4.0.tar.gz 75491 diff --git a/net-misc/vpnc/files/digest-vpnc-0.4.0-r3 b/net-misc/vpnc/files/digest-vpnc-0.4.0-r3 deleted file mode 100644 index 7945ee2ab04e..000000000000 --- a/net-misc/vpnc/files/digest-vpnc-0.4.0-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 604807e7dd90fce00a4e2344ee29c76d vpnc-0.4.0.tar.gz 75491 -RMD160 1640481601074d4517746f6e3b147b12f24b06e3 vpnc-0.4.0.tar.gz 75491 -SHA256 f91c6bc2547cb503fde4f244ba82304553fec3954c65521482f8db2491700586 vpnc-0.4.0.tar.gz 75491 diff --git a/net-misc/vpnc/files/digest-vpnc-0.4.0-r4 b/net-misc/vpnc/files/digest-vpnc-0.4.0-r4 deleted file mode 100644 index 7945ee2ab04e..000000000000 --- a/net-misc/vpnc/files/digest-vpnc-0.4.0-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 604807e7dd90fce00a4e2344ee29c76d vpnc-0.4.0.tar.gz 75491 -RMD160 1640481601074d4517746f6e3b147b12f24b06e3 vpnc-0.4.0.tar.gz 75491 -SHA256 f91c6bc2547cb503fde4f244ba82304553fec3954c65521482f8db2491700586 vpnc-0.4.0.tar.gz 75491 diff --git a/net-misc/vpnc/files/digest-vpnc-0.5.0 b/net-misc/vpnc/files/digest-vpnc-0.5.0 deleted file mode 100644 index a93592478474..000000000000 --- a/net-misc/vpnc/files/digest-vpnc-0.5.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 daaaa282f51c647ce0b799ec3956a139 vpnc-0.5.0.tar.gz 84783 -RMD160 babf0d573a663bd7767acff38a138ab10d4fdd3b vpnc-0.5.0.tar.gz 84783 -SHA256 04f49393c2763bdedb2c9e41783948ed2892023a6bc3f870172c814805cb4e95 vpnc-0.5.0.tar.gz 84783 diff --git a/net-misc/vpnc/files/vpnc-0.4.0-build.patch b/net-misc/vpnc/files/vpnc-0.4.0-build.patch deleted file mode 100644 index af9bddf41fdf..000000000000 --- a/net-misc/vpnc/files/vpnc-0.4.0-build.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- Makefile -+++ Makefile -@@ -34,10 +34,10 @@ - VERSION := $(shell sh mk-version) - RELEASE_VERSION := $(shell cat VERSION) - --CC=gcc --CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g --CPPFLAGS = -DVERSION=\"$(VERSION)\" --LDFLAGS = -g $(shell libgcrypt-config --libs) -+CC?=gcc -+CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings -+CPPFLAGS += -DVERSION=\"$(VERSION)\" -+LDFLAGS += $(shell libgcrypt-config --libs) - CFLAGS += $(shell libgcrypt-config --cflags) - - ifeq ($(shell uname -s), SunOS) diff --git a/net-misc/vpnc/files/vpnc.init b/net-misc/vpnc/files/vpnc.init deleted file mode 100644 index e1723c0d8dd0..000000000000 --- a/net-misc/vpnc/files/vpnc.init +++ /dev/null @@ -1,56 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/files/vpnc.init,v 1.3 2007/07/25 11:37:29 opfer Exp $ - -VPNDIR="/etc/vpnc" -VPN="${SVCNAME#*.}" -if [ -n ${VPN} ] && [ ${SVCNAME} != "vpnc" ]; then - VPNPID="/var/run/vpnc/${VPN}.pid" -else - VPNPID="/var/run/vpnc.pid" -fi -VPNCONF="${VPNDIR}/${VPN}.conf" - -depend() { - need net - before netmount -} - -checktundevice() { - if [ ! -e /dev/net/tun ]; then - if ! modprobe tun ; then - eerror "TUN/TAP support is not available in this kernel" - return 1 - fi - fi - if [ -h /dev/net/tun ] && [ -c /dev/misc/net/tun ]; then - ebegin "Detected broken /dev/net/tun symlink, fixing..." - rm -f /dev/net/tun - ln -s /dev/misc/net/tun /dev/net/tun - eend $? - fi -} - -start() { - ebegin "Starting VPNC: ${VPN}" - - checktundevice || return 1 - - if [ ! -e "${VPNCONF}" ]; then - eend 1 "${VPNCONF} does not exist" - return 1 - fi - - local args="" - - start-stop-daemon --start --pidfile "${VPNPID}" --exec /usr/sbin/vpnc \ - -- --pid-file "${VPNPID}" "${VPNCONF}" >/dev/null - eend $? -} - -stop() { - ebegin "Stopping VPNC: ${VPN}" - start-stop-daemon --stop --exec /usr/sbin/vpnc --pidfile "${VPNPID}" - eend $? -} diff --git a/net-misc/vpnc/vpnc-0.4.0-r3.ebuild b/net-misc/vpnc/vpnc-0.4.0-r3.ebuild deleted file mode 100644 index 9e0ebc4c6428..000000000000 --- a/net-misc/vpnc/vpnc-0.4.0-r3.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.4.0-r3.ebuild,v 1.6 2007/08/19 12:22:06 nixnut Exp $ - -inherit eutils linux-info - -DESCRIPTION="Free client for Cisco VPN routing software" -HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" -SRC_URI="http://www.unix-ag.uni-kl.de/~massar/${PN}/${P}.tar.gz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="~amd64 ppc ~ppc64 ~sparc x86" -IUSE="" - -DEPEND=">=dev-libs/libgcrypt-1.1.91 - >=sys-apps/iproute2-2.6.19.20061214" - -pkg_setup() { - local CONFIG_CHECK="TUN" - check_extra_config -} - -src_unpack() { - unpack ${A} - cd "${S}" - # not needed anymore with releases >0.4.0 - epatch "${FILESDIR}"/${P}-build.patch -} - -src_install() { - emake PREFIX="/usr" DESTDIR="${D}" install || die "emake install failed" - dodoc README TODO VERSION - keepdir /var/run/vpnc - dobin pcf2vpnc - dobin cisco-decrypt - newinitd "${FILESDIR}/vpnc.init" vpnc -} - -pkg_postinst() { - elog "You can generate a configuration file from the original Cisco profiles of your" - elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file" - elog "A guide is to be found in http://www.gentoo.org/doc/en/vpnc-howto.xml" -} diff --git a/net-misc/vpnc/vpnc-0.4.0-r4.ebuild b/net-misc/vpnc/vpnc-0.4.0-r4.ebuild deleted file mode 100644 index c1964e51e94d..000000000000 --- a/net-misc/vpnc/vpnc-0.4.0-r4.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.4.0-r4.ebuild,v 1.1 2007/08/25 15:29:00 opfer Exp $ - -inherit eutils linux-info - -DESCRIPTION="Free client for Cisco VPN routing software" -HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" -SRC_URI="http://www.unix-ag.uni-kl.de/~massar/${PN}/${P}.tar.gz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -DEPEND=">=dev-libs/libgcrypt-1.1.91 - >=sys-apps/iproute2-2.6.19.20061214" - -pkg_setup() { - local CONFIG_CHECK="TUN" - check_extra_config -} - -src_unpack() { - unpack ${A} - cd "${S}" - # not needed anymore with releases >0.4.0 - epatch "${FILESDIR}"/${P}-build.patch -} - -src_install() { - emake PREFIX="/usr" DESTDIR="${D}" install || die "emake install failed" - dodoc README TODO VERSION - keepdir /var/run/vpnc - dobin pcf2vpnc - dobin cisco-decrypt - newinitd "${FILESDIR}/vpnc-1.init" vpnc - newconfd "${FILESDIR}/vpnc.confd" vpnc -} - -pkg_postinst() { - elog "You can generate a configuration file from the original Cisco profiles of your" - elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file" - elog "A guide is to be found in http://www.gentoo.org/doc/en/vpnc-howto.xml" -} diff --git a/net-misc/vpnc/vpnc-0.4.0.ebuild b/net-misc/vpnc/vpnc-0.4.0.ebuild deleted file mode 100644 index 2c2cfc256a37..000000000000 --- a/net-misc/vpnc/vpnc-0.4.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.4.0.ebuild,v 1.5 2007/03/03 14:08:01 beandog Exp $ - -DESCRIPTION="Free client for Cisco VPN routing software" -HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" -SRC_URI="http://www.unix-ag.uni-kl.de/~massar/${PN}/${P}.tar.gz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 ~sparc x86" -IUSE="" - -DEPEND=">=dev-libs/libgcrypt-1.1.91 - >=sys-apps/iproute2-2.6.19.20061214" - -src_compile() { - emake || die -} - -src_install() { - emake PREFIX="/usr" DESTDIR=${D} install || die - dodoc ChangeLog README TODO VERSION - keepdir /var/run/vpnc - dobin pcf2vpnc - doinitd ${FILESDIR}/vpnc -} diff --git a/net-misc/vpnc/vpnc-0.5.0.ebuild b/net-misc/vpnc/vpnc-0.5.0.ebuild deleted file mode 100644 index 4096163b4b16..000000000000 --- a/net-misc/vpnc/vpnc-0.5.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.0.ebuild,v 1.3 2007/08/31 22:03:10 opfer Exp $ - -inherit linux-info - -DESCRIPTION="Free client for Cisco VPN routing software" -HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" -SRC_URI="http://www.unix-ag.uni-kl.de/~massar/${PN}/${P}.tar.gz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="hybrid-auth bindist" - -DEPEND=">=dev-libs/libgcrypt-1.1.91 - >=sys-apps/iproute2-2.6.19.20061214 - !bindist? ( hybrid-auth? ( dev-libs/openssl ) )" - -RDEPEND="${DEPEND} - net-dns/resolvconf-gentoo" - -pkg_setup() { - if use hybrid-auth && use bindist; then - ewarn "Hybrid authentication will be disabled for this packages as you will" - ewarn "redistribute it in binary form. This is not allowed due to linking" - ewarn "of OpenSSL." - fi - local CONFIG_CHECK="TUN" - check_extra_config -} - -src_compile() { - # only allowed if not distributed in binary form! - if use hybrid-auth && ! use bindist; then - hybridauthopts="OPENSSL_GPL_VIOLATION=-DOPENSSL_GPL_VIOLATION OPENSSLLIBS=-lcrypto" - fi - emake ${hybridauthopts} || die "emake failed" -} - -src_install() { - emake PREFIX="/usr" DESTDIR="${D}" install || die "emake install failed" - dodoc README TODO VERSION - keepdir /var/run/vpnc - newinitd "${FILESDIR}/vpnc-1.init" vpnc - newconfd "${FILESDIR}/vpnc.confd" vpnc -} - -pkg_postinst() { - elog "You can generate a configuration file from the original Cisco profiles of your" - elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file" - elog "A guide is to be found in http://www.gentoo.org/doc/en/vpnc-howto.xml" -} |