Summary: | app-crypt/dieharder (new ebuild) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Källberg <Hjulle2010> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | c1pher, crypto+disabled, gengor, tswatzke |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.phy.duke.edu/~rgb/General/dieharder.php | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
The ebuild
dieharder-2.24.7-autogen.patch dieharder-2.24.7-dieharder-Makefile.patch dieharder-2.24.7-libdieharder-Makefile.patch dieharder-2.24.7.ebuild dieharder-2.24.7-build.patch dieharder-2.24.7.ebuild dieharder-2.28.1.ebuild |
Description
Andreas Källberg
2008-03-08 03:40:48 UTC
Created attachment 145520 [details]
The ebuild
Created attachment 145522 [details, diff]
dieharder-2.24.7-autogen.patch
Created attachment 145523 [details, diff]
dieharder-2.24.7-dieharder-Makefile.patch
Created attachment 145525 [details, diff]
dieharder-2.24.7-libdieharder-Makefile.patch
Created attachment 145543 [details]
dieharder-2.24.7.ebuild
Updated ebuild.
Created attachment 145545 [details, diff]
dieharder-2.24.7-build.patch
Hello, The build system of this package is a mess! If upstream is responsive, please send him the build patch and see what his reaction. Also I fail to understand why he does not use automake to build his package properly. Using automake will make things much simpler and easier. In the mean time you have a better ebuild :) Created attachment 145547 [details]
dieharder-2.24.7.ebuild
Fix doc
(In reply to comment #7) >Also I fail to understand why he does not use automake to build his package properly. He does; this is the contents of autogen.sh: --Begin autogen.sh-- #! /bin/sh # Run this to generate all the auto-generated files needed by the GNU # configure program # libtoolize --automake autoheader aclocal rm -f Makefile Makefile.in dieharder/Makefile dieharder/Makefile.in \ libdieharder/Makefile libdieharder/Makefile.in automake --add-missing --gnu autoconf # Might as well run this ./configure --prefix=/usr echo "./configure --prefix=/usr completed. Rerun with different" echo "--prefix if you want to put it someplace else. Otherwise" echo "you should be able to make, make install, or make rpm." --End of autogen.sh-- Btw. I think there is a reason for using -O3 in the makefile; this is a number-crunching application after all... I am not sure about the standard Gentoo way of recommending special cflags for a specific ebuild. Note2. The license is GPL-2 with an extra clause (see COPYING). The license is named "GPL-Beverage". I am not sure what to do about it. Thanks for the help :) The fact you have a tool in the dependency does not mean that it is used (correctly), Look at these for example how automake makes build simpler: http://ntfs-3g.cvs.sourceforge.net/ntfs-3g/ntfs-3g/libntfs-3g/Makefile.am?revision=1.4&view=markup http://ntfs-3g.cvs.sourceforge.net/ntfs-3g/ntfs-3g/src/Makefile.am?revision=1.9&view=markup Gentoo sets CFLAGS as per /etc/make.conf. Created attachment 196922 [details]
dieharder-2.28.1.ebuild
This is my first ebuild as well. No patch required for it as far as I can tell. It compiles on my system, with only a few minor changes from it being a completely minimalist build.
The ebuild uses -j1 for the emake, as if it compiles in parallel it will have problems involving compiling it's own libraries which it may try to link. eautoreconf is also needed as it used an older version of automake.
Should show up in Sunrise in the very near future. I have picked up maintainership for this in Portage. *dieharder-2.28.1 (21 Dec 2010) 21 Dec 2010; Dane Smith <c1pher@gentoo.org> +dieharder-2.28.1.ebuild, +files/dieharder-2.28.1-qafixes.patch, +metadata.xml: New ebuild for dieharder wrt bug 212674. Moved from the Sunrise overlay. New patch addresses some upstream QA warnings. Submitting upstream. Thanks to everyone who contributed ebuilds! Will show up in the main tree shortly. Enjoy! |