--- /dev/null
+The Debian Package hcoop-nsswitch-config
+----------------------------
+
+Comments regarding the Package
+
+ -- Clinton Ebadi <clinton@unknownlamer.org> Sun, 25 Mar 2012 05:40:35 -0400
--- /dev/null
+hcoop-nsswitch-config (0) stable; urgency=low
+
+ * Initial Release.
+
+ -- Clinton Ebadi <clinton@unknownlamer.org> Sun, 25 Mar 2012 05:40:35 -0400
--- /dev/null
+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
--- /dev/null
+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
--- /dev/null
+#!/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
--- /dev/null
+3.0 (native)
--- /dev/null
+#!/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;
+