* [gentoo-commits] gentoo-x86 commit in net-misc/openconnect: metadata.xml ChangeLog openconnect-3.11.ebuild
@ 2011-08-16 9:15 Robert Piasek (dagger)
0 siblings, 0 replies; only message in thread
From: Robert Piasek (dagger) @ 2011-08-16 9:15 UTC (permalink / raw
To: gentoo-commits
dagger 11/08/16 09:15:47
Added: metadata.xml ChangeLog openconnect-3.11.ebuild
Log:
Add OpenConnect 3.11
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Revision Changes Path
1.1 net-misc/openconnect/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openconnect/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openconnect/metadata.xml?rev=1.1&content-type=text/plain
Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>dagger@gentoo.org</email>
<name>Robert Piasek</name>
</maintainer>
</pkgmetadata>
1.1 net-misc/openconnect/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openconnect/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openconnect/ChangeLog?rev=1.1&content-type=text/plain
Index: ChangeLog
===================================================================
# ChangeLog for net-misc/openconnect
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/openconnect/ChangeLog,v 1.1 2011/08/16 09:15:47 dagger Exp $
*openconnect-3.11 (16 Aug 2011)
16 Aug 2011; Robert Piasek <dagger@gentoo.org> +openconnect-3.11.ebuild,
+files/openconnect.conf.in, +files/openconnect.init.in:
Add OpenConnect 3.11
1.1 net-misc/openconnect/openconnect-3.11.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openconnect/openconnect-3.11.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openconnect/openconnect-3.11.ebuild?rev=1.1&content-type=text/plain
Index: openconnect-3.11.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/openconnect/openconnect-3.11.ebuild,v 1.1 2011/08/16 09:15:47 dagger Exp $
EAPI=4
inherit eutils linux-info
DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software"
HOMEPAGE="http://www.infradead.org/openconnect.html"
SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz
http://dev.gentoo.org/~dagger/files/openconnect-script"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
DEPEND="dev-libs/openssl
dev-libs/libxml2
net-libs/libproxy"
RDEPEND="${DEPEND}
sys-apps/iproute2"
tun_tap_check() {
ebegin "Checking for TUN/TAP support"
if { ! linux_chkconfig_present TUN; }; then
eerror "Please enable TUN/TAP support in your kernel config, found at:"
eerror
eerror " Device Drivers --->"
eerror " [*] Network device support --->"
eerror " <*> Universal TUN/TAP device driver support"
eerror
eerror "and recompile your kernel ..."
die "no CONFIG_TUN support detected!"
fi
eend $?
}
pkg_setup() {
if use kernel_linux; then
get_version
if linux_config_exists; then
tun_tap_check
else
ewarn "Was unable to determine your kernel .config"
ewarn "Please note that OpenConnect requires CONFIG_TUN to be set in your kernel .config, Without it, it will not work correctly."
## We don't die here, so it's possible to compile this package without kernel sources available. Required for cross-compilation.
fi
fi
}
src_configure() {
ECONF="$(use_enable static-libs static)"
econf ${ECONF}
}
src_install() {
emake DESTDIR="${D}" install || die "Faild to install"
dodoc AUTHORS TODO
dohtml ${PN}.html
newinitd "${FILESDIR}"/openconnect.init.in openconnect
dodir "/etc/openconnect"
insinto "/etc/openconnect"
newconfd "${FILESDIR}"/openconnect.conf.in openconnect
exeinto "/etc/openconnect"
newexe "${DISTDIR}/"openconnect-script openconnect.sh
# Remove useless .la files
find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-16 9:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-16 9:15 [gentoo-commits] gentoo-x86 commit in net-misc/openconnect: metadata.xml ChangeLog openconnect-3.11.ebuild Robert Piasek (dagger)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox