~alpine/devel

5 2

[alpine-devel] maildrop: new aport

Juraj Sujan <sujan@sofy.sk>
Details
Message ID
<20110204234736.2b4ac96c@alpine.sofy.sk>
Sender timestamp
1296859656
DKIM signature
missing
Download raw message
Hi,

I've created APKBUILD for maildrop and I've also included the
dovecotauth patch, so there is no need for courier-authlib. It is
possible to do user database lookups directly against Dovecot.

I've disabled gdbm support in APKBUILD, because as stated in
maildrop INSTALL file "supporting GDBM/DB databases
significantly increases the size of maildrop" and also I've never used
this feature.

Juraj Šujan
Juraj Sujan <sujan@sofy.sk>
Details
Message ID
<20110205110250.7508e5e2@alpine.sofy.sk>
In-Reply-To
<4D4D134F.5060108@iki.fi> (view parent)
Sender timestamp
1296900170
DKIM signature
missing
Download raw message
On Sat, 05 Feb 2011 11:07:27 +0200
Timo Teräs <timo.teras@iki.fi> wrote:

> I get:
> 
> make[1]: Entering directory
> `/home/tteras/aports/testing/maildrop/src/maildrop-2.5.2/maildrop'
> make[1]: *** No rule to make target `all'.  Stop.
> make[1]: Leaving directory
> `/home/tteras/aports/testing/maildrop/src/maildrop-2.5.2/maildrop'
> make: *** [all-recursive] Error 1
> >>> ERROR: maildrop: all failed
> 
> This happened on two separate chroot's with latest edge packages.

That's strange, because it is working fine for me. It looks like
configure script has failed. The only reason I can think of is missing
libstdc++ dependancy, so I've included it in makedepends.

> 
> Also the commit message is usually formatted like
> "testing/maildrop: new aport"

done

> It would be also nice if you listed the upstream source for the patch,
> since it looks pretty large. There's also whitespace issues in the
> patch but that's likely upstream fault so it's okish.

fixed, patch is now sourced from upstream

> Otherwise it looks good to me. So if we get it to build I'm happy to
> push this. :)

Thank you for suggestions. I hope it will be ok now.

Juraj
Timo Teräs <timo.teras@iki.fi>
Details
Message ID
<4D4D134F.5060108@iki.fi>
In-Reply-To
<20110204234736.2b4ac96c@alpine.sofy.sk> (view parent)
Sender timestamp
1296896847
DKIM signature
missing
Download raw message
On 02/05/2011 12:47 AM, Juraj Sujan wrote:
> Hi,
> 
> I've created APKBUILD for maildrop and I've also included the
> dovecotauth patch, so there is no need for courier-authlib. It is
> possible to do user database lookups directly against Dovecot.
> 
> I've disabled gdbm support in APKBUILD, because as stated in
> maildrop INSTALL file "supporting GDBM/DB databases
> significantly increases the size of maildrop" and also I've never used
> this feature.
> 
> Juraj Šujan

I get:

make[1]: Entering directory
`/home/tteras/aports/testing/maildrop/src/maildrop-2.5.2/maildrop'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory
`/home/tteras/aports/testing/maildrop/src/maildrop-2.5.2/maildrop'
make: *** [all-recursive] Error 1
>>> ERROR: maildrop: all failed

This happened on two separate chroot's with latest edge packages.

Also the commit message is usually formatted like
"testing/maildrop: new aport"

It would be also nice if you listed the upstream source for the patch,
since it looks pretty large. There's also whitespace issues in the patch
but that's likely upstream fault so it's okish.

Otherwise it looks good to me. So if we get it to build I'm happy to
push this. :)

- Timo


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Timo Teräs <timo.teras@iki.fi>
Details
Message ID
<4D4D2EF3.9030104@iki.fi>
In-Reply-To
<20110205110250.7508e5e2@alpine.sofy.sk> (view parent)
Sender timestamp
1296903923
DKIM signature
missing
Download raw message
On 02/05/2011 12:02 PM, Juraj Sujan wrote:
> On Sat, 05 Feb 2011 11:07:27 +0200
> Timo Teräs <timo.teras@iki.fi> wrote:
> 
>> I get:
>>
>> make[1]: Entering directory
>> `/home/tteras/aports/testing/maildrop/src/maildrop-2.5.2/maildrop'
>> make[1]: *** No rule to make target `all'.  Stop.
>> make[1]: Leaving directory
>> `/home/tteras/aports/testing/maildrop/src/maildrop-2.5.2/maildrop'
>> make: *** [all-recursive] Error 1
>>>>> ERROR: maildrop: all failed
>>
>> This happened on two separate chroot's with latest edge packages.
> 
> That's strange, because it is working fine for me. It looks like
> configure script has failed. The only reason I can think of is missing
> libstdc++ dependancy, so I've included it in makedepends.

oh right. you should have:
./configure ... || return 1

I'd then seen the configure error right away.

The error is:
checking location of system mailboxes... configure: error: Cannot
determine default mailbox
configure: error: ./configure failed for maildrop
>>> ERROR: maildrop: all failed

So libstdc++ is not the issue. It's something else.

- Timo


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Juraj Sujan <sujan@sofy.sk>
Details
Message ID
<20110208110451.2e422e3d@sofy.sk>
In-Reply-To
<4D4D2EF3.9030104@iki.fi> (view parent)
Sender timestamp
1297159491
DKIM signature
missing
Download raw message
Hi again,

I tried to build this package under a minimal installation with only
alpine-sdk installed. I've made these corrections:

I added perl into makedepends, because configure failes without
it.

I realized, that when configure script checks for mailbox
locations, it assumes either Courier sources, Qmail installation or one
of the /var/mail, /usr/spool/mail, /var/spool/mail or /usr/mail
directories. Otherwise it ends with error. So as a workaround I added
setting of QMAIL variable to some string. Now configure script is
satisfied and sets default mailbox location to ./Mailbox, but this is
later overwritten by the value of --with-default-maildrop parameter
(strange, isn't it?). Also this could be set later in the configuration
file (DEFAULT variable).

Juraj
Timo Teräs <timo.teras@iki.fi>
Details
Message ID
<4D511DAB.6090306@iki.fi>
In-Reply-To
<20110208110451.2e422e3d@sofy.sk> (view parent)
Sender timestamp
1297161643
DKIM signature
missing
Download raw message
Hi,

On 02/08/2011 12:04 PM, Juraj Sujan wrote:
> I tried to build this package under a minimal installation with only
> alpine-sdk installed. I've made these corrections:
> 
> I added perl into makedepends, because configure failes without
> it.
> 
> I realized, that when configure script checks for mailbox
> locations, it assumes either Courier sources, Qmail installation or one
> of the /var/mail, /usr/spool/mail, /var/spool/mail or /usr/mail
> directories. Otherwise it ends with error. So as a workaround I added
> setting of QMAIL variable to some string. Now configure script is
> satisfied and sets default mailbox location to ./Mailbox, but this is
> later overwritten by the value of --with-default-maildrop parameter
> (strange, isn't it?). Also this could be set later in the configuration
> file (DEFAULT variable).

Goody. Sounds like it's partially a problem in the upstream configure
scripts. You might want to file a bug there, but good that it's working now.

I've applied this now.

Thanks,
 Timo


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)