summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2004-10-11 16:36:01 +0000
committerMatthias Hentges <oe@hentges.net>2004-10-11 16:36:01 +0000
commitbd068236207dee9373f5d559c88325de3446d53b (patch)
treebea490798b7aec80d96272f621898b8cb8c82efe /postfix
parent96379cf2ff7c66a2ab2f1e57e17c88b9860e5c75 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into mhcln01.hentges.local:/home/mhentges/OpenEmbedded/packages 2004/10/11 18:35:17+02:00 local!CoreDump The mother of all section fixes! Gives a SECTION entry to (almost) all packages which were missing it (and thus were having a section of *base*). I have placed all packages unknown to me into the *unknown* section (and yes, i *am* to lazy to look them up), please fix. BKrev: 416ab6716BWMm_ae6D2MValq-LDFzw
Diffstat (limited to 'postfix')
-rw-r--r--postfix/postfix-native_2.0.15.oe10
-rw-r--r--postfix/postfix_2.0.15.oe23
2 files changed, 33 insertions, 0 deletions
diff --git a/postfix/postfix-native_2.0.15.oe b/postfix/postfix-native_2.0.15.oe
index e69de29bb2..49922f61dd 100644
--- a/postfix/postfix-native_2.0.15.oe
+++ b/postfix/postfix-native_2.0.15.oe
@@ -0,0 +1,10 @@
+SECTION = "console/network"
+include postfix_${PV}.oe
+inherit native
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/postfix-${PV}"
+DEPENDS = "db3-native pcre-native"
+export DIRS = "src/util src/global src/postconf"
+
+do_stage () {
+ install -m 0755 src/postconf/postconf ${STAGING_BINDIR}/
+}
diff --git a/postfix/postfix_2.0.15.oe b/postfix/postfix_2.0.15.oe
index e69de29bb2..266e925762 100644
--- a/postfix/postfix_2.0.15.oe
+++ b/postfix/postfix_2.0.15.oe
@@ -0,0 +1,23 @@
+SECTION = "console/network"
+DEPENDS = "db3 pcre postfix-native"
+
+SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \
+ file://${FILESDIR}/makedefs.patch;patch=1 \
+ file://${FILESDIR}/install.patch;patch=1"
+S = "${WORKDIR}/postfix-${PV}"
+
+export SYSLIBS = "-lpcre -ldb -lnsl -lresolv ${LDFLAGS}"
+export EXPORT = "AUXLIBS='-lpcre' CCARGS='-DHAS_PCRE ${CFLAGS}' OPT='' DEBUG='-g'"
+export CC_append = " -DHAS_PCRE ${CFLAGS}"
+export EXTRA_OEMAKE = "-e"
+export POSTCONF = "${STAGING_BINDIR}/postconf"
+
+do_compile () {
+ unset CFLAGS CPPFLAGS CXXFLAGS
+ oe_runmake makefiles
+ oe_runmake
+}
+
+do_install () {
+ sh ./postfix-install 'install_root=${D}' -non-interactive
+}