diff options
Diffstat (limited to 'net-misc/cipe/cipe-1.5.4.ebuild')
-rw-r--r-- | net-misc/cipe/cipe-1.5.4.ebuild | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/net-misc/cipe/cipe-1.5.4.ebuild b/net-misc/cipe/cipe-1.5.4.ebuild deleted file mode 100644 index 89298c145be2..000000000000 --- a/net-misc/cipe/cipe-1.5.4.ebuild +++ /dev/null @@ -1,76 +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/cipe/cipe-1.5.4.ebuild,v 1.8 2007/04/28 16:51:27 swegener Exp $ - -inherit eutils - -CIPE_TEXINFO="${PN}-1.5.1.texinfo" - -DESCRIPTION="Cryptographic IP tunneling daemon/module" -HOMEPAGE="http://sites.inka.de/bigred/devel/cipe.html" -SRC_URI="http://sites.inka.de/bigred/sw/${P}.tar.gz - http://sites.inka.de/bigred/sw/${CIPE_TEXINFO}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~x86" -IUSE="ssl" - -RDEPEND="virtual/libc - ssl? ( >=dev-libs/openssl-0.9.6 )" - -DEPEND="${RDEPEND} - virtual/linux-sources" - -src_unpack() { - unpack ${A} - - cp ${DISTDIR}/${CIPE_TEXINFO} ${S}/${PN}.texinfo - - epatch ${FILESDIR}/${P}-gentoo.patch -} - -src_compile() { - local myconf="" - - use ssl \ - && myconf="${myconf} --enable-pkcipe" \ - || myconf="${myconf} --disable-pkcipe" - - # A custom use flag for bug compatability mode - # Do we need this? - #use cipebc && myconf="${myconf} --enable-bug-compatible" - - econf ${myconf} || die - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - - insinto /etc/cipe - insopts -m755 - doins samples/ip-{up,down} - insopts -m600 - doins samples/options - - newinitd ${FILESDIR}/init.d-ciped ciped - - - dodoc README* CHANGES COPYING tcpdump.patch - dodoc samples/{ip-{up,down},options} -} - -pkg_postinst() { - if [ -f /usr/bin/rsa-keygen ] && [ ! -f /etc/cipe/identity.priv ] - then - ebegin "Generating new identity (host) key" - emsg="`rsa-keygen /etc/cipe/identity 2>&1`" - eend $? $emsg - fi - - [[ ${ROOT} == / ]] && /sbin/modules-update - - echo - einfo "For info on configuring cipe, do 'info cipe'" -} |