Thursday, September 07, 2017

Re: sysutils/sleuthkit: why CONFIGURE_STYLE=simple?

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/sysutils/sleuthkit/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile 26 Jul 2017 22:45:30 -0000 1.21
+++ Makefile 29 Aug 2017 21:30:52 -0000
@@ -2,9 +2,8 @@

COMMENT= forensic toolkit based on TCT

-DISTNAME= sleuthkit-4.3.0
+DISTNAME= sleuthkit-4.4.2
CATEGORIES= sysutils security
-REVISION= 0

SHARED_LIBS += tsk 0.0 # 14.0

@@ -18,17 +17,19 @@ PERMIT_PACKAGE_FTP= Yes

MASTER_SITES = https://github.com/sleuthkit/sleuthkit/releases/download/${DISTNAME}/

-WANTLIB += c m pthread ${COMPILER_LIBCXX} z
+WANTLIB += c m pthread ${COMPILER_LIBCXX} sqlite3 z

-CONFIGURE_STYLE = simple
+CONFIGURE_STYLE = gnu

CONFIGURE_ARGS += --mandir='${PREFIX}/man' \
--disable-java \
--without-afflib \
--without-libewf

-BUILD_DEPENDS= devel/cppunit
+CONFIGURE_ENV = ac_cv_path_CPPUNIT_CONFIG=no
+
RUN_DEPENDS= converters/p5-DateManip
+LIB_DEPENDS = databases/sqlite3

NO_TEST = Yes

Index: distinfo
===================================================================
RCS file: /home/cvs/ports/sysutils/sleuthkit/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo 10 Oct 2016 18:58:38 -0000 1.11
+++ distinfo 29 Aug 2017 21:15:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (sleuthkit-4.3.0.tar.gz) = mJxpGD5Le+w3NGQlOIAs3KvjRqbcrTHN5F7ry5v8GR8=
-SIZE (sleuthkit-4.3.0.tar.gz) = 8539568
+SHA256 (sleuthkit-4.4.2.tar.gz) = E1lkRj9LClj82V/fcxiB/Nby8ifuuP+sAEiAyOTY3VM=
+SIZE (sleuthkit-4.4.2.tar.gz) = 8572974
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/sysutils/sleuthkit/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST 10 Oct 2016 18:58:38 -0000 1.8
+++ pkg/PLIST 29 Aug 2017 21:21:20 -0000
@@ -33,10 +33,11 @@ bin/sorter
@bin bin/tsk_gettimes
@bin bin/tsk_loaddb
@bin bin/tsk_recover
+@bin bin/usnjls
include/tsk/
include/tsk/auto/
-include/tsk/auto/sqlite3.h
include/tsk/auto/tsk_auto.h
+include/tsk/auto/tsk_is_image_supported.h
include/tsk/base/
include/tsk/base/tsk_base.h
include/tsk/base/tsk_os.h
@@ -94,6 +95,7 @@ lib/libtsk.la
@man man/man1/tsk_gettimes.1
@man man/man1/tsk_loaddb.1
@man man/man1/tsk_recover.1
+@man man/man1/usnjls.1
share/tsk/
share/tsk/sorter/
share/tsk/sorter/default.sort
On 09/06/17 22:01, nigel@openbsd.org wrote:
> On 09/06/17 11:34, Stuart Henderson wrote:
>> I just ran into this...
>>
>> ===> Configuring for sleuthkit-4.3.0p0
>> checking for a BSD-compatible install... /usr/obj/ports/sleuthkit-4.3.0/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
>> [..snip..]
>> Making install in auto
>> /usr/local/bin/gmkdir -p '/usr/obj/ports/sleuthkit-4.3.0/fake-i386/usr/local/lib'
>> /bin/sh: /usr/local/bin/gmkdir: not found
>>
>> ...which shows that it's not using CONFIGURE_STYLE=gnu.
>>
>> Is there a reason why?
>>
>>
>
> naddy already asked me the same question to which the reply was I took
> it over like that, and someone else did the last update, it has been
> fixed once I catch up with libc / pthread I have this prepared below
> this bring it upto date with latest found by portroach.
>
> It's one of the next lot of portroach updates - socat, tcpreplay once
> those already posted to ports@ have been ok'd and cleared
>
> $ ident Makefile
> Makefile:
> $OpenBSD: Makefile,v 1.21 2017/07/26 22:45:30 sthen Exp $
>
> $ cvs -R -q diff -uNp | head -30
> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/sysutils/sleuthkit/Makefile,v
> retrieving revision 1.21
> diff -u -p -r1.21 Makefile
> --- Makefile 26 Jul 2017 22:45:30 -0000 1.21
> +++ Makefile 29 Aug 2017 21:30:52 -0000
> @@ -2,9 +2,8 @@
>
> COMMENT= forensic toolkit based on TCT
>
> -DISTNAME= sleuthkit-4.3.0
> +DISTNAME= sleuthkit-4.4.2
> CATEGORIES= sysutils security
> -REVISION= 0
>
> SHARED_LIBS += tsk 0.0 # 14.0
>
> @@ -18,17 +17,19 @@ PERMIT_PACKAGE_FTP= Yes
>
> MASTER_SITES =
> https://github.com/sleuthkit/sleuthkit/releases/download/${DISTNAME}/
>
> -WANTLIB += c m pthread ${COMPILER_LIBCXX} z
> +WANTLIB += c m pthread ${COMPILER_LIBCXX} sqlite3 z
>
> -CONFIGURE_STYLE = simple
> +CONFIGURE_STYLE = gnu
>
> CONFIGURE_ARGS += --mandir='${PREFIX}/man' \
> --disable-java \
>
> .......
> $ make show=MAINTAINER
> Nigel Taylor <nigel@openbsd.org>
>
>

Attached update to version 4.4.2

Switch CONFIGURE_STYLE = gnu, to stop some bulk build failures.
Remove need for cppunit.

Builds on amd64.

Ok?

No comments:

Post a Comment