Initial Release debian/0
authorClinton Ebadi <clinton@unknownlamer.org>
Mon, 26 Mar 2012 06:56:26 +0000 (02:56 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Mon, 26 Mar 2012 06:56:26 +0000 (02:56 -0400)
12 files changed:
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/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/hcoop-admin-common-config.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
files/login.restrict.hcoop [new file with mode: 0644]
files/sudoers.d/admins [new file with mode: 0644]
files/sudoers.d/domtool [new file with mode: 0644]

diff --git a/debian/README b/debian/README
new file mode 100644 (file)
index 0000000..11e40ff
--- /dev/null
@@ -0,0 +1,6 @@
+The Debian Package hcoop-admin-common-config
+----------------------------
+
+Comments regarding the Package
+
+ -- Clinton Ebadi <clinton@unknownlamer.org>  Mon, 26 Mar 2012 02:02:32 -0400
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..222543d
--- /dev/null
@@ -0,0 +1,7 @@
+hcoop-admin-common-config (0) stable; urgency=low
+
+  * Initial Release.
+  * Install login.restrict and sudoers files for domtool and current admins
+
+ -- Clinton Ebadi <clinton@unknownlamer.org>  Mon, 26 Mar 2012 02:02:32 -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..b4b21b6
--- /dev/null
@@ -0,0 +1,21 @@
+Source: hcoop-admin-common-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: http://hcoop.net/
+Vcs-Git: git://git.hcoop.net/git/hcoop/debian/hcoop-admin-common-config.git
+Vcs-Browser: http://git.hcoop.net/?p=hcoop/debian/hcoop-admin-common-config.git;a=summary
+
+Package: hcoop-admin-common-config
+Architecture: all
+Depends: cdbs, sudo, ${misc:Depends}
+Provides: ${diverted-files}
+Conflicts: ${diverted-files}
+Description: HCoop admin access configuration
+ Configuration needed from admin users to access nodes and perform
+ administrative tasks (e.g. sudoers).
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/debian/hcoop-admin-common-config.install b/debian/hcoop-admin-common-config.install
new file mode 100644 (file)
index 0000000..5b36905
--- /dev/null
@@ -0,0 +1,3 @@
+files/sudoers.d/admins etc/sudoers.d
+files/sudoers.d/domtool etc/sudoers.d
+files/login.restrict.hcoop etc
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..a71e866
--- /dev/null
@@ -0,0 +1,21 @@
+#!/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_DIVERT_FILES_hcoop-admin-common-config += \
+       /etc/login.restrict.hcoop
+
+#DEB_REMOVE_FILES_hcoop-admin-common-config += \
+#      /etc/sudoers.d/admins \
+#      /etc/sudoers.d/domtool
+
+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/files/login.restrict.hcoop b/files/login.restrict.hcoop
new file mode 100644 (file)
index 0000000..ea528e8
--- /dev/null
@@ -0,0 +1,3 @@
+clinton_admin
+docelic_admin
+rkd_admin
diff --git a/files/sudoers.d/admins b/files/sudoers.d/admins
new file mode 100644 (file)
index 0000000..897081a
--- /dev/null
@@ -0,0 +1,3 @@
+User_Alias HCOOPADMINS = clinton_admin, docelic_admin, rkd_admin
+
+HCOOPADMINS ALL=(ALL) NOPASSWD: ALL
\ No newline at end of file
diff --git a/files/sudoers.d/domtool b/files/sudoers.d/domtool
new file mode 100644 (file)
index 0000000..eb5e81b
--- /dev/null
@@ -0,0 +1 @@
+domtool         ALL=(ALL) NOPASSWD: /usr/local/sbin/domtool-publish *, /usr/local/sbin/domtool-postgres *, /usr/local/sbin/domtool-mysql *, /afs/hcoop.net/common/etc/scripts/mysql-grant-table-drop