mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Update to 0.4.6.
This commit is contained in:
parent
4b2ee2330a
commit
ac692c0b61
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280290
@ -3,28 +3,29 @@
|
||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# $MCom: ports/net/libproxy-gnome/Makefile,v 1.1 2011/01/12 13:10:53 kwm Exp $
|
||||
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= net devel
|
||||
PKGNAMESUFFIX= -gnome
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= GNOME plug-in for libproxy
|
||||
|
||||
LIB_DEPENDS= proxy.0:${PORTSDIR}/net/libproxy
|
||||
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../libproxy
|
||||
BUILD_WRKSRC= ${WRKSRC}/src/plugins
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
DESCR= ${.CURDIR}/pkg-descr
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
USE_XORG= xmu x11
|
||||
USE_GNOME= gconf2
|
||||
CONFIGURE_ARGS=--with-gnome --without-kde --without-webkit \
|
||||
--without-mozjs --without-networkmanager --without-python \
|
||||
--without-envvar --without-file
|
||||
|
||||
LIBPROXY_SLAVE= yes
|
||||
LIBPROXY_SLAVE= gnome
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
|
||||
${INSTALL_LIB} ${WRKSRC}/libproxy/config_gnome.so \
|
||||
${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/libproxy/pxgconf \
|
||||
${PREFIX}/libexec/
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -1 +1,2 @@
|
||||
lib/libproxy/%%VERSION%%/plugins/gnome.so
|
||||
lib/libproxy/%%VERSION%%/modules/config_gnome.so
|
||||
libexec/pxgconf
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# $MCom: ports/net/libproxy-kde/Makefile,v 1.1 2011/01/12 13:10:53 kwm Exp $
|
||||
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= net devel
|
||||
@ -12,18 +12,20 @@ PKGNAMESUFFIX= -kde
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= KDE plug-in for libproxy
|
||||
|
||||
LIB_DEPENDS= proxy.0:${PORTSDIR}/net/libproxy
|
||||
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../libproxy
|
||||
BUILD_WRKSRC= ${WRKSRC}/src/plugins
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
DESCR= ${.CURDIR}/pkg-descr
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
USE_XORG= xmu x11
|
||||
CONFIGURE_ARGS=--without-gnome --with-kde --without-webkit \
|
||||
--without-mozjs --without-networkmanager --without-python \
|
||||
--without-envvar --without-file
|
||||
USE_QT_VER= 4
|
||||
QT_COMPONENTS= corelib moc_build qmake_build uic_build rcc_build
|
||||
USE_KDE4= automoc4 kdelibs
|
||||
|
||||
LIBPROXY_SLAVE= yes
|
||||
LIBPROXY_SLAVE= kde
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
|
||||
${INSTALL_LIB} ${WRKSRC}/lib/config_kde4.so \
|
||||
${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -1 +1 @@
|
||||
lib/libproxy/%%VERSION%%/plugins/kde.so
|
||||
lib/libproxy/%%VERSION%%/modules/config_kde4.so
|
||||
|
@ -3,31 +3,26 @@
|
||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# $MCom: ports/net/libproxy-mozjs/Makefile,v 1.5 2011/01/12 13:10:53 kwm Exp $
|
||||
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= net devel
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= net www
|
||||
PKGNAMESUFFIX= -mozjs
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= Mozilla Javascript plug-in for libproxy
|
||||
|
||||
LIB_DEPENDS= proxy.0:${PORTSDIR}/net/libproxy
|
||||
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../libproxy
|
||||
BUILD_WRKSRC= ${WRKSRC}/src/plugins
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
DESCR= ${.CURDIR}/pkg-descr
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
USE_GECKO= libxul
|
||||
CONFIGURE_ARGS=--without-gnome --without-kde --without-webkit \
|
||||
--with-mozjs --without-networkmanager --without-python \
|
||||
--without-envvar --without-file
|
||||
|
||||
LIBPROXY_SLAVE= yes
|
||||
LIBPROXY_SLAVE= mozjs
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|mozilla-js|mozilla-js libxul|g' \
|
||||
${WRKSRC}/configure
|
||||
do-install:
|
||||
${INSTALL_LIB} ${WRKSRC}/libproxy/pacrunner_mozjs.so \
|
||||
${PREFIX}/lib/libproxy/${PORTVERSION}/modules/
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -1 +1 @@
|
||||
lib/libproxy/%%VERSION%%/plugins/mozjs.so
|
||||
lib/libproxy/%%VERSION%%/modules/pacrunner_mozjs.so
|
||||
|
31
net/libproxy-perl/Makefile
Normal file
31
net/libproxy-perl/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# New ports collection makefile for: libproxy-perl
|
||||
# Date created: 11 Januari 2011
|
||||
# Whom: Koop Mast <kwm@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $MCom: ports/net/libproxy-perl/Makefile,v 1.1 2011/01/12 13:10:53 kwm Exp $
|
||||
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= net lang
|
||||
PKGNAMESUFFIX= -perl
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= Perl binding for libproxy
|
||||
|
||||
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../libproxy
|
||||
DESCR= ${.CURDIR}/pkg-descr
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
USE_PERL5= yes
|
||||
|
||||
LIBPROXY_SLAVE= perl
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${SITE_PERL}/mach/auto/Net/Libproxy ${SITE_PERL}/mach/Net
|
||||
${INSTALL_LIB} ${WRKSRC}/perl/blib/arch/auto/Net/Libproxy.so \
|
||||
${SITE_PERL}/mach/auto/Net/Libproxy/
|
||||
${INSTALL_DATA} ${WRKSRC}/perl/blib/lib/Libproxy.pm \
|
||||
${SITE_PERL}/mach/Net/
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
7
net/libproxy-perl/pkg-descr
Normal file
7
net/libproxy-perl/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Libproxy exists to answer the question: Given a network resource, how do I
|
||||
reach it? It handles all the details, enabling you to get back to
|
||||
programming.
|
||||
|
||||
This plug-in allows perl applications to make use of libproxy.
|
||||
|
||||
WWW: http://code.google.com/p/libproxy/
|
5
net/libproxy-perl/pkg-plist
Normal file
5
net/libproxy-perl/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
%%SITE_PERL%%/mach/Net/Libproxy.pm
|
||||
%%SITE_PERL%%/mach/auto/Net/Libproxy/Libproxy.so
|
||||
@dirrm %%SITE_PERL%%/mach/auto/Net/Libproxy
|
||||
@dirrmtry %%SITE_PERL%%/mach/auto/Net
|
||||
@dirrmtry %%SITE_PERL%%/mach/Net
|
39
net/libproxy-python/Makefile
Normal file
39
net/libproxy-python/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# New ports collection makefile for: libproxy-python
|
||||
# Date created: 11 Januari 2011
|
||||
# Whom: Koop Mast <kwm@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $MCom: ports/net/libproxy-python/Makefile,v 1.1 2011/01/12 13:10:54 kwm Exp $
|
||||
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= net lang
|
||||
PKGNAMESUFFIX= -python
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= python binding for libproxy
|
||||
|
||||
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../libproxy
|
||||
DESCR= ${.CURDIR}/pkg-descr
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
USE_PYTHON= 2.5+
|
||||
|
||||
LIBPROXY_SLAVE= python
|
||||
|
||||
do-build:
|
||||
# empty
|
||||
|
||||
post-build:
|
||||
${PYTHON_CMD} -Qold ${PYTHON_LIBDIR}/compileall.py \
|
||||
${WRKSRC}/bindings/python
|
||||
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
|
||||
${WRKSRC}/bindings/python
|
||||
|
||||
do-install:
|
||||
.for file in libproxy.py libproxy.pyc libproxy.pyo
|
||||
${INSTALL_DATA} ${WRKSRC}/bindings/python/${file} \
|
||||
${PYTHON_SITELIBDIR}
|
||||
.endfor
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
7
net/libproxy-python/pkg-descr
Normal file
7
net/libproxy-python/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Libproxy exists to answer the question: Given a network resource, how do I
|
||||
reach it? It handles all the details, enabling you to get back to
|
||||
programming.
|
||||
|
||||
This plug-in allows python applications to make use of libproxy.
|
||||
|
||||
WWW: http://code.google.com/p/libproxy/
|
3
net/libproxy-python/pkg-plist
Normal file
3
net/libproxy-python/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
%%PYTHON_SITELIBDIR%%/libproxy.py
|
||||
%%PYTHON_SITELIBDIR%%/libproxy.pyc
|
||||
%%PYTHON_SITELIBDIR%%/libproxy.pyo
|
@ -3,27 +3,26 @@
|
||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# $MCom: ports/net/libproxy-webkit/Makefile,v 1.13 2011/03/06 23:12:41 kwm Exp $
|
||||
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= net devel
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net www
|
||||
PKGNAMESUFFIX= -webkit
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= WebKit Javascript plug-in for libproxy
|
||||
|
||||
LIB_DEPENDS= proxy.0:${PORTSDIR}/net/libproxy \
|
||||
webkit-1.0.13:${PORTSDIR}/www/webkit-gtk2
|
||||
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy \
|
||||
webkitgtk-1.0.0:${PORTSDIR}/www/webkit-gtk2
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../libproxy
|
||||
BUILD_WRKSRC= ${WRKSRC}/src/plugins
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
DESCR= ${.CURDIR}/pkg-descr
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
CONFIGURE_ARGS=--without-gnome --without-kde --with-webkit \
|
||||
--without-mozjs --without-networkmanager --without-python \
|
||||
--without-envvar --without-file
|
||||
|
||||
LIBPROXY_SLAVE= yes
|
||||
LIBPROXY_SLAVE= webkit
|
||||
|
||||
do-install:
|
||||
${INSTALL_LIB} ${WRKSRC}/libproxy/pacrunner_webkit.so \
|
||||
${PREFIX}/lib/libproxy/${PORTVERSION}/modules/
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -1 +1 @@
|
||||
lib/libproxy/%%VERSION%%/plugins/webkit.so
|
||||
lib/libproxy/%%VERSION%%/modules/pacrunner_webkit.so
|
||||
|
@ -3,44 +3,71 @@
|
||||
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# $MCom: ports/net/libproxy/Makefile,v 1.1 2011/01/12 13:10:52 kwm Exp $
|
||||
|
||||
PORTNAME= libproxy
|
||||
PORTVERSION= 0.2.3
|
||||
PORTREVISION?= 1
|
||||
PORTVERSION= 0.4.6
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES?= net devel
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT?= Library that provides automatic proxy configuration management
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME+= gnomehack
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
ac_cv_func_malloc_0_nonnull=yes
|
||||
CONFIGURE_ARGS?=--without-gnome --without-kde --without-webkit \
|
||||
--without-mozjs --without-networkmanager --with-python \
|
||||
--with-envvar --with-file
|
||||
USE_CMAKE= yes
|
||||
|
||||
PLIST_SUB+= VERSION=${PORTVERSION}
|
||||
|
||||
.if !defined(LIBPROXY_SLAVE)
|
||||
USE_LDCONFIG= yes
|
||||
USE_PYTHON= 2.5+
|
||||
CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF -DWITH_PERL:BOOL=OFF \
|
||||
-DWITH_GNOME:BOOL=OFF -DWITH_KDE4:BOOL=OFF \
|
||||
-DWITH_WEBKIT:BOOL=OFF -DWITH_MOZJS:BOOL=OFF \
|
||||
-DWITH_NETWORKMANAGER:BOOL=OFF -DWITH_VALA:BOOL=ON
|
||||
.else
|
||||
|
||||
post-build:
|
||||
${PYTHON_CMD} -Qold ${PYTHON_LIBDIR}/compileall.py \
|
||||
${WRKSRC}/src/bindings/python
|
||||
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
|
||||
${WRKSRC}/src/bindings/python
|
||||
# Libproxy is build for the slave ports, since I haven't been able to find
|
||||
# out how to only build optional code with cmake.
|
||||
# Patches for this problem are welcome.
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/src/bindings/python/libproxy.pyc \
|
||||
${PYTHON_SITELIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/bindings/python/libproxy.pyo \
|
||||
${PYTHON_SITELIBDIR}
|
||||
. if ${LIBPROXY_SLAVE}=="python"
|
||||
CMAKE_ARGS+= -DWITH_PYTHON:BOOL=ON
|
||||
. else
|
||||
CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF
|
||||
. endif
|
||||
|
||||
. if ${LIBPROXY_SLAVE}=="perl"
|
||||
CMAKE_ARGS+= -DWITH_PERL:BOOL=ON
|
||||
. else
|
||||
CMAKE_ARGS+= -DWITH_PERL:BOOL=OFF
|
||||
. endif
|
||||
|
||||
. if ${LIBPROXY_SLAVE}=="gnome"
|
||||
CMAKE_ARGS+= -DWITH_GNOME:BOOL=ON
|
||||
. else
|
||||
CMAKE_ARGS+= -DWITH_GNOME:BOOL=OFF
|
||||
. endif
|
||||
|
||||
. if ${LIBPROXY_SLAVE}=="kde"
|
||||
CMAKE_ARGS+= -DWITH_KDE4:BOOL=ON
|
||||
. else
|
||||
CMAKE_ARGS+= -DWITH_KDE4:BOOL=OFF
|
||||
. endif
|
||||
|
||||
. if ${LIBPROXY_SLAVE}=="webkit"
|
||||
CMAKE_ARGS+= -DWITH_WEBKIT:BOOL=ON
|
||||
. else
|
||||
CMAKE_ARGS+= -DWITH_WEBKIT:BOOL=OFF
|
||||
. endif
|
||||
|
||||
. if ${LIBPROXY_SLAVE}=="mozjs"
|
||||
CMAKE_ARGS+= -DWITH_MOZJS:BOOL=ON
|
||||
. else
|
||||
CMAKE_ARGS+= -DWITH_MOZJS:BOOL=OFF
|
||||
. endif
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/lib/libproxy/${PORTVERSION}/modules/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (libproxy-0.2.3.tar.gz) = 59ded160b3547d29e37cc9d06359f7f37d94112214e4532430cd65e704c1339a
|
||||
SIZE (libproxy-0.2.3.tar.gz) = 378773
|
||||
SHA256 (libproxy-0.4.6.tar.gz) = 9ad912e63b1efca98fb442240a2bc7302e6021c1d0b1b9363327729f29462f30
|
||||
SIZE (libproxy-0.4.6.tar.gz) = 82483
|
||||
|
@ -1,95 +0,0 @@
|
||||
--- configure.orig 2009-02-27 00:08:46.000000000 -0500
|
||||
+++ configure 2009-02-27 00:09:25.000000000 -0500
|
||||
@@ -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"
|
||||
|
||||
@@ -21610,7 +21610,7 @@ fi
|
||||
|
||||
PLUGINDIR=$libdir/$PACKAGE_NAME/$PACKAGE_VERSION/plugins
|
||||
|
||||
-CFLAGS="-g -std=c99 $CFLAGS -DPLUGINDIR=\\\"$PLUGINDIR\\\" -DSYSCONFDIR=\\\"$sysconfdir\\\" -D_POSIX_C_SOURCE=1"
|
||||
+CFLAGS="-g -std=c99 $CFLAGS -DPLUGINDIR=\\\"$PLUGINDIR\\\" -DSYSCONFDIR=\\\"$sysconfdir\\\""
|
||||
|
||||
### Checks for library functions.
|
||||
|
14
net/libproxy/files/patch-libmodman_CMakeLists.txt
Normal file
14
net/libproxy/files/patch-libmodman_CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
--- libmodman/CMakeLists.txt.orig 2010-09-01 22:23:34.000000000 +0200
|
||||
+++ libmodman/CMakeLists.txt 2011-01-08 01:39:09.000000000 +0100
|
||||
@@ -12,9 +12,9 @@
|
||||
module_manager.hpp
|
||||
module_manager.cpp)
|
||||
if(NOT WIN32)
|
||||
- target_link_libraries(modman dl)
|
||||
+ target_link_libraries(modman)
|
||||
endif()
|
||||
-set_target_properties(modman PROPERTIES PREFIX "lib" VERSION 1.0.0 SOVERSION 1)
|
||||
+set_target_properties(modman PROPERTIES PREFIX "lib" VERSION 1 SOVERSION 1)
|
||||
install(TARGETS modman DESTINATION ${LIB_INSTALL_DIR})
|
||||
|
||||
### Tests
|
11
net/libproxy/files/patch-libproxy_CMakeLists.txt
Normal file
11
net/libproxy/files/patch-libproxy_CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
--- libproxy/CMakeLists.txt.orig 2010-09-01 22:23:34.000000000 +0200
|
||||
+++ libproxy/CMakeLists.txt 2010-12-27 10:59:14.000000000 +0100
|
||||
@@ -6,7 +6,7 @@
|
||||
if (WIN32)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS=1)
|
||||
else(WIN32)
|
||||
- add_definitions(-D_POSIX_C_SOURCE=1)
|
||||
+# add_definitions(-D_POSIX_C_SOURCE=1)
|
||||
set(CMAKE_CXX_FLAGS "-fvisibility=hidden ${CMAKE_CXX_FLAGS}")
|
||||
endif(WIN32)
|
||||
|
11
net/libproxy/files/patch-libproxy_cmake_devfiles.cmk
Normal file
11
net/libproxy/files/patch-libproxy_cmake_devfiles.cmk
Normal file
@ -0,0 +1,11 @@
|
||||
--- libproxy/cmake/devfiles.cmk.orig 2010-09-01 22:23:34.000000000 +0200
|
||||
+++ libproxy/cmake/devfiles.cmk 2010-12-27 11:23:34.000000000 +0100
|
||||
@@ -15,7 +15,7 @@
|
||||
endif(IS_ABSOLUTE ${INCLUDE_INSTALL_DIR})
|
||||
|
||||
configure_file(${CMAKE_SOURCE_DIR}/libproxy/libproxy-1.0.pc.in ${CMAKE_BINARY_DIR}/libproxy-1.0.pc @ONLY)
|
||||
- install(FILES ${CMAKE_BINARY_DIR}/libproxy-1.0.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
|
||||
+ install(FILES ${CMAKE_BINARY_DIR}/libproxy-1.0.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata//pkgconfig)
|
||||
|
||||
# CMake Find helper
|
||||
configure_file(${CMAKE_SOURCE_DIR}/libproxy/Findlibproxy.cmake.in ${CMAKE_BINARY_DIR}/Findlibproxy.cmake @ONLY)
|
19
net/libproxy/files/patch-libproxy_cmake_libproxy.cmk
Normal file
19
net/libproxy/files/patch-libproxy_cmake_libproxy.cmk
Normal file
@ -0,0 +1,19 @@
|
||||
--- libproxy/cmake/libproxy.cmk.orig 2010-09-01 22:23:34.000000000 +0200
|
||||
+++ libproxy/cmake/libproxy.cmk 2011-01-08 01:32:46.000000000 +0100
|
||||
@@ -2,7 +2,7 @@ add_library(libproxy SHARED extension_co
|
||||
if(WIN32)
|
||||
target_link_libraries(libproxy modman;ws2_32;${LIBPROXY_LIBRARIES})
|
||||
else()
|
||||
- target_link_libraries(libproxy modman;m;pthread;dl;${LIBPROXY_LIBRARIES})
|
||||
+ target_link_libraries(libproxy modman;m;pthread;${LIBPROXY_LIBRARIES})
|
||||
endif()
|
||||
file(TO_NATIVE_PATH ${MODULE_INSTALL_DIR} MODULE_INSTALL_DIR)
|
||||
if(WIN32)
|
||||
@@ -17,6 +17,6 @@ endif()
|
||||
|
||||
set_property(SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/proxy.cpp
|
||||
PROPERTY COMPILE_DEFINITIONS MODULEDIR="${MODULEDIR}";BUILTIN_MODULES=${BUILTIN_MODULES})
|
||||
-set_target_properties(libproxy PROPERTIES PREFIX "" VERSION 1.0.0 SOVERSION 1)
|
||||
+set_target_properties(libproxy PROPERTIES PREFIX "" VERSION 1 SOVERSION 1)
|
||||
install(TARGETS libproxy DESTINATION ${LIB_INSTALL_DIR})
|
||||
install(FILES proxy.h DESTINATION ${INCLUDE_INSTALL_DIR})
|
16
net/libproxy/files/patch-libproxy_cmake_modules.cmk
Normal file
16
net/libproxy/files/patch-libproxy_cmake_modules.cmk
Normal file
@ -0,0 +1,16 @@
|
||||
--- libproxy/cmake/modules.cmk.orig 2011-01-08 01:06:52.000000000 +0100
|
||||
+++ libproxy/cmake/modules.cmk 2011-01-08 01:07:02.000000000 +0100
|
||||
@@ -17,10 +17,10 @@ include(cmake/modules/pacrunner_mozjs.cm
|
||||
include(cmake/modules/pacrunner_webkit.cmk)
|
||||
|
||||
# Build the pacrunner into libproxy unless we are building for multiple engines
|
||||
-set(BIPR 1)
|
||||
-if(MOZJS_FOUND AND WEBKIT_FOUND)
|
||||
+#set(BIPR 1)
|
||||
+#if(MOZJS_FOUND AND WEBKIT_FOUND)
|
||||
set(BIPR 0)
|
||||
-endif()
|
||||
+#endif()
|
||||
|
||||
#
|
||||
## Module definition
|
@ -0,0 +1,8 @@
|
||||
--- libproxy/cmake/modules/config_gnome.cmk.orig 2011-01-08 01:14:36.000000000 +0100
|
||||
+++ libproxy/cmake/modules/config_gnome.cmk 2011-01-08 01:16:19.000000000 +0100
|
||||
@@ -1,4 +1,5 @@
|
||||
if (NOT WIN32 AND NOT APPLE)
|
||||
+ option(WITH_GNOME "Search for GConf2 package" ON)
|
||||
px_check_modules(GNOME gconf-2.0 gobject-2.0)
|
||||
|
||||
# GNOME (gconf) helper
|
@ -0,0 +1,9 @@
|
||||
--- libproxy/cmake/modules/network_networkmanager.cmk.orig 2011-01-08 01:21:37.000000000 +0100
|
||||
+++ libproxy/cmake/modules/network_networkmanager.cmk 2011-01-08 01:22:18.000000000 +0100
|
||||
@@ -1,3 +1,4 @@
|
||||
if (NOT WIN32 AND NOT APPLE)
|
||||
+ option(WITH_NETWORKMANAGER "Search for NetworkManager package" ON)
|
||||
px_check_modules(NM NetworkManager dbus-1)
|
||||
-endif()
|
||||
\ No newline at end of file
|
||||
+endif()
|
@ -0,0 +1,11 @@
|
||||
--- libproxy/cmake/modules/pacrunner_webkit.cmk.orig 2011-01-08 01:14:30.000000000 +0100
|
||||
+++ libproxy/cmake/modules/pacrunner_webkit.cmk 2011-01-08 01:16:05.000000000 +0100
|
||||
@@ -12,5 +12,6 @@ elseif(APPLE)
|
||||
set(WEBKIT_FOUND 1)
|
||||
endif()
|
||||
else()
|
||||
+ option(WITH_WEBKIT "Search for WebKit package" ON)
|
||||
px_check_modules(WEBKIT webkit-1.0)
|
||||
-endif()
|
||||
\ No newline at end of file
|
||||
+endif()
|
11
net/libproxy/files/patch-libproxy_proxy.cpp
Normal file
11
net/libproxy/files/patch-libproxy_proxy.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- libproxy/proxy.cpp.orig 2010-09-01 14:31:50.000000000 +0200
|
||||
+++ libproxy/proxy.cpp 2010-09-01 14:32:09.000000000 +0200
|
||||
@@ -17,6 +17,8 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
******************************************************************************/
|
||||
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
#include <vector>
|
||||
#include <cstring> // For strdup()
|
||||
#include <iostream> // For cerr
|
11
net/libproxy/files/patch-libproxy_url.hpp
Normal file
11
net/libproxy/files/patch-libproxy_url.hpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- libproxy/url.hpp.orig 2010-09-01 14:30:33.000000000 +0200
|
||||
+++ libproxy/url.hpp 2010-09-01 14:31:13.000000000 +0200
|
||||
@@ -20,6 +20,8 @@
|
||||
#ifndef URL_HPP_
|
||||
#define URL_HPP_
|
||||
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
#include <map>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
@ -1,11 +0,0 @@
|
||||
--- src/bin/Makefile.in.orig 2009-02-26 23:50:56.000000000 -0500
|
||||
+++ src/bin/Makefile.in 2009-02-26 23:51:00.000000000 -0500
|
||||
@@ -210,7 +210,7 @@ xmu_LIBS = @xmu_LIBS@
|
||||
# Command line interface to libproxy
|
||||
proxy_SOURCES = proxy.c
|
||||
proxy_CFLAGS = -I$(top_srcdir)/src/lib
|
||||
-proxy_LDFLAGS = -ldl
|
||||
+proxy_LDFLAGS =
|
||||
proxy_LDADD = ../lib/libproxy.la
|
||||
all: all-am
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- src/lib/proxy_factory.c.orig 2009-02-26 23:49:38.000000000 -0500
|
||||
+++ src/lib/proxy_factory.c 2009-02-26 23:49:58.000000000 -0500
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <dlfcn.h>
|
||||
#include <math.h>
|
||||
#include <sys/socket.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <pthread.h>
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- src/lib/url.c.orig 2009-02-26 23:45:38.000000000 -0500
|
||||
+++ src/lib/url.c 2009-02-26 23:47:25.000000000 -0500
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include "misc.h"
|
@ -1,84 +0,0 @@
|
||||
--- src/plugins/Makefile.in.orig 2009-02-27 00:10:06.000000000 -0500
|
||||
+++ src/plugins/Makefile.in 2009-02-27 00:10:56.000000000 -0500
|
||||
@@ -70,21 +70,21 @@ file_la_LINK = $(LIBTOOL) --tag=CC $(AM_
|
||||
--mode=link $(CCLD) $(file_la_CFLAGS) $(CFLAGS) \
|
||||
$(file_la_LDFLAGS) $(LDFLAGS) -o $@
|
||||
@WITH_FILE_TRUE@am_file_la_rpath = -rpath $(plugindir)
|
||||
-gnome_la_DEPENDENCIES = ../lib/libproxy.la
|
||||
+gnome_la_DEPENDENCIES =
|
||||
am_gnome_la_OBJECTS = gnome_la-gnome.lo gnome_la-xhasclient.lo
|
||||
gnome_la_OBJECTS = $(am_gnome_la_OBJECTS)
|
||||
gnome_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(gnome_la_CFLAGS) $(CFLAGS) \
|
||||
$(gnome_la_LDFLAGS) $(LDFLAGS) -o $@
|
||||
@WITH_GNOME_TRUE@am_gnome_la_rpath = -rpath $(plugindir)
|
||||
-kde_la_DEPENDENCIES = ../lib/libproxy.la
|
||||
+kde_la_DEPENDENCIES =
|
||||
am_kde_la_OBJECTS = kde_la-kde.lo kde_la-xhasclient.lo
|
||||
kde_la_OBJECTS = $(am_kde_la_OBJECTS)
|
||||
kde_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(kde_la_CFLAGS) $(CFLAGS) \
|
||||
$(kde_la_LDFLAGS) $(LDFLAGS) -o $@
|
||||
@WITH_KDE_TRUE@am_kde_la_rpath = -rpath $(plugindir)
|
||||
-mozjs_la_DEPENDENCIES = ../lib/libproxy.la
|
||||
+mozjs_la_DEPENDENCIES =
|
||||
am_mozjs_la_OBJECTS = mozjs_la-mozjs.lo
|
||||
nodist_mozjs_la_OBJECTS =
|
||||
mozjs_la_OBJECTS = $(am_mozjs_la_OBJECTS) $(nodist_mozjs_la_OBJECTS)
|
||||
@@ -92,7 +92,7 @@ mozjs_la_LINK = $(LIBTOOL) --tag=CC $(AM
|
||||
--mode=link $(CCLD) $(mozjs_la_CFLAGS) $(CFLAGS) \
|
||||
$(mozjs_la_LDFLAGS) $(LDFLAGS) -o $@
|
||||
@WITH_MOZJS_TRUE@am_mozjs_la_rpath = -rpath $(plugindir)
|
||||
-networkmanager_la_DEPENDENCIES = ../lib/libproxy.la
|
||||
+networkmanager_la_DEPENDENCIES =
|
||||
am_networkmanager_la_OBJECTS = networkmanager_la-networkmanager.lo
|
||||
networkmanager_la_OBJECTS = $(am_networkmanager_la_OBJECTS)
|
||||
networkmanager_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
@@ -101,7 +101,7 @@ networkmanager_la_LINK = $(LIBTOOL) --ta
|
||||
$(networkmanager_la_LDFLAGS) $(LDFLAGS) -o $@
|
||||
@WITH_NETWORKMANAGER_TRUE@am_networkmanager_la_rpath = -rpath \
|
||||
@WITH_NETWORKMANAGER_TRUE@ $(plugindir)
|
||||
-webkit_la_DEPENDENCIES = ../lib/libproxy.la
|
||||
+webkit_la_DEPENDENCIES =
|
||||
am_webkit_la_OBJECTS = webkit_la-webkit.lo
|
||||
nodist_webkit_la_OBJECTS =
|
||||
webkit_la_OBJECTS = $(am_webkit_la_OBJECTS) \
|
||||
@@ -293,33 +293,33 @@ file_la_LDFLAGS = -module -avoid-version
|
||||
# GConf/GNOME Config Plugin
|
||||
gnome_la_SOURCES = gnome.c xhasclient.c
|
||||
gnome_la_CFLAGS = -I$(top_srcdir)/src/lib @GNOME_CFLAGS@
|
||||
-gnome_la_LIBADD = ../lib/libproxy.la
|
||||
+gnome_la_LIBADD = -lproxy
|
||||
gnome_la_LDFLAGS = -module -avoid-version @GNOME_LIBS@
|
||||
|
||||
# KDE Config Plugin
|
||||
kde_la_SOURCES = kde.c xhasclient.c
|
||||
kde_la_CFLAGS = -I$(top_srcdir)/src/lib @KDE_CFLAGS@
|
||||
-kde_la_LIBADD = ../lib/libproxy.la
|
||||
+kde_la_LIBADD = -lproxy
|
||||
kde_la_LDFLAGS = -module -avoid-version @KDE_LIBS@
|
||||
|
||||
# WebKit (JavaScriptCore) based PAC runner
|
||||
webkit_la_SOURCES = webkit.c
|
||||
webkit_la_CFLAGS = -I$(top_srcdir)/src/lib @WEBKIT_CFLAGS@
|
||||
-webkit_la_LIBADD = ../lib/libproxy.la
|
||||
+webkit_la_LIBADD = -lproxy
|
||||
webkit_la_LDFLAGS = -module -avoid-version @WEBKIT_LIBS@
|
||||
nodist_webkit_la_SOURCES = pacutils.h
|
||||
|
||||
# Mozilla (Spidermonkey) based PAC runner
|
||||
mozjs_la_SOURCES = mozjs.c
|
||||
mozjs_la_CFLAGS = -I$(top_srcdir)/src/lib @MOZJS_CFLAGS@
|
||||
-mozjs_la_LIBADD = ../lib/libproxy.la
|
||||
+mozjs_la_LIBADD = -lproxy
|
||||
mozjs_la_LDFLAGS = -module -avoid-version @MOZJS_LIBS@
|
||||
nodist_mozjs_la_SOURCES = pacutils.h
|
||||
|
||||
# NetworkManager Plugin
|
||||
networkmanager_la_SOURCES = networkmanager.c
|
||||
networkmanager_la_CFLAGS = -I$(top_srcdir)/src/lib @NETWORKMANAGER_CFLAGS@
|
||||
-networkmanager_la_LIBADD = ../lib/libproxy.la
|
||||
+networkmanager_la_LIBADD = -lproxy
|
||||
networkmanager_la_LDFLAGS = -module -avoid-version @NETWORKMANAGER_LIBS@
|
||||
BUILT_SOURCES = pacutils.h
|
||||
CLEANFILES = pacutils.h
|
@ -1,10 +0,0 @@
|
||||
--- src/plugins/mozjs.c.orig 2009-02-27 00:18:46.000000000 -0500
|
||||
+++ src/plugins/mozjs.c 2009-02-27 00:18:56.000000000 -0500
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
#include <arpa/inet.h>
|
||||
+#include <netinet/in.h>
|
||||
#define __USE_BSD
|
||||
#include <unistd.h>
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- src/plugins/webkit.c.orig 2009-02-27 00:22:39.000000000 -0500
|
||||
+++ src/plugins/webkit.c 2009-02-27 00:22:50.000000000 -0500
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#include <arpa/inet.h>
|
||||
#define __USE_BSD
|
@ -1,15 +1,17 @@
|
||||
bin/proxy
|
||||
include/proxy.h
|
||||
lib/libproxy.a
|
||||
lib/libproxy.la
|
||||
lib/libmodman.so
|
||||
lib/libmodman.so.1
|
||||
lib/libproxy.so
|
||||
lib/libproxy.so.0
|
||||
lib/libproxy/%%VERSION%%/plugins/envvar.so
|
||||
lib/libproxy/%%VERSION%%/plugins/file.so
|
||||
lib/libproxy.so.1
|
||||
libdata/pkgconfig/libproxy-1.0.pc
|
||||
%%PYTHON_SITELIBDIR%%/libproxy.py
|
||||
%%PYTHON_SITELIBDIR%%/libproxy.pyc
|
||||
%%PYTHON_SITELIBDIR%%/libproxy.pyo
|
||||
@dirrmtry lib/libproxy/%%VERSION%%/plugins
|
||||
@dirrmtry lib/libproxy/%%VERSION%%
|
||||
@dirrmtry lib/libproxy
|
||||
share/cmake/Modules/Findlibproxy.cmake
|
||||
share/vala/vapi/libproxy-1.0.vapi
|
||||
@dirrmtry share/vala/vapi
|
||||
@dirrmtry share/vala
|
||||
@dirrm share/cmake/Modules
|
||||
@dirrm share/cmake
|
||||
@exec mkdir -p %D/lib/libproxy/%%VERSION%%/modules
|
||||
@dirrm lib/libproxy/%%VERSION%%/modules
|
||||
@dirrm lib/libproxy/%%VERSION%%
|
||||
@dirrm lib/libproxy
|
||||
|
Loading…
Reference in New Issue
Block a user