Commit Graph

510 Commits

Author SHA1 Message Date
Tim Rühsen 9b2d7b7a9c Add gcov test coverage report 2016-09-23 17:13:32 +02:00
Tim Rühsen 1baaacccd5 Fix libidn/libidn2 code path of psl_str_to_utf8lower()
* fixing memory leaks
* proper handling of unterminated results of u8_tolower()
* second call to iconv() ensures flush of internal memory
* check more code paths of psl_str_to_utf8lower() via
  tests/test-registrable-domain.c
2016-09-23 12:35:08 +02:00
Tim Rühsen e2812e8c4c Check return value for strdup and strndup
Fixes #60
Reported-by: https://github.com/daurnimator
2016-09-22 15:53:31 +02:00
Tim Rühsen 351b3fb912 Remove redundant define of countof() 2016-09-22 11:37:23 +02:00
Tim Rühsen 9e1ca81be4 Remove memory allocations from _utf8_to_utf32()
Reported-by: https://github.com/daurnimator
2016-09-22 11:19:52 +02:00
Tim Rühsen b2fcafcfdd Add 'make clean' to contrib/check-hard 2016-09-22 11:19:30 +02:00
Tim Rühsen 0264454ea2 Add Coverity badge 2016-09-21 12:39:40 +02:00
Tim Rühsen 6cfb33e530 Amend API docs to be more precise about invalid input.
Fixes #59
Reported-by: https://github.com/daurnimator
2016-09-21 12:03:00 +02:00
Tim Rühsen 10f7b5fe7c Fallback to malloc from alloca for larger memory chunks
Fixes #58
Reported-by: https://github.com/daurnimator
2016-09-21 11:54:39 +02:00
Tim Rühsen 1ab7be5641 Check malloc/realloc results in src/psl.c
Fixes #57
Reported-by: https://github.com/daurnimator
2016-09-21 11:15:43 +02:00
Tim Rühsen 01d3f53321 Add src/suffixes_dafsa.c to .gitignore 2016-09-21 10:00:22 +02:00
Tim Rühsen c9de2de301 Fix error msg when libunistring is missing 2016-09-17 14:46:09 +02:00
Dagobert Michelsen 7983f86820 Use proper library path and libs for ICU 2016-09-17 14:46:06 +02:00
Tim Rühsen 126d2dca9c Package and install psl.1 and psl-make-dafsa.1
Fixes #53
Reported-by: https://github.com/yselkowitz
2016-09-17 14:46:00 +02:00
Tim Rühsen ce8e24c509 Merge pull request #56 from SteelPangolin/master
Change src/psl-make-dafsa shebang so it'll run on OS X
2016-09-17 11:46:15 +02:00
Jeremy Ehrhardt 003dec4203 Change src/psl-make-dafsa shebang so it'll run on OS X 2016-09-16 18:42:54 -07:00
Daniel Kahn Gillmor 4ad905d13a tweak for new upstream name of psl-make-dafsa 2016-08-04 20:14:41 -04:00
Daniel Kahn Gillmor 43aaf050ff fix psl-make-dafsa control info
(and remember that we need python to build arch-dependent packages now)
2016-08-04 20:14:23 -04:00
Daniel Kahn Gillmor 54898beb12 avoid autoreconf on arch-independent builds 2016-08-04 19:40:39 -04:00
Daniel Kahn Gillmor 25d4df03ea ensure that all hardening options are enabled 2016-08-04 19:40:39 -04:00
Daniel Kahn Gillmor fac112e569 README.md was only going on -dev package anyway, be explicit about it 2016-08-04 19:40:38 -04:00
Daniel Kahn Gillmor 14169d778d use upstream NEWS file as upstream changelog 2016-08-04 19:40:38 -04:00
Daniel Kahn Gillmor 2cedd7585e simplify psl-make-dafsa installation 2016-08-04 19:40:38 -04:00
Daniel Kahn Gillmor 62e104bb6d use upstream manpages 2016-08-04 17:15:25 -04:00
Daniel Kahn Gillmor 4a612b5303 prepare for release 2016-08-04 17:11:35 -04:00
Daniel Kahn Gillmor 540271f496 Merge tag 'libpsl-0.14.0' into debian 2016-08-04 17:10:33 -04:00
Daniel Kahn Gillmor d263a748ae preparing new upstream release to experimental
See https://wiki.debian.org/Teams/ReleaseTeam/Transitions for
discussion around the ABI change/SONAME bump.
2016-08-04 17:07:54 -04:00
Daniel Kahn Gillmor fead4561fc updated debian/watch 2016-08-04 17:07:54 -04:00
Daniel Kahn Gillmor c9f122a746 more package shuffling 2016-08-04 17:07:51 -04:00
Daniel Kahn Gillmor 8c7b0da364 wrap-and-sort -sat 2016-08-04 17:07:11 -04:00
Daniel Kahn Gillmor 148b353c5e record conversation and conclusion with helmut about bootstrapping 2016-08-04 17:06:11 -04:00
Tim Rühsen 0486815dbd Release v0.14.0 2016-07-30 13:53:17 +02:00
Tim Rühsen 23ae4a2ba1 Update PSL submodule 2016-07-30 13:42:46 +02:00
Tim Rühsen 583cf6ae56 Merge pull request #52 from dkg/dafsa-reorg
rename src/make_dafsa.py to src/psl-make-dafsa, add documentation
2016-07-14 12:05:13 +02:00
Daniel Kahn Gillmor dc7bf5bbae rename src/make_dafsa.py to src/psl-make-dafsa, add documentation
I've talked to the good people on #debian-bootstrap who would be most
affected by the possible build-dep cycle, and i think the simplest
approach is actually to split out make_dafsa.py into its own
architecture-independent package.

I'm thinking i'll call the package psl-make-dafsa, and in the course of
shipping it, i'll place src/make_dafsa.py as /usr/bin/psl-make-dafsa.

This is because:

 * debian discourages scripts on the $PATH from having language-specific
   suffixes like .py:

    https://lintian.debian.org/tags/script-with-language-extension.html

 * "-" appears to be a more common delimiter in command names than "_":

    0 dkg@alice:~$ for x in - _; do printf "%s: %d " "$x" $(ls -1 ${PATH//:/ } | grep -c "$x"); done; echo
    -: 1235 _: 368
    0 dkg@alice:~$

 * i'd prefer to prefix the command with "psl-" since it really is
   producing and interpreting PSL-specific data structures.

Accepting this patch would mean i'd have fewer changes to make in the
debian packaging, and would allow other distributors to take a similar
approach if they want to.
2016-07-14 11:55:04 +02:00
Tim Rühsen 8dba092c73 Add magic header to DAFSA binary files 2016-07-13 11:14:18 +02:00
Tim Rühsen 852931571f Fixed invocation of make_dafsa.py in psl2c.c 2016-07-13 11:13:04 +02:00
Tim Rühsen 972cb789dd Update PSL submodule 2016-07-13 10:49:22 +02:00
Tim Rühsen 10fe88b22b Amend formatting of psl man page 2016-07-06 15:32:51 +02:00
Tim Rühsen 45cce63142 Remove auto-generated ABOUT-NLS from git 2016-07-06 15:32:51 +02:00
Daniel Kahn Gillmor a7c2c16585 add a man page 2016-07-06 15:32:51 +02:00
Daniel Kahn Gillmor dc9cc02982 s/publix/public/ 2016-07-06 15:32:51 +02:00
Daniel Kahn Gillmor 248327e4aa use https where possible 2016-07-06 15:32:51 +02:00
Tim Rühsen 514488d9b3 Remove unneeded libraries from tools/psl link step 2016-07-06 13:10:16 +02:00
Daniel Kahn Gillmor 3ac639d991 upstream SONAME moved from 0 to 5 2016-07-05 14:01:20 -04:00
Daniel Kahn Gillmor 2bd74eb419 removed libpsl0-dbg; we prefer auto-generated dbgsym packages 2016-07-05 14:01:20 -04:00
Daniel Kahn Gillmor 615980eea8 use https where possible in debian packaging 2016-07-05 14:01:20 -04:00
Daniel Kahn Gillmor 229268097c use upstream name for public_suffix_list.dat
build-depend: and recommend: a publicsuffix version that is new enough
to ship the standard name.
2016-07-05 14:01:20 -04:00
Daniel Kahn Gillmor 51413414df bumped standards-version to 3.9.8 (no changes needed) 2016-07-05 14:01:20 -04:00
Daniel Kahn Gillmor 94b9d12995 updated debian/copyright 2016-07-05 14:01:20 -04:00