Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93675 - cpm-0.13_beta.ebuild (new package)
Summary: cpm-0.13_beta.ebuild (new package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal normal with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://www.harry-b.de/dokuwiki/doku.p...
Whiteboard: sunrise suggested
Keywords: EBUILD
: 97912 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-23 05:11 UTC by Harry B.
Modified: 2018-06-11 18:52 UTC (History)
6 users (show)

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


Attachments
The ebuild file for the bug. (cpm-0.8_beta.ebuild,1.15 KB, text/plain)
2005-05-23 05:14 UTC, Harry B.
Details
current version of the ebuild file (cpm-0.13_beta.ebuild,1.26 KB, text/plain)
2005-07-05 05:47 UTC, Harry B.
Details
cpm-0.19_beta.ebuild (cpm-0.19_beta.ebuild,1.67 KB, text/plain)
2005-11-23 10:09 UTC, Perttu Luukko
Details
cpm-0.23_beta.ebuild (cpm-0.23_beta.ebuild,1.59 KB, text/plain)
2006-08-07 01:02 UTC, Urs Joss
Details
ebuild for ncurses 5 (cpm-0.23_beta.ebuild,1.60 KB, text/plain)
2008-02-01 21:37 UTC, Ed Wiget
Details
cpm-0.23_beta-r1.ebuild (cpm-0.23_beta-r1.ebuild,1.63 KB, text/plain)
2009-10-14 23:51 UTC, Alexander Tsoy
Details
fixed open() O_CREAT error (cpm-0.23_beta-r2.ebuild,1.38 KB, text/plain)
2009-11-13 03:14 UTC, netzmb
Details
fixed open() O_CREAT error (cpm-0.23_beta-ocreat.patch,813 bytes, patch)
2009-11-13 03:14 UTC, netzmb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Harry B. 2005-05-23 05:11:12 UTC
Hi there,

please find attached the ebuild package for the Console Password Manager (cpm).

This program is a small console tool to manage passwords and store them public key encrypted in a file - even for more than one person.  The encryption is handled via GnuPG so you can access the programs data via gpg as well, in case you want to have a look inside. The data is stored as XML so it's even possible to reuse the data for some other purpose.

I suggest 'app-admin' as group where it should be placed.

Thanks,
   Harry
Comment 1 Harry B. 2005-05-23 05:14:11 UTC
Created attachment 59625 [details]
The ebuild file for the bug.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-04 11:20:50 UTC
*** Bug 97912 has been marked as a duplicate of this bug. ***
Comment 3 Harry B. 2005-07-05 05:47:34 UTC
Created attachment 62660 [details]
current version of the ebuild file

updated version with fixed header.
Comment 4 Perttu Luukko 2005-11-23 10:09:24 UTC
Created attachment 73442 [details]
cpm-0.19_beta.ebuild
Comment 5 Miguel Angel Rasero Peral 2006-04-19 01:01:54 UTC
Hello all,

how can be out of cvs an ebuild so simple like this that get us (Gentoo Linux users) a new application in emerge. please add it.
I have installed in /usr/local/portage (thanks Harry_b!!) but i think this would be in cvs, thanks. 
Comment 6 Urs Joss 2006-08-07 01:02:36 UTC
Created attachment 93638 [details]
cpm-0.23_beta.ebuild

Most current release of cpm.

Changes in the ebuild:
- avoid sed in ebuild
- replaced spaces by tabs
Comment 7 Ricardo Matos 2006-09-27 08:11:58 UTC
Hi

I can't emerge cpm. It exits with the following error:

i686-pc-linux-gnu-gcc -O3 -mtune=i686 -fomit-frame-pointer -pipe -DFORCE_CDK_V4 -DCRACKLIB_DICTPATH='"/usr/lib/cracklib_dict"' -DGPGME_HAS_RECIPIENT  -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/include/gpgme -I/usr/include/libxml2 -std=c89 -pedantic -Wall -DLOCALEDIR='"/usr/share/locale"' -DCDK_VERSION_5 -c interface_utf8.c
interface_gui.c: In function `interfaceLoop':
interface_gui.c:1875: error: structure has no member named `preProcessFunction'
interface_gui.c:1877: error: structure has no member named `preProcessData'
make: *** [interface_gui.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: app-admin/cpm-0.23_beta failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  cpm-0.23_beta.ebuild, line 36:   Called die




Results fom 
emerge --info

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r9.config-2 i686)
=================================================================
System uname: 2.6.16-gentoo-r9.config-2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/terminfo"
CXXFLAGS="-O3 -mtune=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mir.zyrianes.net/gentoo/"
LANG="pt_PT@euro"
LC_ALL="pt_PT@euro"
LINGUAS="pt pt_PT en en_GB"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts branding bzip2 cairo cdr cli crypt ctype cups curl directfb dlloader dri dts eds encode esd expat fam firefox flac foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal howl imlib ipv6 isdnlog java jbig jpeg lcms libcaca libg++ libwww mad mbox mhash mmx mng mp3 mpeg mysql ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pda pdflib perl php png pppd python qt3 qt4 quicktime readline real reflection samba sdl session speex spell spl sse ssl svga symlink tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vorbis wddx win32codecs xml xmlrpc xmms xorg xscreensaver xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pt linguas_pt_PT linguas_en linguas_en_GB userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS(In reply to comment #6)
> Created an attachment (id=93638) [edit]
> cpm-0.23_beta.ebuild
> 
> Most current release of cpm.
> 
> Changes in the ebuild:
> - avoid sed in ebuild
> - replaced spaces by tabs
> 

(In reply to comment #6)
> Created an attachment (id=93638) [edit]
> cpm-0.23_beta.ebuild
> 
> Most current release of cpm.
> 
> Changes in the ebuild:
> - avoid sed in ebuild
> - replaced spaces by tabs
> 

Comment 8 Ed Wiget 2008-02-01 21:36:58 UTC
the error to bug #7 is due to the line in the ebuild - local myconf="--with-crack-dict=/usr/lib/cracklib_dict --with-cdk-v4" and you are probably uses ncurses version 5.  The fix is simply to change the line to local myconf="--with-crack-dict=/usr/lib/cracklib_dict --with-cdk-v5"  I have updated a new ebuild with the correction.  Works great on ~amd64
Comment 9 Ed Wiget 2008-02-01 21:37:53 UTC
Created attachment 142429 [details]
ebuild for ncurses 5
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-21 15:03:20 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 11 Alexander Tsoy 2009-10-14 23:51:56 UTC
Created attachment 207169 [details]
cpm-0.23_beta-r1.ebuild

Fix SRC_URI.
Comment 12 netzmb 2009-11-13 03:09:34 UTC
host ~ # emerge =app-admin/cpm-0.23_beta-r1
...
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=athlon64 -DCRACKLIB_DICTPATH='"/usr/lib/cracklib_dict"' -DGPGME_HAS_RECIPIENT  -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/include/gpgme -I/usr/include/libxml2 -std=c89 -pedantic -Wall -DLOCALEDIR='"/usr/share/locale"' -DCDK_VERSION_5 -c security.c
In function ‘open’,
    inlined from ‘initSecurity’ at security.c:498:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make: *** [security.o] Помилка 1
 *
 * ERROR: app-admin/cpm-0.23_beta-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2309:  Called die
 * The specific snippet of code:
 *       emake || die "compile problem"
 *  The die message:
 *   compile problem
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-admin/cpm-0.23_beta-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/cpm-0.23_beta-r1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *

>>> Failed to emerge app-admin/cpm-0.23_beta-r1

This bug like a http://bugs.gentoo.org/show_bug.cgi?id=232084

Bug fixed in attached files (cpm-0.23_beta-r2.ebuild, cpm-0.23_beta-ocreat.patch).

PS: as well as fixed few QA notices
Comment 13 netzmb 2009-11-13 03:14:15 UTC
Created attachment 210099 [details]
fixed open() O_CREAT error
Comment 14 netzmb 2009-11-13 03:14:51 UTC
Created attachment 210101 [details, diff]
fixed open() O_CREAT error