aboutsummaryrefslogtreecommitdiffstats
path: root/community/sleuthkit/40_no_static_ldflags.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 08:21:27 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 08:22:30 +0000
commit187517d6a85e7a8bee39117f0599109ee8cd13ac (patch)
treea9ef7f8d064ca0c6a5dfa9274ebb856c8157619c /community/sleuthkit/40_no_static_ldflags.patch
parent9d4e3d8d3cfa90f9f85600ef1671b8e19bf20ecd (diff)
downloadaports-187517d6a85e7a8bee39117f0599109ee8cd13ac.tar.bz2
aports-187517d6a85e7a8bee39117f0599109ee8cd13ac.tar.xz
community/sleuthkit: moved from testing, upgraded to 4.3.0, removed unused patch
Diffstat (limited to 'community/sleuthkit/40_no_static_ldflags.patch')
-rw-r--r--community/sleuthkit/40_no_static_ldflags.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/community/sleuthkit/40_no_static_ldflags.patch b/community/sleuthkit/40_no_static_ldflags.patch
new file mode 100644
index 0000000000..72bf711800
--- /dev/null
+++ b/community/sleuthkit/40_no_static_ldflags.patch
@@ -0,0 +1,60 @@
+Description: Drop `-static` from LDFLAGS from tools/*/Makefile.am in order to
+ avoid sleuthkit tools to be statically linked against libtsk.
+Author: Cristian Greco <cristian@regolo.cc>
+Reviewed-by: Joao Eriberto Mota Filho
+Last-Update: 2013-12-04
+--- a/tools/autotools/Makefile.am
++++ b/tools/autotools/Makefile.am
+@@ -1,6 +1,5 @@
+ AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall
+ LDADD = ../../tsk/libtsk.la
+-LDFLAGS += -static
+ EXTRA_DIST = .indent.pro
+
+ bin_PROGRAMS = tsk_recover tsk_loaddb tsk_comparedir tsk_gettimes
+--- a/tools/fstools/Makefile.am
++++ b/tools/fstools/Makefile.am
+@@ -1,6 +1,5 @@
+ AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall
+ LDADD = ../../tsk/libtsk.la
+-LDFLAGS += -static
+ EXTRA_DIST = .indent.pro fscheck.cpp
+
+ bin_PROGRAMS = blkcalc blkcat blkls blkstat ffind fls fcat fsstat icat ifind ils \
+--- a/tools/hashtools/Makefile.am
++++ b/tools/hashtools/Makefile.am
+@@ -1,6 +1,5 @@
+ AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall
+ LDADD = ../../tsk/libtsk.la
+-LDFLAGS += -static
+ EXTRA_DIST = .indent.pro md5.c sha1.c
+
+ bin_PROGRAMS = hfind
+--- a/tools/imgtools/Makefile.am
++++ b/tools/imgtools/Makefile.am
+@@ -1,6 +1,5 @@
+ AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall
+ LDADD = ../../tsk/libtsk.la
+-LDFLAGS += -static
+ EXTRA_DIST = .indent.pro
+
+ bin_PROGRAMS = img_cat img_stat
+--- a/tools/srchtools/Makefile.am
++++ b/tools/srchtools/Makefile.am
+@@ -6,7 +6,6 @@
+
+ sigfind_SOURCES = sigfind.cpp
+ sigfind_LDADD = ../../tsk/libtsk.la
+-sigfind_LDFLAGS = -static
+
+ indent:
+ indent *.c *.cpp
+--- a/tools/vstools/Makefile.am
++++ b/tools/vstools/Makefile.am
+@@ -1,6 +1,5 @@
+ AM_CPPFLAGS = -I../.. -I$(srcdir)/../.. -Wall
+ LDADD = ../../tsk/libtsk.la
+-LDFLAGS += -static
+ EXTRA_DIST = .indent.pro
+
+ bin_PROGRAMS = mmls mmstat mmcat