debian/0000755000000000000000000000000012226771713007176 5ustar debian/libproxy1-plugin-networkmanager.install0000644000000000000000000000006711716736164017044 0ustar usr/lib/*/libproxy/*/modules/network_networkmanager.so debian/tests/0000755000000000000000000000000012051154335010327 5ustar debian/tests/build0000644000000000000000000000104212051154335011346 0ustar #!/bin/sh # autopkgtest check: Builds a small application against libproxy, checking # if it compiles, links and runs successfully. # Author: Rafał Cieślak set -e WORKDIR=$(mktemp -d) trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cd $WORKDIR cat < build_test.c #include int main(int argc, char** argv) { pxProxyFactory *pf = px_proxy_factory_new(); if (!pf) return 1; return 0; } EOF gcc -o build_test build_test.c -lproxy echo "build: OK" [ -x build_test ] ./build_test echo "run: OK" debian/tests/control0000644000000000000000000000010012051154335011721 0ustar Tests: build Depends: build-essential, libproxy-dev, pkg-config debian/libproxy-cil-dev.install0000644000000000000000000000007411716736164013764 0ustar usr/lib/*/pkgconfig/libproxy-sharp-1.0.pc usr/lib/pkgconfig debian/python-libproxy.install0000644000000000000000000000002011716736164013751 0ustar usr/lib/python* debian/copyright0000644000000000000000000000555311716736164011145 0ustar This package was debianized by Emilio Pozuelo Monfort on Wed, 17 Dec 2008 23:25:40 +0100. It was downloaded from http://code.google.com/p/libproxy/downloads/list Upstream Authors: Nathaniel McCallum Alex Panait Dominique Leuenberger Copyright: Copyright (C) 2006-2010 Nathaniel McCallum The file pacutils.js is: Copyright (c) Netscape Communications Corporation. 1998 The file libproxy/Findlibproxy.cmake.in is: Copyright (c) 2010, Dominique Leuenberger The file libproxy/modules/pxgsettings.cpp is additionally: Copyright (C) 2011 Dominique Leuenberger The file libproxy/url.cpp is based on work which is: Copyright (C) 2006-2007 Red Hat, Inc. The file libproxy/modules/config_sysconfig.cpp is: Copyright (C) 2010 Novell Inc License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. The Debian packaging is copyright 2008, Emilio Pozuelo Monfort and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. For cmake/CMakeCSharpInformation.cmake and cmake/CMakeDetermineCSharpCompiler.cmake the following applies: copyright (c) 2007, 2009 Arno Rehn copyright (c) 2008 Helio castro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. debian/libproxy0.4-cil.installcligac0000644000000000000000000000006311716736164014573 0ustar /usr/lib/cli/libproxy-sharp-0.4/libproxy-sharp.dll debian/source/0000755000000000000000000000000011716736164010502 5ustar debian/source/format0000644000000000000000000000001411716736164011710 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002066412226771713011060 0ustar libproxy (0.4.11-0ubuntu4) saucy; urgency=low * Build libproxy1-plugin-kconfig on arm64 now that we have kdelibs5-dev. -- William Grant Tue, 15 Oct 2013 00:28:07 +1100 libproxy (0.4.11-0ubuntu3) saucy; urgency=low * Don't build libproxy1-plugin-kconfig on AArch64, kde5libs-dev not yet available. -- Matthias Klose Mon, 14 Oct 2013 05:33:40 +0200 libproxy (0.4.11-0ubuntu2) saucy; urgency=low * debian/patches/dont_segfault_on_exit.patch: - drop buggy unref calls to fix a segfault (lp: #1182043) -- Sebastien Bacher Thu, 30 May 2013 13:20:43 +0200 libproxy (0.4.11-0ubuntu1) raring; urgency=low * New upstream release - Build fixes with cmake 2.8.10+ - Quick release without built binaries / files + Remove these from debian/clean * debian/watch: Update to work with current Google Code website (once more with feeling) -- Iain Lane Thu, 10 Jan 2013 12:17:22 +0000 libproxy (0.4.10-0ubuntu1) raring; urgency=low * New upstream release 0.4.10 (LP: #1078915). Selected fixes since 0.4.7: - Fix infinite loop uppon network errors - 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). * debian/watch: Update to work with Google code again . * Remove all patches - all applied upstream. * Clean accidently shipped built binaries to ensure we ship those built from this source. * debian/patches/disable-pac-test.patch: Steal patch from Gentoo to disable the get-pac-test which hangs when run from the build. * Bump Standards-Version to 3.9.4, no changes required. * Add basic compile/link/run autopkgtest - thanks to Rafal Cieślak (LP: #1079102) -- Iain Lane Thu, 15 Nov 2012 12:06:57 +0000 libproxy (0.4.7-0ubuntu6) quantal; urgency=low * debian/patches/CVE-2012-4504.patch: Cherry-pick upstream r853 to fix buffer overflow when downloading large PAC files. -- Iain Lane Wed, 10 Oct 2012 17:56:14 +0100 libproxy (0.4.7-0ubuntu5) quantal; urgency=low * debian/patches/libproxy-gcc-4.7.diff: Cherry-pick patch from upstream svn r833 to fix FTBFS with GCC-4.7 due to missing includes. -- Iain Lane Tue, 25 Sep 2012 12:51:03 +0100 libproxy (0.4.7-0ubuntu4) precise; urgency=low * Re-enable webkit pacrunner and build it into its own module package (adding a patch to the upstream build system required to achieve this). (LP: #934088) * Build with webkit3. -- Iain Lane Fri, 17 Feb 2012 10:10:45 +0000 libproxy (0.4.7-0ubuntu3) precise; urgency=low * Drop libwebkitgtk-dev build dependency. We just got rid of the old webkit-gtk2 stack, we don't want to pull that back in. We already had to disable the webkit plugin as this needs mozjs. (LP: #933913) -- Martin Pitt Fri, 17 Feb 2012 07:54:22 +0100 libproxy (0.4.7-0ubuntu2) precise; urgency=low * debian/control: Drop mozjs build dependency and mozjs/webkit plugin packages, mozjs is in universe (and supposed to stay there). * debian/rules: Disable WITH_MOZJS. -- Martin Pitt Wed, 15 Feb 2012 16:21:24 +0100 libproxy (0.4.7-0ubuntu1) precise; urgency=low [ Iain Lane ] * New upstream release. * Convert to dh7. * SONAME bump, rename packages accordingly * Remove obsolete patches * Add CLI/Vala bindings. * Also install vala bindings (in -dev package) * Update Standards-Version to 3.9.2 * Split modules into individual packages * Link with --as-needed to avoid unnecessary deps * Update copyright * Make library multiarch compatible [ Ken VanDine ] * Build against libmozjs185. -- Iain Lane Wed, 15 Feb 2012 14:42:54 +0100 libproxy (0.3.1-3) unstable; urgency=low * Use linux-any wildcard. Closes: #634464. * Migrate to libwebkitgtk* dependencies. Closes: #635416. * Migrate to dh_python2. Closes: #635140. * Build-depend on mozjs >= 6, require libmozjs6d. Closes: #638942. * Switch to 3.0 quilt format. * 02_url_user.patch: patch from Florian Echtler to fix incorrect parsing of URLs containing user and port but no password. Closes: #635684. -- Josselin Mouette Tue, 23 Aug 2011 23:11:55 +0200 libproxy (0.3.1-2) unstable; urgency=low [ Emilio Pozuelo Monfort ] * debian/patches/libproxy_link_against_libdl.patch: - Removed, configure.ac already adds the correct check so this is not needed anymore. [ Josselin Mouette ] * 01_pac_http.patch: new patch from Julien Blache. Don’t assume HTTP header names are case sensitive. Closes: #600196. * Re-enable webkit support. The build-dependency loop is not a problem for a stable release. (But the issue will arise again later.) * Recommend libwebkit-1.0-2 | libmozjs2d. Closes: #597864. -- Josselin Mouette Tue, 19 Oct 2010 08:46:05 +0200 libproxy (0.3.1-1) unstable; urgency=low * New upstream release. - Fixes crash when parsing .pac file. Closes: #550179. - debian/patches/10_configure-check-for-dbus.patch, debian/patches/60_am-prog-cc-c-o.patch: + Removed, fixed upstream. - debian/control.in: + Build depend on gconf2 instead of libgconf2-dev. + Build depend on kdelibs5-dev and libqt4-dev for the KDE4 plugin. - debian/patches/50_px-wpad-fallback-env-var.patch, debian/rules: + Remove patch, don't install wpad_dnsdevolution.so now. - debian/patches/70_autotools.patch: + Removed, no longer needed. - debian/libproxy0.install, debian/rules: + s/plugins/modules/ following the upstream change. * debian/control.in: - Update my maintainer email address. - Standards-Version is 3.8.3, no changes needed. - libproxy-tools is section utils. * debian/watch: - Look for bzip2 tarballs. * debian/patches/libproxy_link_against_libdl.patch: - Link with -ldl for dlopen et al. Closes: #558920. -- Emilio Pozuelo Monfort Sat, 12 Dec 2009 01:56:54 +0100 libproxy (0.2.3-4) unstable; urgency=low * Don't build NetworkManager support on non-Linux platforms. Thanks Samuel Thibault. Closes: #534939. * Standards-Version is 3.8.2, no changes needed. -- Emilio Pozuelo Monfort Sun, 28 Jun 2009 20:35:04 +0200 libproxy (0.2.3-3) unstable; urgency=low * Stop building the webkit plugin for now, we have a circular build- dependency with webkit. Instead, build the mozjs one, so that we can still read PAC files. -- Emilio Pozuelo Monfort Wed, 29 Apr 2009 20:55:50 +0200 libproxy (0.2.3-2) unstable; urgency=low * debian/patches/50_px-wpad-fallback-env-var.patch: - Fix logic to not bypass the config plugin when the env variable isn't set. We don't do wpad fallback if the env variable isn't set, but there's not reason to ignore the config file if one is provided. See https://launchpad.net/bugs/354475. * Standards-Version is 3.8.1, no changes needed. * debian/copyright: Add copyright note for pacutils.js -- Emilio Pozuelo Monfort Sat, 25 Apr 2009 14:25:10 +0200 libproxy (0.2.3-1) unstable; urgency=low [ Emilio Pozuelo Monfort ] * Initial release (Closes: #509063). * Fix if/else logic and a wrong free in 50_px-wpad-fallback-env-var. [ Loic Minier ] * Set libproxy-dev Arch: any; too small win to warrant installability issues on slow arches. * Drop shlibs:Depends from python-libproxy as it's Arch: all. * Drop gnome-get-source.mk include as it's not working by default. * Rename patch configure_check_for_dbus to 10_configure-check-for-dbus. * Run a full autoreconf instead of only autoconf. - New patch, 60_am-prog-cc-c-o, makes newer autoconfs happier. - New patch, 70_autotools, split autotools generated files here to force them to be applied last and avoid timestamp skews issues. Thanks Sébastien Bacher and Ubuntu for the above. * New patch, 50_px-wpad-fallback-env-var, check PX_WPAD_FALLBACK env var to decide whether to fall back to wpad:// style autodetection or not, defaulting to not fallback when the env var isn't set. -- Emilio Pozuelo Monfort Tue, 03 Mar 2009 01:11:35 +0100 debian/compat0000644000000000000000000000000211716736164010400 0ustar 9 debian/rules0000755000000000000000000000252212226662462010257 0ustar #!/usr/bin/make -f SHLIBVER := 0.4.7 libproxy := $(shell sed -nr 's/^Package:[[:space:]]*(libproxy[0-9]+)[[:space:]]*$$/\1/p' debian/control) export DH_VERBOSE=1 export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed # only invoke dh --with cli if cli-common-dev is present WITH_CLI = --with cli WITH_DOTNET = -DWITH_DOTNET=ON ifeq (,$(wildcard /usr/share/perl5/Debian/Debhelper/Sequence/cli.pm)) WITH_CLI = WITH_DOTNET = -DWITH_DOTNET=OFF endif DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CONFIGURE_FLAGS = $(WITH_DOTNET) \ -DWITH_VALA=ON \ -DWITH_GNOME3=ON \ -DWITH_MOZJS=OFF \ -DWITH_WEBKIT3=ON \ -DGMCS_EXECUTABLE=/usr/bin/mono-csc \ -DCMAKE_SKIP_RPATH=ON \ -DBIPR=0 \ -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \ -DLIBEXEC_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/libproxy/$(SHLIBVER) override_dh_auto_configure: dh_auto_configure -- $(CONFIGURE_FLAGS) override_dh_install-arch: dh_install rm -f \ debian/libproxy-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/libproxy-sharp-*.pc override_dh_install-indep: dh_install sed -i 's!/usr/lib/mono/libproxy-sharp!/usr/lib/cli/libproxy-sharp-0.4!' \ debian/libproxy-cil-dev/usr/lib/pkgconfig/libproxy-sharp-1.0.pc override_dh_makeshlibs: dh_makeshlibs -V '$(libproxy) (>= $(SHLIBVER))' %: dh $@ $(WITH_CLI) --with python2 debian/libproxy-dev.install0000644000000000000000000000011211716736164013210 0ustar usr/include usr/lib/*/pkgconfig usr/lib/*/libproxy.so usr/share/vala/vapi debian/libgproxy1-plugin-gsettings.install0000644000000000000000000000012311716736164016167 0ustar usr/lib/libproxy/0.4.7/modules/config_gnome3.so usr/lib/libproxy/0.4.7/pxgsettings debian/control0000644000000000000000000001326512226771713010610 0ustar Source: libproxy Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Emilio Pozuelo Monfort Uploaders: Debian GNOME Maintainers , Josselin Mouette Build-Depends-Indep: cli-common-dev (>= 0.5.7~), mono-devel (>= 2.4.3) Build-Depends: debhelper (>= 9), gnome-pkg-tools, cmake, python-all-dev (>= 2.6.6-3~), network-manager-dev [linux-any], libdbus-1-dev, kdelibs5-dev, libqt4-dev, libwebkitgtk-3.0-dev, libjavascriptcoregtk-3.0-dev, libglib2.0-dev (>= 2.26), libxmu-dev Standards-Version: 3.9.4 X-Python-Version: >= 2.5 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/packages/unstable/libproxy Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/packages/unstable/libproxy Homepage: http://code.google.com/p/libproxy/ Package: libproxy1 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: automatic proxy configuration management library (shared) libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API. . This package contains the shared library. Package: libproxy1-plugin-gsettings Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, libproxy1 (= ${binary:Version}) Description: automatic proxy configuration management library (GSettings plugin) libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API. . This package contains the plugin to allow libproxy to read proxy settings from GSettings (GNOME 3) Package: libproxy1-plugin-kconfig Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, libproxy1 (= ${binary:Version}) Description: automatic proxy configuration management library (KConfig plugin) libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API. . This package contains the plugin to allow libproxy to read proxy settings from KConfig (KDE 4) Package: libproxy1-plugin-networkmanager Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, libproxy1 (= ${binary:Version}) Description: automatic proxy configuration management library (Network Manager plugin) libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API. . This package contains the plugin to allow libproxy to read information from Network Manager. #Package: libproxy1-plugin-mozjs #Architecture: any #Multi-Arch: same #Depends: ${shlibs:Depends}, # ${misc:Depends}, # libproxy1 (= ${binary:Version}) #Description: automatic proxy configuration management library (mozjs plugin) # libproxy is a lightweight library which makes it easy to develop # applications proxy-aware with a simple and stable API. # . # This package contains the plugin to allow libproxy to interpret PAC files # using mozjs Package: libproxy1-plugin-webkit Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, libproxy1 (= ${binary:Version}) Description: automatic proxy configuration management library (Webkit plugin) libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API. . This package contains the plugin to allow libproxy to interpret PAC files using Webkit Package: libproxy-dev Architecture: any Multi-Arch: same Section: libdevel XS-Testsuite: autopkgtest Depends: ${shlibs:Depends}, ${misc:Depends}, libproxy1 (= ${binary:Version}) Description: automatic proxy configuration management library (devel) libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API. . This package contains the development files including vala bindings. Package: libproxy-tools Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: automatic proxy configuration management library (tools) libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API. . This package contains a program to interact with libproxy from the command line. Package: python-libproxy Architecture: all Section: python Depends: ${python:Depends}, ${misc:Depends}, libproxy1 (>= ${source:Version}) Description: automatic proxy configuration management library (python) libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API. . This package contains the Python bindings. Package: libproxy0.4-cil Architecture: all Section: cli-mono Depends: ${cli:Depends}, ${misc:Depends} Description: automatic proxy configuration management library (CLI) libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API. . This package contains the CLI bindings. Package: libproxy-cil-dev Architecture: all Section: cli-mono Depends: ${cli:Depends}, ${misc:Depends}, libproxy0.4-cil (= ${binary:Version}) Description: automatic proxy configuration management library (CLI devel) libproxy is a lightweight library which makes it easy to develop applications proxy-aware with a simple and stable API. . This package contains development files for the CLI bindings, and should be used for compilation. debian/libproxy1.install0000644000000000000000000000003011716736164012514 0ustar usr/lib/*/libproxy.so.* debian/libproxy1-plugin-gsettings.install0000644000000000000000000000011711716736164016023 0ustar usr/lib/*/libproxy/*/modules/config_gnome3.so usr/lib/*/libproxy/*/pxgsettings debian/libproxy0.4-cil.install0000644000000000000000000000010311716736164013423 0ustar usr/lib/mono/gac/libproxy-sharp/*/* usr/lib/cli/libproxy-sharp-0.4 debian/libproxy1-plugin-mozjs.install0000644000000000000000000000006011716736164015153 0ustar usr/lib/*/libproxy/*/modules/pacrunner_mozjs.so debian/libproxy1-plugin-webkit.install0000644000000000000000000000006111716736164015277 0ustar usr/lib/*/libproxy/*/modules/pacrunner_webkit.so debian/watch0000644000000000000000000000017211716736164010233 0ustar version=3 http://code.google.com/p/libproxy/downloads/list \ http://libproxy.googlecode.com/files/libproxy-(.*).tar.bz2 debian/patches/0000755000000000000000000000000012151632734010621 5ustar debian/patches/disable-pac-test.patch0000644000000000000000000000177112051150145014757 0ustar From 5a1a8d2b920006e54d9de971999b443073f50843 Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Tue, 16 Oct 2012 03:30:50 -0400 Subject: [PATCH] Disable PAC test get-pac-test freezes when run from the ebuild, but succeeds when building manually. Using Xemake/virtualx.eclass doesn't seem to help. --- libproxy/test/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libproxy/test/CMakeLists.txt b/libproxy/test/CMakeLists.txt index 8894425..69543a4 100644 --- a/libproxy/test/CMakeLists.txt +++ b/libproxy/test/CMakeLists.txt @@ -17,10 +17,3 @@ if(WIN32) target_link_libraries(url-encode ws2_32) endif() add_test(NAME url-encode COMMAND ${CMAKE_CURRENT_BINARY_DIR}/url-encode) - -# Get PAC -if (NOT WIN32) -add_executable(get-pac-test ${CMAKE_CURRENT_SOURCE_DIR}/get-pac-test.cpp ${PROJECT_SOURCE_DIR}/url.cpp) -target_link_libraries(get-pac-test pthread) -add_test(NAME get-pac-test COMMAND ${CMAKE_CURRENT_BINARY_DIR}/get-pac-test) -endif() -- 1.7.12.3 debian/patches/series0000644000000000000000000000006312151632752012035 0ustar disable-pac-test.patch dont_segfault_on_exit.patch debian/patches/dont_segfault_on_exit.patch0000644000000000000000000000066112151632734016230 0ustar --- libproxy-0.4.11/libproxy/modules/pxgsettings.cpp.orig 2013-05-30 13:18:11.597138996 +0200 +++ libproxy-0.4.11/libproxy/modules/pxgsettings.cpp 2013-05-30 13:18:19.801139269 +0200 @@ -156,10 +156,6 @@ g_main_loop_run(loop); - // Cleanup - while (G_IS_OBJECT(client)) { - g_object_unref(client); - } g_io_channel_shutdown(inchan, FALSE, NULL); g_io_channel_shutdown(outchan, FALSE, NULL); g_io_channel_unref(inchan); debian/libproxy-tools.install0000644000000000000000000000001011716736164013567 0ustar usr/bin debian/libproxy1-plugin-kconfig.install0000644000000000000000000000005411716736164015434 0ustar usr/lib/*/libproxy/*/modules/config_kde4.so