| Summary: | gnupg 1.9.15 won't emerge with USE=smartcard | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Benjamin Smee (strerror) (RETIRED) <strerror> |
| Component: | New packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | stian |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Other | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | gnupg-1.9.15-r1.ebuild.patch | ||
|
Description
Benjamin Smee (strerror) (RETIRED)
2005-06-13 02:24:35 UTC
[~]# emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.12-rc5-suspend2-r4disciplina i686) ================================================================= System uname: 2.6.12-rc5-suspend2-r4disciplina i686 Intel(R) Pentium(R) M processor 1.20GHz Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 24 2005, 14:28:33)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium-m -fomit-frame-pointer -pipe -O3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium-m -fomit-frame-pointer -pipe -O3" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache collision-protect cvs digest distlocks sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo http://gentoo.osuosl.org http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/opt/gentoo/gentoo-x86 /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X X509 aac accounting acl acpi alsa apache2 async avi bash-completion bdf berkdb bidi bigger-fonts bindist bzip2 bzlib cap caps ccache cdda cddb cdinstall cdio cdparanoia cdr chroot cjk cracklib crypt cscope css cups curl dbm dbus directfb divx4linux dts dv dvb dvd dvdr dvdread ecc edl elf encode ethereal fam fb fbcon ffmpeg flac flash foomaticdb fortran fping freetype gd gdbm gif gmp gpgme gpm gps gtk gtk2 hal icq idea ieee1394 imagemagick imap imlib ipv6 jabber java javascript jce jpeg kde lame latex lcd ldap libg++ libwww lm_sensors lmtp logitech-mouse logrotate mad maildir memlimit messages mha mhash mikmod mime mmap mmx mng mp3 mp4live mpeg mpeg2 mpeg4 mplayer mysql mysqli mythtv ncurses nls no-old-linux nocd nptl offensive ogg openal opengl openssl pam parse-clocks pcap pcapnav pcmcia pcre pda pdf pdflib perforce perl png pnp posix pwdb python qt quicktime quotas rar readline real recode reiserfs sasl sdl sftp sftplogging sguil skey smartcard smime snmp spell sql sse ssl subversion svga tcltk tcpd threads tiff transcode truetype truetype-fonts ttcp type1-fonts ucs2 unicode usb utf8 vcd vim-pager vim-with-x xchattext xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS Created attachment 61145 [details, diff]
gnupg-1.9.15-r1.ebuild.patch
Here's the patch for the current -r1 ebuild. This basically adds a sed and
does some autoregen.sh voodoo. However, since it's using openct instead of
pcsc-lite, you'll have to do something like this:
scdaemon --ctapi-driver libopenct.so --other-options
to choose the ctapi driver over the pcsc driver. That should be the only place
it will effect. I've tested it a little and appears to work ok.. might need
more testing.
this is a dupe btw (original bug-report not closed yet as of time of writing) http://bugs.gentoo.org/show_bug.cgi?id=67656 please commit if confortable with solution. |