pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update libpsl to 0.20.2.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Tue Jul 24 19:01:54 2018 +0200
Changeset:	07cfc7a9f7cc042dcf8f1c0f1d3fdc4b40128e48

Modified Files:
	libpsl/Makefile
	libpsl/PLIST
	libpsl/distinfo
Added Files:
	libpsl/patches/patch-autogen.sh

Log Message:
Update libpsl to 0.20.2.

This now has the actual public suffix list pulled in separately.

26.04.2018 Release V0.20.2
  * Fix non srcdir builds
  * Add API decoration
  * Fix for MSVC/Win32 builds
  * Detection fallback from libidn2 to libcu, libidn
  * Fix MinGW cross builds on Linux
  * Add NMake Makefiles for Visual Studio builds

26.02.2018 Release V0.20.1
  * Fix issue introduced with PSL_TYPE_NO_STAR_RULE in V0.20.0
  * Fix SO_VERSION to 8:0:3
  * Improve unit tests

22.02.2018 Release V0.20.0
  * Remove hard-coded gcc flag in Makefile.am
  * Prevent excessive CPU cycles on large inputs
  * New flag PSL_TYPE_NO_STAR_RULE to skip star rule

09.11.2017 Release V0.19.1
  * Add the forgotten commit with NEWS and configure.ac

09.11.2017 Release V0.19.0
  * New function psl_free_string()
  * psl_make_dafsa now works with python2 and python3
  * psl_*count() functions now return -1 if info is not available
  * Fixed unsigned integer overflow in _mem_is_ascii()
  * Add -fsanitize-address-use-after-scope to --enable-asan if available

20.07.2017 Release V0.18.0
  * Fix order of files in psl_latest()
  * Add fuzzing architecture
  * Fix memleak in _psl_is_public_suffix()
  * Add configure option --enable-asan (Address sanitizer)
  * Add configure option --enable-usan (Undefined sanitizer)
  * Add configure option --enable-cfi (Control Flow Integrity)
  * Fix finding libidn2 for static builds
  * Fix use of uninitialized stack value
  * Fix buffer overflow in libicu build
  * Use libidn2 as default for builds (former libicu)
  * Add pkg-config support for libidn and libidn2

16.01.2017 Release V0.17.0
  * Use TR46 non-transitional for IDNA (libicu, libidn2 >= 0.14)
  * Fix coverage upload from TravisCI to Coveralls
  * New tests to cover psl_latest() and psl_dist_filename()

15.12.2016 Release V0.16.1
  * Fix SO_VERSION to 6:0:1
  * Add --use-latest-psl to tools/psl as default

16.12.2016 Release V0.16.0
  * Add functions psl_latest() and psl_dist_filename()
  * Do not taint out variable on error in psl_str_to_utf8lower()
  * Replace psl2c by psl-make-dafsa
  * Add missing includes for OpenBSD
  * Fix typos
  * Update copyright year

14.11.2016 Release V0.15.0
  * Python3 compatibility for psl-make-dafsa
  * Support for UTF-8 in DAFSA data
  * Skip punycode conversion if DAFSA has UTF-8
  * Better code coverage by test suite
  * Code cleanup and enhancements
  * Install man pages for psl-make-dafsa and psl
  * Enhancements to the documentation

30.07.2016 Release V0.14.0
  * Remove unneeded libraries from tools/psl link step
  * Use https instead of http where possible
  * Add man page for tools/psl
  * Add header magic to DAFSA files
  * Rename make_dafsa.py to psl-make-dafsa
  * Add man page for psl-make-dafsa

02.03.2016 Release V0.13.0
  * Use tests.txt as PSL test file by default
  * Slightly shorter DAFSA array when sorting input
  * Check for python 2.7+ in configure.ac
  * Fix python3 incompatibilities in make_dafsa.py

02.01.2016 Release V0.12.0
  * Load DAFSA binaries via psl_load_file() via auto-detection
  * Add more tests
  * Remove psl_builtin_compile_time()
  * Compile PSL into DAFSA using make_dafsa.py
  * Avoid libicu dependency with --enable-runtime=no
  * Test on new Travis-CI build farm
  * Use DAFSA format for builtin PSL data
  * Add function psl_is_public_suffix2()
  * Fix psl_builtin_outdated()
  * Fix several bugs
  * Cleanup code

23.09.2015 Release V0.11.0
  * Add new function psl_check_version_number()
  * Add version defines to include file

19.09.2015 Release V0.10.0
  * Code simplified
  * Less data entries, faster lookups
  * Add new function psl_suffix_wildcard_count()
  * Add new helper function psl_builtin_outdated()

15.09.2015 Release V0.9.0
  * Added semantic checks to PSL entries when generating built-in data
  * Fix test suite for TLD exceptions (not used yet in reality)
  * Removed wrong assumption from test suite
  * Support explicit combination of 'foo.bar' and '*.foo.bar'

14.08.2015 Release V0.8.1
  * Fix documentation
  * Add syntax checking of tests_psl.txt

06.08.2015 Release V0.8.0
  * Add https://github.com/publicsuffix as git submodule
  * Support Debian 'Reproducible Builds'
  * Fix generation of docs
  * Check UTF-8 sequences for validity (for libidn<=1.30)
  * Add LICENSE to distribution tarball
  * Fix compatibility function strndup

21.02.2015 Release V0.7.1
  * include configured PSL file into tarball

30.01.2015 Release V0.7.0
  * include effective_tld_names.dat of date 29.12.2014
  * do not install docs when gtk-doc is not installed
  * fix several compatibility issues with Solaris
  * fix 'make distcheck' after 'make clean'
  * mark API as stable
  * use pkg-config to detect libicu

14.11.2014 Release V0.6.2
  * revoked commit from 0.6.1 to satisfy Travis-CI

14.11.2014 Release V0.6.1
  * include effective_tld_names.dat of date 04.11.2014
  * fix pkg-config configuration
25.04.2014  Initial release V0.2

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=07cfc7a9f7cc042dcf8f1c0f1d3fdc4b40128e48

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libpsl/Makefile                 | 10 +++++++---
 libpsl/PLIST                    |  6 +++---
 libpsl/distinfo                 | 12 +++++++++---
 libpsl/patches/patch-autogen.sh | 22 ++++++++++++++++++++++
 4 files changed, 41 insertions(+), 9 deletions(-)

diffs:
diff --git a/libpsl/Makefile b/libpsl/Makefile
index dbe86cdf60..d98886d1e9 100644
--- a/libpsl/Makefile
+++ b/libpsl/Makefile
@@ -1,8 +1,11 @@
 # $NetBSD: Makefile,v 1.2 2014/10/28 15:33:54 thomasklausner Exp $
 
-DISTNAME=	libpsl-0.6.0
+DISTNAME=	libpsl-0.20.2
 CATEGORIES=	devel
-MASTER_SITES=	-https://github.com/rockdaboot/libpsl/archive/${PKGVERSION}${EXTRACT_SUFX}
+MASTER_SITES=	https://github.com/rockdaboot/libpsl/archive/
+DISTFILES=	${DEFAULT_DISTFILES} public_suffix_list.dat
+SITES.public_suffix_list.dat=	https://raw.githubusercontent.com/publicsuffix/list/c45eff1c741d197778430e64e5d6f8bb0d7e9c8d/
+DIST_SUBDIR=	${PKGNAME_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/rockdaboot/libpsl/
@@ -11,16 +14,17 @@ LICENSE=	mit
 
 BUILD_DEPENDS+=	gettext-m4-[0-9]*:../../devel/gettext-m4
 BUILD_DEPENDS+=	gettext-tools-[0-9]*:../../devel/gettext-tools
-BUILD_DEPENDS+=	gtk-doc-[0-9]*:../../textproc/gtk-doc
 
 USE_TOOLS+=	gmake pkg-config autoconf automake
 USE_LIBTOOL=	yes
 USE_LANGUAGES=	c c++
 GNU_CONFIGURE=	yes
+WRKSRC=		${WRKDIR}/libpsl-${DISTNAME}
 
 PKGCONFIG_OVERRIDE+=	libpsl.pc.in
 
 pre-configure:
+	${CP} ${DISTDIR}/${DIST_SUBDIR}/public_suffix_list.dat ${WRKSRC}/list/
 	cd ${WRKSRC} && ${CONFIG_SHELL} autogen.sh
 
 .include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/libpsl/PLIST b/libpsl/PLIST
index dcb7b87ee9..0808b77d36 100644
--- a/libpsl/PLIST
+++ b/libpsl/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2014/10/28 15:33:54 thomasklausner Exp $
+@comment $NetBSD$
 bin/psl
 include/libpsl.h
 lib/libpsl.la
 lib/pkgconfig/libpsl.pc
-share/libpsl/effective_tld_names.dat
-share/libpsl/test_psl.txt
+man/man1/psl-make-dafsa.1
+man/man1/psl.1
diff --git a/libpsl/distinfo b/libpsl/distinfo
index b5ccb36d04..956fe683f5 100644
--- a/libpsl/distinfo
+++ b/libpsl/distinfo
@@ -1,5 +1,11 @@
 $NetBSD: distinfo,v 1.2 2014/10/28 15:33:55 thomasklausner Exp $
 
-SHA1 (libpsl-0.6.0.tar.gz) = e70febdc2822b57484bcb4b67722c445cd8af834
-RMD160 (libpsl-0.6.0.tar.gz) = b176281a4298c2d59d529510d91c73fd0547a384
-Size (libpsl-0.6.0.tar.gz) = 85334 bytes
+SHA1 (libpsl-0.20.2/libpsl-0.20.2.tar.gz) = 0789ec8d11283ba278d5fcfc313d098d30ba713c
+RMD160 (libpsl-0.20.2/libpsl-0.20.2.tar.gz) = b7e75358026d0ce0da0da408ca478f23cf396c96
+SHA512 (libpsl-0.20.2/libpsl-0.20.2.tar.gz) = 45c014fcc8c1ffc491dfb4ee26e3416f4f7d731abeb3a3b3e6af090b273b391d737297fce60baf82cad03ae996b3bbd9600df7e4a95931b0ed3d3107a712ea06
+Size (libpsl-0.20.2/libpsl-0.20.2.tar.gz) = 8589843 bytes
+SHA1 (libpsl-0.20.2/public_suffix_list.dat) = 10874c9b721d6c812aebbdd29008acfea9e8ecb9
+RMD160 (libpsl-0.20.2/public_suffix_list.dat) = eb156a05ff2f8f25e3f24459a12bc4b5020f46f2
+SHA512 (libpsl-0.20.2/public_suffix_list.dat) = 2a220da79699c31c01cd72ead7f8024e36ac826afd3f0742def463f83da5f227749523a75dfabf97ac2236765d845330607f017eeb2f7c451d9b9a55c67b99a1
+Size (libpsl-0.20.2/public_suffix_list.dat) = 202091 bytes
+SHA1 (patch-autogen.sh) = be0fa47afc7d1174b4825b08863a4b896524d131
diff --git a/libpsl/patches/patch-autogen.sh b/libpsl/patches/patch-autogen.sh
new file mode 100644
index 0000000000..c8f96b0646
--- /dev/null
+++ b/libpsl/patches/patch-autogen.sh
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- autogen.sh.orig	2018-04-26 18:18:39.000000000 +0000
++++ autogen.sh
+@@ -15,17 +15,12 @@ fi
+ #  create m4 before gtkdocize
+ mkdir -p m4 2>/dev/null
+ 
+-GTKDOCIZE=$(which gtkdocize 2>/dev/null)
+-if test $? -ne 0; then
+   echo "No gtk-doc support found. You can't build the docs."
+   # rm because gtk-doc.make might be a link to a protected file
+   rm -f gtk-doc.make 2>/dev/null
+   echo "EXTRA_DIST =" >gtk-doc.make
+   echo "CLEANFILES =" >>gtk-doc.make
+   GTKDOCIZE=""
+-else
+-  $GTKDOCIZE
+-fi
+ 
+ $GIT submodule init
+ $GIT submodule update


Home | Main Index | Thread Index | Old Index