From c10b700bcc0e42d267bbc0faa8f7cc4a88305d13 Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Fri, 10 Jun 2022 22:46:34 +0200 Subject: [PATCH] ser2net: update to 4.3.6 We need to add an upstream patch as well, which fixes disabling the newly introduced PAM support. Signed-off-by: Michael Heimpold --- net/ser2net/Makefile | 5 +++-- net/ser2net/patches/001-fix-disabling-pam.patch | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 net/ser2net/patches/001-fix-disabling-pam.patch diff --git a/net/ser2net/Makefile b/net/ser2net/Makefile index abb1fa64bb..233a9c633e 100644 --- a/net/ser2net/Makefile +++ b/net/ser2net/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ser2net -PKG_VERSION:=4.3.5 +PKG_VERSION:=4.3.6 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/ser2net -PKG_HASH:=848c4fe863806e506832f1ee85b8b68258f06eb19dad43dbeee16a2cfe5d9053 +PKG_HASH:=65515c7e9a5289167ae64c4032450904449a87ce20653241022af4f5db2e9510 PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE_FILES:=COPYING @@ -25,6 +25,7 @@ PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk CONFIGURE_ARGS += \ + --with-pam=no \ --with-pthreads \ --with-sysfs-led-support diff --git a/net/ser2net/patches/001-fix-disabling-pam.patch b/net/ser2net/patches/001-fix-disabling-pam.patch new file mode 100644 index 0000000000..02417d9253 --- /dev/null +++ b/net/ser2net/patches/001-fix-disabling-pam.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -39,7 +39,7 @@ AC_ARG_WITH(pam, + fi, + ) + +-if test "use_pam" != "no"; then ++if test "$use_pam" != "no"; then + have_pam=yes + AC_CHECK_HEADER(security/pam_appl.h, [], [have_pam=no]) + if test "$have_pam" = "yes"; then -- 2.30.2