Re: UPDATE: sysutils/dateutils 0.2.7 => 0.4.7

2020-02-04 Thread Stuart Henderson
On 2020/02/04 09:02, Brian Callahan wrote:
> 
> 
> On 2020-02-04 4:39 AM, Stuart Henderson wrote:
> > On 2020/02/03 22:48, Brian Callahan wrote:
> > > Hi ports --
> > > 
> > > Poking around the ports tree, I noticed that sysutils/dateutils hasn't 
> > > been
> > > updated since it was imported in 2014. There has been consistent upstream
> > > activity in the interim, and they made a new release earlier today.
> > > 
> > > The changelog is here, note that you'll have to read several years worth 
> > > of
> > > releases to get the full picture:
> > > https://github.com/hroptatyr/dateutils/releases
> > > 
> > > Seems ok on amd64; nothing relies on it.
> > It honours CFLAGS anyway now, the patch should be removed.
> > 
> > HOMEPAGE supports https.
> 
> HOMEPAGE was already changed to https with this commit:
> https://marc.info/?l=openbsd-ports-cvs=157350593407141=2
> 
> ~Brian
> 
> > > OK?
> > OK with those changes, it would be nice to get the tests working though.
> 

Ah yes, I was on a -stable box ..

OK with the patch removed then.



Re: UPDATE: sysutils/dateutils 0.2.7 => 0.4.7

2020-02-04 Thread Brian Callahan




On 2020-02-04 4:39 AM, Stuart Henderson wrote:

On 2020/02/03 22:48, Brian Callahan wrote:

Hi ports --

Poking around the ports tree, I noticed that sysutils/dateutils hasn't been
updated since it was imported in 2014. There has been consistent upstream
activity in the interim, and they made a new release earlier today.

The changelog is here, note that you'll have to read several years worth of
releases to get the full picture:
https://github.com/hroptatyr/dateutils/releases

Seems ok on amd64; nothing relies on it.

It honours CFLAGS anyway now, the patch should be removed.

HOMEPAGE supports https.


HOMEPAGE was already changed to https with this commit:
https://marc.info/?l=openbsd-ports-cvs=157350593407141=2

~Brian


OK?

OK with those changes, it would be nice to get the tests working though.




Re: UPDATE: sysutils/dateutils 0.2.7 => 0.4.7

2020-02-04 Thread Stuart Henderson
On 2020/02/03 22:48, Brian Callahan wrote:
> Hi ports --
> 
> Poking around the ports tree, I noticed that sysutils/dateutils hasn't been
> updated since it was imported in 2014. There has been consistent upstream
> activity in the interim, and they made a new release earlier today.
> 
> The changelog is here, note that you'll have to read several years worth of
> releases to get the full picture:
> https://github.com/hroptatyr/dateutils/releases
> 
> Seems ok on amd64; nothing relies on it.

It honours CFLAGS anyway now, the patch should be removed.

HOMEPAGE supports https.

> OK?

OK with those changes, it would be nice to get the tests working though.



UPDATE: sysutils/dateutils 0.2.7 => 0.4.7

2020-02-03 Thread Brian Callahan

Hi ports --

Poking around the ports tree, I noticed that sysutils/dateutils hasn't 
been updated since it was imported in 2014. There has been consistent 
upstream activity in the interim, and they made a new release earlier today.


The changelog is here, note that you'll have to read several years worth 
of releases to get the full picture: 
https://github.com/hroptatyr/dateutils/releases


Seems ok on amd64; nothing relies on it.

OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/sysutils/dateutils/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile	11 Nov 2019 20:58:49 -	1.4
+++ Makefile	4 Feb 2020 03:39:59 -
@@ -2,8 +2,7 @@
 
 COMMENT =		tools to fiddle with dates and times
 
-DISTNAME =		dateutils-0.2.7
-REVISION =		1
+DISTNAME =		dateutils-0.4.7
 
 CATEGORIES =		sysutils
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/dateutils/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo	10 Jul 2014 13:09:53 -	1.1.1.1
+++ distinfo	4 Feb 2020 03:39:59 -
@@ -1,2 +1,2 @@
-SHA256 (dateutils-0.2.7.tar.xz) = 99DFAted7EpgTrww58RJiNcJW9MDE30fplJyA1AzcEI=
-SIZE (dateutils-0.2.7.tar.xz) = 490456
+SHA256 (dateutils-0.4.7.tar.xz) = SXJUV/W+9F6kJLqt6JmablRJbjV/ZCgEdP9xNKVPWZo=
+SIZE (dateutils-0.4.7.tar.xz) = 649932
Index: patches/patch-configure
===
RCS file: /cvs/ports/sysutils/dateutils/patches/patch-configure,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-configure
--- patches/patch-configure	10 Jul 2014 13:09:53 -	1.1.1.1
+++ patches/patch-configure	4 Feb 2020 03:39:59 -
@@ -1,8 +1,11 @@
 $OpenBSD: patch-configure,v 1.1.1.1 2014/07/10 13:09:53 bentley Exp $
-Don't build with -O3 -ggdb3 -msse2 -nopie.
 configure.orig	Fri Mar 14 02:08:18 2014
-+++ configure	Fri Mar 14 02:11:12 2014
-@@ -5583,9 +5583,9 @@ $as_echo "${sxe_check_flag}" >&6; }
+
+Don't build with -O3 -ggdb3 -nopie.
+
+Index: configure
+--- configure.orig
 configure
+@@ -5722,9 +5722,9 @@ $as_echo "${sxe_check_flag}" >&6; }
  	debugflags=""
  	## gdb
  	if test "$sxe_cv_c_flag__ggdb3" = "yes"; then
@@ -14,28 +17,19 @@ Don't build with -O3 -ggdb3 -msse2 -nopi
  	fi
  	## stabs
  	if test "$sxe_cv_c_flag__gstabs3" = "yes"; then
-@@ -7649,8 +7649,6 @@ $as_echo_n "checking for preferred warning flags... " 
- 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${warnflags}" >&5
- $as_echo "${warnflags}" >&6; }
- 
--		optiflags="-O3"
--
- 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ipo256" >&5
- $as_echo_n "checking whether C compiler accepts -ipo256... " >&6; }
- 
-@@ -7801,7 +7799,6 @@ fi
- $as_echo "${sxe_check_flag}" >&6; }
+@@ -7940,7 +7940,6 @@ $as_echo "${sxe_check_flag}" >&6; }
  	if test "${sxe_check_flag}" = "yes"; then
  		:
--		featflags="$featflags -nopie"
+ 
+-			optiflags="${optiflags} -O3"
  	else
  		:
  
-@@ -7851,7 +7848,6 @@ $as_echo "${sxe_check_flag}" >&6; }
+@@ -8310,7 +8309,6 @@ fi
+ $as_echo "${sxe_check_flag}" >&6; }
  	if test "${sxe_check_flag}" = "yes"; then
  		:
- ## sse2 is the cure
--		featflags="$featflags -msse2"
+-		featflags="$featflags -nopie"
  	else
  		:
- ## oh bugger
+ 
Index: pkg/PLIST
===
RCS file: /cvs/ports/sysutils/dateutils/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST	22 May 2015 11:31:18 -	1.2
+++ pkg/PLIST	4 Feb 2020 03:39:59 -
@@ -1,39 +1,49 @@
 @comment $OpenBSD: PLIST,v 1.2 2015/05/22 11:31:18 ajacoutot Exp $
-@bin bin/dadd
-@bin bin/dconv
-@bin bin/ddiff
-@bin bin/dgrep
-@bin bin/dround
-@bin bin/dseq
-@bin bin/dtest
+bin/dadd
+@bin bin/dateadd
+@bin bin/dateconv
+@bin bin/datediff
+@bin bin/dategrep
+@bin bin/dateround
+@bin bin/dateseq
+@bin bin/datesort
+@bin bin/datetest
+@bin bin/datezone
+bin/dconv
+bin/ddiff
+bin/dgrep
+bin/dround
+bin/dseq
+bin/dsort
+bin/dtest
+bin/dzone
 @bin bin/strptime
-include/dateutils/
-include/dateutils/boops.h
-include/dateutils/date-core-strpf.h
-include/dateutils/date-core.h
-include/dateutils/dt-core-strpf.h
-include/dateutils/dt-core-tz-glue.h
-include/dateutils/dt-core.h
-include/dateutils/generics.h
-include/dateutils/leaps.h
-include/dateutils/leapseconds.def
-include/dateutils/nifty.h
-include/dateutils/strops.h
-include/dateutils/time-core-strpf.h
-include/dateutils/time-core.h
-include/dateutils/token.h
-include/dateutils/tzraw.h
 @info info/dateutils.info
-lib/libdut.a
-lib/pkgconfig/libdut.pc
 @man man/man1/dadd.1
+@man man/man1/dateadd.1
+@man man/man1/dateconv.1
+@man man/man1/datediff.1
+@man man/man1/dategrep.1
+@man man/man1/dateround.1
+@man man/man1/dateseq.1
+@man man/man1/datesort.1
+@man man/man1/datetest.1
 @man man/man1/dateutils.1
+@man man/man1/datezone.1
 @man man/man1/dconv.1
 @man man/man1/ddiff.1
 @man