pkgsrc-WIP-changes archive

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

libproxy: finish package



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

Modified Files:
	libproxy/PLIST
	libproxy/buildlink3.mk
	libproxy/distinfo
Added Files:
	libproxy/patches/patch-src_backend_plugins_pacrunner-duktape_pacrunner-duktape.c
Removed Files:
	libproxy/TODO

Log Message:
libproxy: finish package

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

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

diffstat:
 libproxy/PLIST                                     | 70 ++++++++++++++++++++--
 libproxy/TODO                                      |  8 ---
 libproxy/buildlink3.mk                             |  2 +-
 libproxy/distinfo                                  |  1 +
 ...d_plugins_pacrunner-duktape_pacrunner-duktape.c | 16 +++++
 5 files changed, 84 insertions(+), 13 deletions(-)

diffs:
diff --git a/libproxy/PLIST b/libproxy/PLIST
index ccff3e8d4f..c457eb7c90 100644
--- a/libproxy/PLIST
+++ b/libproxy/PLIST
@@ -1,8 +1,70 @@
-@comment $NetBSD: PLIST,v 1.4 2013/05/24 18:22:57 wiz Exp $
+@comment $NetBSD$
 bin/proxy
-include/proxy.h
+include/libproxy/proxy.h
+lib/girepository-1.0/Libproxy-1.0.typelib
 lib/libproxy.so
 lib/libproxy.so.1
-lib/libproxy.so.1.0.0
+lib/libpxbackend-1.0.so
 lib/pkgconfig/libproxy-1.0.pc
-share/cmake/Modules/Findlibproxy.cmake
+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
deleted file mode 100644
index 56a4f67c92..0000000000
--- a/libproxy/TODO
+++ /dev/null
@@ -1,8 +0,0 @@
-../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
index 3f4e19c9f4..2b78da9a52 100644
--- a/libproxy/buildlink3.mk
+++ b/libproxy/buildlink3.mk
@@ -7,7 +7,7 @@ LIBPROXY_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.libproxy+=	libproxy>=0.2.3
 BUILDLINK_ABI_DEPENDS.libproxy+=	libproxy>=0.4.11
-BUILDLINK_PKGSRCDIR.libproxy?=		../../www/libproxy
+BUILDLINK_PKGSRCDIR.libproxy?=		../../wip/libproxy
 .endif # LIBPROXY_BUILDLINK3_MK
 
 BUILDLINK_TREE+=	-libproxy
diff --git a/libproxy/distinfo b/libproxy/distinfo
index af31d27085..aa08d8f38b 100644
--- a/libproxy/distinfo
+++ b/libproxy/distinfo
@@ -3,3 +3,4 @@ $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
+SHA1 (patch-src_backend_plugins_pacrunner-duktape_pacrunner-duktape.c) = fb9a76af07848e2a3205a872cd7067e94653701b
diff --git a/libproxy/patches/patch-src_backend_plugins_pacrunner-duktape_pacrunner-duktape.c b/libproxy/patches/patch-src_backend_plugins_pacrunner-duktape_pacrunner-duktape.c
new file mode 100644
index 0000000000..fe6224e1e9
--- /dev/null
+++ b/libproxy/patches/patch-src_backend_plugins_pacrunner-duktape_pacrunner-duktape.c
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Fix build on NetBSD
+https://github.com/libproxy/libproxy/issues/219
+
+--- src/backend/plugins/pacrunner-duktape/pacrunner-duktape.c.orig	2023-05-15 13:09:42.000000000 +0000
++++ src/backend/plugins/pacrunner-duktape/pacrunner-duktape.c
+@@ -28,6 +28,8 @@
+ #include <netdb.h>
+ #endif
+ 
++#include <netinet/in.h>                                                                                                                                                                                                       
++
+ #include "pacrunner-duktape.h"
+ #include "pacutils.h"
+ #include "px-plugin-pacrunner.h"


Home | Main Index | Thread Index | Old Index