app-forensics/afflib: Drop old

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2019-03-02 20:21:31 +01:00
parent 309d8676a2
commit 4155d8c55b
4 changed files with 0 additions and 93 deletions

View File

@@ -1,2 +1 @@
DIST afflib-3.7.18.tar.gz 540371 BLAKE2B 6c1837ebcb5cca97622736f38e61c35f149c045bc1a60acea455dd9059e8c60447cd8f45304fd55aa7f2e5f783d40e266a23d09b33209f9dc5441f971b8a188d SHA512 47ab74c86bbaedc2494558962f99463066e267f7a3f583902a53e1f488085a309b0d871093c67439033272c3ebf03d213649886930b9812013e66782ea84df85
DIST afflib-3.7.4.tar.gz 569346 BLAKE2B e296bf58499bff4d44c9f5e1dd7363b4a68581213ff04ab14ffbe35b877c8307da03fb49e967a722ad9869f6284de496b86258f1b20c7c9e6b6a6cdcf473a03f SHA512 58791388a05d614dd5f219a74173de2ff0938a1f93b21e2dd0731aca52ea544ba60cc4325f0d284937467ce600a4302b7a2f724d84710ecc7f12db1a22a8e41c

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_PRUNE_LIBTOOL_FILES=modules
inherit autotools-utils python-single-r1
MY_PN=AFFLIBv3
MY_P=${MY_PN}-${PV}
DESCRIPTION="Library that implements the AFF image standard"
HOMEPAGE="https://github.com/simsong/AFFLIBv3/"
SRC_URI="https://github.com/simsong/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm hppa ppc x86 ~x64-macos"
IUSE="fuse ncurses python qemu readline s3 static-libs threads"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="dev-libs/expat
dev-libs/openssl:0
sys-libs/zlib
fuse? ( sys-fs/fuse )
ncurses? ( sys-libs/ncurses:0= )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0 )
s3? ( net-misc/curl )"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-3.7.1-python-module.patch
"${FILESDIR}"/${PN}-3.6.12-pyaff-header.patch
)
S=${WORKDIR}/${MY_P}
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
sed -i '/FLAGS/s: -g::' configure.ac || die
sed -i '/-static/d' tools/Makefile.am || die
autotools-utils_src_prepare
}
src_configure() {
# Hacks for automagic dependencies
use ncurses || export ac_cv_lib_ncurses_initscr=no
use readline || export ac_cv_lib_readline_readline=no
local myeconfargs=(
$(use_enable fuse)
$(use_enable python)
$(use_enable qemu)
$(use_enable s3)
$(use_enable threads threading)
)
autotools-utils_src_configure
}

View File

@@ -1,13 +0,0 @@
Fix include location based on the include directories passed via CFLAGS.
--- afflib-3.6.12/pyaff/pyaff.c.orig
+++ afflib-3.6.12/pyaff/pyaff.c
@@ -21,7 +21,7 @@
****************************************************/
#include "Python.h"
-#include "lib/afflib.h"
+#include "afflib.h"
#include <string.h>
#include <stdlib.h>

View File

@@ -1,14 +0,0 @@
--- afflib-3.7.1/pyaff/Makefile.am
+++ afflib-3.7.1/pyaff/Makefile.am
@@ -7,8 +7,8 @@
pyexec_LTLIBRARIES = pyaff.la
pyaff_la_SOURCES = pyaff.c
-pyaff_la_LIBADD = ../lib/libafflib.la
+pyaff_la_LIBADD = @top_builddir@/lib/libafflib.la
pyaff_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
-pyaff_la_CFLAGS = -fno-strict-aliasing
-pyaff_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
+pyaff_la_CFLAGS = $(AM_CFLAGS) -shared -fno-strict-aliasing
+pyaff_la_LDFLAGS = -module -avoid-version -shared $(PYTHON_LDFLAGS)
endif