Initial Debian directory checkin
authorJoachim Breitner <mail@joachim-breitner.de>
Thu, 7 Aug 2008 21:45:06 +0000 (21:45 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Thu, 7 Aug 2008 21:45:06 +0000 (21:45 +0000)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..1169791
--- /dev/null
@@ -0,0 +1,5 @@
+pam-dbus (0.1-1) UNRELEASED; urgency=low
+
+  * Initial release
+
+ -- Joachim Breitner <mail@joachim-breitner.de>  Mon, 14 Jan 2008 13:51:35 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..5bc99c8
--- /dev/null
@@ -0,0 +1,12 @@
+Source: pam-dbus
+Section: admin
+Priority: optional
+Maintainer: Joachim Breitner <mail@joachim-breitner.de>
+Build-Depends: debhelper (>> 5.0.0), libpam0g-dev (>= 0.72), autotools-dev, libdbus-glib-1-dev
+Standards-Version: 3.7.3
+
+Package: libpam-dbus
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: A PAM module which asks the logged in user for confirmation
+ TODO
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..8a89fef
--- /dev/null
@@ -0,0 +1,25 @@
+This package was debianized by Joachim Breitner <nomeata@debian.org>
+during DebConf 8.
+
+It is based on work from Oliver Kurth <oku@debian.org>, Sun,  9 Mar 2003 18:57:29 +0100.
+
+Upstream Author: Joachim Breitner <mail@joachim-breitner.de>
+
+Copyright:
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+    MA 02110-1301 USA
+
+See /usr/share/common-licenses/GPL-2
diff --git a/debian/rules b/debian/rules
new file mode 100644 (file)
index 0000000..111beb3
--- /dev/null
@@ -0,0 +1,80 @@
+#!/usr/bin/make -f
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+       dh_testdir
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+       cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+       cp -f /usr/share/misc/config.guess config.guess
+endif
+       ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
+
+build: build-stamp
+
+build-stamp:  config.status
+       dh_testdir
+
+       $(MAKE)
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+       rm -f config.sub config.guess
+       [ ! -f Makefile ] || $(MAKE) distclean
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/libpam-dbus
+       rm -f $(CURDIR)/debian/libpam-dbus/lib/security/pam_dbus.a
+       rm -f $(CURDIR)/debian/libpam-dbus/lib/security/pam_dbus.la
+       rm -f $(CURDIR)/debian/libpam-dbus/usr/bin/testpam
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs 
+       dh_installdocs
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms 
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install