Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350107 - net-misc/openswan-2.6.31: drop -DKLIPS or drop false einfo() message
Summary: net-misc/openswan-2.6.31: drop -DKLIPS or drop false einfo() message
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
Depends on:
Reported: 2010-12-30 00:19 UTC by Martin Mokrejš
Modified: 2011-11-07 22:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2010-12-30 00:19:45 UTC
>>> Emerging (1 of 1) net-misc/openswan-2.6.31
 * openswan-2.6.31.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                        [ ok ]
 * Package:    net-misc/openswan-2.6.31
 * Repository: gentoo
 * Maintainer:
 * USE:        caps curl elibc_glibc kernel_linux pam ssl userland_GNU x86
 * FEATURES:   distcc nostrip sandbox splitdebug
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/
 * Found sources for kernel version:
 * This ebuild will set openswan-2.6.31 to use 2.6 native IPsec (KAME).
 * KLIPS will not be compiled/installed.
>>> Unpacking source...
>>> Unpacking openswan-2.6.31.tar.gz to /var/tmp/portage/net-misc/openswan-2.6.31/work
>>> Compiling source in /var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31 ...
make -j6 KERNELSRC=/usr/src/linux FINALEXAMPLECONFDIR=/usr/share/doc/openswan-2.6.31 INC_RCDEFAULT=/etc/init.d INC_USRLOCAL=/usr INC_MANDIR=share/man FINALDOCDIR=/usr/share/doc/openswan-2.6.31/html FINALLIBDIR=/usr/lib/ipsec DESTDIR=/var/tmp/portage/net-misc/openswan-2.6.31/image/ 'USERCOMPILE=-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb -fno-strict-aliasing' CC=i686-pc-linux-gnu-gcc USE_LIBCAP_NG=true USE_LIBCURL=true USE_LDAP=false USE_XAUTH=true USE_XAUTHPAM=true USE_LIBNSS=false HAVE_OPENSSL=true USE_EXTRACRYPTO=false USE_WEAKSTUFF=false USE_LWRES=false HAVE_THREADS=true programs 
make[3]: Entering directory `/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/OBJ.linux.x86/lib/libopenswan'
i686-pc-linux-gnu-gcc -O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb -fno-strict-aliasing  -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/ports/linux/include  -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/ports/linux/include  -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/ports/linux/include  -I. -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/linux/net/ipsec -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/linux/include -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31 -DDEBUG -DPFKEYV2 -DKLIPS  -DWITH_UDPFROMTO -DHAVE_IP_PKTINFO -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/include  -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/ports/linux/include  -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/ports/linux/include  -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/ports/linux/include  -O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb -fno-strict-aliasing  -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast  -DNAT_TRAVERSAL -DFINALCONFDIR=\"/etc\" -DFINALCONFDDIR=\"/etc/ipsec.d\" -DFINALCONFFILE=\"/etc/ipsec.conf\" -DFINALVARDIR=\"/var\" -DFINALLIBEXECDIR=\"/usr/libexec/ipsec\" -DFINALLIBDIR=\"/usr/lib/ipsec\" -DFINALSBINDIR=\"/usr/sbin\"   -c -o addrtoa.o /var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/linux/net/ipsec/addrtoa.c

arguments. I suspect it means KLIPS is "enabled" although the module itself would be compiled using "make KERNELSRC=/lib/modules/`uname -r`/build module".

Also, I am not sure if the CONFIG_CHECK checks in pkg_postinst() are sufficient.
Would anybody check that?
Comment 1 Martin Mokrejš 2010-12-30 00:20:19 UTC
# emerge --info
Portage (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r3, i686)
System uname: Linux-
Timestamp of tree: Wed, 29 Dec 2010 13:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python:     2.5.4-r4, 2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13::<unknown repository>, 2.68
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       3.3.6-r1, 4.2.4-r1, 4.3.5, 4.4.5, 4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers: (sys-kernel/linux-headers)
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Nero-EULA-US skype-eula AdobeFlash AdobeFlash-10 AdobeFlash-10.1"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb"
FEATURES="assume-digests binpkg-logs distcc distlocks fixlafiles fixpackages metadata-transfer news nostrip parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en cs cz"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage /home/mmokrejs/proj/sci"
USE="32bit 7zip R X Xaw3d a52 aac aalib ace acl acpi alsa amr amrnb amrwb apache audacious audiofile bash-completion bcmath berkdb blas bluetooth boost branding bzip2 cairo caps cblas cddb cdparanoia cdr cgi clamav cli colordiff compress consolekit cpio cracklib crypt cscope css ctype cups curl curlwrappers cxx dbi dbus dga dia directfb djbfft dri dts dv dvb dvd dvdr dvdread emboss emf enblend encode enscript exif expat faad fam fame fat fbcon ffmpeg fftw firefox flac flash fontconfig fortran fpx ftp gcj gd gdbm gdu ggi gif gimp gimpprint glibc-compat20 glibc-omitfp glut gmp gnuplot gnutls gpgme gphoto2 gpm graphviz gs gsl gsm gtk gtkhtml hal hdf hdf5 hp2xx i8x0 icc iconv icu id3 id3tag ieee1394 imagemagick imlib inifile innodb ithreads jack java javascript jbig jce jikes jpeg jpeg2k kdtree kerberos ladspa lame lapack laptop lcms leim libcaca libnotify libwww live lzo lzw mad maildir matroska mhash mikmod mime ming mjpeg mmap mmx mng mod_python modperl modplug modules motif mozilla moznoirc mp2 mp3 mp4 mpeg mpi mpi_njtree mpich2 mplayer mudflap mule musepack mxdatetime mysql mysqli nat ncurses netcdf netpbm network nls nntp nptl nptlonly nsplugin ntfs numeric objc ogg opengl openmp openssl pam pango pcmcia pcntl pcre pdf perl plotutils plugin png pnm policykit postproc postscript ppds pppd procmail pymol python qt3support qt4 quicktime rar raw readline recode reiserfs romio rpm samba sasl scanner scp sdl seamonkey server session sftp sift slp smime sndfile soap sockets spell sqlite srt sse sse2 ssl startup-notification static-libs subtitles subversion svg svgz sysfs sysvipc t1lib tcl tcpd theora threads tidy tiff tk transcode truetype udev unicode urandom usb userlocales utils uuencode v4l v4l2 vcd vhook vim-syntax vim-with-x vorbis wavpack wifi win32codecs wmf wxwindows x264 x86 xanim xcb xcf xfs xft xinerama xinetd xml xorg xpm xsl xslt xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="intel-8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dbd deflate dir disk_cache env expires ext_filter file_cache filter headers icu ident imagemap include info log_config mem_cache mime mime_magic rewrite setenvif speling status unique_id userdir usertrack vhost_alias negotiation" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 

Comment 2 Alin Năstac (RETIRED) gentoo-dev 2011-11-07 22:02:16 UTC
einfo has been removed in openswan-2.6.37