From 21f0b14bfddda8a28ead9a69d067a3e1105a4ae8 Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Thu, 8 Jan 2009 08:36:29 +0000 Subject: clean up (Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r7 i686) --- net-misc/vpnc/ChangeLog | 6 +++- net-misc/vpnc/vpnc-0.5.1-r1.ebuild | 56 ------------------------------------ net-misc/vpnc/vpnc-0.5.1_p332.ebuild | 55 ----------------------------------- 3 files changed, 5 insertions(+), 112 deletions(-) delete mode 100644 net-misc/vpnc/vpnc-0.5.1-r1.ebuild delete mode 100644 net-misc/vpnc/vpnc-0.5.1_p332.ebuild (limited to 'net-misc/vpnc') diff --git a/net-misc/vpnc/ChangeLog b/net-misc/vpnc/ChangeLog index cf2b926497e0..3da78dc64fa0 100644 --- a/net-misc/vpnc/ChangeLog +++ b/net-misc/vpnc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/vpnc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.82 2009/01/07 14:40:07 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.83 2009/01/08 08:36:29 fauli Exp $ + + 08 Jan 2009; Christian Faulhammer + -vpnc-0.5.1-r1.ebuild, -vpnc-0.5.1_p332.ebuild: + clean up 07 Jan 2009; Brent Baude vpnc-0.5.3.ebuild: stable ppc64, bug 253233 diff --git a/net-misc/vpnc/vpnc-0.5.1-r1.ebuild b/net-misc/vpnc/vpnc-0.5.1-r1.ebuild deleted file mode 100644 index 9fb6567be3cd..000000000000 --- a/net-misc/vpnc/vpnc-0.5.1-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.1-r1.ebuild,v 1.8 2008/11/22 09:53:59 opfer 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="hybrid-auth bindist resolvconf" - -DEPEND=">=dev-libs/libgcrypt-1.1.91 - >=sys-apps/iproute2-2.6.19.20061214 - !bindist? ( hybrid-auth? ( dev-libs/openssl ) )" - -RDEPEND="${DEPEND} - resolvconf? ( net-dns/openresolv )" - -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 -} - -src_compile() { - # is reported upstream and fixed in next version - sed -e "s:/usr/local:/usr:" -i vpnc-script - # 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 -} - -src_install() { - emake PREFIX="/usr" DESTDIR="${D}" install || die - dodoc README TODO VERSION - keepdir /var/run/vpnc - keepdir /etc/vpnc/scripts.d - newinitd "${FILESDIR}/vpnc-2.init" vpnc - newconfd "${FILESDIR}/vpnc.confd" vpnc - # COPYING file resides here, should not be installed - rm -rf "${D}"/usr/share/doc/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" - echo - elog "Don't forget to turn on TUN support in the kernel." -} diff --git a/net-misc/vpnc/vpnc-0.5.1_p332.ebuild b/net-misc/vpnc/vpnc-0.5.1_p332.ebuild deleted file mode 100644 index b77ab08001bd..000000000000 --- a/net-misc/vpnc/vpnc-0.5.1_p332.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.1_p332.ebuild,v 1.3 2008/11/22 09:53:59 opfer Exp $ - -DESCRIPTION="Free client for Cisco VPN routing software" -HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="hybrid-auth bindist resolvconf" - -DEPEND=">=dev-libs/libgcrypt-1.1.91 - >=sys-apps/iproute2-2.6.19.20061214 - !bindist? ( hybrid-auth? ( dev-libs/openssl ) )" - -RDEPEND="${DEPEND} - resolvconf? ( net-dns/openresolv )" - -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 -} - -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 -} - -src_install() { - emake PREFIX="/usr" DESTDIR="${D}" install || die - dodoc README TODO VERSION - keepdir /var/run/vpnc - keepdir /etc/vpnc/scripts.d - newinitd "${FILESDIR}/vpnc-2.init" vpnc - newconfd "${FILESDIR}/vpnc.confd" vpnc - sed -e "s:/usr/local:/usr:" -i "${D}"/etc/vpnc/vpnc-script || die - # COPYING file resides here, should not be installed - rm -rf "${D}"/usr/share/doc/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" - echo - elog "Don't forget to turn on TUN support in the kernel." -} -- cgit v1.2.3-65-gdbad