From nobody Thu Sep 21 22:10:37 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rs8jT2tTfz4v4Jq; Thu, 21 Sep 2023 22:10:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rs8jT2Qb3z3gqJ; Thu, 21 Sep 2023 22:10:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695334237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LRvGfWTUUqQCb6lHBwBB5ya7VIAOuT8hCLtCOiCIrO0=; b=DJU5lMyle8nhDJV7I/1CLd2pV+6tfcLC++bq9SW+JpK/lxqIEGTmFauGT9Mj3ZBxAPG58x J0y3UwgMtXuU8Ce6lsOpyt9PHIrnrRMKQa6F+4GYzO1hRNjiiaods7My2Hg4Dq+cf/P77f FXWJRQr74dH+sOIM36MOu8MXYrJe8/zY/+5Plq1ysryPeZlHKZsPbu5MpUaCWZhKBOLkyN pa4c0Sny6QVpjuUUmoVLhfzifKUxmY3qy62E4tjf+H4TeLtBII0AmIi5+KFBMH0A6Bqio4 wplsZuzUhaNI+Z+fqPnDq0EEXzD8WuajaMIzzm9WP9OfMOnKZvmVNeaxV8J3gA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695334237; a=rsa-sha256; cv=none; b=Hgoo5ftHVChnvoTn6czKCAs0yVOesBovp3n/gTZ71zgQ7QRUs1tsqzRy9qF67UhBFoyMOf FUzZ3uKMItaOB00m/ivokkHjMOIODN1oeMCYAA/v9KL2ilY4BuzOCm44DaxmMUXW5wlVRD GEkXuCdLtpKoNgWm8MyQ2evIQC7cdugvZldC5GqLlBgLf7kr2Bum3sPHlbM7au2KFtdIpX gW+PmYrx8U4V9cLWlVUxwYC/qHLDNzcQDspZfh2y46WPO2pKCtsP1WunaE+d877FSlpOce 7h2Kn3I/ZQHoRfZvAFAM2zoASRbVu8XCYy9+0Tqnuozrd0ldFlxvWHHBa7d3oA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695334237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LRvGfWTUUqQCb6lHBwBB5ya7VIAOuT8hCLtCOiCIrO0=; b=mo4T9fP7MJngCWEyh5jbnu9492MWRTtUUQASCvmexv08u8qB7NLfD8pAbuQmObPklhtVNd p4Wsb/534mnw9PbNHYbzGVOCZ/p4OLupcqztnn/srSabIw/fEB1ee6zXefzFqB+xmSx4Sg dvt7nZoyKYnU7kPDHHYRgEdhOSrJYvwvdl92P3ZVtzNf/5ZEvr98Bd8DPH4kR7sVrgm4/p iDYukr64RbgtoZEJiEKJk2WUuZ0tl2K2p8HQfpCdfDaWSjp7ktTSzW33SSwP++WHQmxNWE w9u7uVCEx4jxgid6rhz5NxCp/iiJ5gd0IBbuqHpgqfTyjTNdCsc49MAXnQommw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rs8jT1V7hzwKg; Thu, 21 Sep 2023 22:10:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38LMAbcL067798; Thu, 21 Sep 2023 22:10:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38LMAbJS067795; Thu, 21 Sep 2023 22:10:37 GMT (envelope-from git) Date: Thu, 21 Sep 2023 22:10:37 GMT Message-Id: <202309212210.38LMAbJS067795@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: d444560271bb - main - net/libproxy: update to 0.4.18 release (+) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d444560271bb19f11c57d14ac8098cb906c9444d Auto-Submitted: auto-generated The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=d444560271bb19f11c57d14ac8098cb906c9444d commit d444560271bb19f11c57d14ac8098cb906c9444d Author: Dima Panov AuthorDate: 2023-09-21 22:05:53 +0000 Commit: Dima Panov CommitDate: 2023-09-21 22:05:53 +0000 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 --- net/Makefile | 1 + net/libproxy-duktape/Makefile | 12 ++++++++++++ net/libproxy-duktape/pkg-descr | 5 +++++ net/libproxy-duktape/pkg-plist | 1 + net/libproxy-webkit3/Makefile | 2 +- net/libproxy/Makefile | 8 ++++---- net/libproxy/distinfo | 6 +++--- net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt | 8 ++++---- net/libproxy/files/patch-libproxy_cmake_modules.cmk | 4 ++-- .../patch-libproxy_cmake_modules_pacrunner__duktape.cmk | 10 ++++++++++ 10 files changed, 43 insertions(+), 14 deletions(-) diff --git a/net/Makefile b/net/Makefile index 73841997c6d0..a0822b6214ba 100644 --- a/net/Makefile +++ b/net/Makefile @@ -414,6 +414,7 @@ SUBDIR += libpcapnav SUBDIR += libpfctl SUBDIR += libproxy + SUBDIR += libproxy-duktape SUBDIR += libproxy-gnome3 SUBDIR += libproxy-kde SUBDIR += libproxy-pacrunner diff --git a/net/libproxy-duktape/Makefile b/net/libproxy-duktape/Makefile new file mode 100644 index 000000000000..28f0570f8069 --- /dev/null +++ b/net/libproxy-duktape/Makefile @@ -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" diff --git a/net/libproxy-duktape/pkg-descr b/net/libproxy-duktape/pkg-descr new file mode 100644 index 000000000000..39c82a099848 --- /dev/null +++ b/net/libproxy-duktape/pkg-descr @@ -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. diff --git a/net/libproxy-duktape/pkg-plist b/net/libproxy-duktape/pkg-plist new file mode 100644 index 000000000000..d9414aaebb90 --- /dev/null +++ b/net/libproxy-duktape/pkg-plist @@ -0,0 +1 @@ +lib/libproxy/%%VERSION%%/modules/pacrunner_duktape.so diff --git a/net/libproxy-webkit3/Makefile b/net/libproxy-webkit3/Makefile index f630fea894e1..6cc1bc2c6b51 100644 --- a/net/libproxy-webkit3/Makefile +++ b/net/libproxy-webkit3/Makefile @@ -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 diff --git a/net/libproxy/Makefile b/net/libproxy/Makefile index 881f5be95934..dd7fab4fbdf5 100644 --- a/net/libproxy/Makefile +++ b/net/libproxy/Makefile @@ -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 diff --git a/net/libproxy/distinfo b/net/libproxy/distinfo index b51e5c7ec3d6..cad62a8f6f24 100644 --- a/net/libproxy/distinfo +++ b/net/libproxy/distinfo @@ -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 diff --git a/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt b/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt index b35c965d6e74..db18ae1f7da1 100644 --- a/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt +++ b/net/libproxy/files/patch-bindings_perl_src_CMakeLists.txt @@ -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) diff --git a/net/libproxy/files/patch-libproxy_cmake_modules.cmk b/net/libproxy/files/patch-libproxy_cmake_modules.cmk index afe898372415..081eda9955d7 100644 --- a/net/libproxy/files/patch-libproxy_cmake_modules.cmk +++ b/net/libproxy/files/patch-libproxy_cmake_modules.cmk @@ -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:") diff --git a/net/libproxy/files/patch-libproxy_cmake_modules_pacrunner__duktape.cmk b/net/libproxy/files/patch-libproxy_cmake_modules_pacrunner__duktape.cmk new file mode 100644 index 000000000000..06c3322d95c5 --- /dev/null +++ b/net/libproxy/files/patch-libproxy_cmake_modules_pacrunner__duktape.cmk @@ -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()