Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
From 104044848ffb0a283e1f1bf3466693fa4af450e9 Mon Sep 17 00:00:00 2001
From: Pawel Krawczyk <p+github@krvtz.net>
Date: Mon, 7 Nov 2022 22:10:52 +0000
Subject: [PATCH] Remove conflicting man flag
Upstream: https://github.com/kravietz/pam_tacplus/commit/104044848ffb0a283e1f1bf3466693fa4af450e9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Makefile.am | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index a481d7a..ef2b92b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,7 +15,6 @@ bin_PROGRAMS = tacc
tacc_SOURCES = tacc.c
tacc_LDADD = libtac.la $(LTLIBINTL) $(LIB_CRYPTO) $(LIB_GETRANDOM)
tacc_CFLAGS = $(AM_CFLAGS) -I $(top_srcdir)/libtac/include @rt_debug_defines@ -I $(top_srcdir)/lib
-dist_man_MANS = tacc.1
man1_MANS = tacc.1
lib_LTLIBRARIES = libtac.la

View File

@@ -0,0 +1,62 @@
From d6c6f043a08483b32bddcbc8cadec1d8edbe092d Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Mon, 6 Nov 2023 18:09:20 +0100
Subject: [PATCH] fix --disable-werror
-Werror is unconditionally set since version 1.6.2 and
https://github.com/kravietz/pam_tacplus/commit/649e6f2efb2f3278c55d4c9704bb48cb9f74cb73
resulting in the following build failure:
In file included from /home/thomas/autobuild/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33,
from /home/thomas/autobuild/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:26,
from ./lib/stdlib.h:36,
from ./libtac/include/libtac.h:35,
from support.h:25,
from support.c:28:
/home/thomas/autobuild/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/features.h:413:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/9b5ece5d01eac8a760ed9ca331a902d1c47387a7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Upstream: https://github.com/kravietz/pam_tacplus/pull/204
---
Makefile.am | 6 +++++-
configure.ac | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 04417e7..1255a9b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,11 @@
ACLOCAL_AMFLAGS = -I config -I m4
SUBDIRS = lib
AUTOMAKE_OPTIONS = subdir-objects
-AM_CFLAGS = -Wall -Wextra -Werror
+AM_CFLAGS = -Wall -Wextra
+
+if ENABLE_WERROR
+AM_CFLAGS += -Werror
+endif
bin_PROGRAMS = tacc
tacc_SOURCES = tacc.c
diff --git a/configure.ac b/configure.ac
index 6914561..5cadca2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ See the included file: LICENSE for copyright information.
])
AC_INIT([pam_tacplus],[1.7.0],[https://github.com/kravietz/pam_tacplus/issues/],[pam_tacplus],[https://github.com/kravietz/pam_tacplus/])
AC_CONFIG_AUX_DIR(config)
-AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+AM_INIT_AUTOMAKE([foreign -Wall])
AC_CONFIG_SRCDIR([pam_tacplus.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([config])
--
2.42.0

View File

@@ -0,0 +1,9 @@
config BR2_PACKAGE_LIBPAM_TACPLUS
bool "libpam-tacplus"
help
TACACS+ protocol client library and PAM module in C. This
PAM module support authentication, authorization (account
management) and accounting (session management)performed
using TACACS+ protocol designed by Cisco.
https://github.com/kravietz/pam_tacplus

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 cf00e27b687c1fafe4b2cf35e648116e99e9c9832718a0d3b479bcf43370adf4 pam_tacplus-1.7.0.tar.gz
sha256 b2b961f07e97c4fb78074276da304ea36b85dc299aae5efb79080cedaea3d5ac COPYING

View File

@@ -0,0 +1,22 @@
################################################################################
#
# libpam-tacplus
#
################################################################################
LIBPAM_TACPLUS_VERSION = 1.7.0
LIBPAM_TACPLUS_SOURCE = pam_tacplus-$(LIBPAM_TACPLUS_VERSION).tar.gz
LIBPAM_TACPLUS_SITE = https://github.com/kravietz/pam_tacplus/releases/download/v$(LIBPAM_TACPLUS_VERSION)
LIBPAM_TACPLUS_LICENSE = GPL-2.0+
LIBPAM_TACPLUS_LICENSE_FILES = COPYING
LIBPAM_TACPLUS_CPE_ID_VENDOR = pam_tacplus_project
LIBPAM_TACPLUS_CPE_ID_PRODUCT = pam_tacplus
LIBPAM_TACPLUS_DEPENDENCIES = \
linux-pam \
$(if $(BR2_PACKAGE_OPENSSL),openssl)
# We're patching Makefile.am
LIBPAM_TACPLUS_AUTORECONF = YES
LIBPAM_TACPLUS_INSTALL_STAGING = YES
LIBPAM_TACPLUS_CONF_OPTS = --disable-am-ldcflags --disable-werror
$(eval $(autotools-package))