summaryrefslogtreecommitdiff
path: root/sysutils/nut-devel
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-08-15 07:21:20 -0700
committerCy Schubert <cy@FreeBSD.org>2022-08-15 07:42:06 -0700
commit445b057b01a13e23470da9ab3f2c12096f2552cb (patch)
treeb84c2a8ac9ae8ac6b353f9b5919c52a2e4c55ecb /sysutils/nut-devel
parentsecurity/krb5-devel: update to the latest MIT/KRB5 github commit (diff)
sysutils/nut-devel: Update to the latest networkupstools/nut github commit
Diffstat (limited to 'sysutils/nut-devel')
-rw-r--r--sysutils/nut-devel/Makefile4
-rw-r--r--sysutils/nut-devel/distinfo6
-rw-r--r--sysutils/nut-devel/files/patch-tools_nut-scanner_nutscan-init.c14
3 files changed, 11 insertions, 13 deletions
diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index 40ba7db3c4d4..9e30974d0999 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -17,8 +17,8 @@ CONFLICTS= nut-[0-9]*
USE_GITHUB= yes
GH_ACCOUNT= networkupstools
-GH_TAGNAME= 4e3d0ecce
-NUT_COMMIT_DATE= 2022.08.01
+GH_TAGNAME= 2083172b9
+NUT_COMMIT_DATE= 2022.08.15
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
diff --git a/sysutils/nut-devel/distinfo b/sysutils/nut-devel/distinfo
index c946e80d2a4e..e5af63f8b300 100644
--- a/sysutils/nut-devel/distinfo
+++ b/sysutils/nut-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659477009
-SHA256 (networkupstools-nut-2022.08.01-4e3d0ecce_GH0.tar.gz) = c9ae3156e5130de82772cd3cdc43a8ea466bead19452b761246531576c93b923
-SIZE (networkupstools-nut-2022.08.01-4e3d0ecce_GH0.tar.gz) = 3499781
+TIMESTAMP = 1660572417
+SHA256 (networkupstools-nut-2022.08.15-2083172b9_GH0.tar.gz) = 59490e60b433fa52637126302272227f223a567f55252775291338b8f5389574
+SIZE (networkupstools-nut-2022.08.15-2083172b9_GH0.tar.gz) = 3503581
diff --git a/sysutils/nut-devel/files/patch-tools_nut-scanner_nutscan-init.c b/sysutils/nut-devel/files/patch-tools_nut-scanner_nutscan-init.c
index bc341494ce73..40de4a19cde7 100644
--- a/sysutils/nut-devel/files/patch-tools_nut-scanner_nutscan-init.c
+++ b/sysutils/nut-devel/files/patch-tools_nut-scanner_nutscan-init.c
@@ -1,16 +1,14 @@
-diff --git tools/nut-scanner/nutscan-init.c.orig tools/nut-scanner/nutscan-init.c
-index 9ea3f5d..13f4e78 100644
---- tools/nut-scanner/nutscan-init.c.orig
-+++ tools/nut-scanner/nutscan-init.c
-@@ -133,7 +133,11 @@ void nutscan_init(void)
+--- tools/nut-scanner/nutscan-init.c.orig 2022-08-15 05:15:58.000000000 -0700
++++ tools/nut-scanner/nutscan-init.c 2022-08-15 07:11:39.489088000 -0700
+@@ -135,7 +135,11 @@
char *libname = NULL;
#ifdef WITH_USB
#if WITH_LIBUSB_1_0
+ #ifdef __FreeBSD__
+ libname = get_libname("libusb.so");
+ #else
- libname = get_libname("libusb-1.0.so");
+ libname = get_libname("libusb-1.0" SOEXT);
+ #endif
#else
- libname = get_libname("libusb-0.1.so");
- if (!libname) {
+ libname = get_libname("libusb-0.1" SOEXT);
+ #endif