Summary: | net-mail/fdm - a mail delivery tool (new ebuild) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Kowalski <yoshi3> |
Component: | New packages | Assignee: | Michael Weber (RETIRED) <xmw> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | akarinotengoku, dschridde+gentoobugs, mgass, net-mail+disabled, tannhauser, tcunha, wschlich |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://fdm.sourceforge.net/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
net-mail/fdm/fdm-1.0.ebuild
fdm-1.0.ebuild fdm-1.0.ebuild Ebuild for fdm 1.1 ebuild for fdm-1.4 fdm-1.5 (fixed ebuild) fdm-1.5 (updated deps) |
Description
Marcin Kowalski
2007-01-23 21:17:43 UTC
I made an ebuild for net-mail/fdm/fdm-1.0 It works for me, but can surely be improved. Created attachment 112796 [details]
net-mail/fdm/fdm-1.0.ebuild
Attached ebuild for fdm-1.0
Created attachment 112971 [details]
fdm-1.0.ebuild
Fixed Makefiles for "emake install".
Created attachment 112974 [details]
fdm-1.0.ebuild
Added BIN_OWNER=root.
Version 1.1 is out. Created attachment 121854 [details]
Ebuild for fdm 1.1
This new ebuild changes several things:
- Updated to version 1.1
- Works around make install problems by doing the job by itself
- Adds the user _fdm required for root use
- Added zlib as a dependency (LIBS contains -lz)
- Added RDEPEND
- New description, taken from OpenBSD port which is maintained by the program author and should therefore fit most ;-)
This is now in the sunrise overlay. You can find it at: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-mail/fdm 1.3c is out. hopefully ebuild bump will be enough Just emerged 1.3c, an ebuild bump for 1.3c was enough for me. Just emerged 1.3c, an ebuild bump for 1.3c was enough for me. 1.4 was released a couple of days ago. let's try the ebuild bump again, shall we? ;-) Created attachment 137528 [details]
ebuild for fdm-1.4
Updated ebuild for fdm-1.4
It seems that tdb is no longer optional, thus I removed
the useflag and made the ebuild always depend on dev-libs/tdb.
I also added ~amd64 keyword.
This ebuild was tested on the said arch.
tdb isn't optional in fdm 1.5. If you try to install fdm-1.5 without tdb, it won't compile : ~ # emerge fdm These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] net-mail/fdm-1.5 USE="pcre -tdb" 0 kB [1] Total: 1 package (1 new), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/portage/local/layman/sunrise Would you like to merge these packages? [Yes/No] Yes >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) net-mail/fdm-1.5 to / * fdm-1.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking fdm-1.5.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking fdm-1.5.tar.gz to /var/tmp/portage/net-mail/fdm-1.5/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-mail/fdm-1.5/work/fdm-1.5 ... gcc -march=nocona -O2 -pipe -std=c99 -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wundef -Wshadow -Wbad-function-cast -Winline -Wcast-align -D_GNU_SOURCE -DWITH_MREMAP -DNO_STRLCPY -DNO_STRLCAT -DNO_STRTONUM -DNO_SETPROCTITLE -DNO_QUEUE_H -DNO_TREE_H -DBUILD="\"1.5\"" -DPCRE -I. -I- -I/usr/include/openssl -Icompat -c -o fdm.o fdm.c gcc -march=nocona -O2 -pipe -std=c99 -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wundef -Wshadow -Wbad-function-cast -Winline -Wcast-align -D_GNU_SOURCE -DWITH_MREMAP -DNO_STRLCPY -DNO_STRLCAT -DNO_STRTONUM -DNO_SETPROCTITLE -DNO_QUEUE_H -DNO_TREE_H -DBUILD="\"1.5\"" -DPCRE -I. -I- -I/usr/include/openssl -Icompat -c -o attach.o attach.c gcc -march=nocona -O2 -pipe -std=c99 -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wundef -Wshadow -Wbad-function-cast -Winline -Wcast-align -D_GNU_SOURCE -DWITH_MREMAP -DNO_STRLCPY -DNO_STRLCAT -DNO_STRTONUM -DNO_SETPROCTITLE -DNO_QUEUE_H -DNO_TREE_H -DBUILD="\"1.5\"" -DPCRE -I. -I- -I/usr/include/openssl -Icompat -c -o buffer.o buffer.c cc1: note: obsolete option -I- used, please use -iquote instead cc1: note: obsolete option -I- used, please use -iquote instead cc1: note: obsolete option -I- used, please use -iquote instead Dans le fichier inclus à partir de buffer.c:23: ./fdm.h:42:17: erreur: tdb.h : Aucun fichier ou répertoire de ce type Dans le fichier inclus à partir de attach.c:24: ./fdm.h:42:17: erreur: tdb.h : Aucun fichier ou répertoire de ce type Dans le fichier inclus à partir de fdm.c:39: ./fdm.h:42:17: erreur: tdb.h : Aucun fichier ou répertoire de ce type In file included from buffer.c:23: ./fdm.h:319: erreur: expected specifier-qualifier-list before 'TDB_CONTEXT' ./fdm.h:880: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ./fdm.h:881: erreur: expected ')' before '*' token ./fdm.h:882: erreur: expected ')' before '*' token ./fdm.h:883: erreur: expected ')' before '*' token ./fdm.h:884: erreur: expected ')' before '*' token ./fdm.h:885: erreur: expected ')' before '*' token ./fdm.h:886: erreur: expected ')' before '*' token ./fdm.h:887: erreur: expected ')' before '*' token ./fdm.h:888: erreur: expected ')' before '*' token make: *** [buffer.o] Erreur 1 make: *** Attente des tâches non terminées.... In file included from attach.c:24: ./fdm.h:319: erreur: expected specifier-qualifier-list before 'TDB_CONTEXT' ./fdm.h:880: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ./fdm.h:881: erreur: expected ')' before '*' token ./fdm.h:882: erreur: expected ')' before '*' token ./fdm.h:883: erreur: expected ')' before '*' token ./fdm.h:884: erreur: expected ')' before '*' token ./fdm.h:885: erreur: expected ')' before '*' token ./fdm.h:886: erreur: expected ')' before '*' token ./fdm.h:887: erreur: expected ')' before '*' token ./fdm.h:888: erreur: expected ')' before '*' token In file included from fdm.c:39: ./fdm.h:319: erreur: expected specifier-qualifier-list before 'TDB_CONTEXT' ./fdm.h:880: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ./fdm.h:881: erreur: expected ')' before '*' token ./fdm.h:882: erreur: expected ')' before '*' token ./fdm.h:883: erreur: expected ')' before '*' token ./fdm.h:884: erreur: expected ')' before '*' token ./fdm.h:885: erreur: expected ')' before '*' token ./fdm.h:886: erreur: expected ')' before '*' token ./fdm.h:887: erreur: expected ')' before '*' token ./fdm.h:888: erreur: expected ')' before '*' token make: *** [attach.o] Erreur 1 make: *** [fdm.o] Erreur 1 * * ERROR: net-mail/fdm-1.5 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2094: Called die * The specific snippet of code: * emake $vars || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-mail/fdm-1.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/fdm-1.5/temp/environment'. * But even with tdb, there's another problem : Dans le fichier inclus à partir de lex.c:30: ./y.tab.h:145:16: attention : pas de retour chariot à la fin du fichier ./y.tab.h:37:1: erreur: #ifndef non terminé lex.c:32: erreur: expected ',' or '}' before 'int' make: *** [lex.o] Erreur 1 make: *** Attente des tâches non terminées.... * * ERROR: net-mail/fdm-1.5 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2094: Called die * The specific snippet of code: * emake $vars || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-mail/fdm-1.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/fdm-1.5/temp/environment'. * Solution in y.tab.h line 38 Replace : # define YYTOKENTYPE By : #define YYTOKENTYPE Created attachment 189928 [details]
fdm-1.5 (fixed ebuild)
This ebuild cleanly builds fdm-1.5.
The buildsystem has a little mess-up in the way the libraries are specified for linking, and it is also parallel make incompatible. That is fixed/worked-around in my ebuild.
Additional changes:
* EAPI2
* Nicer way of specifying PCRE=1
* Renamed user _fdm to fdm
* Bumped copyright
* Keyworded ~ia64 (confirmed to work)
(In reply to comment #7) > This is now in the sunrise overlay. You can find it at: > http://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-mail/fdm > Now dropped from overlay because of missing dependency (dev-libs/tdb). Feel free to join the Sunrise project and add a new, updated and working version of this ebuild. The Gentoo dev-libs/tdb was moved to / included in dev-libs/samba-libs. Samba contains a maintained version of the tdb library since a while. Created attachment 202272 [details]
fdm-1.5 (updated deps)
The ebuild I currently use.
Please note that version 1.6 was unusable for me, though sadly I keep forgetting why. I think it could have been some kind of crash, but (also sadly) I did not (yet) report any bug upstream as far as I can see. +*fdm-1.6 (05 Sep 2010) +*fdm-1.5 (05 Sep 2010) + + 05 Sep 2010; Michael Weber <xmw@gentoo.org> +fdm-1.5.ebuild, + +files/fdm-1.5-GNUmakefile.patch, +fdm-1.6.ebuild, + +files/fdm-1.6-GNUmakefile.patch, +metadata.xml: + Initial import, fixes bug #163496, thanks to Manuel Wächter, Paul + Bredbury, Maximilian Gaß, Henri Kemppainen and Dennis Schridde for the + original ebuilds. |