mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-17 04:10:58 +02:00
malheur: compilation fix
This commit is contained in:
parent
9a144ee65a
commit
e76be1d994
3 changed files with 58 additions and 0 deletions
|
|
@ -1,2 +1,4 @@
|
|||
AUX malheur-0.5.2-libarchive.patch 490 SHA256 c9902a2dfb570774769dca2c31ba97c76fe7cbf1003da3b9e39f25e539de49d4 SHA512 38ad1170e07c1a037be59b4bebfefd19736ceb059927ea79fc014e582c64f8db6321f65abad02741547dabf42d42aa3c515fa195346c81276a9e3a478ce38709 WHIRLPOOL dda7c4c911f44e5a16ca658fc44b31d61a7c7b0f487d9530636f06053e27ead0c8f94738ba7754112b8c073b94dec66a6b01088e13e28c4f3f0b3ee0b1c9b8aa
|
||||
DIST malheur-0.5.2.tar.gz 551697 SHA256 ca0c50fbc6f33874be11bc7f129e882084b6149cfd3b0dec1cf4936313a1953a SHA512 33dc1d28c6640d16442955ddac6da09b5be9db6c2ce03b98bb95133942fb83f3930767ef5994119a0fa032c6029823cf0c820ddcef51649e1c36dbffde4658cb WHIRLPOOL d6ed1b73d39ffb7869938090e19e23731ca1f40318af705eacd06c0409a6ec2a68bdff65101ca83daf7d53b94935077863251ea81d71a2074d66db8ff84b3876
|
||||
EBUILD malheur-0.5.2-r1.ebuild 639 SHA256 2cbba2eabc8d2039228c66f68b61046b50cea1340ac9e44eaa14ff47beeedd61 SHA512 0ff4efe030fe14177fab888fbc0a132f57a8ce58a17fca0fcd2f8238e137551a9b1231a766cea77818d023bcd85f8c506f6530b66a828406b95b4fded05570dd WHIRLPOOL a528173e4dc56e9861c18357c3ce6c041e6d583dce97cbba75fdf928b5c23ad53d6c8976fcd9d09d5065e57609cb819559bf4fc940f3a3ddd35214e4e66f9a80
|
||||
EBUILD malheur-0.5.2.ebuild 547 SHA256 3b1bbd20c82d9f8d28952f7f88556e5f851eb13350ca08dd17cfddc967743f0f SHA512 4b6888d3526391ae9c09877417b959b16d8c86946c369bbcfe98832820730f965d3f26c1321dd16a33da9d2168487673bdf845f3af5b4fe8ee1164473b89681e WHIRLPOOL 8872d49af740b9369505c8d75b094af1ed24557176ea82446ce93ee2dbe09811db09daa724055320a0656ecd24289ff9769e3d163659c687b91949f1222e5c4d
|
||||
|
|
|
|||
22
app-antivirus/malheur/files/malheur-0.5.2-libarchive.patch
Normal file
22
app-antivirus/malheur/files/malheur-0.5.2-libarchive.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
--- src/util.c.orig 2012-12-26 19:25:40.109336640 +0800
|
||||
+++ src/util.c 2012-12-27 05:30:31.140189964 +0800
|
||||
@@ -16,7 +16,8 @@
|
||||
* @author Konrad Rieck (konrad.rieck@tu-berlin.de)
|
||||
* @{
|
||||
*/
|
||||
-
|
||||
+
|
||||
+#include <sys/types.h>
|
||||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
|
||||
--- src/farray.c.orig 2012-12-27 05:30:04.309188584 +0800
|
||||
+++ src/farray.c 2012-12-27 05:30:24.708189605 +0800
|
||||
@@ -22,6 +22,7 @@
|
||||
* @{
|
||||
*/
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
|
||||
34
app-antivirus/malheur/malheur-0.5.2-r1.ebuild
Normal file
34
app-antivirus/malheur/malheur-0.5.2-r1.ebuild
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="malware analysis tool"
|
||||
HOMEPAGE="http://www.mlsec.org/malheur/"
|
||||
SRC_URI="http://www.mlsec.org/malheur/files/$PN-$PV.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="openmp"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-libs/libconfig-1.3.2
|
||||
>=app-arch/libarchive-3.0.4
|
||||
dev-libs/uthash
|
||||
openmp? ( sys-devel/gcc[openmp] )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}"-libarchive.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf\
|
||||
$(use_enable openmp)
|
||||
}
|
||||
src_install() {
|
||||
DESTDIR="${D}" emake install
|
||||
}
|
||||
Loading…
Reference in a new issue