sysutils/sleuthkit: why CONFIGURE_STYLE=simple?

2017-09-06 Thread Stuart Henderson
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?



Re: sysutils/sleuthkit: why CONFIGURE_STYLE=simple?

2017-09-23 Thread Nigel Taylor
On 09/08/17 00:13, ni...@openbsd.org wrote:
> On 09/07/17 21:38, Stuart Henderson wrote:
>> On 2017/09/07 19:45, ni...@openbsd.org wrote:
>>>
>>> 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?
>>
>> I can't really comment on the sleuthkit update itself (did you check if
>> a library bump is needed?), but the autoconf bits are ok with me.
>>
>>
> 
> added functions to library, major version change in log. So bumped library.
> 
Ping



Re: sysutils/sleuthkit: why CONFIGURE_STYLE=simple?

2017-09-06 Thread nigel
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
--- Makefile26 Jul 2017 22:45:30 -  1.21
+++ Makefile29 Aug 2017 21:30:52 -
@@ -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 



Re: sysutils/sleuthkit: why CONFIGURE_STYLE=simple?

2017-09-07 Thread nigel
On 09/06/17 22:01, ni...@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
> --- Makefile26 Jul 2017 22:45:30 -  1.21
> +++ Makefile29 Aug 2017 21:30:52 -
> @@ -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 
> 
> 

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?


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 -	1.21
+++ Makefile	29 Aug 2017 21:30:52 -
@@ -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 -	1.11
+++ distinfo	29 Aug 2017 21:15:44 -
@@ -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 -	1.8
+++ pkg/PLIST	29 Aug 2017 21:21:20 -
@@ -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


Re: sysutils/sleuthkit: why CONFIGURE_STYLE=simple?

2017-09-07 Thread Stuart Henderson
On 2017/09/07 19:45, ni...@openbsd.org wrote:
> 
> 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?

I can't really comment on the sleuthkit update itself (did you check if
a library bump is needed?), but the autoconf bits are ok with me.



Re: sysutils/sleuthkit: why CONFIGURE_STYLE=simple?

2017-09-07 Thread nigel
On 09/07/17 21:38, Stuart Henderson wrote:
> On 2017/09/07 19:45, ni...@openbsd.org wrote:
>>
>> 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?
> 
> I can't really comment on the sleuthkit update itself (did you check if
> a library bump is needed?), but the autoconf bits are ok with me.
> 
> 

added functions to library, major version change in log. So bumped library.
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 -	1.21
+++ Makefile	7 Sep 2017 21:13:24 -
@@ -2,11 +2,10 @@
 
 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
+SHARED_LIBS +=		tsk	1.0 # 16.1
 
 HOMEPAGE=		http://www.sleuthkit.org/
 
@@ -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 -	1.11
+++ distinfo	29 Aug 2017 21:15:44 -
@@ -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 -	1.8
+++ pkg/PLIST	29 Aug 2017 21:21:20 -
@@ -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