summaryrefslogtreecommitdiff
path: root/packages/masqmail
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-11-12 04:37:10 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-12 04:37:10 +0000
commit342b597be66f882e08d26d1337ecdeb995864887 (patch)
tree7532d894f7a1b186f885c3aee26d8511c95e94b5 /packages/masqmail
parent1814d0439d8465aae30fe3663268100f1f7686b9 (diff)
masqmail: building, untested, no startup script v 0.2.20
Diffstat (limited to 'packages/masqmail')
-rw-r--r--packages/masqmail/.mtn2git_empty0
-rw-r--r--packages/masqmail/files/.mtn2git_empty0
-rw-r--r--packages/masqmail/files/configure-ac-glib-2-0.patch11
-rw-r--r--packages/masqmail/masqmail_0.2.20.bb31
4 files changed, 42 insertions, 0 deletions
diff --git a/packages/masqmail/.mtn2git_empty b/packages/masqmail/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/masqmail/.mtn2git_empty
diff --git a/packages/masqmail/files/.mtn2git_empty b/packages/masqmail/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/masqmail/files/.mtn2git_empty
diff --git a/packages/masqmail/files/configure-ac-glib-2-0.patch b/packages/masqmail/files/configure-ac-glib-2-0.patch
new file mode 100644
index 0000000000..c5e607f52d
--- /dev/null
+++ b/packages/masqmail/files/configure-ac-glib-2-0.patch
@@ -0,0 +1,11 @@
+--- masqmail-0.2.20/configure.ac.orig 2005-11-11 16:36:05.894559778 -0800
++++ masqmail-0.2.20/configure.ac 2005-11-11 16:36:19.935443315 -0800
+@@ -20,7 +20,7 @@ AC_STDC_HEADERS
+ dnl AC_ARG_PROGRAM
+ AC_PROG_RANLIB
+
+-AM_PATH_GLIB
++AM_PATH_GLIB_2_0
+
+ dnl resolver support (default is use it)
+ AC_ARG_ENABLE(resolver,
diff --git a/packages/masqmail/masqmail_0.2.20.bb b/packages/masqmail/masqmail_0.2.20.bb
new file mode 100644
index 0000000000..c5f29a7f2e
--- /dev/null
+++ b/packages/masqmail/masqmail_0.2.20.bb
@@ -0,0 +1,31 @@
+# MasqMail from http://innominate.org/kurth/masqmail/
+DESCRIPTION = "MasqMail is a mail server designed for hosts that do not have a permanent internet connection eg. a home network or a single host at home. It has special support for connections to different ISPs. It replaces sendmail or other MTAs such as qmail or exim."
+HOMEPAGE = "http://innominate.org/kurth/masqmail/"
+MAINTAINER = "John Bowler <jbowler@acm.org>"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PR = "r0"
+
+DEPENDS = "glib-2.0"
+
+SRC_URI = "http://innominate.org/kurth/masqmail/download/masqmail-${PV}.tar.gz"
+SRC_URI += "file://configure-ac-glib-2-0.patch;patch=1"
+
+EXTRA_OECONF += "--disable-glibtest"
+EXTRA_OECONF += "--disable-resolver"
+EXTRA_OECONF += "--disable-debug"
+
+# These are the standard Debian values for ownership of the programs,
+# this stuff fakes out the install script chown operations then replicates
+# them by setting the ipkg owner/group to the desired values - everything
+# ends up owned by the nominated user.
+MAIL_USER ?= "mail"
+MAIL_GROUP ?= "mail"
+
+EXTRA_OECONF += "--with-user=$(id -u)"
+EXTRA_OECONF += "--with-group=$(id -g)"
+
+IPKGBUILDCMD = "ipkg-build -o ${MAIL_USER} -g ${MAIL_GROUP}"
+
+inherit autotools