Commit graph

15 commits

Author SHA1 Message Date
Sunpoet Po-Chuan Hsieh
44d7b87512 Use UTF-8 locale to ensure psl-make-dafsa processing
The error message using C locale is as follows:

./psl-make-dafsa --output-format=cxx+ "/usr/local/share/public_suffix_list/public_suffix_list.dat" suffixes_dafsa.c
Traceback (most recent call last):
  File "./psl-make-dafsa", line 695, in <module>
    sys.exit(main())
  File "./psl-make-dafsa", line 689, in main
    outfile.write(converter(parser(infile, utf_mode, codecs), utf_mode, codecs))
  File "./psl-make-dafsa", line 559, in parse_psl
    for line in infile:
  File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7619: ordinal not in range(128)
2017-04-07 23:16:15 +00:00
Sunpoet Po-Chuan Hsieh
f25253a22a Update to 0.17.0
Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
2017-01-17 17:20:48 +00:00
Sunpoet Po-Chuan Hsieh
3c043e26a7 - Add USES=localbase:ldflags 2016-12-18 15:21:48 +00:00
Sunpoet Po-Chuan Hsieh
619c99ffbb - Update to 0.16.1
- Bump PORTREVISION for dependent ports

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
2016-12-17 12:50:19 +00:00
Sunpoet Po-Chuan Hsieh
7951f57490 - Update to 0.16.0
- Bump PORTREVISION for dependent ports

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
2016-12-12 20:57:42 +00:00
Jan Beich
23a96f4a5f devel/icu: update to 58.1
Changes:	http://site.icu-project.org/download/58
PR:		214384
Exp-run by:	antoine
Approved by:	office (bapt)
2016-11-19 18:21:20 +00:00
Sunpoet Po-Chuan Hsieh
3c5f887574 - Update to 0.15.0
Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
2016-11-19 17:03:08 +00:00
Mathieu Arnold
a0bcd2cf68 Use USES=pathfix where applicable.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:21:13 +00:00
Tijl Coosemans
48f4591035 - Update devel/icu to 57.1.
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
  --disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
  aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU.  The code wanted to use BYTE_ORDER
  defined in machine/endian.h, but this isn't visible because ICU is
  compiled with _XOPEN_SOURCE.  Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
  without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
  pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
  a C++11 runtime library now.  Add this to all ports that depend on it
  so their executables load the right libstdc++.so on FreeBSD 9.

PR:		205120
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-24 11:06:57 +00:00
Roman Bogorodskiy
a0d55a9882 dns/libpsl: fix configure with NLS disabled
Add gettext-tools to NLS_USES_OFF because otherwise it fails
to configure.

While here, pet portlint by moving PORTREVISION to proper place.

PR:		210342
Submitted by:	matthew@reztek.cz
Approved by:	maintainer timeout (>1 month)
2016-08-24 18:22:21 +00:00
Mathieu Arnold
7acca7e902 Bump PORTREVISION for the icu revert.
This time not bumping lang/php70, but devel/php70-intl which is the one
really depending on icu.

PR:		205120
With hat:	portmgr
Sponsored by:	Absolight
2016-07-06 22:10:14 +00:00
Pietro Cerutti
fb8d8ab5f9 devel/icu: bump PORTREVISION on dependent ports 2016-07-06 07:34:12 +00:00
Sunpoet Po-Chuan Hsieh
848eb75b28 - Update to 0.13.0
- Bump PORTREVISION for dns/libpsl shlib change

Changes:	https://github.com/rockdaboot/libpsl/blob/master/NEWS
2016-04-09 12:29:38 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Sunpoet Po-Chuan Hsieh
c1e77152ec - Add libpsl 0.11.0
A "public suffix" is a domain name under which Internet users can directly
register own names.

Browsers and other web clients can use it to
- avoid privacy-leaking "supercookies"
- avoid privacy-leaking "super domain" certificates [1]
- domain highlighting parts of the domain in a user interface
- sorting domain lists by site

Libpsl...
- has built-in PSL data for fast access
- allows to load PSL data from files
- checks if a given domain is a "public suffix"
- provides immediate cookie domain verification
- finds the longest public part of a given domain
- finds the shortest private part of a given domain
- works with international domains (UTF-8 and IDNA2008 Punycode)
- is thread-safe
- handles IDNA2008 UTS#46 (libicu is used by psl2c if installed)

[1] http://lists.gnu.org/archive/html/bug-wget/2014-03/msg00093.html

WWW: https://github.com/rockdaboot/libpsl
2015-12-04 12:23:12 +00:00