Initial nsswitch config repository debian/0
authorClinton Ebadi <clinton@unknownlamer.org>
Sun, 25 Mar 2012 22:45:29 +0000 (18:45 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Sun, 25 Mar 2012 22:45:29 +0000 (18:45 -0400)
debian/README [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/control.in [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/transform_nsswitch.conf.hcoop [new file with mode: 0755]

diff --git a/debian/README b/debian/README
new file mode 100644 (file)
index 0000000..a9efe13
--- /dev/null
@@ -0,0 +1,6 @@
+The Debian Package hcoop-nsswitch-config
+----------------------------
+
+Comments regarding the Package
+
+ -- Clinton Ebadi <clinton@unknownlamer.org>  Sun, 25 Mar 2012 05:40:35 -0400
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..001edfe
--- /dev/null
@@ -0,0 +1,5 @@
+hcoop-nsswitch-config (0) stable; urgency=low
+
+  * Initial Release.
+
+ -- Clinton Ebadi <clinton@unknownlamer.org>  Sun, 25 Mar 2012 05:40:35 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..1e9d765
--- /dev/null
@@ -0,0 +1,20 @@
+Source: hcoop-nsswitch-config
+Section: hcoop-config/base
+Priority: extra
+Maintainer: Clinton Ebadi <clinton@unknownlamer.org>
+Build-Depends: cdbs (>= 0.4.85~),
+ debhelper (>= 8~),
+ dh-buildinfo,
+ config-package-dev (>= 4.5~)
+Standards-Version: 3.9.2
+Homepage: <insert the upstream URL, if relevant>
+#Vcs-Git: git://git.debian.org/collab-maint/hcoop-nsswitch-config.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/hcoop-nsswitch-config.git;a=summary
+
+Package: hcoop-nsswitch-config
+Architecture: all
+Depends: cdbs, libnss-afs, ${misc:Depends}
+Provides: ${diverted-files}
+Conflicts: ${diverted-files}
+Description: HCoop nsswitch config
+ Use afs for passwd database
\ No newline at end of file
diff --git a/debian/control.in b/debian/control.in
new file mode 100644 (file)
index 0000000..1cd229b
--- /dev/null
@@ -0,0 +1,17 @@
+Source: hcoop-nsswitch-config
+Section: hcoop-config/base
+Priority: extra
+Maintainer: Clinton Ebadi <clinton@unknownlamer.org>
+Build-Depends: @cdbs@
+Standards-Version: 3.9.2
+Homepage: <insert the upstream URL, if relevant>
+#Vcs-Git: git://git.debian.org/collab-maint/hcoop-nsswitch-config.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/hcoop-nsswitch-config.git;a=summary
+
+Package: hcoop-nsswitch-config
+Architecture: all
+Depends: cdbs, libnss-afs, ${misc:Depends}
+Provides: ${diverted-files}
+Conflicts: ${diverted-files}
+Description: HCoop nsswitch config
+ Use afs for passwd database
\ No newline at end of file
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..98ae059
--- /dev/null
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_DIVERT_EXTENSION =.hcoop
+DEB_TRANSFORM_FILES_hcoop-nsswitch-config += \
+       /etc/nsswitch.conf.hcoop
+
+# nsswitch.conf doesn't have an md5sum or something
+ifneq ($(wildcard /usr/share/base-files/nsswitch.conf),)
+    DEB_CHECK_FILES_SOURCE_/etc/nsswitch.conf.hcoop = \
+       /usr/share/base-files/nsswitch.conf
+endif
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/config-package.mk
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..89ae9db
--- /dev/null
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/debian/transform_nsswitch.conf.hcoop b/debian/transform_nsswitch.conf.hcoop
new file mode 100755 (executable)
index 0000000..8684c42
--- /dev/null
@@ -0,0 +1,6 @@
+#!/usr/bin/perl -0p
+
+# consult afs before all other sources
+s/^passwd: (.*)$/passwd: afs $1/m or die;
+s/^group: (.*)$/group: afs $1/m or die;
+