pkgsrc-WIP-changes archive

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

libproxy: update candidate



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Tue May 16 22:05:06 2023 +0200
Changeset:	9d13b84a81be22b5f3d20b5a29135360bfd8fe7b

Added Files:
	libproxy/DESCR
	libproxy/Makefile
	libproxy/PLIST
	libproxy/TODO
	libproxy/buildlink3.mk
	libproxy/distinfo

Log Message:
libproxy: update candidate

Doesn't build on NetBSD, and has many more dependencies than 0.4.18 had:
(https://github.com/libproxy/libproxy/issues/216)

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

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

diffstat:
 libproxy/DESCR         | 11 +++++++++++
 libproxy/Makefile      | 37 +++++++++++++++++++++++++++++++++++++
 libproxy/PLIST         |  8 ++++++++
 libproxy/TODO          |  8 ++++++++
 libproxy/buildlink3.mk | 13 +++++++++++++
 libproxy/distinfo      |  5 +++++
 6 files changed, 82 insertions(+)

diffs:
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..911c60d1cf
--- /dev/null
+++ b/libproxy/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.39 2023/02/27 10:44:34 jperkin Exp $
+
+DISTNAME=	libproxy-0.5.0
+CATEGORIES=	www gnome
+MASTER_SITES=	${MASTER_SITE_GITHUB:=libproxy/}
+GITHUB_TAG=	${DISTNAME}
+
+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+=	bindings/csharp/libproxy-sharp-1.0.pc.cmake
+PKGCONFIG_OVERRIDE+=	libproxy/libproxy-1.0.pc.in
+
+TEST_TARGET=	test
+
+REPLACE_BASH+=	data/check-code-style
+REPLACE_BASH+=	data/install-git-hook.sh
+REPLACE_BASH+=	data/pre-commit-hook
+
+.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 "../../net/libsoup3/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..ccff3e8d4f
--- /dev/null
+++ b/libproxy/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.4 2013/05/24 18:22:57 wiz Exp $
+bin/proxy
+include/proxy.h
+lib/libproxy.so
+lib/libproxy.so.1
+lib/libproxy.so.1.0.0
+lib/pkgconfig/libproxy-1.0.pc
+share/cmake/Modules/Findlibproxy.cmake
diff --git a/libproxy/TODO b/libproxy/TODO
new file mode 100644
index 0000000000..56a4f67c92
--- /dev/null
+++ b/libproxy/TODO
@@ -0,0 +1,8 @@
+../src/backend/plugins/pacrunner-duktape/pacrunner-duktape.c: In function 'dns_resolve':
+../src/backend/plugins/pacrunner-duktape/pacrunner-duktape.c:55:12: error: 'INET6_ADDRSTRLEN' undeclared (first use in this function)
+   55 |   char tmp[INET6_ADDRSTRLEN + 1];
+      |            ^~~~~~~~~~~~~~~~
+../src/backend/plugins/pacrunner-duktape/pacrunner-duktape.c:55:12: note: each undeclared identifier is reported only once for each function it appears in
+../src/backend/plugins/pacrunner-duktape/pacrunner-duktape.c:55:8: warning: unused variable 'tmp' [-Wunused-variable]
+   55 |   char tmp[INET6_ADDRSTRLEN + 1];
+      |        ^~~
diff --git a/libproxy/buildlink3.mk b/libproxy/buildlink3.mk
new file mode 100644
index 0000000000..3f4e19c9f4
--- /dev/null
+++ b/libproxy/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.6 2017/06/08 11:27:05 adam 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.4.11
+BUILDLINK_PKGSRCDIR.libproxy?=		../../www/libproxy
+.endif # LIBPROXY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libproxy
diff --git a/libproxy/distinfo b/libproxy/distinfo
new file mode 100644
index 0000000000..af31d27085
--- /dev/null
+++ b/libproxy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.24 2023/02/20 09:22:07 adam Exp $
+
+BLAKE2s (libproxy-0.5.0.tar.gz) = 4ed621c85760f691a47513b3b00515b370389d0f774a0c23da247d0c0629b4c9
+SHA512 (libproxy-0.5.0.tar.gz) = 699d09d747c3e56247b1d0a8dee0cd7c122199cc4296aa61753a4e52b4346ad5d98d608f953d28a5779e7d49f64be639e22c696ac82d48bbdaa7b743501b18e6
+Size (libproxy-0.5.0.tar.gz) = 58746 bytes


Home | Main Index | Thread Index | Old Index