All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] bitbake.conf: add STAGING_SBINDIR_NATIVE
@ 2010-03-31 18:59 Roman I Khimov
  2010-03-31 18:59 ` [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native Roman I Khimov
  2010-03-31 20:24 ` [PATCH 1/3] bitbake.conf: add STAGING_SBINDIR_NATIVE Khem Raj
  0 siblings, 2 replies; 7+ messages in thread
From: Roman I Khimov @ 2010-03-31 18:59 UTC (permalink / raw)
  To: openembedded-devel

Makes referencing it easier.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
---
 conf/bitbake.conf |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index b941b90..2193553 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -300,6 +300,7 @@ STAGING_DIR = "${TMPDIR}/staging"
 STAGING_DIR_JAVA = "${STAGING_DIR}/java"
 STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}"
 STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${bindir_native}"
+STAGING_SBINDIR_NATIVE = "${STAGING_DIR_NATIVE}${sbindir_native}"
 STAGING_BINDIR_CROSS  = "${STAGING_DIR_NATIVE}${bindir_native}/${MULTIMACH_HOST_SYS}"
 STAGING_BINDIR_CROSS_BASEPKG = "${STAGING_DIR_NATIVE}${bindir_native}/${BASEPKG_TARGET_SYS}"
 STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${libdir_native}"
@@ -414,7 +415,7 @@ EXTRA_IMAGEDEPENDS = ""
 
 CROSS_DIR = "${TMPDIR}/cross/${BASE_PACKAGE_ARCH}"
 CROSS_DATADIR = "${CROSS_DIR}/share"
-PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_BINDIR_CROSS_BASEPKG}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${CROSS_DIR}/${bindir_cross}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}${base_bindir_native}:"
+PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_BINDIR_CROSS_BASEPKG}:${STAGING_SBINDIR_NATIVE}:${STAGING_BINDIR_NATIVE}:${CROSS_DIR}/${bindir_cross}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}${base_bindir_native}:"
 export PATH
 
 ##################################################################
-- 
1.6.4.2




^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native
  2010-03-31 18:59 [PATCH 1/3] bitbake.conf: add STAGING_SBINDIR_NATIVE Roman I Khimov
@ 2010-03-31 18:59 ` Roman I Khimov
  2010-03-31 18:59   ` [PATCH 3/3] postfix: add 2.7.0 version Roman I Khimov
  2010-03-31 20:27   ` [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native Khem Raj
  2010-03-31 20:24 ` [PATCH 1/3] bitbake.conf: add STAGING_SBINDIR_NATIVE Khem Raj
  1 sibling, 2 replies; 7+ messages in thread
From: Roman I Khimov @ 2010-03-31 18:59 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Roman I Khimov <khimov@altell.ru>
---
 recipes/postfix/postfix-native_2.0.20.bb |   10 ----------
 recipes/postfix/postfix-native_2.2.12.bb |   10 ----------
 recipes/postfix/postfix.inc              |   25 ++++++++++++++++++++++---
 3 files changed, 22 insertions(+), 23 deletions(-)
 delete mode 100644 recipes/postfix/postfix-native_2.0.20.bb
 delete mode 100644 recipes/postfix/postfix-native_2.2.12.bb

diff --git a/recipes/postfix/postfix-native_2.0.20.bb b/recipes/postfix/postfix-native_2.0.20.bb
deleted file mode 100644
index 66ff65d..0000000
--- a/recipes/postfix/postfix-native_2.0.20.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-require postfix_${PV}.bb
-
-inherit native
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/postfix-${PV}"
-DEPENDS = "virtual/db-native libpcre-native"
-export DIRS = "src/util src/global src/postconf"
-
-do_stage () {
-	install -m 0755 src/postconf/postconf ${STAGING_BINDIR}/
-}
diff --git a/recipes/postfix/postfix-native_2.2.12.bb b/recipes/postfix/postfix-native_2.2.12.bb
deleted file mode 100644
index 66ff65d..0000000
--- a/recipes/postfix/postfix-native_2.2.12.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-require postfix_${PV}.bb
-
-inherit native
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/postfix-${PV}"
-DEPENDS = "virtual/db-native libpcre-native"
-export DIRS = "src/util src/global src/postconf"
-
-do_stage () {
-	install -m 0755 src/postconf/postconf ${STAGING_BINDIR}/
-}
diff --git a/recipes/postfix/postfix.inc b/recipes/postfix/postfix.inc
index 6a5f9bb..5b18cef 100644
--- a/recipes/postfix/postfix.inc
+++ b/recipes/postfix/postfix.inc
@@ -1,5 +1,6 @@
 SECTION = "console/network"
 DEPENDS = "virtual/db libpcre postfix-native"
+DEPENDS_virtclass-native = "virtual/db-native libpcre-native"
 LICENSE = "IPL"
 
 INC_PR = "r13"
@@ -15,6 +16,8 @@ SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV
 
 S = "${WORKDIR}/postfix-${PV}"
 
+BBCLASSEXTEND = "native"
+
 inherit update-rc.d
 
 INITSCRIPT_NAME = "postfix"
@@ -31,7 +34,7 @@ export SYSLIBS = "-lpcre -ldb ${LIBBDB_EXTRA} -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_NATIVE}/postconf"
+export POSTCONF = "${STAGING_SBINDIR_NATIVE}/postconf"
 
 do_compile () {
 	unset CFLAGS CPPFLAGS CXXFLAGS
@@ -39,8 +42,23 @@ do_compile () {
 	oe_runmake
 }
 
+do_install_prepend_virtclass-native() {
+	export POSTCONF="bin/postconf"
+}
+
 do_install () {
-	sh ./postfix-install 'install_root=${D}' -non-interactive
+	sh ./postfix-install 'install_root=${D}' \
+		'config_directory=${sysconfdir}/postfix' \
+		'daemon_directory=${libexecdir}/postfix' \
+		'command_directory=${sbindir}' \
+		'queue_directory=${localstatedir}/spool/postfix' \
+		'sendmail_path=${sbindir}/sendmail.postfix' \
+		'newaliases_path=${bindir}/newaliases' \
+		'mailq_path=${bindir}/mailq' \
+		'manpage_directory=${mandir}' \
+		'readme_directory=${datadir}/doc/postfix' \
+		'data_directory=${localstatedir}/lib/postfix' \
+		-non-interactive
 	rm -rf ${D}${localstatedir}/spool/postfix
         mv ${D}${sysconfdir}/postfix/main.cf ${D}${sysconfdir}/postfix/sample-main.cf
 	install -d ${D}${localstatedir}/tmp
@@ -50,9 +68,10 @@ do_install () {
         install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/01_postfix
         install -m 755 ${WORKDIR}/postfix ${D}${sysconfdir}/init.d/postfix
         install -m 644 ${WORKDIR}/internal_recipient ${D}${sysconfdir}/postfix/internal_recipient
-	mv ${D}${sbindir}/sendmail ${D}${sbindir}/sendmail.${PN}
 }
 
+NATIVE_INSTALL_WORKS = "1"
+
 pkg_postinst () {
 	update-alternatives --install ${sbindir}/sendmail sendmail sendmail.${PN} 40
         grep postfix /etc/group || addgroup postfix
-- 
1.6.4.2




^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] postfix: add 2.7.0 version
  2010-03-31 18:59 ` [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native Roman I Khimov
@ 2010-03-31 18:59   ` Roman I Khimov
  2010-03-31 20:28     ` Khem Raj
  2010-03-31 20:27   ` [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native Khem Raj
  1 sibling, 1 reply; 7+ messages in thread
From: Roman I Khimov @ 2010-03-31 18:59 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Roman I Khimov <khimov@altell.ru>
---
 recipes/postfix/files/volatiles  |    1 +
 recipes/postfix/postfix.inc      |    2 +-
 recipes/postfix/postfix_2.7.0.bb |    6 ++++++
 3 files changed, 8 insertions(+), 1 deletions(-)
 create mode 100644 recipes/postfix/postfix_2.7.0.bb

diff --git a/recipes/postfix/files/volatiles b/recipes/postfix/files/volatiles
index bc330c9..3df6fb4 100644
--- a/recipes/postfix/files/volatiles
+++ b/recipes/postfix/files/volatiles
@@ -1,4 +1,5 @@
 d postfix nogroup 2755 /var/spool/mail none
+d postfix nogroup 0755 /var/lib/postfix none
 d root postfix 0755 /var/spool/postfix none
 d postfix root 0700 /var/spool/postfix/active none
 d postfix root 0700 /var/spool/postfix/bounce none
diff --git a/recipes/postfix/postfix.inc b/recipes/postfix/postfix.inc
index 5b18cef..51d5e8f 100644
--- a/recipes/postfix/postfix.inc
+++ b/recipes/postfix/postfix.inc
@@ -5,7 +5,7 @@ LICENSE = "IPL"
 
 INC_PR = "r13"
 
-SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \
+SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz;name=postfix-${PV} \
 	   file://makedefs.patch;patch=1 \
 	   file://install.patch;patch=1 \
 	   file://main.cf_2.0 \
diff --git a/recipes/postfix/postfix_2.7.0.bb b/recipes/postfix/postfix_2.7.0.bb
new file mode 100644
index 0000000..fc41fad
--- /dev/null
+++ b/recipes/postfix/postfix_2.7.0.bb
@@ -0,0 +1,6 @@
+require postfix.inc
+
+SRC_URI[postfix-2.7.0.md5sum] = "df648f59421604e895cce56325f00bae"
+SRC_URI[postfix-2.7.0.sha256sum] = "c5b232ae5e396107bc58aed4178cf6cfd0a75b9dcbbedb49d158eb71d6c91b75"
+
+PR = "${INC_PR}.0"
\ No newline at end of file
-- 
1.6.4.2




^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] bitbake.conf: add STAGING_SBINDIR_NATIVE
  2010-03-31 18:59 [PATCH 1/3] bitbake.conf: add STAGING_SBINDIR_NATIVE Roman I Khimov
  2010-03-31 18:59 ` [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native Roman I Khimov
@ 2010-03-31 20:24 ` Khem Raj
  1 sibling, 0 replies; 7+ messages in thread
From: Khem Raj @ 2010-03-31 20:24 UTC (permalink / raw)
  To: openembedded-devel

On (31/03/10 22:59), Roman I Khimov wrote:
> Makes referencing it easier.
> 
> Signed-off-by: Roman I Khimov <khimov@altell.ru>

Acked-by: Khem Raj <raj.khem@gmail.com>

> ---
>  conf/bitbake.conf |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/conf/bitbake.conf b/conf/bitbake.conf
> index b941b90..2193553 100644
> --- a/conf/bitbake.conf
> +++ b/conf/bitbake.conf
> @@ -300,6 +300,7 @@ STAGING_DIR = "${TMPDIR}/staging"
>  STAGING_DIR_JAVA = "${STAGING_DIR}/java"
>  STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}"
>  STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${bindir_native}"
> +STAGING_SBINDIR_NATIVE = "${STAGING_DIR_NATIVE}${sbindir_native}"
>  STAGING_BINDIR_CROSS  = "${STAGING_DIR_NATIVE}${bindir_native}/${MULTIMACH_HOST_SYS}"
>  STAGING_BINDIR_CROSS_BASEPKG = "${STAGING_DIR_NATIVE}${bindir_native}/${BASEPKG_TARGET_SYS}"
>  STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${libdir_native}"
> @@ -414,7 +415,7 @@ EXTRA_IMAGEDEPENDS = ""
>  
>  CROSS_DIR = "${TMPDIR}/cross/${BASE_PACKAGE_ARCH}"
>  CROSS_DATADIR = "${CROSS_DIR}/share"
> -PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_BINDIR_CROSS_BASEPKG}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${CROSS_DIR}/${bindir_cross}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}${base_bindir_native}:"
> +PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_BINDIR_CROSS_BASEPKG}:${STAGING_SBINDIR_NATIVE}:${STAGING_BINDIR_NATIVE}:${CROSS_DIR}/${bindir_cross}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}${base_bindir_native}:"
>  export PATH
>  
>  ##################################################################
> -- 
> 1.6.4.2
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native
  2010-03-31 18:59 ` [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native Roman I Khimov
  2010-03-31 18:59   ` [PATCH 3/3] postfix: add 2.7.0 version Roman I Khimov
@ 2010-03-31 20:27   ` Khem Raj
  2010-04-01  1:05     ` Roman I Khimov
  1 sibling, 1 reply; 7+ messages in thread
From: Khem Raj @ 2010-03-31 20:27 UTC (permalink / raw)
  To: openembedded-devel

On (31/03/10 22:59), Roman I Khimov wrote:
> Signed-off-by: Roman I Khimov <khimov@altell.ru>
> ---
>  recipes/postfix/postfix-native_2.0.20.bb |   10 ----------
>  recipes/postfix/postfix-native_2.2.12.bb |   10 ----------
>  recipes/postfix/postfix.inc              |   25 ++++++++++++++++++++++---
>  3 files changed, 22 insertions(+), 23 deletions(-)
>  delete mode 100644 recipes/postfix/postfix-native_2.0.20.bb
>  delete mode 100644 recipes/postfix/postfix-native_2.2.12.bb
> 
> diff --git a/recipes/postfix/postfix-native_2.0.20.bb b/recipes/postfix/postfix-native_2.0.20.bb
> deleted file mode 100644
> index 66ff65d..0000000
> --- a/recipes/postfix/postfix-native_2.0.20.bb
> +++ /dev/null
> @@ -1,10 +0,0 @@
> -require postfix_${PV}.bb
> -
> -inherit native
> -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/postfix-${PV}"
> -DEPENDS = "virtual/db-native libpcre-native"
> -export DIRS = "src/util src/global src/postconf"
> -
> -do_stage () {
> -	install -m 0755 src/postconf/postconf ${STAGING_BINDIR}/
> -}
> diff --git a/recipes/postfix/postfix-native_2.2.12.bb b/recipes/postfix/postfix-native_2.2.12.bb
> deleted file mode 100644
> index 66ff65d..0000000
> --- a/recipes/postfix/postfix-native_2.2.12.bb
> +++ /dev/null
> @@ -1,10 +0,0 @@
> -require postfix_${PV}.bb
> -
> -inherit native
> -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/postfix-${PV}"
> -DEPENDS = "virtual/db-native libpcre-native"
> -export DIRS = "src/util src/global src/postconf"
> -
> -do_stage () {
> -	install -m 0755 src/postconf/postconf ${STAGING_BINDIR}/
> -}
> diff --git a/recipes/postfix/postfix.inc b/recipes/postfix/postfix.inc
> index 6a5f9bb..5b18cef 100644
> --- a/recipes/postfix/postfix.inc
> +++ b/recipes/postfix/postfix.inc
> @@ -1,5 +1,6 @@
>  SECTION = "console/network"
>  DEPENDS = "virtual/db libpcre postfix-native"
> +DEPENDS_virtclass-native = "virtual/db-native libpcre-native"

Is this really needed. I thought BBCLASSEXTEND should have converted it for
you and if you wanted to get rid of postfix-native dependency then why is
it that native wont need it and target recipe will.

>  LICENSE = "IPL"
>  
>  INC_PR = "r13"
> @@ -15,6 +16,8 @@ SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV
>  
>  S = "${WORKDIR}/postfix-${PV}"
>  
> +BBCLASSEXTEND = "native"
> +
>  inherit update-rc.d
>  
>  INITSCRIPT_NAME = "postfix"
> @@ -31,7 +34,7 @@ export SYSLIBS = "-lpcre -ldb ${LIBBDB_EXTRA} -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_NATIVE}/postconf"
> +export POSTCONF = "${STAGING_SBINDIR_NATIVE}/postconf"
>  
>  do_compile () {
>  	unset CFLAGS CPPFLAGS CXXFLAGS
> @@ -39,8 +42,23 @@ do_compile () {
>  	oe_runmake
>  }
>  
> +do_install_prepend_virtclass-native() {
> +	export POSTCONF="bin/postconf"
> +}
> +
>  do_install () {
> -	sh ./postfix-install 'install_root=${D}' -non-interactive
> +	sh ./postfix-install 'install_root=${D}' \
> +		'config_directory=${sysconfdir}/postfix' \
> +		'daemon_directory=${libexecdir}/postfix' \
> +		'command_directory=${sbindir}' \
> +		'queue_directory=${localstatedir}/spool/postfix' \
> +		'sendmail_path=${sbindir}/sendmail.postfix' \
> +		'newaliases_path=${bindir}/newaliases' \
> +		'mailq_path=${bindir}/mailq' \
> +		'manpage_directory=${mandir}' \
> +		'readme_directory=${datadir}/doc/postfix' \
> +		'data_directory=${localstatedir}/lib/postfix' \
> +		-non-interactive
>  	rm -rf ${D}${localstatedir}/spool/postfix
>          mv ${D}${sysconfdir}/postfix/main.cf ${D}${sysconfdir}/postfix/sample-main.cf
>  	install -d ${D}${localstatedir}/tmp
> @@ -50,9 +68,10 @@ do_install () {
>          install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/01_postfix
>          install -m 755 ${WORKDIR}/postfix ${D}${sysconfdir}/init.d/postfix
>          install -m 644 ${WORKDIR}/internal_recipient ${D}${sysconfdir}/postfix/internal_recipient
> -	mv ${D}${sbindir}/sendmail ${D}${sbindir}/sendmail.${PN}
>  }
>  
> +NATIVE_INSTALL_WORKS = "1"
> +
>  pkg_postinst () {
>  	update-alternatives --install ${sbindir}/sendmail sendmail sendmail.${PN} 40
>          grep postfix /etc/group || addgroup postfix
> -- 
> 1.6.4.2
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] postfix: add 2.7.0 version
  2010-03-31 18:59   ` [PATCH 3/3] postfix: add 2.7.0 version Roman I Khimov
@ 2010-03-31 20:28     ` Khem Raj
  0 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2010-03-31 20:28 UTC (permalink / raw)
  To: openembedded-devel

On (31/03/10 22:59), Roman I Khimov wrote:
> Signed-off-by: Roman I Khimov <khimov@altell.ru>

Acked-by: Khem Raj <raj.khem@gmail.com>

> ---
>  recipes/postfix/files/volatiles  |    1 +
>  recipes/postfix/postfix.inc      |    2 +-
>  recipes/postfix/postfix_2.7.0.bb |    6 ++++++
>  3 files changed, 8 insertions(+), 1 deletions(-)
>  create mode 100644 recipes/postfix/postfix_2.7.0.bb
> 
> diff --git a/recipes/postfix/files/volatiles b/recipes/postfix/files/volatiles
> index bc330c9..3df6fb4 100644
> --- a/recipes/postfix/files/volatiles
> +++ b/recipes/postfix/files/volatiles
> @@ -1,4 +1,5 @@
>  d postfix nogroup 2755 /var/spool/mail none
> +d postfix nogroup 0755 /var/lib/postfix none
>  d root postfix 0755 /var/spool/postfix none
>  d postfix root 0700 /var/spool/postfix/active none
>  d postfix root 0700 /var/spool/postfix/bounce none
> diff --git a/recipes/postfix/postfix.inc b/recipes/postfix/postfix.inc
> index 5b18cef..51d5e8f 100644
> --- a/recipes/postfix/postfix.inc
> +++ b/recipes/postfix/postfix.inc
> @@ -5,7 +5,7 @@ LICENSE = "IPL"
>  
>  INC_PR = "r13"
>  
> -SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \
> +SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz;name=postfix-${PV} \
>  	   file://makedefs.patch;patch=1 \
>  	   file://install.patch;patch=1 \
>  	   file://main.cf_2.0 \
> diff --git a/recipes/postfix/postfix_2.7.0.bb b/recipes/postfix/postfix_2.7.0.bb
> new file mode 100644
> index 0000000..fc41fad
> --- /dev/null
> +++ b/recipes/postfix/postfix_2.7.0.bb
> @@ -0,0 +1,6 @@
> +require postfix.inc
> +
> +SRC_URI[postfix-2.7.0.md5sum] = "df648f59421604e895cce56325f00bae"
> +SRC_URI[postfix-2.7.0.sha256sum] = "c5b232ae5e396107bc58aed4178cf6cfd0a75b9dcbbedb49d158eb71d6c91b75"
> +
> +PR = "${INC_PR}.0"
> \ No newline at end of file
> -- 
> 1.6.4.2
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native
  2010-03-31 20:27   ` [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native Khem Raj
@ 2010-04-01  1:05     ` Roman I Khimov
  0 siblings, 0 replies; 7+ messages in thread
From: Roman I Khimov @ 2010-04-01  1:05 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: Text/Plain, Size: 932 bytes --]

В сообщении от Четверг 01 апреля 2010 00:27:41 автор Khem Raj написал:
> > diff --git a/recipes/postfix/postfix.inc b/recipes/postfix/postfix.inc
> > index 6a5f9bb..5b18cef 100644
> > --- a/recipes/postfix/postfix.inc
> > +++ b/recipes/postfix/postfix.inc
> > @@ -1,5 +1,6 @@
> >  SECTION = "console/network"
> >  DEPENDS = "virtual/db libpcre postfix-native"
> > +DEPENDS_virtclass-native = "virtual/db-native libpcre-native"
> 
> Is this really needed. I thought BBCLASSEXTEND should have converted it for
> you and if you wanted to get rid of postfix-native dependency then why is
> it that native wont need it and target recipe will.

Thought so too, but didn't work for some reason, got dependency loop of 
python-native being dependent on python-native.

-- 
 http://roman.khimov.ru
mailto: roman@khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-04-01  1:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-31 18:59 [PATCH 1/3] bitbake.conf: add STAGING_SBINDIR_NATIVE Roman I Khimov
2010-03-31 18:59 ` [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native Roman I Khimov
2010-03-31 18:59   ` [PATCH 3/3] postfix: add 2.7.0 version Roman I Khimov
2010-03-31 20:28     ` Khem Raj
2010-03-31 20:27   ` [PATCH 2/3] postfix: convert to BBCLASSEXTEND and new staging for native Khem Raj
2010-04-01  1:05     ` Roman I Khimov
2010-03-31 20:24 ` [PATCH 1/3] bitbake.conf: add STAGING_SBINDIR_NATIVE Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.