* [gentoo-commits] gentoo-x86 commit in net-firewall/ipsec-tools: ChangeLog ipsec-tools-0.8.0-r2.ebuild
@ 2012-03-06 0:12 Anthony G. Basile (blueness)
0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile (blueness) @ 2012-03-06 0:12 UTC (permalink / raw
To: gentoo-commits
blueness 12/03/06 00:12:41
Modified: ChangeLog
Added: ipsec-tools-0.8.0-r2.ebuild
Log:
Use system linux header files rather than those in /usr/src/linux
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Revision Changes Path
1.85 net-firewall/ipsec-tools/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipsec-tools/ChangeLog?rev=1.85&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipsec-tools/ChangeLog?rev=1.85&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipsec-tools/ChangeLog?r1=1.84&r2=1.85
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ChangeLog,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- ChangeLog 4 Mar 2012 18:18:27 -0000 1.84
+++ ChangeLog 6 Mar 2012 00:12:41 -0000 1.85
@@ -1,6 +1,12 @@
# ChangeLog for net-firewall/ipsec-tools
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ChangeLog,v 1.84 2012/03/04 18:18:27 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ChangeLog,v 1.85 2012/03/06 00:12:41 blueness Exp $
+
+*ipsec-tools-0.8.0-r2 (06 Mar 2012)
+
+ 06 Mar 2012; Anthony G. Basile <blueness@gentoo.org>
+ +ipsec-tools-0.8.0-r2.ebuild, +files/ipsec-tools-system-kernel-headers.patch:
+ Use system linux header files rather than those in /usr/src/linux.
04 Mar 2012; Anthony G. Basile <blueness@gentoo.org>
ipsec-tools-0.8.0-r1.ebuild:
1.1 net-firewall/ipsec-tools/ipsec-tools-0.8.0-r2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipsec-tools/ipsec-tools-0.8.0-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipsec-tools/ipsec-tools-0.8.0-r2.ebuild?rev=1.1&content-type=text/plain
Index: ipsec-tools-0.8.0-r2.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ipsec-tools-0.8.0-r2.ebuild,v 1.1 2012/03/06 00:12:41 blueness Exp $
EAPI="4"
inherit eutils flag-o-matic autotools linux-info pam
DESCRIPTION="A port of KAME's IPsec utilities to the Linux-2.6 IPsec implementation"
HOMEPAGE="http://ipsec-tools.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="rc5 idea kerberos stats ipv6 nat selinux readline pam hybrid ldap"
RDEPEND="
kerberos? ( virtual/krb5 )
selinux? (
sys-libs/libselinux
sec-policy/selinux-ipsec-tools
)
readline? ( sys-libs/readline )
pam? ( sys-libs/pam )
ldap? ( net-nds/openldap )
dev-libs/openssl
virtual/libiconv"
# iconv? ( virtual/libiconv )
# radius? ( net-dialup/gnuradius )
DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-2.6.30"
pkg_setup() {
linux-info_pkg_setup
get_version
if linux_config_exists && kernel_is -ge 2 6 19; then
ewarn
ewarn "\033[1;33m**************************************************\033[1;33m"
ewarn
ewarn "Checking kernel configuration in /usr/src/linux or"
ewarn "or /proc/config.gz for compatibility with ${PN}."
ewarn
ewarn "WARNING: If your *configured* and *running* kernel"
ewarn "differ either now or in the future, then these checks"
ewarn "may lead to misleading results."
# Check options for all flavors of IPSec
local msg=""
for i in XFRM_USER NET_KEY; do
if ! linux_chkconfig_present ${i}; then
msg="${msg} ${i}"
fi
done
if [[ ! -z "$msg" ]]; then
ewarn
ewarn "ALL IPSec may fail. CHECK:"
ewarn "${msg}"
fi
# Check unencrypted IPSec
if ! linux_chkconfig_present CRYPTO_NULL; then
ewarn
ewarn "Unencrypted IPSec may fail. CHECK:"
ewarn " CRYPTO_NULL"
fi
# Check IPv4 IPSec
msg=""
for i in \
INET_IPCOMP INET_AH INET_ESP \
INET_XFRM_MODE_TRANSPORT \
INET_XFRM_MODE_TUNNEL \
INET_XFRM_MODE_BEET
do
if ! linux_chkconfig_present ${i}; then
msg="${msg} ${i}"
fi
done
if [[ ! -z "$msg" ]]; then
ewarn
ewarn "IPv4 IPSec may fail. CHECK:"
ewarn "${msg}"
fi
# Check IPv6 IPSec
if use ipv6; then
msg=""
for i in INET6_IPCOMP INET6_AH INET6_ESP \
INET6_XFRM_MODE_TRANSPORT \
INET6_XFRM_MODE_TUNNEL \
INET6_XFRM_MODE_BEET
do
if ! linux_chkconfig_present ${i}; then
msg="${msg} ${i}"
fi
done
if [[ ! -z "$msg" ]]; then
ewarn
ewarn "IPv6 IPSec may fail. CHECK:"
ewarn "${msg}"
fi
fi
# Check IPSec behind NAT
if use nat; then
if ! linux_chkconfig_present NETFILTER_XT_MATCH_POLICY; then
ewarn
ewarn "IPSec behind NAT may fail. CHECK:"
ewarn " NETFILTER_XT_MATCH_POLICY"
fi
fi
ewarn
ewarn "\033[1;33m**************************************************\033[1;33m"
ewarn
else
eerror
eerror "\033[1;31m**************************************************\033[1;31m"
eerror "Make sure that your *running* kernel is/will be >=2.6.19."
eerror "Building ${PN} now, assuming that you know what you're doing."
eerror "\033[1;31m**************************************************\033[1;31m"
eerror
fi
}
src_prepare() {
# fix for bug #76741
sed -i 's:#include <sys/sysctl.h>::' src/racoon/pfkey.c src/setkey/setkey.c || die
# fix for bug #124813
sed -i 's:-Werror::g' "${S}"/configure.ac || die
# fix for building with gcc-4.6
sed -i 's: -R: -Wl,-R:' "${S}"/configure.ac || die
epatch "${FILESDIR}/${PN}-def-psk.patch"
epatch "${FILESDIR}/${PN}-include-vendoridh.patch"
epatch "${FILESDIR}/${PN}-system-kernel-headers.patch"
AT_M4DIR="${S}" eautoreconf
epunt_cxx
}
src_configure() {
# fix for bug #61025
filter-flags -march=c3
local myconf
myconf="--with-kernel-headers=/usr/include \
--enable-adminport \
--enable-frag \
--enable-dpd \
--enable-dependency-tracking \
$(use_enable rc5) \
$(use_enable idea) \
$(use_enable kerberos gssapi) \
$(use_enable stats) \
$(use_enable ipv6) \
$(use_enable nat natt) \
$(use_enable selinux security-context) \
$(use_with readline) \
$(use_with pam libpam) \
$(use_with ldap libldap)"
use nat && myconf="${myconf} --enable-natt-versions=yes"
# enable mode-cfg and xauth support
if use pam; then
myconf="${myconf} --enable-hybrid"
else
myconf="${myconf} $(use_enable hybrid)"
fi
# dev-libs/libiconv is hard masked
#use iconv && myconf="${myconf} $(use_with iconv libiconv)"
# the default (/usr/include/openssl/) is OK for Gentoo, leave it
# myconf="${myconf} $(use_with ssl openssl )"
# No way to get it compiling with freeradius or gnuradius
# We would need libradius which only exists on FreeBSD
# See bug #77369
#myconf="${myconf} --enable-samode-unspec"
econf ${myconf}
}
src_install() {
emake DESTDIR="${D}" install
keepdir /var/lib/racoon
newconfd "${FILESDIR}"/racoon.conf.d racoon
newinitd "${FILESDIR}"/racoon.init.d racoon
use pam && newpamd "${FILESDIR}"/racoon.pam.d racoon
dodoc ChangeLog README NEWS
dodoc -r src/racoon/samples
dodoc -r src/racoon/doc
docinto setkey
dodoc src/setkey/sample.cf
dodir /etc/racoon
}
pkg_postinst() {
if use nat; then
elog
elog "You have enabled the nat traversal functionnality."
elog "Nat versions wich are enabled by default are 00,02,rfc"
elog "you can find those drafts in the CVS repository:"
elog "cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot co ipsec-tools"
elog
elog "If you feel brave enough and you know what you are"
elog "doing, you can consider emerging this ebuild with"
elog "EXTRA_ECONF=\"--enable-natt-versions=08,07,06\""
elog
fi
if use ldap; then
elog
elog "You have enabled ldap support with {$PN}."
elog "The man page does NOT contain any information on it yet."
elog "Consider using a more recent version or CVS."
elog
fi
elog
elog "Please have a look in /usr/share/doc/${P} and visit"
elog "http://www.netbsd.org/Documentation/network/ipsec/"
elog "to find more information on how to configure this tool."
elog
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-firewall/ipsec-tools: ChangeLog ipsec-tools-0.8.0-r2.ebuild
@ 2012-03-08 12:06 Anthony G. Basile (blueness)
0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile (blueness) @ 2012-03-08 12:06 UTC (permalink / raw
To: gentoo-commits
blueness 12/03/08 12:06:50
Modified: ChangeLog
Removed: ipsec-tools-0.8.0-r2.ebuild
Log:
Remove poor approach to kernel headers
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Revision Changes Path
1.88 net-firewall/ipsec-tools/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipsec-tools/ChangeLog?rev=1.88&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipsec-tools/ChangeLog?rev=1.88&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/ipsec-tools/ChangeLog?r1=1.87&r2=1.88
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ChangeLog,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- ChangeLog 8 Mar 2012 12:03:24 -0000 1.87
+++ ChangeLog 8 Mar 2012 12:06:50 -0000 1.88
@@ -1,6 +1,10 @@
# ChangeLog for net-firewall/ipsec-tools
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ChangeLog,v 1.87 2012/03/08 12:03:24 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ChangeLog,v 1.88 2012/03/08 12:06:50 blueness Exp $
+
+ 08 Mar 2012; Anthony G. Basile <blueness@gentoo.org>
+ -ipsec-tools-0.8.0-r2.ebuild, -files/ipsec-tools-system-kernel-headers.patch:
+ Remove poor approach to kernel headers
*ipsec-tools-0.8.0-r3 (08 Mar 2012)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-08 12:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 12:06 [gentoo-commits] gentoo-x86 commit in net-firewall/ipsec-tools: ChangeLog ipsec-tools-0.8.0-r2.ebuild Anthony G. Basile (blueness)
-- strict thread matches above, loose matches on Subject: below --
2012-03-06 0:12 Anthony G. Basile (blueness)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox