65 Commits

Author SHA1 Message Date
sthen
48b0b9660c replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:48:23 +00:00
rsadowski
b6deb5d3d1 Unbreak libproxy with upcoming ninja 1.9.0 update.
Rename cmake target "test" to avoid multiple ninja targets.

"sure" ajacoutot@ (maintainer), spotted by naddy@ Thanks
2019-06-15 09:53:00 +00:00
sthen
d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00
sthen
b16b3b5aaa Recognize python 3.7 and 3.8, from upstream via ajacoutot in response to a
slightly different diff from me
2019-04-23 10:16:19 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
ajacoutot
1add5e57f8 Default to bootstrap,no_valadoc
Shoud fix dep loop when running dpb in random order, as reported by naddy@
2017-11-24 13:40:35 +00:00
espie
24a8e055fc wrong bootstrap. noticed by naddy@ 2017-11-23 15:11:12 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
ajacoutot
0fd4eaa3e4 Update to libproxy-0.4.15. 2017-05-12 07:12:10 +00:00
sthen
ef94272ee2 Switch to a simpler clang fix from FreeBSD: just stop defining _POSIX_C_SOURCE
rather than raising the version, and that way _BSD_SOURCE isn't needed either.
Pointed out by ajacoutot.
2017-04-18 09:13:20 +00:00
sthen
e0e63bd520 fix net/libproxy with libc++ by defining _POSIX_C_SOURCE=200809L and _BSD_SOURCE
clues from kettenis, espie
2017-04-17 20:45:38 +00:00
sthen
073d25a37c use LIBCXX 2017-04-10 11:46:32 +00:00
sthen
df6fba168f Add perl to WANTLIB, second batch. This used to be done automatically but
since SHARED_ONLY support was removed across the ports tree the perl module
no longer adds it, so it must be done manually for any perl ports that
provide perl shared-library modules (i.e. libdata/perl5/site_perl/$ARCH/*.so)
and you must not remove them from WANTLIB even if they show as "Extra".
2017-02-06 20:28:32 +00:00
ajacoutot
c8c3483946 Update to libproxy-0.4.14. 2017-01-11 08:41:32 +00:00
ajacoutot
8483ac5957 Update to libproxy-0.4.13.
- drop gettext module
- take maintainer
2016-08-27 13:37:40 +00:00
awolk
d6ec3a8302 Add a patch to prevent a null pointer dereference in net/libproxy under Gnome
Qt5 started to use libproxy and this exposed a crashing bug on OpenBSD
when using Qt5 applications on Gnome 3.

Here's a sample backtrace:
https://gist.github.com/mulander/c03997ae7e3fe4e30af0d4f2ce2965f0

The issue is caused by an unguarded dereference of ign_ip.

Other parts of the code properly expect that sockaddr_from_string
might return null and guard against it.

Adding a proper guard prevents a segfault both in OpenBSD
www/otter-browser and devel/zeal.

Issue reported upstream in:
 https://github.com/libproxy/libproxy/issues/24

OK zhuk@ aja@
2016-04-18 17:44:40 +00:00
naddy
82533eb6f8 remove SHARED_ONLY from some stragglers 2016-03-20 17:59:21 +00:00
sthen
668b39887f Fix libproxy's shared lib version, ok aja@
cmake.port.mk sets LIBfoo_VERSION for cmake to use as appropriate,
but this only works when the library name matches between SHARED_LIBS
and the cmake infrastructure - in this case there's a mismatch with
"proxy" vs "libproxy".

This used to be handled in this port by patching cmake files but
that's awkward to maintain so no surprise it accidentally got lost
in the last update; replace it by setting appropriate CONFIGURE_ENV
and MAKE_ENV in the port Makefile instead which is more maintainable.

Build problem with dependent ports reported by nigel@.
2016-01-20 11:29:05 +00:00
ajacoutot
20434e1a07 Update to libproxy-0.4.12.
Add KDE support.
2016-01-19 16:16:37 +00:00
sthen
5b20a18d31 sync WANTLIB 2015-08-19 18:55:04 +00:00
ajacoutot
703fb644d7 No need for default CMAKE_BUILD_TYPE. 2014-11-07 10:40:05 +00:00
ajacoutot
a2dca99320 Drop libproxy-mozilla; one JS interpreter (webkit) is enough and there is
no official support upstream for the newer spidermonkey.

discussed with and ok landry@ jasper@
2014-03-25 11:18:46 +00:00
espie
d65a516655 put back the "bootstrap" annotation.
It is necessary when BUILD_ONCE is in place, but it was lost in dpb
through a code reorg.
2014-03-09 19:46:35 +00:00
ajacoutot
08578311af Not needed after all. 2013-08-11 08:57:57 +00:00
ajacoutot
e5b0a58df2 Add bootstrap to the default FLAVORs -- prevent cyclic dep on sparc64.
spotted by and slap from landry@
2013-08-10 22:42:24 +00:00
ajacoutot
cd6ee3d5b3 Add patches from Fedora to fix build with mozjs-17.0 (devel/spidermonkey). 2013-08-10 12:46:22 +00:00
naddy
c2832a1290 move http://code.google.com, *.googlecode.com, and sites.google.com to https
suggested by bentley@
2013-08-07 21:31:12 +00:00
ajacoutot
dbcd6a2fb8 Make get_default_port() threadsafe: getservbyname is not reentrant, and
getservbyname_r is not always available.
This fixes several crashes mostly on webkit-based browsers.
libproxy issue #196, from David Hill
2013-06-09 09:40:19 +00:00
ajacoutot
70ac08ef70 Bring a couple of fixes from upstream, including a mem leak. 2013-05-08 16:14:34 +00:00
ajacoutot
2b72f32001 Update to libproxy-0.4.11.
Re-enable the mozilla FLAVOR now that we have mozjs185.
Add bootstrap to PSEUDO_FLAVOR to prevent the dep loop with WebKit.
Move from if PSEUDO_FLAVOR... to BUILD_PACKAGES.
Fix DESCR-*
2013-04-14 08:31:00 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
sthen
f5a323c546 Don't use ${FLAVOR:L}, we only support lower-case flavours now.
OK ajacoutot@ espie@
2013-02-09 14:49:50 +00:00
sthen
e1be8533a8 missed cvs add. breakage reported by viq, thank you. 2012-11-28 14:43:11 +00:00
sthen
0ef66c603c update to libproxy 0.4.10, fixes http chunk-encoded pac files. 2012-11-27 12:16:07 +00:00
sthen
328fce6136 nigel@ spotted that the webkit subpackage of libproxy didn't package
because I didn't sync PLIST-webkit (missed because it's only built as
a non-default pseudopackage); fix this by adding VERSION to SUBST_VARS
and syncing PLISTs, which also reduces the risk of problems in the future.
2012-10-14 20:01:38 +00:00
sthen
d449cdab9c SECURITY update to libproxy 0.4.9; CVE-2012-4504, buffer overflow in PAC
processing.

While there, remove unnecessary patches (some fixed upstream, some workarounds
for header problems which have since been cleaned up, and change the "Build the
pacrunner into libproxy" patch into -DBIPR:BOOL=OFF in CONFIGURE_ARGS instead).

ok ajacoutot@
2012-10-12 13:01:15 +00:00
dcoppa
254018aeed Fix misuse of CMake
OK sthen@
2012-09-27 08:01:04 +00:00
ajacoutot
0bbbd35e32 register-plist did not catch the devel/glib2 -main -> empty change.
espie asked me in such a nice way to fix this that I'm bumping all ports
that have a direct dependency on glib2.
2012-09-01 14:36:56 +00:00
ajacoutot
3e47445b0c Remove pthread patch and fix static linking.
from Brad
2012-08-25 13:12:59 +00:00
ajacoutot
836f333ed9 Unbreak the webkit FLAVOR (s/WITH_WEBKIT3/WITH_WEBKIT).
spotted by naddy@
2012-03-30 16:28:58 +00:00
ajacoutot
cc08e8fa9c Update to libproxy-0.4.7.
Moves from gconf to gsettings.
Comment the mozilla FLAVOR for now as it requires a newer xulrunner.
2012-03-29 14:58:24 +00:00
sthen
951fae6b85 Applications linking libproxy need -pthread; add it to the .pc file so
it's listed in "pkg-config --libs libproxy-1.0" output.  ok ajacoutot@
2011-12-05 10:38:42 +00:00
ajacoutot
1c86afc6cd Sync dependencies after gconf2 lost its dependency to ORBit.
This should cover all fallout but there may be some dark corners which I
missed...
2011-10-29 08:12:31 +00:00
ajacoutot
fc7fd29720 Better DESCR. 2011-09-18 19:57:30 +00:00
espie
d0fa01c846 normalize pkgpath 2011-09-16 11:13:37 +00:00
jasper
88f8f0add6 bump after default python version switch 2011-06-08 18:00:49 +00:00
ajacoutot
6b0fa96fe8 Typo, we're talking about a subpackage here, not a FLAVOR; 2011-05-30 13:02:26 +00:00
ajacoutot
350610e96c Add ${MODGETTEXT_RUN_DEPENDS}. 2011-05-17 06:29:25 +00:00
ajacoutot
4e2b6df1b3 Add the EPOCH to the webkit dependency.
spotted by landry@
2011-05-16 08:24:31 +00:00