pkgsrc-WIP-changes archive

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

libproxy: add update blocked by https://github.com/libproxy/libproxy/issues/237



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Wed May 24 15:17:02 2023 +0200
Changeset:	a3a8cab005e5098c5d6418017d58bceadb4eeabf

Modified Files:
	Makefile
Added Files:
	libproxy/DESCR
	libproxy/Makefile
	libproxy/PLIST
	libproxy/TODO
	libproxy/buildlink3.mk
	libproxy/distinfo
	libproxy/log
	libproxy/patches/patch-src_backend_plugins_pacrunner-duktape_meson.build

Log Message:
libproxy: add update blocked by https://github.com/libproxy/libproxy/issues/237

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a3a8cab005e5098c5d6418017d58bceadb4eeabf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  2 +-
 libproxy/DESCR                                     | 11 ++++
 libproxy/Makefile                                  | 38 ++++++++++++
 libproxy/PLIST                                     | 70 ++++++++++++++++++++++
 libproxy/TODO                                      |  1 +
 libproxy/buildlink3.mk                             | 18 ++++++
 libproxy/distinfo                                  |  6 ++
 libproxy/log                                       | 12 ++++
 ...c_backend_plugins_pacrunner-duktape_meson.build | 27 +++++++++
 9 files changed, 184 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index 0759a0b902..47dd0ad7c1 100644
--- a/Makefile
+++ b/Makefile
@@ -1701,7 +1701,6 @@ SUBDIR+=	hztool
 SUBDIR+=	i2pd
 SUBDIR+=	i2pd-git
 SUBDIR+=	i3-git
-SUBDIR+=	i3lock-color
 SUBDIR+=	iText
 SUBDIR+=	iTextXML
 SUBDIR+=	ic
@@ -2121,6 +2120,7 @@ SUBDIR+=	libparsifal
 SUBDIR+=	libpatterns
 SUBDIR+=	libplist2
 SUBDIR+=	libpll
+SUBDIR+=	libproxy
 SUBDIR+=	libpsurface
 SUBDIR+=	libpthread-stubs
 SUBDIR+=	libpusb
diff --git a/libproxy/DESCR b/libproxy/DESCR
new file mode 100644
index 0000000000..c3094f37c4
--- /dev/null
+++ b/libproxy/DESCR
@@ -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 --git a/libproxy/Makefile b/libproxy/Makefile
new file mode 100644
index 0000000000..91abea8896
--- /dev/null
+++ b/libproxy/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.40 2023/05/22 20:28:28 wiz Exp $
+
+DISTNAME=	libproxy-0.5.1
+CATEGORIES=	www gnome
+MASTER_SITES=	${MASTER_SITE_GITHUB:=libproxy/}
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://libproxy.github.io/libproxy/
+COMMENT=	Library that provides automatic proxy configuration management
+LICENSE=	gnu-lgpl-v2.1
+
+USE_LANGUAGES=	c99 c++11
+USE_TOOLS+=	bash:build pkg-config
+
+PKGCONFIG_OVERRIDE+=		output/meson-private/libproxy-1.0.pc
+PKGCONFIG_OVERRIDE_STAGE=	post-configure
+
+TEST_TARGET=	test
+
+REPLACE_BASH+=	data/check-code-style
+REPLACE_BASH+=	data/install-git-hook.sh
+REPLACE_BASH+=	data/pre-commit-hook
+
+#MESON_ARGS+=	-Dtests=false
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../devel/py-gi-docgen/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/libduktape/buildlink3.mk"
+.include "../../lang/vala/buildlink3.mk"
+.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libproxy/PLIST b/libproxy/PLIST
new file mode 100644
index 0000000000..f225cb8f63
--- /dev/null
+++ b/libproxy/PLIST
@@ -0,0 +1,70 @@
+@comment $NetBSD$
+bin/proxy
+include/libproxy/proxy.h
+lib/girepository-1.0/Libproxy-1.0.typelib
+lib/libproxy.so
+lib/libproxy.so.1
+lib/libproxy/libpxbackend-1.0.so
+lib/pkgconfig/libproxy-1.0.pc
+man/man8/proxy.8
+share/doc/libproxy-1.0/RedHatDisplay-Black.woff
+share/doc/libproxy-1.0/RedHatDisplay-Black.woff2
+share/doc/libproxy-1.0/RedHatDisplay-BlackItalic.woff
+share/doc/libproxy-1.0/RedHatDisplay-BlackItalic.woff2
+share/doc/libproxy-1.0/RedHatDisplay-Bold.woff
+share/doc/libproxy-1.0/RedHatDisplay-Bold.woff2
+share/doc/libproxy-1.0/RedHatDisplay-BoldItalic.woff
+share/doc/libproxy-1.0/RedHatDisplay-BoldItalic.woff2
+share/doc/libproxy-1.0/RedHatDisplay-Italic.woff
+share/doc/libproxy-1.0/RedHatDisplay-Italic.woff2
+share/doc/libproxy-1.0/RedHatDisplay-Medium.woff
+share/doc/libproxy-1.0/RedHatDisplay-Medium.woff2
+share/doc/libproxy-1.0/RedHatDisplay-MediumItalic.woff
+share/doc/libproxy-1.0/RedHatDisplay-MediumItalic.woff2
+share/doc/libproxy-1.0/RedHatDisplay-Regular.woff
+share/doc/libproxy-1.0/RedHatDisplay-Regular.woff2
+share/doc/libproxy-1.0/RedHatText-Bold.woff
+share/doc/libproxy-1.0/RedHatText-Bold.woff2
+share/doc/libproxy-1.0/RedHatText-BoldItalic.woff
+share/doc/libproxy-1.0/RedHatText-BoldItalic.woff2
+share/doc/libproxy-1.0/RedHatText-Italic.woff
+share/doc/libproxy-1.0/RedHatText-Italic.woff2
+share/doc/libproxy-1.0/RedHatText-Medium.woff
+share/doc/libproxy-1.0/RedHatText-Medium.woff2
+share/doc/libproxy-1.0/RedHatText-MediumItalic.woff
+share/doc/libproxy-1.0/RedHatText-MediumItalic.woff2
+share/doc/libproxy-1.0/RedHatText-Regular.woff
+share/doc/libproxy-1.0/RedHatText-Regular.woff2
+share/doc/libproxy-1.0/SourceCodePro-It.ttf.woff
+share/doc/libproxy-1.0/SourceCodePro-Regular.ttf.woff
+share/doc/libproxy-1.0/SourceCodePro-Semibold.ttf.woff
+share/doc/libproxy-1.0/applications.html
+share/doc/libproxy-1.0/architecture.html
+share/doc/libproxy-1.0/build-steps.html
+share/doc/libproxy-1.0/classes_hierarchy.html
+share/doc/libproxy-1.0/configuration-logic.html
+share/doc/libproxy-1.0/ctor.ProxyFactory.new.html
+share/doc/libproxy-1.0/fonts.css
+share/doc/libproxy-1.0/fzy.js
+share/doc/libproxy-1.0/go-up-symbolic.png
+share/doc/libproxy-1.0/index.html
+share/doc/libproxy-1.0/index.json
+share/doc/libproxy-1.0/libproxy-1.0.devhelp2
+share/doc/libproxy-1.0/libproxy.svg
+share/doc/libproxy-1.0/main.js
+share/doc/libproxy-1.0/method.ProxyFactory.free.html
+share/doc/libproxy-1.0/method.ProxyFactory.get_proxies.html
+share/doc/libproxy-1.0/perl.html
+share/doc/libproxy-1.0/proxy-authentication.html
+share/doc/libproxy-1.0/python.html
+share/doc/libproxy-1.0/ruby.html
+share/doc/libproxy-1.0/search.js
+share/doc/libproxy-1.0/solarized-dark.css
+share/doc/libproxy-1.0/solarized-light.css
+share/doc/libproxy-1.0/struct.ProxyFactory.html
+share/doc/libproxy-1.0/style.css
+share/doc/libproxy-1.0/type_func.ProxyFactory.free_proxies.html
+share/doc/libproxy-1.0/vala.html
+share/gir-1.0/Libproxy-1.0.gir
+share/vala/vapi/libproxy-1.0.deps
+share/vala/vapi/libproxy-1.0.vapi
diff --git a/libproxy/TODO b/libproxy/TODO
new file mode 100644
index 0000000000..ce8059a5af
--- /dev/null
+++ b/libproxy/TODO
@@ -0,0 +1 @@
+https://github.com/libproxy/libproxy/issues/237
diff --git a/libproxy/buildlink3.mk b/libproxy/buildlink3.mk
new file mode 100644
index 0000000000..751ce22298
--- /dev/null
+++ b/libproxy/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.8 2023/05/22 21:00:09 wiz Exp $
+
+BUILDLINK_TREE+=	libproxy
+
+.if !defined(LIBPROXY_BUILDLINK3_MK)
+LIBPROXY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libproxy+=	libproxy>=0.2.3
+BUILDLINK_ABI_DEPENDS.libproxy+=	libproxy>=0.5.0
+BUILDLINK_PKGSRCDIR.libproxy?=		../../www/libproxy
+
+# before version 0.5, the header file was directly in include/proxy.h
+BUILDLINK_FNAME_TRANSFORM.libproxy+=	-e s,include/libproxy,include,
+
+.include "../../devel/glib2/buildlink3.mk"
+.endif # LIBPROXY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libproxy
diff --git a/libproxy/distinfo b/libproxy/distinfo
new file mode 100644
index 0000000000..53c296eeb6
--- /dev/null
+++ b/libproxy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.25 2023/05/22 20:28:28 wiz Exp $
+
+BLAKE2s (libproxy-0.5.1.tar.gz) = 6f353a17805d8eba6c2c5c7a3b2879dbb1ac64e1f9ef43bdcf51c42d050b36cb
+SHA512 (libproxy-0.5.1.tar.gz) = 830e4bb1879c6afd1fbebc24de2ca75a597096a8eadb45dd3965b9f8121110039379342facebddce1b679a9b6ceb065089f0fbe38b55411a2c53ac36ef979ab7
+Size (libproxy-0.5.1.tar.gz) = 59939 bytes
+SHA1 (patch-src_backend_plugins_pacrunner-duktape_meson.build) = 680f14bb54f7d030a322dad08e30535e78f4cd92
diff --git a/libproxy/log b/libproxy/log
new file mode 100644
index 0000000000..a9e73b6a15
--- /dev/null
+++ b/libproxy/log
@@ -0,0 +1,12 @@
+What's Changed
+
+    Guard PxManager test with pacrunner-duktape option by @janbrummer in #215
+    Fix build on NetBSD. by @0-wiz-0 in #220
+    Install libpxbackend into pkglibdir by @amigadave in #223
+    Move glib2 inclusion out of c++ protection. by @0-wiz-0 in #227
+    Replace libsoup with glib socket service functions by @janbrummer in #228
+    Enforce online state for tests by @janbrummer in #229
+    Use glib-object header instead of gio by @janbrummer in #230
+    Fix libproxy rpath by @janbrummer in #231
+    Draft: Improve ignore checks by @janbrummer in #232
+    Release 0.5.1 by @janbrummer in #233
diff --git a/libproxy/patches/patch-src_backend_plugins_pacrunner-duktape_meson.build b/libproxy/patches/patch-src_backend_plugins_pacrunner-duktape_meson.build
new file mode 100644
index 0000000000..186d6b31af
--- /dev/null
+++ b/libproxy/patches/patch-src_backend_plugins_pacrunner-duktape_meson.build
@@ -0,0 +1,27 @@
+$NetBSD$
+
+Fix build on SmartOS.
+https://github.com/libproxy/libproxy/pull/235/files
+
+--- src/backend/plugins/pacrunner-duktape/meson.build.orig	2023-05-24 06:14:23.000000000 +0000
++++ src/backend/plugins/pacrunner-duktape/meson.build
+@@ -4,6 +4,7 @@ if get_option(plugin_name)
+ 
+ duktape_dep = dependency('duktape')
+ m_dep = cc.find_library('m', required : false)
++socket_dep = cc.find_library('socket', required: false)
+ 
+ px_backend_sources += [
+   'plugins/@0@/@0@.c'.format(plugin_name),
+@@ -11,7 +12,8 @@ px_backend_sources += [
+ 
+ px_backend_deps += [
+   duktape_dep,
+-  m_dep
++  m_dep,
++  socket_dep
+ ]
+ 
+-endif
+\ No newline at end of file
++endif


Home | Main Index | Thread Index | Old Index