From e9dcc028aa32b529650732732ed461f4e38bccb6 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 19 Jul 2007 21:07:50 -0400 Subject: [PATCH] Package for Debian. Signed-off-by: Anders Kaseorg --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 14 ++++++++++++++ debian/control.in | 14 ++++++++++++++ debian/copyright | 20 ++++++++++++++++++++ debian/rules | 7 +++++++ 6 files changed, 61 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/control.in create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..41f39ca --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libnss-nonlocal (1.0-0debathena1) unstable; urgency=low + + * Initial release. + + -- Anders Kaseorg Thu, 19 Jul 2007 21:07:50 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2d4f9be --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: libnss-nonlocal +Section: libs +Priority: optional +Maintainer: Anders Kaseorg +Standards-Version: 3.7.2 +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0) + +Package: libnss-nonlocal +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: nsswitch proxy module to prevent local account spoofing + This nsswitch module acts as a proxy for other nsswitch modules like + hesiod, but prevents non-local users from potentially gaining local + privileges by spoofing local UIDs and GIDs. diff --git a/debian/control.in b/debian/control.in new file mode 100644 index 0000000..591f95d --- /dev/null +++ b/debian/control.in @@ -0,0 +1,14 @@ +Source: libnss-nonlocal +Section: libs +Priority: optional +Maintainer: Anders Kaseorg +Standards-Version: 3.7.2 +Build-Depends: @cdbs@ + +Package: libnss-nonlocal +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: nsswitch proxy module to prevent local account spoofing + This nsswitch module acts as a proxy for other nsswitch modules like + hesiod, but prevents non-local users from potentially gaining local + privileges by spoofing local UIDs and GIDs. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4ab4ca1 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,20 @@ +Copyright © 2007 Anders Kaseorg + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3e2912b --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk + +DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR) -- 2.45.0