summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-18 04:58:53 -0700
committerJohn Denker <jsd@av8n.com>2012-07-18 15:17:55 -0700
commitf795c0197717790e6f78f18a98ecceb5db894900 (patch)
tree7ca9c08c6d0af6fa1e3e27fddba6bf46e03f0eba
parentf5a71c7ffe157b46cace865ef36ee20bcf0de7a0 (diff)
add dummy-mta debian package
-rw-r--r--.gitignore4
-rw-r--r--dummy-mta/control16
-rw-r--r--dummy-mta/debian-binary1
-rw-r--r--dummy-mta/makefile13
4 files changed, 34 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b37624b..3561ee3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -151,3 +151,7 @@ checkpasswd/hasuserpw.h
skrewt
mail-scan
hi-test
+
+control.tar.gz
+data.tar.gz
+dummy-mail-transfer-agent_all.deb
diff --git a/dummy-mta/control b/dummy-mta/control
new file mode 100644
index 0000000..0b5336d
--- /dev/null
+++ b/dummy-mta/control
@@ -0,0 +1,16 @@
+Package: dummy-mail-transfer-agent
+Provides: mail-transport-agent
+Conflicts: mail-transport-agent
+Version: 1
+Architecture: all
+Maintainer: nobody <nobody@lists.ubuntu.com>
+Installed-Size: 0
+Depends:
+Section: universe/mail
+Priority: extra
+Description: Tells the package management system /not/ to go looking
+ for a Mail Transfer Agent such as exim or ssmtp. This is useful if
+ you plan to install a proper MTA later and don't want broken
+ depenencies in the meantime. It is also useful if you have installed
+ by hand something that provides MTA functionality, and you don't want
+ to bother making a .deb package out of it.
diff --git a/dummy-mta/debian-binary b/dummy-mta/debian-binary
new file mode 100644
index 0000000..cd5ac03
--- /dev/null
+++ b/dummy-mta/debian-binary
@@ -0,0 +1 @@
+2.0
diff --git a/dummy-mta/makefile b/dummy-mta/makefile
new file mode 100644
index 0000000..f9e0cf5
--- /dev/null
+++ b/dummy-mta/makefile
@@ -0,0 +1,13 @@
+
+
+dummy-mail-transfer-agent_all.deb : debian-binary control.tar.gz data.tar.gz
+ ar -r $@ $^
+
+control.tar.gz : control
+ tar -c $^ | gzip > $@
+
+data.tar.gz :
+ tar --exclude '*' -c nothing-at-all | gzip > $@
+
+install : dummy-mail-transfer-agent_all.deb
+ dpkg -i $<