public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/strongswan: ChangeLog strongswan-4.1.6.ebuild
@ 2007-10-02  1:29 Lars Weiler (pylon)
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Weiler (pylon) @ 2007-10-02  1:29 UTC (permalink / raw
  To: gentoo-commits

pylon       07/10/02 01:29:56

  Modified:             ChangeLog
  Added:                strongswan-4.1.6.ebuild
  Log:
  Major version bump.  Could only test on x86 and ppc.
  (Portage version: 2.1.3.11)

Revision  Changes    Path
1.56                 net-misc/strongswan/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.56&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.56&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.55&r2=1.56

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- ChangeLog	31 May 2007 11:56:03 -0000	1.55
+++ ChangeLog	2 Oct 2007 01:29:55 -0000	1.56
@@ -1,6 +1,11 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.55 2007/05/31 11:56:03 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.56 2007/10/02 01:29:55 pylon Exp $
+
+*strongswan-4.1.6 (02 Oct 2007)
+
+  02 Oct 2007; Lars Weiler <pylon@gentoo.org> +strongswan-4.1.6.ebuild:
+  Major version bump.  Could only test on x86 and ppc.
 
 *strongswan-2.8.4 (31 May 2007)
 



1.1                  net-misc/strongswan/strongswan-4.1.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.1.6.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.1.6.ebuild?rev=1.1&content-type=text/plain

Index: strongswan-4.1.6.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-4.1.6.ebuild,v 1.1 2007/10/02 01:29:55 pylon Exp $

inherit eutils linux-info

UGID="ipsec"

DESCRIPTION="Open Source implementation of IPsec for the Linux operating system."
HOMEPAGE="http://www.strongswan.org/"
SRC_URI="http://download.strongswan.org/${P}.tar.bz2"

LICENSE="GPL-2 RSA-MD2 RSA-MD5 RSA-PKCS11 DES"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE="cisco curl dbus debug ldap nat smartcard static xml"

COMMON_DEPEND="!net-misc/openswan
	dev-libs/gmp"
DEPEND="${COMMON_DEPEND}
	virtual/linux-sources
	sys-kernel/linux-headers
	curl? ( net-misc/curl )
	dbus? ( sys-apps/dbus net-misc/networkmanager )
	ldap? ( net-nds/openldap )
	smartcard? ( dev-libs/opensc )
	xml? ( dev-libs/libxml2 )"
RDEPEND="${COMMON_DEPEND}
	virtual/logger
	sys-apps/iproute2"

pkg_setup() {
	linux-info_pkg_setup

	einfo "Linux kernel is version ${KV_FULL}"

	if kernel_is 2 6; then
		einfo "This ebuild will set ${P} to use 2.6 native IPsec (KAME)."
	else
		eerror "Sorry, no support for your kernel version ${KV_FULL}."
		die "Install an IPsec enabled 2.6 kernel."
	fi

	# install strongswan non-root by default
	enewgroup ${UGID}
	enewuser ${UGID} -1 -1 -1 ${UGID}
}

src_compile() {
	local myconf=""

	# change to an unauthorised user by default
	myconf="${myconf} --with-uid=$(id -u ${UGID}) --with-gid=$(id -g ${UGID})"
	# strongswan enables both by default; switch to the user's wish
	if use static; then
		myconf="${myconf} --enable-static --disable-shared"
	else
		myconf="${myconf} --disable-static --enable-shared"
	fi

	econf \
		$(use_enable curl http) \
		$(use_enable ldap) \
		$(use_enable dbus) \
		$(use_enable xml) \
		$(use_enable smartcard) \
		$(use_enable cisco cisco-quirks) \
		$(use_enable debug leak-detective) \
		$(use_enable nat nat-transport) \
		${myconf} \
		|| die "econf failed"

	emake || die "emake failed"
}

src_install() {
	einstall || die "einstall failed."

	doinitd "${FILESDIR}"/ipsec
}

pkg_postinst() {
	echo
	ewarn "Starting with the strongswan-4 branch, the configuration files"
	ewarn "will be installed into the default directory \"/etc/\""
	ewarn "instead of the Gentoo-specific directory \"/etc/ipsec/\"."
	ewarn "Please adjust your configuration!"
	echo
	einfo "The up-to-date configuration manual is available online at"
	einfo "http://www.strongswan.org/docs/readme.htm"
	echo
}



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-misc/strongswan: ChangeLog strongswan-4.1.6.ebuild
@ 2007-10-08 17:50 Lars Weiler (pylon)
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Weiler (pylon) @ 2007-10-08 17:50 UTC (permalink / raw
  To: gentoo-commits

pylon       07/10/08 17:50:52

  Modified:             ChangeLog strongswan-4.1.6.ebuild
  Log:
  Removed experimental dbus/networkmanager-support.
  (Portage version: 2.1.3.12)

Revision  Changes    Path
1.57                 net-misc/strongswan/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.57&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?rev=1.57&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/ChangeLog?r1=1.56&r2=1.57

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- ChangeLog	2 Oct 2007 01:29:55 -0000	1.56
+++ ChangeLog	8 Oct 2007 17:50:51 -0000	1.57
@@ -1,6 +1,9 @@
 # ChangeLog for net-misc/strongswan
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.56 2007/10/02 01:29:55 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/ChangeLog,v 1.57 2007/10/08 17:50:51 pylon Exp $
+
+  08 Oct 2007; Lars Weiler <pylon@gentoo.org> strongswan-4.1.6.ebuild:
+  Removed experimental dbus/networkmanager-support.
 
 *strongswan-4.1.6 (02 Oct 2007)
 



1.2                  net-misc/strongswan/strongswan-4.1.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.1.6.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.1.6.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/strongswan/strongswan-4.1.6.ebuild?r1=1.1&r2=1.2

Index: strongswan-4.1.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-4.1.6.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- strongswan-4.1.6.ebuild	2 Oct 2007 01:29:55 -0000	1.1
+++ strongswan-4.1.6.ebuild	8 Oct 2007 17:50:51 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-4.1.6.ebuild,v 1.1 2007/10/02 01:29:55 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-4.1.6.ebuild,v 1.2 2007/10/08 17:50:51 pylon Exp $
 
 inherit eutils linux-info
 
@@ -13,7 +13,7 @@
 LICENSE="GPL-2 RSA-MD2 RSA-MD5 RSA-PKCS11 DES"
 SLOT="0"
 KEYWORDS="~ppc ~x86"
-IUSE="cisco curl dbus debug ldap nat smartcard static xml"
+IUSE="cisco curl debug ldap nat smartcard static xml"
 
 COMMON_DEPEND="!net-misc/openswan
 	dev-libs/gmp"
@@ -21,7 +21,6 @@
 	virtual/linux-sources
 	sys-kernel/linux-headers
 	curl? ( net-misc/curl )
-	dbus? ( sys-apps/dbus net-misc/networkmanager )
 	ldap? ( net-nds/openldap )
 	smartcard? ( dev-libs/opensc )
 	xml? ( dev-libs/libxml2 )"
@@ -41,7 +40,7 @@
 		die "Install an IPsec enabled 2.6 kernel."
 	fi
 
-	# install strongswan non-root by default
+	# change to an unprivileged user by default
 	enewgroup ${UGID}
 	enewuser ${UGID} -1 -1 -1 ${UGID}
 }
@@ -49,7 +48,7 @@
 src_compile() {
 	local myconf=""
 
-	# change to an unauthorised user by default
+	# change to an unprivileged user by default
 	myconf="${myconf} --with-uid=$(id -u ${UGID}) --with-gid=$(id -g ${UGID})"
 	# strongswan enables both by default; switch to the user's wish
 	if use static; then
@@ -61,7 +60,6 @@
 	econf \
 		$(use_enable curl http) \
 		$(use_enable ldap) \
-		$(use_enable dbus) \
 		$(use_enable xml) \
 		$(use_enable smartcard) \
 		$(use_enable cisco cisco-quirks) \



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-08 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 17:50 [gentoo-commits] gentoo-x86 commit in net-misc/strongswan: ChangeLog strongswan-4.1.6.ebuild Lars Weiler (pylon)
  -- strict thread matches above, loose matches on Subject: below --
2007-10-02  1:29 Lars Weiler (pylon)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox