Skip to contentSkip to conversation

package/libpam-tacplus: bump to version 1.6.1

PATCH New Fabrice Fontaine 2 participants 2 messages Oct 31, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libpam-tacplus: bump to version 1.6.1

- Drop all patches (already in version)
- Update indentation in hash file (two spaces)

---
 ...btac-lib-magic.c-fix-build-on-uclibc.patch |  52 --
 .../0002-Drop-u_char-and-u_short.patch        | 653 ------------------
 ...0003-Fix-unused-parameters-with-musl.patch |  52 --
 ...build-failure-when-time_t-is-64-bits.patch |  80 ---
 ...failure-of-OpenSSL-RAND_pseudo_bytes.patch | 146 ----
 package/libpam-tacplus/libpam-tacplus.hash    |   4 +-
 package/libpam-tacplus/libpam-tacplus.mk      |   5 +-
 7 files changed, 3 insertions(+), 989 deletions(-)
 delete mode 100644 package/libpam-tacplus/0001-libtac-lib-magic.c-fix-build-on-uclibc.patch
 delete mode 100644 package/libpam-tacplus/0002-Drop-u_char-and-u_short.patch
 delete mode 100644 package/libpam-tacplus/0003-Fix-unused-parameters-with-musl.patch
 delete mode 100644 package/libpam-tacplus/0004-fix-build-failure-when-time_t-is-64-bits.patch
 delete mode 100644 package/libpam-tacplus/0005-Check-for-failure-of-OpenSSL-RAND_pseudo_bytes.patch
package/libpam-tacplus/0001-libtac-lib-magic.c-fix-build-on-uclibc.patch deleted +0 -52
deleted file mode 100644
index 8cdbba4506..0000000000
@@ -1,52 +0,0 @@
-From b2af0aca53d696e6dad17d8a0351d233d1dd1200 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Wed, 22 Jan 2020 20:51:59 +0100
-Subject: [PATCH] libtac/lib/magic.c: fix build on uclibc
-
-Commit 7e990f9db6d8805d369876f45964df87efad9e08 replaced _GNU_SOURCE by
-AC_SYSTEM_EXTENSIONS. This is fine but then config.h must be included
-before system includes otherwise build fails with uclibc on:
-
-libtac/lib/magic.c: In function 'magic':
-libtac/lib/magic.c:70:11: error: implicit declaration of function 'getrandom' [-Werror=implicit-function-declaration]
-     ret = getrandom(&num, sizeof(num), GRND_NONBLOCK);
-           ^
-
-Fixes:
- - http://autobuild.buildroot.org/results/05c67484136f3bb433ce7fc47b2ce01167048cc2
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status: https://github.com/kravietz/pam_tacplus/pull/137]
----
- libtac/lib/magic.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/libtac/lib/magic.c b/libtac/lib/magic.c
-index 9df5e3f..e13a483 100644
---- a/libtac/lib/magic.c
-+++ b/libtac/lib/magic.c
-@@ -18,6 +18,10 @@
-  * See `CHANGES' file for revision history.
-  */
- 
-+#ifdef HAVE_CONFIG_H
-+  #include "config.h"
-+#endif
-+
- #include <stdio.h>
- #include <stdlib.h>
- #include <sys/types.h>
-@@ -27,10 +31,6 @@
- #include <fcntl.h>
- #include <errno.h>
- 
--#ifdef HAVE_CONFIG_H
--  #include "config.h"
--#endif
--
- #include "magic.h"
- 
- #ifdef _MSC_VER
--- 
-2.24.1
-
package/libpam-tacplus/0002-Drop-u_char-and-u_short.patch deleted +0 -653

653 lines not on this page · raw message

package/libpam-tacplus/0003-Fix-unused-parameters-with-musl.patch deleted +0 -52

52 lines not on this page · raw message

package/libpam-tacplus/0004-fix-build-failure-when-time_t-is-64-bits.patch deleted +0 -80

80 lines not on this page · raw message

package/libpam-tacplus/0005-Check-for-failure-of-OpenSSL-RAND_pseudo_bytes.patch deleted +0 -146

146 lines not on this page · raw message

package/libpam-tacplus/libpam-tacplus.hash +2 -2
index b1cd053f12..084a3e54a4 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256 82f204b949b2a55d0711b314c6e3b213bd1c0c1ee0d9ba15680570db22bff2d8  libpam-tacplus-1.5.1.tar.gz
-sha256 b2b961f07e97c4fb78074276da304ea36b85dc299aae5efb79080cedaea3d5ac  COPYING
+sha256  73961800dc0d5e422751ad4c9f09b1863ab33e381e0bdb2a1d0343dcfc30e44e  libpam-tacplus-1.6.1.tar.gz
+sha256  b2b961f07e97c4fb78074276da304ea36b85dc299aae5efb79080cedaea3d5ac  COPYING
package/libpam-tacplus/libpam-tacplus.mk +1 -4
index 86a5b1c461..4e1f8bd173 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBPAM_TACPLUS_VERSION = 1.5.1
+LIBPAM_TACPLUS_VERSION = 1.6.1
 LIBPAM_TACPLUS_SITE = $(call github,jeroennijhof,pam_tacplus,v$(LIBPAM_TACPLUS_VERSION))
 LIBPAM_TACPLUS_LICENSE = GPL-2.0+
 LIBPAM_TACPLUS_LICENSE_FILES = COPYING
@@ -17,7 +17,4 @@ LIBPAM_TACPLUS_INSTALL_STAGING = YES
 LIBPAM_TACPLUS_CONF_ENV = \
 	ax_cv_check_cflags___fstack_protector_all=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no)
 
-# 0005-Check-for-failure-of-OpenSSL-RAND_pseudo_bytes.patch
-LIBPAM_TACPLUS_IGNORE_CVES += CVE-2020-27743
-
 $(eval $(autotools-package))
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 package/libpam-tacplus: bump to version 1.6.1

Quoted 4 lines · On Sat, 31 Oct 2020 17:20:10 +0100 Fabrice Fontaine…

- Drop all patches (already in version)
- Update indentation in hash file (two spaces)

Quoted 14 lines
---
 ...btac-lib-magic.c-fix-build-on-uclibc.patch |  52 --
 .../0002-Drop-u_char-and-u_short.patch        | 653 ------------------
 ...0003-Fix-unused-parameters-with-musl.patch |  52 --
 ...build-failure-when-time_t-is-64-bits.patch |  80 ---
 ...failure-of-OpenSSL-RAND_pseudo_bytes.patch | 146 ----
 package/libpam-tacplus/libpam-tacplus.hash    |   4 +-
 package/libpam-tacplus/libpam-tacplus.mk      |   5 +-
 7 files changed, 3 insertions(+), 989 deletions(-)
 delete mode 100644 package/libpam-tacplus/0001-libtac-lib-magic.c-fix-build-on-uclibc.patch
 delete mode 100644 package/libpam-tacplus/0002-Drop-u_char-and-u_short.patch
 delete mode 100644 package/libpam-tacplus/0003-Fix-unused-parameters-with-musl.patch
 delete mode 100644 package/libpam-tacplus/0004-fix-build-failure-when-time_t-is-64-bits.patch
 delete mode 100644 package/libpam-tacplus/0005-Check-for-failure-of-OpenSSL-RAND_pseudo_bytes.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com