Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173820 - >=x11-misc/basket-0.6.0 does not enable password protection of baskets (no USE=gpgme)
Summary: >=x11-misc/basket-0.6.0 does not enable password protection of baskets (no US...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-09 01:03 UTC by P Purkayastha
Modified: 2007-04-10 19:31 UTC (History)
0 users

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


Attachments
new ebuild for x11-misc/basket-1.0.1 (basket-1.0.1.ebuild,529 bytes, text/plain)
2007-04-09 01:29 UTC, P Purkayastha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description P Purkayastha 2007-04-09 01:03:02 UTC
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:

<snip>
 ====================================
 ===  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
 =
</snip>


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 >=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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu ftp://gentoo.mirrors.pair.com ftp://ftp.ndlug.nd.edu/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--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-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="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" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 P Purkayastha 2007-04-09 01:29:31 UTC
Created attachment 115769 [details]
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=""
+IUSE="gpgme"
 
 DESCRIPTION="A DropDrawers clone. Multiple information organizer"
 HOMEPAGE="http://basket.kde.org/"
@@ -15,3 +15,6 @@
 KEYWORDS="~amd64 ~ppc ~x86"
 
 need-kde 3.3
+
+DEPEND="gpgme? ( >=app-crypt/gpgme-1.0 )"
+RDEPEND="${DEPEND}"
Comment 2 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-04-10 18:26:21 UTC
(In reply to comment #0)
> 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 >=app-crypt/gpgme-1.0 would solve the problem. 
and it looks like this should be changed for "crypt" 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
Comment 3 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-04-10 19:31:25 UTC
In CVS. Thx!

Cheers,
Przemek