inetutils: fix PN -> BPN in do_install for multilibs
PATCH 1/3 inetutils: fix PN -> BPN in do_install for multilibs
From: Jackie Huang <[email protected]>
Signed-off-by Jackie Huang <[email protected]>
--- .../inetutils/inetutils_1.9.1.bb | 35 ++++++++++--------- 1 files changed, 18 insertions(+), 17 deletions(-)
meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb +18 -17
@@ -8,6 +8,7 @@ LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7" +PR = "r1" SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \ file://disable-pre-ANSI-compilers.patch \
@@ -37,27 +38,27 @@ do_configure_prepend () { do_install () { autotools_do_install install -d ${D}${base_sbindir} ${D}${base_bindir} - mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN} - mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN} - mv ${D}${bindir}/logger ${D}${bindir}/logger.${PN} - mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${PN} - mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN} - mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${PN} + mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${BPN} + mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${BPN} + mv ${D}${bindir}/logger ${D}${bindir}/logger.${BPN} + mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${BPN} + mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${BPN} + mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${BPN} } pkg_postinst_${PN} () { - update-alternatives --install ${bindir}/tftp tftp tftp.${PN} 100 - update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100 - update-alternatives --install ${bindir}/logger logger logger.${PN} 100 - update-alternatives --install ${bindir}/traceroute traceroute traceroute.${PN} 100 - update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 100 - update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${PN} 100 + update-alternatives --install ${bindir}/tftp tftp tftp.${BPN} 100 + update-alternatives --install ${bindir}/telnet telnet telnet.${BPN} 100 + update-alternatives --install ${bindir}/logger logger logger.${BPN} 100 + update-alternatives --install ${bindir}/traceroute traceroute traceroute.${BPN} 100 + update-alternatives --install ${base_bindir}/hostname hostname hostname.${BPN} 100 + update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${BPN} 100 } pkg_prerm_${PN} () { - update-alternatives --remove tftp tftp.${PN} - update-alternatives --remove telnet telnet.${PN} - update-alternatives --remove logger logger.${PN} - update-alternatives --remove traceroute traceroute.${PN} - update-alternatives --remove ifconfig ifconfig.${PN} + update-alternatives --remove tftp tftp.${BPN} + update-alternatives --remove telnet telnet.${BPN} + update-alternatives --remove logger logger.${BPN} + update-alternatives --remove traceroute traceroute.${BPN} + update-alternatives --remove ifconfig ifconfig.${BPN} }
Signature · 1 line
1.7.4.1
PATCH 2/3 netcat: fix PN -> BPN in do_install for multilibs
From: Jackie Huang <[email protected]>
Signed-off-by Jackie Huang <[email protected]>
--- .../recipes-support/netcat/netcat_0.7.1.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-support/netcat/netcat_0.7.1.bb +2 -2
@@ -4,7 +4,7 @@ HOMEPAGE = "http://netcat.sourceforge.net" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -PR = "r2" +PR = "r3" SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2 \ file://obsolete_autoconf_macros.patch \
@@ -17,6 +17,6 @@ inherit autotools do_install_append() { install -d ${D}${bindir} - mv ${D}${bindir}/nc ${D}${bindir}/nc.${PN} + mv ${D}${bindir}/nc ${D}${bindir}/nc.${BPN} } ALTERNATIVE_PRIORITY = "100"
Signature · 1 line
1.7.4.1
PATCH 3/3 phpmyadmin: fix PN->BPN in do_install for multilibs
In reply to [email protected]From: Jackie Huang <[email protected]>
Signed-off-by Jackie Huang <[email protected]>
--- .../recipes-php/phpmyadmin/phpmyadmin_3.5.2.2.bb | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
meta-webserver/recipes-php/phpmyadmin/phpmyadmin_3.5.2.2.bb +4 -4
@@ -5,7 +5,7 @@ LICENSE = "GPLv2 & LGPLv3 & MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a \ file://libraries/tcpdf/LICENSE.TXT;md5=5c87b66a5358ebcc495b03e0afcd342c" -PR = "r0" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/phpmyadmin/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz \ file://apache.conf"
@@ -18,13 +18,13 @@ S = "${WORKDIR}/phpMyAdmin-${PV}-all-languages" inherit allarch do_install() { - install -d ${D}${datadir}/${PN} - cp -a * ${D}${datadir}/${PN} + install -d ${D}${datadir}/${BPN} + cp -a * ${D}${datadir}/${BPN} install -d ${D}${sysconfdir}/apache2/conf.d install -m 0644 ${WORKDIR}/apache.conf ${D}${sysconfdir}/apache2/conf.d/phpmyadmin.conf } -FILES_${PN} = "${datadir}/${PN} \ +FILES_${PN} = "${datadir}/${BPN} \ ${sysconfdir}/apache2/conf.d"
Signature · 1 line
1.7.4.1
Joe MacDonald
AppliedHi Jackie,
I merged the three-pack. Thanks.
-J.
Quoted 64 lines · [[oe] [meta-networking][PATCH 1/3] inetutils: fix PN -> BPN in do_install for…
From: Jackie Huang <[email protected]>
Signed-off-by Jackie Huang <[email protected]>--- .../inetutils/inetutils_1.9.1.bb | 35 ++++++++++--------- 1 files changed, 18 insertions(+), 17 deletions(-)meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb +18
-17@@ -8,6 +8,7 @@ LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7" +PR = "r1" SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \ file://disable-pre-ANSI-compilers.patch \@@ -37,27 +38,27 @@ do_configure_prepend () { do_install () { autotools_do_install install -d ${D}${base_sbindir} ${D}${base_bindir} - mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN} - mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN} - mv ${D}${bindir}/logger ${D}${bindir}/logger.${PN} - mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${PN} - mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN} - mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${PN} + mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${BPN} + mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${BPN} + mv ${D}${bindir}/logger ${D}${bindir}/logger.${BPN} + mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${BPN} + mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${BPN} + mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${BPN} } pkg_postinst_${PN} () { - update-alternatives --install ${bindir}/tftp tftp tftp.${PN} 100 - update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100 - update-alternatives --install ${bindir}/logger logger logger.${PN} 100 - update-alternatives --install ${bindir}/traceroute traceroute traceroute.${PN} 100 - update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 100 - update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${PN} 100 + update-alternatives --install ${bindir}/tftp tftp tftp.${BPN} 100 + update-alternatives --install ${bindir}/telnet telnet telnet.${BPN} 100 + update-alternatives --install ${bindir}/logger logger logger.${BPN} 100 + update-alternatives --install ${bindir}/traceroute traceroute traceroute.${BPN} 100 + update-alternatives --install ${base_bindir}/hostname hostname hostname.${BPN} 100 + update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${BPN} 100 } pkg_prerm_${PN} () { - update-alternatives --remove tftp tftp.${PN} - update-alternatives --remove telnet telnet.${PN} - update-alternatives --remove logger logger.${PN} - update-alternatives --remove traceroute traceroute.${PN} - update-alternatives --remove ifconfig ifconfig.${PN} + update-alternatives --remove tftp tftp.${BPN} + update-alternatives --remove telnet telnet.${BPN} + update-alternatives --remove logger logger.${BPN} + update-alternatives --remove traceroute traceroute.${BPN} + update-alternatives --remove ifconfig ifconfig.${BPN} }
Signature · 2 lines
-Joe MacDonald. :wq