Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,8 +1,10 @@
# $NetBSD: Makefile,v 1.2 2013/10/31 08:32:55 wiz Exp $
# $NetBSD: Makefile,v 1.6 2015/03/19 19:17:18 joerg Exp $
DISTNAME= dateutils-0.2.6
DISTNAME= dateutils-0.3.1
PKGREVISION= 1
CATEGORIES= time
MASTER_SITES= http://cdn.bitbucket.org/hroptatyr/dateutils/downloads/
MASTER_SITES= https://github.com/hroptatyr/dateutils/releases/download/v0.3.1/
MASTER_SITES+= https://bitbucket.org/hroptatyr/dateutils/downloads/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -10,11 +12,46 @@ HOMEPAGE= http://www.fresse.org/dateutils/
COMMENT= Command line tools for working with dates
LICENSE= modified-bsd
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
USE_TOOLS+= pkg-config gmake makeinfo bison flex
USE_LIBTOOL= yes
MAKE_JOBS_SAFE= no
PKGCONFIG_OVERRIDE+= libdut.pc.in
INFO_FILES= yes
TEST_TARGET= check
INCLUDEDIR= include/${PKGBASE}
AUTO_MKDIRS= YES
post-build:
(cd ${WRKSRC}/lib; ${GMAKE})
post-install:
(cd ${WRKSRC}/lib; \
env DESTDIR=${DESTDIR} ${GMAKE} install-libLIBRARIES)
# To have the similar PLIST of previous version, installing headers.
.for i in \
boops.h \
date-core-strpf.h \
date-core.h \
dt-core-strpf.h \
dt-core-tz-glue.h \
dt-core.h \
generics.h \
gmtime.h \
leaps.h \
leapseconds.def \
leapseconds.h \
nifty.h \
strops.h \
time-core-strpf.h \
time-core.h \
token.h \
tzmap.h \
tzraw.h \
version.h
(cd ${WRKSRC}/lib; ${INSTALL_DATA} ${i} ${DESTDIR}${PREFIX}/${INCLUDEDIR})
.endfor
.include "../../devel/gperf/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,11 +1,13 @@
@comment $NetBSD: PLIST,v 1.1 2013/10/21 15:05:05 wiz Exp $
@comment $NetBSD: PLIST,v 1.3 2014/12/16 01:51:35 mef Exp $
bin/dadd
bin/dconv
bin/ddiff
bin/dgrep
bin/dround
bin/dseq
bin/dsort
bin/dtest
bin/dzone
bin/strptime
include/dateutils/boops.h
include/dateutils/date-core-strpf.h
@@ -14,17 +16,20 @@ include/dateutils/dt-core-strpf.h
include/dateutils/dt-core-tz-glue.h
include/dateutils/dt-core.h
include/dateutils/generics.h
include/dateutils/gmtime.h
include/dateutils/leaps.h
include/dateutils/leapseconds.def
include/dateutils/leapseconds.h
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/tzmap.h
include/dateutils/tzraw.h
include/dateutils/version.h
info/dateutils.info
lib/libdut.a
lib/pkgconfig/libdut.pc
man/man1/dadd.1
man/man1/dateutils.1
man/man1/dconv.1
@@ -32,6 +37,11 @@ man/man1/ddiff.1
man/man1/dgrep.1
man/man1/dround.1
man/man1/dseq.1
man/man1/dsort.1
man/man1/dtest.1
man/man1/dzone.1
man/man1/strptime.1
share/dateutils/iata.tzmcc
share/dateutils/icao.tzmcc
share/dateutils/mic.tzmcc
share/doc/dateutils/README.md

View File

@@ -1,5 +1,9 @@
$NetBSD: distinfo,v 1.2 2013/10/31 08:32:55 wiz Exp $
$NetBSD: distinfo,v 1.5 2015/03/19 19:17:18 joerg Exp $
SHA1 (dateutils-0.2.6.tar.xz) = 55709a7a259bf73fb9ff7bb62de7a31a894870ed
RMD160 (dateutils-0.2.6.tar.xz) = 3b505637bba64a0cc8fbd63935dd63e397b1e1cc
Size (dateutils-0.2.6.tar.xz) = 485740 bytes
SHA1 (dateutils-0.3.1.tar.xz) = 07884be555998aa649733401e65f073ada89ac08
RMD160 (dateutils-0.3.1.tar.xz) = a45ed9fb1c5d5107883fb3cfdf3f43d238e0497c
Size (dateutils-0.3.1.tar.xz) = 586848 bytes
SHA1 (patch-Makefile.am) = 936ad7f986ff5cb8bec5f85c96a17657fca2774f
SHA1 (patch-Makefile.in) = ff5aaffb2046f17189b9074090c68295df5fb57a
SHA1 (patch-configure) = 191c8d1d2a81ecbea8a699a6da1a161c06688db4
SHA1 (patch-m4_sxe-compiler.m4) = 0ac9b1337c7a1de66f644aaf1a048f404d521e7b

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-Makefile.am,v 1.1 2014/12/15 08:45:47 mef Exp $
Previous version (at least 0.27) installs libdut.a, while 0.31
does not. Add that one.
--- lib/Makefile.am~ 2014-10-07 23:57:32.000000000 +0900
+++ lib/Makefile.am 2014-12-15 16:13:40.000000000 +0900
@@ -9,7 +9,7 @@
noinst_HEADERS =
noinst_LIBRARIES =
pkgdata_DATA =
-lib_LIBRARIES =
+lib_LIBRARIES = libdut.a
BUILT_SOURCES =
CLEANFILES =
DISTCLEANFILES =

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-Makefile.in,v 1.1 2014/12/16 01:51:35 mef Exp $
Previous version (at least 0.27) installs libdut.a, while 0.31
does not. Add that one.
--- lib/Makefile.in.orig 2014-12-16 10:31:51.000000000 +0900
+++ lib/Makefile.in 2014-12-16 10:34:41.000000000 +0900
@@ -332,7 +332,7 @@
noinst_HEADERS =
noinst_LIBRARIES = libdut.a
pkgdata_DATA = $(am__append_6) $(am__append_9)
-lib_LIBRARIES =
+lib_LIBRARIES = libdut.a
BUILT_SOURCES = ltrcc.yucc version.c fmt-special.c leapseconds.def \
tzmap.yucc $(am__append_3)
CLEANFILES = $(am__append_7) $(am__append_10)

View File

@@ -0,0 +1,338 @@
$NetBSD: patch-configure,v 1.1 2015/03/19 19:17:18 joerg Exp $
Don't create broken or non-portable binaries. This code isn't even
performance critical.
--- configure.orig 2015-03-19 00:03:08.000000000 +0000
+++ configure
@@ -7779,330 +7779,6 @@ $as_echo_n "checking for preferred warni
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${warnflags}" >&5
$as_echo "${warnflags}" >&6; }
-
-
- case " ${CFLAGS} ${EXTRA_CFLAGS}" in
- (*" -O"0-9)
- ;;
- (*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -O3" >&5
-$as_echo_n "checking whether C compiler accepts -O3... " >&6; }
-
- ## store werror status, then turn -Werror on
- save_ac_c_werror_flag="${ac_c_werror_flag}"
-
-ac_c_werror_flag=yes
-
- if ${sxe_cv_c_flag__O3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- sxe_save_FLAGS="${CFLAGS}"
- CFLAGS="-O3"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval sxe_cv_c_flag__O3="yes"
-else
- eval sxe_cv_c_flag__O3="no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- CFLAGS="${sxe_save_FLAGS}"
-
-fi
-
- eval sxe_check_flag=$sxe_cv_c_flag__O3
- ac_c_werror_flag="${save_ac_c_werror_flag}"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
-$as_echo "${sxe_check_flag}" >&6; }
- if test "${sxe_check_flag}" = "yes"; then
- :
-
- optiflags="${optiflags} -O3"
- else
- :
-
- fi
-
- ;;
- esac
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ipo256" >&5
-$as_echo_n "checking whether C compiler accepts -ipo256... " >&6; }
-
- ## store werror status, then turn -Werror on
- save_ac_c_werror_flag="${ac_c_werror_flag}"
-
-ac_c_werror_flag=yes
-
- if ${sxe_cv_c_flag__ipo256+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- sxe_save_FLAGS="${CFLAGS}"
- CFLAGS="-ipo256"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval sxe_cv_c_flag__ipo256="yes"
-else
- eval sxe_cv_c_flag__ipo256="no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- CFLAGS="${sxe_save_FLAGS}"
-
-fi
-
- eval sxe_check_flag=$sxe_cv_c_flag__ipo256
- ac_c_werror_flag="${save_ac_c_werror_flag}"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
-$as_echo "${sxe_check_flag}" >&6; }
- if test "${sxe_check_flag}" = "yes"; then
- :
-
- optiflags="${optiflags} -ipo256"
- else
- :
-
- fi
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ipo-jobs256" >&5
-$as_echo_n "checking whether C compiler accepts -ipo-jobs256... " >&6; }
-
- ## store werror status, then turn -Werror on
- save_ac_c_werror_flag="${ac_c_werror_flag}"
-
-ac_c_werror_flag=yes
-
- if ${sxe_cv_c_flag__ipo_jobs256+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- sxe_save_FLAGS="${CFLAGS}"
- CFLAGS="-ipo-jobs256"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval sxe_cv_c_flag__ipo_jobs256="yes"
-else
- eval sxe_cv_c_flag__ipo_jobs256="no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- CFLAGS="${sxe_save_FLAGS}"
-
-fi
-
- eval sxe_check_flag=$sxe_cv_c_flag__ipo_jobs256
- ac_c_werror_flag="${save_ac_c_werror_flag}"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
-$as_echo "${sxe_check_flag}" >&6; }
- if test "${sxe_check_flag}" = "yes"; then
- :
-
- optiflags="${optiflags} -ipo-jobs256"
- else
- :
-
- fi
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -no-prec-div" >&5
-$as_echo_n "checking whether C compiler accepts -no-prec-div... " >&6; }
-
- ## store werror status, then turn -Werror on
- save_ac_c_werror_flag="${ac_c_werror_flag}"
-
-ac_c_werror_flag=yes
-
- if ${sxe_cv_c_flag__no_prec_div+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- sxe_save_FLAGS="${CFLAGS}"
- CFLAGS="-no-prec-div"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval sxe_cv_c_flag__no_prec_div="yes"
-else
- eval sxe_cv_c_flag__no_prec_div="no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- CFLAGS="${sxe_save_FLAGS}"
-
-fi
-
- eval sxe_check_flag=$sxe_cv_c_flag__no_prec_div
- ac_c_werror_flag="${save_ac_c_werror_flag}"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
-$as_echo "${sxe_check_flag}" >&6; }
- if test "${sxe_check_flag}" = "yes"; then
- :
-
- optiflags="${optiflags} -no-prec-div"
- else
- :
-
- fi
-
-
- ## -fast implies -static which is a dream but
- ## packager prefer dynamic binaries
-
- ## auto-vectorisation
-
- case " ${CFLAGS} ${EXTRA_CFLAGS}" in
- (*" -mtune"*)
- ## don't tune
- ;;
- (*" -march"*)
- ## don't set march
- ;;
- (*" -m32 "*)
- ## don't bother
- ;;
- (*" -m64 "*)
- ## don't bother
- ;;
- (*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -xHost" >&5
-$as_echo_n "checking whether C compiler accepts -xHost... " >&6; }
-
- ## store werror status, then turn -Werror on
- save_ac_c_werror_flag="${ac_c_werror_flag}"
-
-ac_c_werror_flag=yes
-
- if ${sxe_cv_c_flag__xHost+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- sxe_save_FLAGS="${CFLAGS}"
- CFLAGS="-xHost"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval sxe_cv_c_flag__xHost="yes"
-else
- eval sxe_cv_c_flag__xHost="no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- CFLAGS="${sxe_save_FLAGS}"
-
-fi
-
- eval sxe_check_flag=$sxe_cv_c_flag__xHost
- ac_c_werror_flag="${save_ac_c_werror_flag}"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
-$as_echo "${sxe_check_flag}" >&6; }
- if test "${sxe_check_flag}" = "yes"; then
- :
-
- optiflags="${optiflags} -xHost"
- else
- :
-
- ## non-icc
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mtune=native -march=native" >&5
-$as_echo_n "checking whether C compiler accepts -mtune=native -march=native... " >&6; }
-
- ## store werror status, then turn -Werror on
- save_ac_c_werror_flag="${ac_c_werror_flag}"
-
-ac_c_werror_flag=yes
-
- if { as_var=`$as_echo "sxe_cv_c_flag_-mtune=native -march=native" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
- $as_echo_n "(cached) " >&6
-else
- sxe_save_FLAGS="${CFLAGS}"
- CFLAGS="-mtune=native -march=native"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval `$as_echo "sxe_cv_c_flag_-mtune=native -march=native" | $as_tr_sh`="yes"
-else
- eval `$as_echo "sxe_cv_c_flag_-mtune=native -march=native" | $as_tr_sh`="no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- CFLAGS="${sxe_save_FLAGS}"
-
-fi
-
- eval sxe_check_flag=$`$as_echo "sxe_cv_c_flag_-mtune=native -march=native" | $as_tr_sh`
- ac_c_werror_flag="${save_ac_c_werror_flag}"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
-$as_echo "${sxe_check_flag}" >&6; }
- if test "${sxe_check_flag}" = "yes"; then
- :
-
- optiflags="${optiflags} -mtune=native -march=native"
- else
- :
-
- fi
-
-
- fi
-
- ;;
- esac
-
SXE_CFLAGS="${SXE_CFLAGS} ${debugflags} ${optiflags} ${warnflags}"
## default flags for needed features

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-m4_sxe-compiler.m4,v 1.1 2015/03/19 19:17:18 joerg Exp $
Don't create broken or non-portable binaries. This code isn't even
performance critical.
--- m4/sxe-compiler.m4.orig 2015-03-19 00:06:56.000000000 +0000
+++ m4/sxe-compiler.m4
@@ -453,7 +453,6 @@ AC_DEFUN([SXE_CHECK_CFLAGS], [dnl
## Use either command line flag, environment var, or autodetection
SXE_DEBUGFLAGS
SXE_WARNFLAGS
- SXE_OPTIFLAGS
SXE_CFLAGS="${SXE_CFLAGS} ${debugflags} ${optiflags} ${warnflags}"
SXE_FEATFLAGS