summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/metapackages/sudo-trinity
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/_base/metapackages/sudo-trinity')
-rw-r--r--ubuntu/_base/metapackages/sudo-trinity/debian/changelog5
-rw-r--r--ubuntu/_base/metapackages/sudo-trinity/debian/compat1
-rw-r--r--ubuntu/_base/metapackages/sudo-trinity/debian/control15
-rw-r--r--ubuntu/_base/metapackages/sudo-trinity/debian/dirs1
-rw-r--r--ubuntu/_base/metapackages/sudo-trinity/debian/distrospecific/Makefile12
-rw-r--r--ubuntu/_base/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path1
-rwxr-xr-xubuntu/_base/metapackages/sudo-trinity/debian/rules27
-rw-r--r--ubuntu/_base/metapackages/sudo-trinity/debian/source/format1
-rw-r--r--ubuntu/_base/metapackages/sudo-trinity/debian/source/options6
9 files changed, 69 insertions, 0 deletions
diff --git a/ubuntu/_base/metapackages/sudo-trinity/debian/changelog b/ubuntu/_base/metapackages/sudo-trinity/debian/changelog
new file mode 100644
index 000000000..6d79a642a
--- /dev/null
+++ b/ubuntu/_base/metapackages/sudo-trinity/debian/changelog
@@ -0,0 +1,5 @@
+sudo-trinity (1.0) lucid; urgency=low
+
+ * Initial release
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Sun, 11 Dec 2011 07:49:00 -0600
diff --git a/ubuntu/_base/metapackages/sudo-trinity/debian/compat b/ubuntu/_base/metapackages/sudo-trinity/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/ubuntu/_base/metapackages/sudo-trinity/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/ubuntu/_base/metapackages/sudo-trinity/debian/control b/ubuntu/_base/metapackages/sudo-trinity/debian/control
new file mode 100644
index 000000000..bff80374f
--- /dev/null
+++ b/ubuntu/_base/metapackages/sudo-trinity/debian/control
@@ -0,0 +1,15 @@
+Source: sudo-trinity
+Section: tde
+Priority: extra
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Uploaders: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Build-Depends: debhelper (>= 7.0.50~), cdbs
+Standards-Version: 3.8.4
+
+Package: sudo-trinity
+Architecture: all
+Depends: sudo
+Replaces: sudo-kde3 (<< 4:14.0.0~), sudo-trinity (<< 4:14.0.0~)
+Breaks: sudo-kde3 (<< 4:14.0.0~), sudo-trinity (<< 4:14.0.0~)
+Description: TDE sudo
+ TDE configuration files for sudo
diff --git a/ubuntu/_base/metapackages/sudo-trinity/debian/dirs b/ubuntu/_base/metapackages/sudo-trinity/debian/dirs
new file mode 100644
index 000000000..ee19d5d17
--- /dev/null
+++ b/ubuntu/_base/metapackages/sudo-trinity/debian/dirs
@@ -0,0 +1 @@
+etc
diff --git a/ubuntu/_base/metapackages/sudo-trinity/debian/distrospecific/Makefile b/ubuntu/_base/metapackages/sudo-trinity/debian/distrospecific/Makefile
new file mode 100644
index 000000000..f106ff05e
--- /dev/null
+++ b/ubuntu/_base/metapackages/sudo-trinity/debian/distrospecific/Makefile
@@ -0,0 +1,12 @@
+FPACKAGE = sudo-trinity
+VERSION = 1.0
+
+build:
+
+clean:
+
+install:
+ mkdir -p /etc
+ cp -Rp etc/* $(DESTDIR)/etc/
+ chmod -R 644 $(DESTDIR)/etc
+ chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path
diff --git a/ubuntu/_base/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path b/ubuntu/_base/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path
new file mode 100644
index 000000000..f3c34f20a
--- /dev/null
+++ b/ubuntu/_base/metapackages/sudo-trinity/debian/distrospecific/etc/sudoers.d/tde-secure-path
@@ -0,0 +1 @@
+Defaults secure_path=/usr/local/sbin:/usr/local/bin:/opt/trinity/sbin:/usr/sbin:/opt/trinity/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
diff --git a/ubuntu/_base/metapackages/sudo-trinity/debian/rules b/ubuntu/_base/metapackages/sudo-trinity/debian/rules
new file mode 100755
index 000000000..e5e2870b7
--- /dev/null
+++ b/ubuntu/_base/metapackages/sudo-trinity/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+CFLAGS=-g -Wall -fPIC
+
+DEB_MAKE_INSTALL_TARGET := install DESTDIR="$(DEB_DESTDIR)"
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+pre-build:: debian/stamp-distrospecific
+
+debian/stamp-distrospecific:
+ dh_testdir
+ [ -e debian/stamp-distrospecific ] || \
+ ls -a1 debian/distrospecific | grep -v "^\.*$$" | \
+ tee debian/stamp-distrospecific | \
+ tr "\n" "\0" | (cd debian/distrospecific && xargs -r0 mv -t ../..)
+
+clean::
+ dh_testdir
+ [ ! -e debian/stamp-distrospecific ] || \
+ cat debian/stamp-distrospecific | \
+ tr "\n" "\0" | xargs -r0 mv -t debian/distrospecific
+ rm -f debian/stamp-distrospecific
diff --git a/ubuntu/_base/metapackages/sudo-trinity/debian/source/format b/ubuntu/_base/metapackages/sudo-trinity/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/ubuntu/_base/metapackages/sudo-trinity/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/ubuntu/_base/metapackages/sudo-trinity/debian/source/options b/ubuntu/_base/metapackages/sudo-trinity/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/ubuntu/_base/metapackages/sudo-trinity/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*