Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47689 Details for
Bug 76741
ipsec-tools uses kernel-headers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild correction, nocxx, ipv6, uclibc
ipsec-tools-0.4-ebuild.dif (text/plain), 1.30 KB, created by
Peter S. Mazinger
on 2005-01-05 02:31:31 UTC
(
hide
)
Description:
ebuild correction, nocxx, ipv6, uclibc
Filename:
MIME Type:
Creator:
Peter S. Mazinger
Created:
2005-01-05 02:31:31 UTC
Size:
1.30 KB
patch
obsolete
>--- /usr/portage/net-firewall/ipsec-tools/ipsec-tools-0.4.ebuild 2004-12-16 22:41:26 +0100 >+++ ipsec-tools-0.4.ebuild 2005-01-05 11:21:46 +0100 >@@ -10,7 +10,7 @@ > LICENSE="BSD" > KEYWORDS="~x86 ~amd64 ~sparc" > SLOT="0" >-IUSE="selinux" >+IUSE="ipv6 selinux" > DEPEND="virtual/libc > >=dev-libs/openssl-0.9.6" > RDEPEND="${DEPEND} >@@ -18,7 +18,7 @@ > > pkg_setup() { > my_KV=`echo ${KV} | cut -f-2 -d "."` >- if [ ${my_KV} != "2.6" ] ; then >+ if [ "${my_KV}" != "2.6" ] ; then > echo; eerror "You need a 2.6.x kernel to use the ipsec tools!"; die "You need a 2.6 kernel to use ipsec-tools!" > fi > } >@@ -27,11 +27,13 @@ > unpack ${A} > cd ${S} > epatch ${FILESDIR}/${P}-gcc34.diff >+ sed -i 's:#include <sys/sysctl.h>::' src/racoon/pfkey.c src/setkey/setkey.c || die "sed" >+ epunt_cxx > } > > src_compile() { > unset CC >- ./configure --prefix=/usr --sysconfdir=/etc --with-kernel-headers=/usr/src/linux/include || die >+ ./configure --prefix=/usr --sysconfdir=/etc --with-kernel-headers=/usr/src/linux/include $(use_enable ipv6) || die > sed -e 's:AM_CFLAGS = :AM_CFLAGS = -include /usr/src/linux/include/linux/compiler.h :' -i src/setkey/Makefile || die > sed -e 's:CPPFLAGS=:CPPFLAGS = -include /usr/src/linux/include/linux/compiler.h :' -i src/racoon/Makefile || die > sed -e 's:va_copy:__va_copy:g' -i src/racoon/plog.c || die # GCC 2 Fix
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 76741
: 47689 |
47709
|
58486