Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73840 - dbmail-admin-2.1.2.ebuild (new package)
Summary: dbmail-admin-2.1.2.ebuild (new package)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Default Assignee for New Packages
Keywords: EBUILD
Depends on: 22331
  Show dependency tree
Reported: 2004-12-08 14:06 UTC by Richard Westwell
Modified: 2005-12-19 09:25 UTC (History)
2 users (show)

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

dbmail-admin-2.1.2.ebuild (dbmail-admin-2.1.2.ebuild,1.96 KB, text/plain)
2004-12-08 14:07 UTC, Richard Westwell
dbmail-admin-htaccess.patch (dbmail-admin-htaccess.patch,508 bytes, patch)
2004-12-08 14:08 UTC, Richard Westwell
Details | Diff
dbmail-admin-perl.patch (dbmail-admin-perl.patch,225 bytes, patch)
2004-12-08 14:08 UTC, Richard Westwell
Details | Diff
Crypt-PasswdMD5-1.3.ebuild (Crypt-PasswdMD5-1.3.ebuild,609 bytes, text/plain)
2004-12-08 14:09 UTC, Richard Westwell
dbmail-admin-2.1.3.ebuild (dbmail-admin-2.1.3.ebuild,1.96 KB, text/plain)
2005-01-15 08:59 UTC, Richard Westwell
dbmail-admin-2.2.0.ebuild (dbmail-admin-2.2.0.ebuild,1.85 KB, text/plain)
2005-04-08 18:25 UTC, Richard Westwell

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Westwell 2004-12-08 14:06:33 UTC

Ebuild for dbmail-admin-2.1.2 - web based configuration for dbmail
this requires dbmail and Crypt-PasswdMD5
both of which are not part of the portage tree at the moment

first you may need to unmask libnet-1.19 by adding
to /etc/portage/package.keywords
as this is a depend

next as an example from my own system as to where the ebuilds should be located
for my system portage overlay in /etc/make.conf is set to 

the dbmail-admin ebuild has been placed within net-mail
e.g. /usr/local/portdirs/portage/net-mail/dbmail-admin/dbmail-admin-2.1.2.ebuild

there are a couple of minor patches for dbmail-admin as well located within the files dir
e.g. /usr/local/portdirs/portage/net-mail/dbmail-admin/files/
called dbmail-admin-htaccess.patch and dbmail-admin-perl.patch

the dbmail ebuild at
has been placed within net-mail also
e.g. /usr/local/portdirs/portage/net-mail/dbmail/dbmail-2.0.0.ebuild

Crypt-PasswdMD5 is required for dbmail-admin so this has been placed within dev-perl
e.g. /usr/local/portdirs/portage/dev-perl/Crypt-PasswdMD5/Crypt-PasswdMD5-1.3.ebuild

the dbmail-admin ebuild should place the files within /var/www/localhost/htdocs/dbmailadministrator/ by default
and assign the directory/files the user name/group of apache

accessing http://<ip of machine>/dbmailadministrator/
should give the initial page (default user name / password is dbmail / dbmail)
e.g. http://localhost/dbmailadministrator/ for the local machine
Comment 1 Richard Westwell 2004-12-08 14:07:27 UTC
Created attachment 45570 [details]
Comment 2 Richard Westwell 2004-12-08 14:08:17 UTC
Created attachment 45571 [details, diff]
Comment 3 Richard Westwell 2004-12-08 14:08:56 UTC
Created attachment 45572 [details, diff]
Comment 4 Richard Westwell 2004-12-08 14:09:38 UTC
Created attachment 45573 [details]
Comment 5 Richard Westwell 2005-01-15 08:59:54 UTC
Created attachment 48556 [details]

ebuild for dbmail-admin 2.1.3
same ebuild but with a different version number

bearing in mind you'll need to re-set the options for dbmail-admin to connect
to the database after the emerge
Comment 6 iain 2005-04-06 06:56:45 UTC
Trying to build give the following error:

*** START ***
mail2 portage # emerge dbmail-admin dbmail
Calculating dependencies ...done!
>>> emerge (1 of 2) net-mail/dbmail-admin-2.1.3 to /
>>> md5 src_uri ;-) DBMA_SQL_V2.tar
>>> Unpacking source...
>>> Unpacking DBMA_SQL_V2.tar to /var/tmp/portage/dbmail-admin-2.1.3/work
 * Applying dbmail-admin-htaccess.patch ...                                                                                                                   [ ok ]
 * Applying dbmail-admin-perl.patch ...

 * Failed Patch: dbmail-admin-perl.patch !
 *  ( /usr/portage/net-mail/dbmail-admin/files/dbmail-admin-perl.patch )
 * Include in your bugreport the contents of:
 *   /var/tmp/portage/dbmail-admin-2.1.3/temp/dbmail-admin-perl.patch-19081.out

!!! ERROR: net-mail/dbmail-admin-2.1.3 failed.
!!! Function epatch, Line 401, Exitcode 0
!!! Failed Patch: dbmail-admin-perl.patch!
!!! If you need support, post the topmost build error, NOT this status message.
*** END ***

The file dbmail-admin-perl.patch-19081.out contains:

*** START ***
mail2 portage # cat /var/tmp/portage/dbmail-admin-2.1.3/temp/dbmail-admin-perl.patch-19081.out
***** dbmail-admin-perl.patch *****


PATCH COMMAND:  patch -p0 -g0 < /usr/portage/net-mail/dbmail-admin/files/dbmail-admin-perl.patch

patch: **** Only garbage was found in the patch input.

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/net-mail/dbmail-admin/files/dbmail-admin-perl.patch

patch: **** Only garbage was found in the patch input.

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/net-mail/dbmail-admin/files/dbmail-admin-perl.patch

patch: **** Only garbage was found in the patch input.

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/net-mail/dbmail-admin/files/dbmail-admin-perl.patch

patch: **** Only garbage was found in the patch input.

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/net-mail/dbmail-admin/files/dbmail-admin-perl.patch

patch: **** Only garbage was found in the patch input.
*** END ***

Contents of /usr/portage/net-mail/dbmail-admin/files/dbmail-admin-perl.patch is:

*** START ***
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-DES/Crypt-DES-2.03-r1.ebuild,v 1.12 2004/10/16 23:57:20 rac Exp $

inherit perl-module

DESCRIPTION="Crypt::PasswdMD5 module for perl"


LICENSE="|| ( Artistic GPL-2 )"
KEYWORDS="x86 ppc sparc alpha hppa amd64 ~mips"

DEPEND="virtual/libc >=dev-lang/perl-5"

*** END ***

Cannot see anything obvious here. Am I missing something??


Comment 7 Richard Westwell 2005-04-08 18:05:52 UTC
The problem is they don't put a proper version number at the end of the source file (all the versions have the same file name of DBMA_SQL_V2.tar)

which means the ebuild is usually always downloading the latest version instead of 2.1.2
which then causes the patches to fail
I'll see about creating a new ebuild / patchset for the new version 2.2.0
Comment 8 Richard Westwell 2005-04-08 18:25:40 UTC
Created attachment 55730 [details]

this should do it
I just had to remove the perl path patch
Comment 9 Renat Lumpau (RETIRED) gentoo-dev 2005-12-19 09:25:50 UTC
This is a WONTFIX since upstream doesn't provide properly versioned tarballs.