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
The ebuild also contains a pkg_config() function, but emerge doesn't warn about doing the "ebuild config" stuff after emerging.
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
Another problem: - digest is missing for qpopper-files.tar.bz2
why does qpopper depend on xinetd ?
Bass, what's going on with this?
"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.
mmm i saw the ebuild, it apperas that cvs has some error on commit, my ebuils have some cvs entries.
i upload a new ebuild, please test it.
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
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).
Created attachment 3365 [details] Modified qpopper-4.0.4.ebuild (It works for me, please test it)
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 ?