summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-29 21:08:38 +0200
committerChristian Breunig <christian@breunig.cc>2024-04-29 21:08:38 +0200
commitfe472036333946c68bc141d59385de796a0650fe (patch)
tree886a094969709520a2dc3a77619bedc4ac5a4370 /debian
parentc7cbeb1907cb20b8c5ddb7fafab11989d9f7783f (diff)
downloadlibtacplus-map-fe472036333946c68bc141d59385de796a0650fe.tar.gz
libtacplus-map-fe472036333946c68bc141d59385de796a0650fe.zip
Import sources from Cumulus Linux version 1.0.1-cl5.1.0u9HEADmaster
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog14
-rw-r--r--debian/control8
-rw-r--r--debian/copyright2
-rw-r--r--debian/libtacplus-map1.postinst3
-rw-r--r--debian/libtacplus-map1.symbols1
-rwxr-xr-xdebian/rules3
-rw-r--r--debian/source/format1
7 files changed, 26 insertions, 6 deletions
diff --git a/debian/changelog b/debian/changelog
index 2423348..a95bab3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+libtacplus-map (1.0.1-cl5.1.0u9) RELEASED; urgency=medium
+
+ * new build for 5.1.0 from original hash
+ b68ca01f1e769311831d91e47dbf372527d36764
+
+ -- root <root@3da22e72fb7c> Tue, 22 Feb 2022 22:55:22 +0000
+
+libtacplus-map (1.0.1-cl4u1) RELEASED; urgency=medium
+
+ * First 4.0 release
+ * Added support for tacacs group lookups
+
+ -- dev-support <dev-support@cumulusnetworks.com> Mon, 30 Sep 2019 16:50:42 -0700
+
libtacplus-map (1.0.1-cl3u3) RELEASED; urgency=low
* Fixed problem with local fallback authentication when all TACACS
diff --git a/debian/control b/debian/control
index 55c3b56..3e99781 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,11 @@ Section: admin
Priority: extra
Maintainer: dev-support <dev-support@cumulusnetworks.com>
Build-Depends: debhelper (>= 9), dh-autoreconf, autoconf-archive, libaudit-dev, git
-Standards-Version: 3.9.6
+Standards-Version: 3.9.8
Homepage: http://www.cumulusnetworks.com
+XS-Build-Source: True
+XS-Cumulus-Valid-Arch: amd64 armel
+XBCS-Vcs-Hash: b68ca01f1e769311831d91e47dbf372527d36764
Package: libtacplus-map1
Architecture: any
@@ -12,6 +15,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libaudit1
Description: Library for mapping TACACS+ users without local /etc/passwd entries
APIs to support local mapping, so that TACACS users do not need tacacs user
accounts to /etc/passwd to supply home directory, uid, and gid.
+XBCS-Vcs-Hash: b68ca01f1e769311831d91e47dbf372527d36764
Package: libtacplus-map-dev
Section: libdevel
@@ -20,3 +24,5 @@ Depends: ${misc:Depends}, libtacplus-map1 (= ${binary:Version}), libc-dev
Description: Development files for TACACS+ user-mapping library
Header files and .so shared library link for APIs to support local TACACS
mapping of accounts
+XBCS-Vcs-Hash: b68ca01f1e769311831d91e47dbf372527d36764
+
diff --git a/debian/copyright b/debian/copyright
index 814080f..5d90519 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,7 +3,7 @@ Upstream-Name: libsimple-tacacct
Source: http://www.cumulusnetworks.com
Files: *
-Copyright: 2015, 2016 Cumulus Networks, Inc. All rights reserved.,
+Copyright: 2015, 2016, 2017, 2018, 2019 Cumulus Networks, Inc. All rights reserved.,
2010 Pawel Krawczyk <pawel.krawczyk@hush.com> and Jeroen Nijhof <jeroen@jeroennijhof.nl>
License: GPL-2+
diff --git a/debian/libtacplus-map1.postinst b/debian/libtacplus-map1.postinst
index 1a45376..3526c8a 100644
--- a/debian/libtacplus-map1.postinst
+++ b/debian/libtacplus-map1.postinst
@@ -21,6 +21,8 @@ esac
# The accounts are not enabled for local login, since they are
# only used to provide uid/gid/homedir for the mapped TACACS+
# logins (and lookups against them).
+# The tacacs15 user is also added to the sudo group, and nclu group netedit
+# rather than netshow (used for tacacs0-14).
# --firstuid is used because the installed pam_tacplus configs and audit files are
# for uid >1000. Ideally, there should be a way to specify a minimum, but not
@@ -42,6 +44,7 @@ while [ $level -lt 16 ]; do
level=$(( level+1 ))
[ $level -eq 15 ] && nclu_grp=netedit
done 2>&1 | grep -v 'already exists'
+adduser --quiet tacacs15 sudo 2>&1 | grep -v 'already exists'
exit 0
)
diff --git a/debian/libtacplus-map1.symbols b/debian/libtacplus-map1.symbols
index b8e23d5..adc8d24 100644
--- a/debian/libtacplus-map1.symbols
+++ b/debian/libtacplus-map1.symbols
@@ -7,4 +7,5 @@ libtacplus_map.so.1 libtacplus-map1 #MINVER#
map_get_sessionid@Base 1.0.0
set_auid_immutable@Base 1.0.0
update_mapuser@Base 1.0.0
+ lookup_all_mapped@Base 1.0.1-cl4u1
diff --git a/debian/rules b/debian/rules
index b8959fb..5951990 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,9 +8,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
SHELL := sh -e
-CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
-CFLAGS+=-g3 -Wno-format-truncation
-export CFLAGS
%:
dh $@ --with autoreconf
diff --git a/debian/source/format b/debian/source/format
index b9b0237..d3827e7 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1,2 +1 @@
1.0
-