pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/libproxy Import libproxy version 0.2.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/891ecaa82c80
branches:  trunk
changeset: 555512:891ecaa82c80
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Wed Mar 04 02:11:07 2009 +0000

description:
Import libproxy version 0.2.3.

libproxy is a library that provides automatic proxy configuration management.

libproxy offers the following features:

    * extremely small core footprint (< 35K)
    * no external dependencies within libproxy core (libproxy plugins may
      have dependencies)
    * only 3 functions in the stable external API
    * dynamic adjustment to changing network topology
    * a standard way of dealing with proxy settings across all scenarios
    * a sublime sense of joy and accomplishment

diffstat:

 www/libproxy/DESCR            |   11 ++++
 www/libproxy/Makefile         |   28 +++++++++++
 www/libproxy/PLIST            |   11 ++++
 www/libproxy/buildlink3.mk    |   19 +++++++
 www/libproxy/distinfo         |    6 ++
 www/libproxy/patches/patch-aa |  100 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 175 insertions(+), 0 deletions(-)

diffs (199 lines):

diff -r 32e3dc80db46 -r 891ecaa82c80 www/libproxy/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libproxy/DESCR        Wed Mar 04 02:11:07 2009 +0000
@@ -0,0 +1,11 @@
+libproxy is a library that provides automatic proxy configuration management.
+
+libproxy offers the following features:
+
+    * extremely small core footprint (< 35K)
+    * no external dependencies within libproxy core (libproxy plugins may
+      have dependencies)
+    * only 3 functions in the stable external API
+    * dynamic adjustment to changing network topology
+    * a standard way of dealing with proxy settings across all scenarios
+    * a sublime sense of joy and accomplishment
diff -r 32e3dc80db46 -r 891ecaa82c80 www/libproxy/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libproxy/Makefile     Wed Mar 04 02:11:07 2009 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/04 02:11:07 jmcneill Exp $
+#
+
+DISTNAME=      libproxy-0.2.3
+CATEGORIES=    www gnome
+MASTER_SITES=  http://libproxy.googlecode.com/files/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://code.google.com/p/libproxy/
+COMMENT=       Library that provides automatic proxy configuration management
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config gmake
+PY_PATCHPLIST= yes
+
+PKGCONFIG_OVERRIDE+=   libproxy-1.0.pc.in
+
+.include "../../mk/bsd.prefs.mk"
+.if (${OPSYS} == "NetBSD")
+BUILDLINK_TRANSFORM+=  rm:-ldl
+.endif
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 32e3dc80db46 -r 891ecaa82c80 www/libproxy/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libproxy/PLIST        Wed Mar 04 02:11:07 2009 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/04 02:11:07 jmcneill Exp $
+bin/proxy
+include/proxy.h
+lib/libproxy.la
+lib/libproxy/${PKGVERSION}/plugins/envvar.so
+lib/libproxy/${PKGVERSION}/plugins/file.so
+lib/pkgconfig/libproxy-1.0.pc
+${PYSITELIB}/libproxy.py
+@dirrm lib/libproxy/${PKGVERSION}/plugins
+@dirrm lib/libproxy/${PKGVERSION}
+@dirrm lib/libproxy
diff -r 32e3dc80db46 -r 891ecaa82c80 www/libproxy/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libproxy/buildlink3.mk        Wed Mar 04 02:11:07 2009 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/03/04 02:11:07 jmcneill Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBPROXY_BUILDLINK3_MK:=       ${LIBPROXY_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    libproxy
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibproxy}
+BUILDLINK_PACKAGES+=   libproxy
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libproxy
+
+.if ${LIBPROXY_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libproxy+=       libproxy>=0.2.3
+BUILDLINK_PKGSRCDIR.libproxy?= ../../www/libproxy
+.endif # LIBPROXY_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}
diff -r 32e3dc80db46 -r 891ecaa82c80 www/libproxy/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libproxy/distinfo     Wed Mar 04 02:11:07 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/03/04 02:11:07 jmcneill Exp $
+
+SHA1 (libproxy-0.2.3.tar.gz) = 2b2b00a179740548035a1145bbae600db9b0a2ce
+RMD160 (libproxy-0.2.3.tar.gz) = c86c4f8403cb879380e101d074af469c960b5c1c
+Size (libproxy-0.2.3.tar.gz) = 378773 bytes
+SHA1 (patch-aa) = e27fd8a773fab0a7e0813b1a8acf6311b4fd012a
diff -r 32e3dc80db46 -r 891ecaa82c80 www/libproxy/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/libproxy/patches/patch-aa     Wed Mar 04 02:11:07 2009 +0000
@@ -0,0 +1,100 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/03/04 02:11:07 jmcneill Exp $
+
+--- configure.orig     2008-06-05 16:56:33.000000000 -0400
++++ configure
+@@ -20509,16 +20509,16 @@ fi
+ if test "${with_gnome+set}" = set; then
+   withval=$with_gnome;
+ else
+-  test x$have_gconf == xyes &&
+-             test x$have_x11   == xyes &&
+-             test x$have_xmu   == xyes &&
++  test x$have_gconf = xyes &&
++             test x$have_x11   = xyes &&
++             test x$have_xmu   = xyes &&
+              with_gnome=yes
+ fi
+ 
+ if test x$with_gnome = xyes; then
+-      if test x$have_gconf == xyes && \
+-         test x$have_x11 == xyes && \
+-         test x$have_xmu == xyes; then
++      if test x$have_gconf = xyes && \
++         test x$have_x11 = xyes && \
++         test x$have_xmu = xyes; then
+               GNOME_CFLAGS="$x11_CFLAGS $xmu_CFLAGS $gconf_CFLAGS"
+               GNOME_LIBS="$x11_LIBS $xmu_LIBS $gconf_LIBS"
+ 
+@@ -20545,14 +20545,14 @@ fi
+ if test "${with_kde+set}" = set; then
+   withval=$with_kde;
+ else
+-  test x$have_x11   == xyes &&
+-             test x$have_xmu   == xyes &&
++  test x$have_x11   = xyes &&
++             test x$have_xmu   = xyes &&
+              with_kde=yes
+ fi
+ 
+ if test x$with_kde = xyes; then
+-      if test x$have_x11 == xyes && \
+-         test x$have_xmu == xyes; then
++      if test x$have_x11 = xyes && \
++         test x$have_xmu = xyes; then
+               KDE_CFLAGS="$x11_CFLAGS $xmu_CFLAGS"
+               KDE_LIBS="$x11_LIBS $xmu_LIBS"
+ 
+@@ -20579,11 +20579,11 @@ fi
+ if test "${with_webkit+set}" = set; then
+   withval=$with_webkit;
+ else
+-  test x$have_webkit == xyes && with_webkit=yes
++  test x$have_webkit = xyes && with_webkit=yes
+ fi
+ 
+ if test x$with_webkit = xyes; then
+-      if test x$have_webkit == xyes; then
++      if test x$have_webkit = xyes; then
+               WEBKIT_CFLAGS="$webkit_CFLAGS"
+               WEBKIT_LIBS="$webkit_LIBS"
+ 
+@@ -20610,11 +20610,11 @@ fi
+ if test "${with_mozjs+set}" = set; then
+   withval=$with_mozjs;
+ else
+-  test x$have_mozjs == xyes && with_mozjs=yes
++  test x$have_mozjs = xyes && with_mozjs=yes
+ fi
+ 
+ if test x$with_mozjs = xyes; then
+-      if test x$have_mozjs == xyes; then
++      if test x$have_mozjs = xyes; then
+               MOZJS_CFLAGS="$mozjs_CFLAGS"
+               MOZJS_LIBS="$mozjs_LIBS"
+ 
+@@ -20641,11 +20641,11 @@ fi
+ if test "${with_networkmanager+set}" = set; then
+   withval=$with_networkmanager;
+ else
+-  test x$have_networkmanager == xyes && with_networkmanager=yes
++  test x$have_networkmanager = xyes && with_networkmanager=yes
+ fi
+ 
+ if test x$with_networkmanager = xyes; then
+-      if test x$have_networkmanager == xyes; then
++      if test x$have_networkmanager = xyes; then
+               NETWORKMANAGER_CFLAGS="$NetworkManager_CFLAGS"
+               NETWORKMANAGER_LIBS="$NetworkManager_LIBS"
+ 
+@@ -21611,6 +21611,11 @@ fi
+ PLUGINDIR=$libdir/$PACKAGE_NAME/$PACKAGE_VERSION/plugins
+ 
+ CFLAGS="-g -std=c99 $CFLAGS -DPLUGINDIR=\\\"$PLUGINDIR\\\" -DSYSCONFDIR=\\\"$sysconfdir\\\" -D_POSIX_C_SOURCE=1"
++case $host_os in
++  netbsd*)
++    CFLAGS="$CFLAGS -D_NETBSD_SOURCE"
++    ;;
++esac
+ 
+ ### Checks for library functions.
+ 



Home | Main Index | Thread Index | Old Index