Skip to content

Commit

Permalink
Update to 0.4.11:
Browse files Browse the repository at this point in the history
New in version 0.4.11
==============================
* Build fixes with cmake 2.8.10+
* Quick release without built binaries / files (Address Bug #184)

New in version 0.4.10
==============================
* Fix http chunk encoded PAC that was broken in previous release
* Add HTTP client unit test
* Fix more coding style issues

New in version 0.4.9
==============================
* CVE-2012-4504 Fixed buffer overflow when downloading PAC
* Fix infinit loop uppon network errors

New in version 0.4.8
==============================
* Only support standalone mozjs185 as mozilla js engine.
  xulrunner being part of the now lightning fast moving firefox
  is impossible to be tracked as a dependency and it is not
  supported by Mozilla to be used in this scenario.
* Support building with javascritpcoregtk 1.5
  (got split out of webkitgtk).
* Support sending multiple results.
* Issues fixed:
  - #166: Libproxy does not parse NO_PROXY correct when the line
          contains spaces
  - #164: If gconf's value is an empty list, pxgconf will make
          /usr/bin/proxy wait forever
  - #60: use lib js for embedded solutions
  - #160: strdup and gethostbyname not declared on OSX 10.7
  - #168: .pc file should be installed under OSX as well.
  - #170: Also check for "Transfer-Encoding: chunked".
  - #171: mozjs pacrunner: Fix parameters of dnsResolve_()
  - #172: Allow to forcibly build pacrunner as module (-DBIPR={ON,OFF})
  - #173: Libproxy doesn't build with gcc 4.7
  - #147: Use ${CMAKE_DL_LIBS} instead of assuming libdl is correct.
  - #176: python bindings: guard the destructor.
  - #177: Speed up importing of libproxy in python.
  - #179: CMAKE 2.8.8 does not define PKG_CONFIG_FOUND

New in version 0.4.7
==============================
* Support/require xulrunner 2.0+
* Support linking againgst libwebkit-gtk3 (-DWITH_WEBKIT3=ON)
* Port to gsettings for gnome3. (-DWITH_GNOME3=ON[default])
* Issues closed:
  - #149: always test for the right python noarch module path
  - #155: Cannot compile with Firefox 4
  - #156: libproxy should build against webkitgtk-3.0
  - #158: Won't compile w/ xulrunner 2.0 final
  - #159: libproxy fails with autoconfiguration "http://proxy.domain.com"
  - #131: GSettings-based GNOME plugin
  - #150: SUSE sysconfig/proxy config support

New in version 0.4.6
==============================
* Fixed a crash in the URL parser
* Fixed build issues with Visual Studio
* Updated the INSTALL file
* Install Python binding in prefix path if site-packages exists
* Fixed compilation with Visual Studio


New in version 0.4.5
===============================
* C# bindings are installable (-DWITH_DOTNET=ON)
* C# bindings installation path can be changed using -DGAC_DIR=
* Internal libmodman build fixed
* Installation dirs are now all relative to CMAKE_INSTALL_PREFIX
* Fixed test while using --as-needed linker flag
* Fixed generation of libproxy-1.0.pc
* Basic support for Mingw added (not yet 100% functional)
* Ruby binding implemented (not yet in the build system)
* Fixed modules not being found caused by relative LIBEXEC_INSTALL_DIR
* Fixed bug with builtin plugins (Issue 133)
* Vala bindings installation path can be changed using -DVAPI_DIR=
* Python bindings installation path can be changed using -DPYTHON_SITEPKG_DIR=
* Perl bindings can be installed in vendor directory (-DPERL_VENDORARCH=ON)
* Perl bindings installation path can be change using -DPX_PERL_ARCH=
* Unit test now builds on OSX

New in version 0.4.4
===============================
* Add support for optionally building using a system libmodman
* Rework build system to be cleaner
* Fix two major build system bugs: 127, 128

New in version 0.4.3
===============================
* Test can now be out-compiled using BUILD_TESTING=OFF
* Fixed python binding not handling NULL pointer
* Pyhton binding now support Python version 3
* Rewrote URL parser to comply with unit test
* Username and password are now URL encoded
* Scheme comparison is now non-case sensitive
* Fixed deadlock using WebKit has PAC runner
* Fixed OS X compilation of Perl bindings

New in version 0.4.2
===============================
* Fixed python binding that failed on missing px_free symbole
* Workaround cmake bug with dynamic libraries in non-standard folders

New in version 0.4.1
===============================
* Perl bindings have been integrated into the CMake Build System
* Vala bindings are installed if -DWITH_VALA=yes is passed to cmake
* All extensions can be disabled using WITH_*=OFF cmake options
* socks5:// and socks4:// can now be returned
* Many bugfixes

New in version 0.4.0
===============================
* C++ rewrite
* Small API change (px_proxy_factory_get_proxy() can now return NULL)
* SOVERSION bump
* libmodman is now a seperate library
* Migrate to cmake
* Windows support (config_w32reg, ignore_hostname; VC++ support)
* MacOSX support (config_macosx, ignore_hostname)
* Built-in modules support
* Support for chunked encoding
* Move to hidden visibility by default
* KDE's KConfig symantics are fully supported
* Removeal of all PX_* env variables (no longer needed)
* Symbol based detection of relevant pacrunner
* Reworked config_gnome to not suck (its *much* faster)
* Many other things I can't remember
  • Loading branch information
wiz committed May 24, 2013
1 parent 7b97b12 commit 6db3506
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 119 deletions.
25 changes: 6 additions & 19 deletions www/libproxy/Makefile
Original file line number Diff line number Diff line change
@@ -1,37 +1,24 @@
# $NetBSD: Makefile,v 1.15 2012/11/27 11:26:23 drochner Exp $
#
# $NetBSD: Makefile,v 1.16 2013/05/24 18:22:57 wiz Exp $

DISTNAME= libproxy-0.3.1
PKGREVISION= 2
DISTNAME= libproxy-0.4.11
CATEGORIES= www gnome
MASTER_SITES= http://libproxy.googlecode.com/files/
EXTRACT_SUFX= .tar.bz2

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/libproxy/
COMMENT= Library that provides automatic proxy configuration management
LICENSE= gnu-lgpl-v2.1

GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-python
CONFIGURE_ENV+= PYTHON=${TRUE}
USE_CMAKE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
PY_PATCHPLIST= yes
CHECK_PORTABILITY_SKIP= test.d/*
USE_LANGUAGES= c99
USE_LANGUAGES= c99 c++
LIBS.SunOS+= -lnsl -lsocket

PKGCONFIG_OVERRIDE+= libproxy-1.0.pc.in
PKGCONFIG_OVERRIDE+= bindings/csharp/libproxy-sharp-1.0.pc.cmake
PKGCONFIG_OVERRIDE+= libproxy/libproxy-1.0.pc.in

# 0.3.0 doesn't install the python bindings even when they
# are enabled, so comment out dependencies.
#BUILDLINK_API_DEPENDS.python26+= python26>=2.6.2nb4

post-extract:
${RM} -rf ${WRKSRC}/test.d/.svn

#.include "../../lang/python/extension.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
15 changes: 5 additions & 10 deletions www/libproxy/PLIST
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
@comment $NetBSD: PLIST,v 1.3 2009/12/15 11:00:11 wiz Exp $
@comment $NetBSD: PLIST,v 1.4 2013/05/24 18:22:57 wiz Exp $
bin/proxy
include/proxy.h
lib/libproxy.la
lib/libproxy/${PKGVERSION}/modules/config_direct.so
lib/libproxy/${PKGVERSION}/modules/config_envvar.so
lib/libproxy/${PKGVERSION}/modules/config_file.so
lib/libproxy/${PKGVERSION}/modules/config_wpad.so
lib/libproxy/${PKGVERSION}/modules/ignore_domain.so
lib/libproxy/${PKGVERSION}/modules/ignore_ip.so
lib/libproxy/${PKGVERSION}/modules/wpad_dns.so
lib/libproxy/${PKGVERSION}/modules/wpad_dnsdevolution.so
lib/libproxy.so
lib/libproxy.so.1
lib/libproxy.so.1.0.0
lib/pkgconfig/libproxy-1.0.pc
share/cmake/Modules/Findlibproxy.cmake
3 changes: 2 additions & 1 deletion www/libproxy/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.4 2009/09/10 02:03:11 dsainty Exp $
# $NetBSD: buildlink3.mk,v 1.5 2013/05/24 18:22:57 wiz Exp $

BUILDLINK_TREE+= libproxy

.if !defined(LIBPROXY_BUILDLINK3_MK)
LIBPROXY_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.libproxy+= libproxy>=0.2.3
BUILDLINK_ABI_DEPENDS.libproxy+= libproxy>=0.4.11
BUILDLINK_PKGSRCDIR.libproxy?= ../../www/libproxy
.endif # LIBPROXY_BUILDLINK3_MK

Expand Down
13 changes: 5 additions & 8 deletions www/libproxy/distinfo
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
$NetBSD: distinfo,v 1.10 2012/11/28 12:20:38 drochner Exp $
$NetBSD: distinfo,v 1.11 2013/05/24 18:22:57 wiz Exp $

SHA1 (libproxy-0.3.1.tar.bz2) = 71338ede69b4ed2b32541f7cf5285c8828ad3a8d
RMD160 (libproxy-0.3.1.tar.bz2) = 565deed81f13752f61bbff531085ef1b2c5e13d0
Size (libproxy-0.3.1.tar.bz2) = 315526 bytes
SHA1 (patch-CVE-2012-4505) = ad59e5196a334d909073170bf2e56f1feca3dccf
SHA1 (patch-aa) = 08baf8aeab5a1060cc5a6fa0435199892c7a0ab6
SHA1 (patch-ab) = b2bd350d3af3274fa028612dbe6e2cb8ddd3e8bd
SHA1 (patch-ac) = 8bcc3543479490c92def6243ad74f8bf714cfeb2
SHA1 (libproxy-0.4.11.tar.gz) = c037969434095bc65d29437e11a7c9e0293a5149
RMD160 (libproxy-0.4.11.tar.gz) = 382110e088faf7a170ac838864d675204d886237
Size (libproxy-0.4.11.tar.gz) = 93757 bytes
SHA1 (patch-libproxy_CMakeLists.txt) = b300954ce464a0854c46b5acd14bd8c78782d577
35 changes: 0 additions & 35 deletions www/libproxy/patches/patch-CVE-2012-4505

This file was deleted.

13 changes: 0 additions & 13 deletions www/libproxy/patches/patch-aa

This file was deleted.

13 changes: 0 additions & 13 deletions www/libproxy/patches/patch-ab

This file was deleted.

20 changes: 0 additions & 20 deletions www/libproxy/patches/patch-ac

This file was deleted.

16 changes: 16 additions & 0 deletions www/libproxy/patches/patch-libproxy_CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
$NetBSD: patch-libproxy_CMakeLists.txt,v 1.1 2013/05/24 18:22:57 wiz Exp $

If this is defined, it doesn't compile on NetBSD due to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24012
and missing ntohs() etc.

--- libproxy/CMakeLists.txt.orig 2012-11-30 22:31:35.000000000 +0000
+++ libproxy/CMakeLists.txt
@@ -6,7 +6,6 @@ set_project_version(0 4 11)
if (WIN32)
add_definitions(-D_CRT_SECURE_NO_WARNINGS=1)
else(WIN32)
- add_definitions(-D_POSIX_C_SOURCE=200112L)
set(CMAKE_CXX_FLAGS "-fvisibility=hidden ${CMAKE_CXX_FLAGS}")
endif(WIN32)

0 comments on commit 6db3506

Please sign in to comment.