<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>173820</bug_id>
          
          <creation_ts>2007-04-09 01:03 0000</creation_ts>
          <short_desc>&gt;=x11-misc/basket-0.6.0 does not enable password protection of baskets (no USE=gpgme)</short_desc>
          <delta_ts>2007-04-10 19:31:25 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>punarbasu@gmail.com</reporter>
          <assigned_to>desktop-misc@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>punarbasu@gmail.com</who>
            <bug_when>2007-04-09 01:03:02 0000</bug_when>
            <thetext>Since version 0.6.0, x11-misc/basket has the capability of enabling locking of individual baskets (according to their changelog). However, this feature requires the packages gpgme and libgpg-error to be installed. In gentoo, if you do not have gpgme installed, then this capability of basket is not present.

Reproducible: Always

Steps to Reproduce:
1. Ensure that app-crypt/gpgme is not installed.
2. emerge -av basket
3. run basket

Actual Results:  
It does not provide any way of locking a basket with password protection.

Expected Results:  
It should have provided a way of password protecting individual baskets. Or at least the ebuild should have had a dependency on gpgme.

Untarring the basket-1.0.1 package and running 
./configure --without-arts
 gives me the following information at the end:

&lt;snip&gt;
 ====================================
 ===  BasKet Note Pads - WARNING  ===================================
 ====================================
 =
 = BasKet Note Pads requires gpgme version 1.0 and
 = libgpg-error version 1.0.
 = BasKet Note Pads will still be built, but there is no encryption.
 =
 = Packages you need to install if you want encryption:
 =  Suse:         gpgme-devel
 =  Kubuntu:      libgpgme11-dev
 =  Fedora Core:  gpgme-devel
 =  Mandriva:     libgpgme11-devel
 =  Gentoo:       app-crypt/gpgme
 =
&lt;/snip&gt;


It seems that there already exists a gpgme USE flag for mail-client/mutt.  Probably introducing such a USE flag for x11-misc/basket, and putting a DEPEND on &gt;=app-crypt/gpgme-1.0 would solve the problem. 

My emerge --info:
Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r4 i686)
=================================================================
System uname: 2.6.19-gentoo-r4 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 06 Apr 2007 18:00:09 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=athlon-xp -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-O2 -march=athlon-xp -fomit-frame-pointer -pipe -fvisibility-inlines-hidden&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu ftp://gentoo.mirrors.pair.com ftp://ftp.ndlug.nd.edu/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
LANG=&quot;en_US&quot;
LC_ALL=&quot;en_US.utf8&quot;
LDFLAGS=&quot;-Wl,-O1 -Wl,--sort-common -s&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/portage/local/layman/enlightenment /usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow 3dnowext X acl acpi alsa apache2 apm bash-completion berkdb bitmap-fonts bzip2 bzlib cairo cdr cli cracklib crypt cups curl curlwrappers dbus dri dvd dvdr encode fam fbcon flac foomaticdb gdbm gif glitz gpm gtk gtk2 hal iconv imap imlib isdnlog jpeg jpeg2k kdehiddenvisibility lcms ldap libg++ libwww mad midi mikmod mmap mmx mmx2 motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl pic png ppds pppd python qt3 quicktime readline reflection sdl session slp spl sse ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis x86 xcf xcomposite xml xorg xv zlib&quot; ALSA_CARDS=&quot;intel8x0&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nvidia nv&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>punarbasu@gmail.com</who>
            <bug_when>2007-04-09 01:29:31 0000</bug_when>
            <thetext>Created an attachment (id=115769)
new ebuild for x11-misc/basket-1.0.1

 diff -u basket-1.0.1.ebuild.old basket-1.0.1.ebuild

--- basket-1.0.1.ebuild.old	2007-04-08 21:20:04.000000000 -0400
+++ basket-1.0.1.ebuild	2007-04-08 21:26:04.000000000 -0400
@@ -4,7 +4,7 @@
 
 inherit kde
 
-IUSE=&quot;&quot;
+IUSE=&quot;gpgme&quot;
 
 DESCRIPTION=&quot;A DropDrawers clone. Multiple information organizer&quot;
 HOMEPAGE=&quot;http://basket.kde.org/&quot;
@@ -15,3 +15,6 @@
 KEYWORDS=&quot;~amd64 ~ppc ~x86&quot;
 
 need-kde 3.3
+
+DEPEND=&quot;gpgme? ( &gt;=app-crypt/gpgme-1.0 )&quot;
+RDEPEND=&quot;${DEPEND}&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>troll@gentoo.org</who>
            <bug_when>2007-04-10 18:26:21 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; It seems that there already exists a gpgme USE flag for mail-client/mutt. 
&gt; Probably introducing such a USE flag for x11-misc/basket, and putting a DEPEND
&gt; on &gt;=app-crypt/gpgme-1.0 would solve the problem. 
and it looks like this should be changed for &quot;crypt&quot; USE flag.

thx for info - I missed it in deps!

PS. need-kde x.y function have to be used _after_ local setting of DEPEND/RDEPEND vars, because of kde dependencies added during need-kde execution.

commiting in a sec...

Cheers,
Przemek</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>troll@gentoo.org</who>
            <bug_when>2007-04-10 19:31:25 0000</bug_when>
            <thetext>In CVS. Thx!

Cheers,
Przemek</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>115769</attachid>
            <date>2007-04-09 01:29 0000</date>
            <desc>new ebuild for x11-misc/basket-1.0.1</desc>
            <filename>basket-1.0.1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA3IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L3gxMS1taXNjL2Jhc2tldC9iYXNrZXQtMS4wLjEu
ZWJ1aWxkLHYgMS4xIDIwMDcvMDMvMjEgMjE6MDA6MjUgdHJvbGwgRXhwICQKCmluaGVyaXQga2Rl
CgpJVVNFPSJncGdtZSIKCkRFU0NSSVBUSU9OPSJBIERyb3BEcmF3ZXJzIGNsb25lLiBNdWx0aXBs
ZSBpbmZvcm1hdGlvbiBvcmdhbml6ZXIiCkhPTUVQQUdFPSJodHRwOi8vYmFza2V0LmtkZS5vcmcv
IgpTUkNfVVJJPSJodHRwOi8vYmFza2V0LmtkZS5vcmcvZG93bmxvYWRzLyR7UH0udGFyLmd6IgoK
U0xPVD0iMCIKTElDRU5TRT0iR1BMLTIiCktFWVdPUkRTPSJ+YW1kNjQgfnBwYyB+eDg2IgoKbmVl
ZC1rZGUgMy4zCgpERVBFTkQ9ImdwZ21lPyAoID49YXBwLWNyeXB0L2dwZ21lLTEuMCApIgpSREVQ
RU5EPSIke0RFUEVORH0iCg==
</data>        

          </attachment>
    </bug>

</bugzilla>