First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 28277
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Ian Leitch (RETIRED) <port001@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Hallgrimur Gunnarsson (RETIRED) <hhg@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
popa3d-0.6.3-ebuild.tgz Tar.gz with popa3d ebuild and companions application/octet-stream Hallgrimur Gunnarsson (RETIRED) 2003-09-09 10:36 0000 1.51 KB Details
popa3d-0.6.3.ebuild popa3d-0.6.3.ebuild text/plain Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:12 0000 2.62 KB Details
Manifest Manifest text/plain Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:12 0000 241 bytes Details
popa3d-initrc files/popa3d-initrc text/plain Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:13 0000 385 bytes Details
pam files/pam text/plain Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:13 0000 136 bytes Details
digest-popa3d-0.6.3 files/digest-popa3d-0.6.3 text/plain Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:14 0000 201 bytes Details
popa3d-0.6.3.ebuild Modified popa3d-0.6.3.ebuild text/plain Ian Leitch (RETIRED) 2003-09-10 13:34 0000 3.01 KB Details
popa3d-0.6.3.ebuild Modified popa3d-0.6.3.ebuild text/plain Hallgrimur Gunnarsson (RETIRED) 2003-09-10 16:02 0000 3.90 KB Details
popa3d-0.6.3.ebuild Modified popa3d-0.6.3.ebuild text/plain Hallgrimur Gunnarsson (RETIRED) 2003-09-10 21:34 0000 3.95 KB Details
popa3d-0.6.3.ebuild Modified popa3d-0.6.3.ebuild take 2 text/plain Ian Leitch (RETIRED) 2003-09-11 05:38 0000 5.42 KB Details
popa3d-0.6.3.ebuild popa3d-0.6.3.ebuild RC-1 text/plain Hallgrimur Gunnarsson (RETIRED) 2003-09-11 09:28 0000 4.11 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 28277 depends on: Show dependency tree
Show dependency graph
Bug 28277 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-09 10:34 0000
Hello!

This is popa3d, a security oriented POP3 server.
The website is http://www.openwall.com/popa3d/

Supports mbox/maildir, virtual hosts, PAM/shadow
authentication and more.

The .tgz file contains the following:

popa3d-0.6.3.ebuild
files/pam
files/popa3d-initrc

This is my first ebuild, and I'd appreciate any
comments. Thanks.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Hallgrimur Gunnarsson (RETIRED) 2003-09-09 10:36:38 0000 -------
Created an attachment (id=17349) [edit]
Tar.gz with popa3d ebuild and companions

Tar.gz with popa3d ebuild and companions.

------- Comment #2 From Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:12:13 0000 -------
Created an attachment (id=17369) [edit]
popa3d-0.6.3.ebuild

------- Comment #3 From Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:12:42 0000 -------
Created an attachment (id=17370) [edit]
Manifest

------- Comment #4 From Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:13:11 0000 -------
Created an attachment (id=17371) [edit]
files/popa3d-initrc

------- Comment #5 From Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:13:32 0000 -------
Created an attachment (id=17372) [edit]
files/pam

------- Comment #6 From Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:14:02 0000 -------
Created an attachment (id=17373) [edit]
files/digest-popa3d-0.6.3

------- Comment #7 From Ian Leitch (RETIRED) 2003-09-09 17:45:40 0000 -------
Hi, I will take a look at your work this evening.

Thanks for the hard work.

------- Comment #8 From Ian Leitch (RETIRED) 2003-09-09 17:47:59 0000 -------
By the way, there is no need to submit the Manifest and digest files.

------- Comment #9 From Hallgrimur Gunnarsson (RETIRED) 2003-09-09 17:59:35 0000 -------
Ah okay, makes sense. Why have MD5sums if you accept
them from submitters :-). I skipped them in the tgz,
but included them when I posted the files individually,
I wasn't really sure, but now I know. Thanks.

I also set up a how-to/tester thread on the forum

http://forums.gentoo.org/viewtopic.php?t=82386

------- Comment #10 From Ian Leitch (RETIRED) 2003-09-10 13:34:05 0000 -------
Created an attachment (id=17459) [edit]
Modified popa3d-0.6.3.ebuild

OK, I've taken a look at your ebuild and butchered it ;)

It uses the mbox and maildir USE flags much more closely now, and I removed
your POPA3D_HOME_MAILBOX="Maildir" comment, as all other ebuilds in portage
default .maildir. 

Anyway, you can take a look at see the rest for yourself.
I've got a few more things to check and change in there, but I've run out of
time for tonight.

Regards. 

------- Comment #11 From Hallgrimur Gunnarsson (RETIRED) 2003-09-10 16:02:01 0000 -------
Created an attachment (id=17468) [edit]
Modified popa3d-0.6.3.ebuild

You seem to have butchered off your own foot along with it.

Few comments on your changes:

*) Checking for mbox && maildir is good. I like that.

*) It should be possible to overwrite POPA3D_HOME_MAILBOX
for people who want the traditional ~/Mailbox or ~/Maildir
(which, yes, are not gentoo traditional though, see my
discussion on bug #28260).

*) When the 'mbox' USE flag is set, you set POPA3D_HOME_MAILBOX
to "Mailbox", which is incorrect. In gentoo 'mbox' denotes
/var/mail/user. To get that you'll have to leave POPA3D_HOME_MAILBOX
empty, which in turn, makes popa3d use the default /var/mail/user,
and not a home (~/) mailbox, as the name suggests.

*) In src_unpack you only set the home mailbox path in popa3d
if the 'maildir' USE flag is set. This breaks the use of
POPA3D_HOME_MAILBOX when 'mbox' is being used (so it breaks
your previous ~/Mailbox assignment). Also, the info line
in the else is wrong compared to the previous ~/Mailbox
entry you added.

*) You mix up the einfo's for mailbox path determination
and mailbox format.

I've attached a modified version of the ebuild. I included
a header explaining the configuration.

Please let me know what you think of it, and what other
changes you had in mind.

------- Comment #12 From Hallgrimur Gunnarsson (RETIRED) 2003-09-10 21:34:56 0000 -------
Created an attachment (id=17475) [edit]
Modified popa3d-0.6.3.ebuild

Added dodoc for all the relevant files.

------- Comment #13 From Ian Leitch (RETIRED) 2003-09-11 05:38:34 0000 -------
Created an attachment (id=17489) [edit]
Modified popa3d-0.6.3.ebuild take 2

I've got one foot left, so heres another modification.

*)I moved the mbox and maildir check back into pkg_config as we want to die
early when they are both set. 

*)POPA3D_HOME_MAILBOX can now be set from outside. If using mbox its set back
to ""

*) maildir takes precedence over mbox so if neither are set, maildir is the
default. 

*) added depscan.sh run in pkg_postinst as we are installing an init script.

As for having epatch run inside src_compile, I'm going let that slide as the
output looks messy with the einfo's inside unpacking. 

------- Comment #14 From Hallgrimur Gunnarsson (RETIRED) 2003-09-11 09:28:34 0000 -------
Created an attachment (id=17505) [edit]
popa3d-0.6.3.ebuild RC-1

Okay, we're on the same track now. Only one minor change,
if using mbox, we shouldn't set POPA3D_HOME_MAILBOX=""
since that'd block people from overwriting it. The default
is of course "".

------- Comment #15 From Ian Leitch (RETIRED) 2003-09-11 10:39:46 0000 -------
In cvs, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug