Date: Tue, 29 May 2018 09:30:48 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471089 - in head/devel/ding-libs: . files Message-ID: <201805290930.w4T9Umgh010084@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Tue May 29 09:30:47 2018 New Revision: 471089 URL: https://svnweb.freebsd.org/changeset/ports/471089 Log: devel/ding-libs: Update to 0.6.1 - Move to new home on pagure.org, fedorahosted.org is gone. [1] While here - Update WWW - Take maintainership. The current maintainer has not responded for over a year. - Remove USES=autoreconf. It was added in ports r372261 for patching in fmemopen() support but hasn't been needed anymore since ports r395775 which dropped FreeBSD 8.x support. - Remove bogus USES=gettext. This port only wants to link with libintl, so only gettext-runtime is required. - Fix license. Some files are LGPL3+ others are GPLv3+. - Add test target - Do not build static libraries Changes: https://pagure.io/SSSD/ding-libs/commits/master PR: 218098 [1] Reported by: asomers [1] Submitted by: w.schwarzenfeld@utanet.at [1] Added: head/devel/ding-libs/files/patch-configure (contents, props changed) head/devel/ding-libs/files/patch-ini_ini__save__ut.c (contents, props changed) head/devel/ding-libs/files/patch-path__utils_path__utils__ut.c (contents, props changed) Deleted: head/devel/ding-libs/files/patch-ini__ini_parse_ut.c Modified: head/devel/ding-libs/Makefile head/devel/ding-libs/distinfo head/devel/ding-libs/pkg-descr head/devel/ding-libs/pkg-plist Modified: head/devel/ding-libs/Makefile ============================================================================== --- head/devel/ding-libs/Makefile Tue May 29 09:17:39 2018 (r471088) +++ head/devel/ding-libs/Makefile Tue May 29 09:30:47 2018 (r471089) @@ -2,33 +2,44 @@ # $FreeBSD$ PORTNAME= ding-libs -PORTVERSION= 0.5.0 +PORTVERSION= 0.6.1 CATEGORIES= devel -MASTER_SITES= https://fedorahosted.org/released/${PORTNAME}/ +MASTER_SITES= https://releases.pagure.org/SSSD/ding-libs/ \ + LOCAL/tobik/ding-libs +DIST_SUBDIR= ding-libs -MAINTAINER= aweits@rit.edu +# Build fixes for non-Linux systems +PATCH_SITES= LOCAL/tobik/ding-libs \ + https://pagure.io/SSSD/ding-libs/c/ +PATCHFILES= 8fc522605a90e670fe76dc1b44669230c121a96e.patch:-p1 \ + 72c19bd018b107ecf5a80963b433e9922f7243fd.patch:-p1 \ + 315a0d527e0734ed2fd4529c9b685e41d2ce5dad.patch:-p1 \ + be9ca3a2c26b061d1f22bd4a09009bba7a01f67b.patch:-p1 \ + a731d8c8c515e7e42a4fb448e0ecb6934d5bf99b.patch:-p1 + +MAINTAINER= tobik@FreeBSD.org COMMENT= Collection of useful libraries for developers -LICENSE= GPLv3+ -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= GPLv3+ LGPL3+ +LICENSE_COMB= multi +LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING +LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER -GNU_CONFIGURE= yes - -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} -lintl - -USES= autoreconf iconv gettext libtool pathfix pkgconfig +USES= iconv gettext-runtime libtool localbase USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-static +CONFIGURE_ENV= DOXYGEN="" +LIBS+= ${ICONV_LIB} -lintl INSTALL_TARGET= install-strip +TEST_TARGET= check -CONFIGURE_ENV+= DOXYGEN="" +OPTIONS_DEFINE= DOCS TEST -OPTIONS_DEFINE= DOCS - -post-patch: - @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' ${WRKSRC}/collection/collection_tools.c \ - ${WRKSRC}/refarray/ref_array.c - @${REINPLACE_CMD} -e 's|git log -1 &>/dev/null|true|g' \ - ${WRKSRC}/configure.ac +# libcheck is required to run *all* the unit tests. +# Without it only 14/20 tests will run. +TEST_BUILD_DEPENDS= check>=0:devel/check +TEST_USES= pkgconfig .include <bsd.port.mk> Modified: head/devel/ding-libs/distinfo ============================================================================== --- head/devel/ding-libs/distinfo Tue May 29 09:17:39 2018 (r471088) +++ head/devel/ding-libs/distinfo Tue May 29 09:30:47 2018 (r471089) @@ -1,2 +1,13 @@ -SHA256 (ding-libs-0.5.0.tar.gz) = dab937537a05d7a7cbe605fdb9b3809080d67b124ac97eb321255b35f5b172fd -SIZE (ding-libs-0.5.0.tar.gz) = 868840 +TIMESTAMP = 1527583392 +SHA256 (ding-libs/ding-libs-0.6.1.tar.gz) = a319a327deb81f2dfab9ce4a4926e80e1dac5dcfc89f4c7e548cec2645af27c1 +SIZE (ding-libs/ding-libs-0.6.1.tar.gz) = 904092 +SHA256 (ding-libs/8fc522605a90e670fe76dc1b44669230c121a96e.patch) = d1f5265adb08915349c7bda9dad80fd3dc50b87e39da89a5380b9e36fd54b5ca +SIZE (ding-libs/8fc522605a90e670fe76dc1b44669230c121a96e.patch) = 1604 +SHA256 (ding-libs/72c19bd018b107ecf5a80963b433e9922f7243fd.patch) = 7d0423031d45b78fdadc4a927333da76d1f0bdc3f83a0fe7cd4f3b1bc1b6cb42 +SIZE (ding-libs/72c19bd018b107ecf5a80963b433e9922f7243fd.patch) = 1568 +SHA256 (ding-libs/315a0d527e0734ed2fd4529c9b685e41d2ce5dad.patch) = 0b4df91d6c8bec9732375f79bd007af0690871c6eeff06d748f946294379abb8 +SIZE (ding-libs/315a0d527e0734ed2fd4529c9b685e41d2ce5dad.patch) = 991 +SHA256 (ding-libs/be9ca3a2c26b061d1f22bd4a09009bba7a01f67b.patch) = e129950a3bee6498f60ce9db7c98b8ce0e974cfea032a717ae06fa748f872c0c +SIZE (ding-libs/be9ca3a2c26b061d1f22bd4a09009bba7a01f67b.patch) = 4037 +SHA256 (ding-libs/a731d8c8c515e7e42a4fb448e0ecb6934d5bf99b.patch) = d39a70ecb642c5fc6ccec16e4d9a3e32ec672497a9e3ea9e9844a8e553214611 +SIZE (ding-libs/a731d8c8c515e7e42a4fb448e0ecb6934d5bf99b.patch) = 862 Added: head/devel/ding-libs/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ding-libs/files/patch-configure Tue May 29 09:30:47 2018 (r471089) @@ -0,0 +1,15 @@ +Get rid of bashism + +https://pagure.io/SSSD/ding-libs/c/90f715c882a715f8cb827db14167ce8976a0fcd9 + +--- configure.orig 2017-09-22 15:44:32 UTC ++++ configure +@@ -12658,7 +12658,7 @@ BASICOBJECTS_VERSION=0.1.1 + INI_CONFIG_VERSION=1.3.1 + + +- if git log -1 &>/dev/null; then ++ if git log -1 > /dev/null 2>&1; then + GIT_CHECKOUT_TRUE= + GIT_CHECKOUT_FALSE='#' + else Added: head/devel/ding-libs/files/patch-ini_ini__save__ut.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ding-libs/files/patch-ini_ini__save__ut.c Tue May 29 09:30:47 2018 (r471089) @@ -0,0 +1,11 @@ +--- ini/ini_save_ut.c.orig 2018-05-29 07:31:23 UTC ++++ ini/ini_save_ut.c +@@ -180,7 +180,7 @@ static int basic_test(void) + (srcdir == NULL) ? "." : srcdir, + cmp_files[i]); + +- snprintf(command, PATH_MAX * 3, "cmp -l -b %s %s", resname, cmpname); ++ snprintf(command, PATH_MAX * 3, "cmp -l %s %s", resname, cmpname); + error = system(command); + if ((error) || (WEXITSTATUS(error))) { + printf("Failed to compare files %d %d.\n", error, Added: head/devel/ding-libs/files/patch-path__utils_path__utils__ut.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ding-libs/files/patch-path__utils_path__utils__ut.c Tue May 29 09:30:47 2018 (r471089) @@ -0,0 +1,11 @@ +--- path_utils/path_utils_ut.c.orig 2018-05-29 08:04:46 UTC ++++ path_utils/path_utils_ut.c +@@ -62,7 +62,7 @@ START_TEST(test_dirname) + fail_unless_str_equal(p, "//foo"); + + fail_unless(get_dirname(p, PATH_MAX, "//foo//") == SUCCESS); +- fail_unless_str_equal(p, "//"); ++ fail_unless_str_equal(p, "/"); + + fail_unless(get_dirname(p, PATH_MAX, "foo//bar") == SUCCESS); + fail_unless_str_equal(p, "foo"); Modified: head/devel/ding-libs/pkg-descr ============================================================================== --- head/devel/ding-libs/pkg-descr Tue May 29 09:17:39 2018 (r471088) +++ head/devel/ding-libs/pkg-descr Tue May 29 09:30:47 2018 (r471089) @@ -7,4 +7,4 @@ array (libref_array), and a library to process configu initialization format (INI) into a library collection data structure (libini_config). -WWW: https://fedorahosted.org/sssd/ +WWW: https://pagure.io/SSSD/ding-libs/ Modified: head/devel/ding-libs/pkg-plist ============================================================================== --- head/devel/ding-libs/pkg-plist Tue May 29 09:17:39 2018 (r471088) +++ head/devel/ding-libs/pkg-plist Tue May 29 09:30:47 2018 (r471089) @@ -11,27 +11,21 @@ include/ini_valueobj.h include/path_utils.h include/ref_array.h include/simplebuffer.h -lib/libbasicobjects.a lib/libbasicobjects.so lib/libbasicobjects.so.0 lib/libbasicobjects.so.0.1.0 -lib/libcollection.a lib/libcollection.so lib/libcollection.so.4 -lib/libcollection.so.4.1.0 -lib/libdhash.a +lib/libcollection.so.4.1.1 lib/libdhash.so lib/libdhash.so.1 -lib/libdhash.so.1.0.2 -lib/libini_config.a +lib/libdhash.so.1.1.0 lib/libini_config.so lib/libini_config.so.5 -lib/libini_config.so.5.1.0 -lib/libpath_utils.a +lib/libini_config.so.5.2.1 lib/libpath_utils.so lib/libpath_utils.so.1 lib/libpath_utils.so.1.0.1 -lib/libref_array.a lib/libref_array.so lib/libref_array.so.1 lib/libref_array.so.1.2.1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805290930.w4T9Umgh010084>