mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
net/libproxy: update to 0.4.18 release (+)
Add new duktape plugin to the build Changelog: https://github.com/libproxy/libproxy/releases/tag/0.4.18
This commit is contained in:
parent
bff551ff59
commit
d444560271
@ -414,6 +414,7 @@
|
||||
SUBDIR += libpcapnav
|
||||
SUBDIR += libpfctl
|
||||
SUBDIR += libproxy
|
||||
SUBDIR += libproxy-duktape
|
||||
SUBDIR += libproxy-gnome3
|
||||
SUBDIR += libproxy-kde
|
||||
SUBDIR += libproxy-pacrunner
|
||||
|
12
net/libproxy-duktape/Makefile
Normal file
12
net/libproxy-duktape/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= net devel
|
||||
PKGNAMESUFFIX= -${LIBPROXY_SLAVE}
|
||||
|
||||
COMMENT= Duktape JavaScript plug-in for libproxy
|
||||
|
||||
LIB_DEPENDS+= libduktape.so:lang/duktape-lib
|
||||
|
||||
LIBPROXY_SLAVE= duktape
|
||||
MASTERDIR= ${.CURDIR}/../libproxy
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
5
net/libproxy-duktape/pkg-descr
Normal file
5
net/libproxy-duktape/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
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 the Duktape JS engine to make use of libproxy.
|
1
net/libproxy-duktape/pkg-plist
Normal file
1
net/libproxy-duktape/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
lib/libproxy/%%VERSION%%/modules/pacrunner_duktape.so
|
@ -4,7 +4,7 @@ PKGNAMESUFFIX= -${LIBPROXY_SLAVE}
|
||||
|
||||
COMMENT= WebKit JavaScript plug-in for libproxy
|
||||
|
||||
LIB_DEPENDS= libjavascriptcoregtk-4.0.so:www/webkit2-gtk3
|
||||
LIB_DEPENDS+= libjavascriptcoregtk-4.0.so:www/webkit2-gtk3
|
||||
|
||||
USES= gettext-runtime gnome
|
||||
USE_GNOME= glib20
|
||||
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= libproxy
|
||||
DISTVERSION= 0.4.17
|
||||
PORTREVISION?= 1
|
||||
DISTVERSION= 0.4.18
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES?= net devel
|
||||
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
|
||||
|
||||
@ -19,7 +19,7 @@ CMAKE_ON+= WITH_VALA
|
||||
CMAKE_OFF+= BIPR WITH_DOTNET WITH_NATUS WITH_NM WITH_NMold
|
||||
|
||||
# Slave ports.
|
||||
LIBPROXY_SLAVES= library gnome3 kde mozjs python perl webkit3
|
||||
LIBPROXY_SLAVES= library duktape gnome3 kde mozjs python perl webkit3
|
||||
|
||||
# If nothing is set, we're building the library, i.e. this port.
|
||||
LIBPROXY_SLAVE?= library
|
||||
@ -49,7 +49,7 @@ LIB_DEPENDS+= libdbus-1.so:devel/dbus
|
||||
CMAKE_ON= BUILD_CONFIG_PACRUNNER
|
||||
.endif
|
||||
|
||||
.if ${LIBPROXY_SLAVE:Mkde} || ${LIBPROXY_SLAVE:Mwebkit3}
|
||||
.if ${LIBPROXY_SLAVE:Mkde} || ${LIBPROXY_SLAVE:Mduktape} || ${LIBPROXY_SLAVE:Mmozjs} || ${LIBPROXY_SLAVE:Mwebkit3}
|
||||
RUN_DEPENDS+= libproxy-pacrunner>=${DISTVERSION}:net/libproxy-pacrunner
|
||||
.endif
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1642408064
|
||||
SHA256 (libproxy-0.4.17.tar.xz) = bc89f842f654ee1985a31c0ba56dc7e2ce8044a0264ddca84e650f46cd7f8b05
|
||||
SIZE (libproxy-0.4.17.tar.xz) = 80136
|
||||
TIMESTAMP = 1690222352
|
||||
SHA256 (libproxy-0.4.18.tar.xz) = 69b5856e9ea42c38ac77e6b8c92ffc86a71d341fef74e77bef85f9cc6c47a4b1
|
||||
SIZE (libproxy-0.4.18.tar.xz) = 82020
|
||||
|
@ -2,9 +2,9 @@ As the library is only built in the master port, and therfore missing in the
|
||||
build directory for the slave ports, find it via pkg-config and link against it,
|
||||
when building a slave.
|
||||
|
||||
--- bindings/perl/src/CMakeLists.txt.orig 2018-06-03 17:39:41 UTC
|
||||
--- bindings/perl/src/CMakeLists.txt.orig 2022-06-20 14:06:50 UTC
|
||||
+++ bindings/perl/src/CMakeLists.txt
|
||||
@@ -4,7 +4,7 @@ include_directories( ${PERL_INCLUDE_PATH} ${CMAKE_SOUR
|
||||
@@ -4,7 +4,7 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/
|
||||
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/Libproxy.c
|
||||
COMMAND ${PERL_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/doxsubpp.pl
|
||||
${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/Libproxy.xs ${CMAKE_CURRENT_BINARY_DIR}/Libproxy.c
|
||||
@ -13,8 +13,8 @@ when building a slave.
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
set(Libproxy_LIB_SRCS Libproxy.c)
|
||||
@@ -12,7 +12,7 @@ set(Libproxy_LIB_SRCS Libproxy.c)
|
||||
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/perl/blib/arch/auto/Net)
|
||||
@@ -12,7 +12,7 @@ add_library(PLlibproxy SHARED ${Libproxy_LIB_SRCS})
|
||||
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/perl/auto/Net/Libproxy)
|
||||
add_library(PLlibproxy SHARED ${Libproxy_LIB_SRCS})
|
||||
|
||||
-set(PLlibproxy_LIB_DEPENDENCIES libproxy pthread)
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- libproxy/cmake/modules.cmk.orig 2021-02-26 18:24:03 UTC
|
||||
--- libproxy/cmake/modules.cmk.orig 2022-06-20 13:54:49 UTC
|
||||
+++ libproxy/cmake/modules.cmk
|
||||
@@ -29,7 +29,9 @@ endif()
|
||||
@@ -32,7 +32,9 @@ message("MODULES TO BUILD:")
|
||||
## Module definition
|
||||
#
|
||||
message("MODULES TO BUILD:")
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- libproxy/cmake/modules/pacrunner_duktape.cmk.orig 2022-06-20 13:54:49 UTC
|
||||
+++ libproxy/cmake/modules/pacrunner_duktape.cmk
|
||||
@@ -17,5 +17,7 @@ else()
|
||||
link_directories(${DUKTAPE_LIBRARIES})
|
||||
link_libraries(duktape)
|
||||
endif()
|
||||
+ else()
|
||||
+ set(DUKTAPE_FOUND 0)
|
||||
endif()
|
||||
endif()
|
Loading…
Reference in New Issue
Block a user