Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6864 - bug in qpopper-4.0.4.ebuild
Summary: bug in qpopper-4.0.4.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: José Alberto Suárez López
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-21 20:39 UTC by Pau Oliva
Modified: 2002-08-26 01:13 UTC (History)
2 users (show)

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


Attachments
Modified qpopper-4.0.4.ebuild (It works for me, please test it) (qpopper-4.0.4.ebuild,3.25 KB, text/plain)
2002-08-23 20:14 UTC, Pau Oliva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pau Oliva 2002-08-21 20:39:18 UTC
in line 81:
dodir -p -m665 ${D}/etc/mail/certs

this creates /-p and /-m655 dirs and doesn't set the correct permissions

should be:
mkdir -p -m665 ${D}/etc/mail/certs

---
>>> Install qpopper-4.0.4 into /var/tmp/portage/qpopper-4.0.4/image/ 
category net-mail
ssl
chown: failed to get attributes of 
`/var/tmp/portage/qpopper-4.0.4/image//var/tmp/portage/qpopper-4.0.4/image//etc/mail/certs': 
No such file or directory
chmod: failed to get attributes of 
`/var/tmp/portage/qpopper-4.0.4/image//var/tmp/portage/qpopper-4.0.4/image//etc/mail/certs': 
No such file or directory
chmod: failed to get attributes of 
`/var/tmp/portage/qpopper-4.0.4/image//var/tmp/portage/qpopper-4.0.4/image//etc/mail/certs/cert.pem': 
No such file or directory
chown: failed to get attributes of 
`/var/tmp/portage/qpopper-4.0.4/image//var/tmp/portage/qpopper-4.0.4/image//etc/mail/certs/cert.pem': 
No such file or directory
Comment 1 Pau Oliva 2002-08-21 20:45:00 UTC
The ebuild also contains a pkg_config() function, but emerge doesn't warn 
about doing the "ebuild config" stuff after emerging.
Comment 2 Pau Oliva 2002-08-21 20:45:44 UTC
The pkg_config() is b0rken too:

cp: cannot stat `/var/tmp/portage/qpopper-4.0.4/work/pop3.pam-system-auth': No 
such file or directory
install: cannot stat `/var/tmp/portage/qpopper-4.0.4/temp/pop3': No such file 
or directory
cp: cannot stat `/var/tmp/portage/qpopper-4.0.4/work/pop3.xinetd': No such 
file or directory
install: cannot stat `/var/tmp/portage/qpopper-4.0.4/temp/pop-3': No such file 
or directory
Comment 3 Pau Oliva 2002-08-21 20:54:25 UTC
Another problem:
- digest is missing for qpopper-files.tar.bz2
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2002-08-22 02:15:02 UTC
why does qpopper depend on xinetd ?
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-23 00:50:50 UTC
Bass, what's going on with this?
Comment 6 Nicholas Wourms 2002-08-23 10:40:00 UTC
"why does qpopper depend on xinetd ?" 
 
Like telnetd and family, qpopper is a service, not a daemon.  In other words, 
it only runs when there is something to be processed, otherwise it isn't 
loaded into memory.  That means it need some form of inetd to operate as the 
catalyst.  It seems xinetd is the only inetd gentoo has to offer.  That isn't 
bad, however, because xinetd is fairly secure, even more so when coupled with 
tcpwrappers. 
Comment 7 José Alberto Suárez López 2002-08-23 18:03:42 UTC
mmm i saw the ebuild, it apperas that cvs has some error on commit, my ebuils
have some cvs entries.
Comment 8 José Alberto Suárez López 2002-08-23 18:35:50 UTC
i upload a new ebuild, please test it.
Comment 9 Pau Oliva 2002-08-23 19:39:07 UTC
There is also a missing dependency on sendmail, or at least virtual/mta 
(see last line).
Will check your new ebuild and tell about it in a while.

root@w0~# emerge qpopper
Calculating dependencies ...done!
>>> emerge net-mail/qpopper-4.0.4 to /
>>> md5 ;-) qpopper4.0.4.tar.gz
>>> Unpacking source...
>>> Unpacking qpopper4.0.4.tar.gz
>>> Source unpacked.
ssl
pam
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc -mcpu=k6 -march=k6 -O3 -pipe ) 
works... yes
checking whether the C compiler (gcc -mcpu=k6 -march=k6 -O3 -pipe ) is a 
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking for ar... ar
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c
checking for gperf... no
checking for cperf... no
./configure: warning:: command not found
checking for gcc version 2.7.2.3... no
checking if gcc supports __attribute__ (format) ... yes
checking if ar chokes on -r... no
checking for getspnam... yes
Found getspnam(); using shadow passwords by default 
Turning on debugging code
Defining SPEC_POP_AUTH
Enabling PAM with service name pop3 and defining SPC_POP_AUTH
APOP is enabled.
Enabled LOG-LOGIN
Will log using pop3
Attempting to use OpenSSL in /usr/local/ssl
System name: Linux; System version: 2.4.19-gentoo-r5
Set OS_DEFS = " -DLINUX -DUNIX"
Logging to facility: LOG_MAIL
Set AR_FLAG = " -r "; RANLIB_CMD = ""
checking size of unsigned long int... 4
checking for sendmail program... ERROR: The sendmail program cannot be 
located
Comment 10 Pau Oliva 2002-08-23 20:11:10 UTC
I rewrote qpopper-4.0.4 ebuild, mixing yours and the older one, and modifying 
it a bit. It now works ok for me, I think it fixes all bugs. See attached file.

I also added --enable-uw-kludge-flag to ./configure it is very useful when you 
use qpopper in conjunction with uw-imap and it won't hurt if you don't use it 
(see http://www.washington.edu/imap/IMAP-FAQs/index.html#7.44 for more info).
Comment 11 Pau Oliva 2002-08-23 20:14:00 UTC
Created attachment 3365 [details]
Modified qpopper-4.0.4.ebuild (It works for me, please test it)
Comment 12 Martin Holzer (RETIRED) gentoo-dev 2002-08-26 01:13:22 UTC
could you change once more the ebuild

there is an inetd in one package

gentoo root # qpkg -f /usr/sbin/inetd
sys-apps/netkit-base *
gentoo root # 

i don't like to install xinetd, cause i've inetd

is this possible ?