Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 144982 Details for
Bug 211938
net-misc/strongswan-4.1.11 version bump with manager inferface
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
first 4.1.11 ebuild
strongswan-4.1.11.ebuild (text/plain), 2.73 KB, created by
Norbert Marx
on 2008-03-01 01:20:28 UTC
(
hide
)
Description:
first 4.1.11 ebuild
Filename:
MIME Type:
Creator:
Norbert Marx
Created:
2008-03-01 01:20:28 UTC
Size:
2.73 KB
patch
obsolete
># 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.9.ebuild,v 1.1 2007/12/16 14:32:49 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 ~amd64" >IUSE="cisco curl debug ldap manager 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 ) > ldap? ( net-nds/openldap ) > smartcard? ( dev-libs/opensc ) > xml? ( dev-libs/libxml2 manager? ( www-apache/mod_fastcgi dev-libs/fcgi dev-libs/clearsilver ))" >RDEPEND="${COMMON_DEPEND} > virtual/logger > sys-apps/iproute2" > >src_unpack() { > unpack ${A} > cd "${S}" > > epatch "${FILESDIR}"/ipsec-install-${PV}.patch >} > >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 > > # change to an unprivileged user by default > enewgroup ${UGID} > enewuser ${UGID} -1 -1 -1 ${UGID} >} > >src_compile() { > local myconf="" > > # 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 > myconf="${myconf} --enable-static --disable-shared" > else > myconf="${myconf} --disable-static --enable-shared" > fi > > if (use xml) && (use manager); then > myconf="${myconf} --enable-manager" > fi > > econf \ > $(use_enable curl http) \ > $(use_enable ldap) \ > $(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 > einfo "IMPORTANT FOR SECURITY: if you have the manager enabled read now" > einfo "http://wiki.strongswan.org/wiki/Manager" > echo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 211938
: 144982 |
144983