Hi 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 =dev-perl/libnet-1.19 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 /usr/local/portdirs/portage 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 http://bugs.gentoo.org/show_bug.cgi?id=22331 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
Created attachment 45570 [details] dbmail-admin-2.1.2.ebuild
Created attachment 45571 [details, diff] dbmail-admin-htaccess.patch
Created attachment 45572 [details, diff] dbmail-admin-perl.patch
Created attachment 45573 [details] Crypt-PasswdMD5-1.3.ebuild
Created attachment 48556 [details] dbmail-admin-2.1.3.ebuild 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
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" HOMEPAGE="http://search.cpan.org/~luismunoz/Crypt-PasswdMD5-${PV}/" SRC_URI="http://www.cpan.org/modules/by-authors/id/L/LU/LUISMUNOZ/${P}.tar.gz" LICENSE="|| ( Artistic GPL-2 )" SLOT="0" KEYWORDS="x86 ppc sparc alpha hppa amd64 ~mips" IUSE="" DEPEND="virtual/libc >=dev-lang/perl-5" export OPTIMIZE="${CFLAGS}" *** END *** Cannot see anything obvious here. Am I missing something?? Regs. Iain.
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
Created attachment 55730 [details] dbmail-admin-2.2.0.ebuild this should do it I just had to remove the perl path patch
This is a WONTFIX since upstream doesn't provide properly versioned tarballs.