Skip to contentSkip to conversation

libseccomp: fix SRC_URI for multilib

PATCH In review Paul Eggleton 2 participants 4 messages Jan 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libseccomp: fix SRC_URI for multilib

${BPN} should be used instead of ${PN} where you want the name without any prefix (and ${BP} is short for ${BPN}-${PV}).

---
 recipes-security/libseccomp/libseccomp_2.1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/libseccomp/libseccomp_2.1.1.bb +1 -1
index 5e0b962..0663656 100644
@@ -4,7 +4,7 @@ SECTION = "security"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
-SRC_URI = "http://sourceforge.net/projects/libseccomp/files/${PN}-${PV}.tar.gz \
+SRC_URI = "http://sourceforge.net/projects/libseccomp/files/${BP}.tar.gz \
            file://compiler.patch \
            file://0001-tests-create-install-tests-target.patch \
            file://0002-tests-install-python-tests-if-appropriate.patch \
Signature · 1 line
1.9.3
#1 lore raw

PATCH 2/2 nikto: fix SRC_URI for multilib

${BPN} should be used instead of ${PN} where you want the name without any prefix (and ${BP} is short for ${BPN}-${PV}).

---
 recipes-security/nikto/nikto_2.1.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/nikto/nikto_2.1.5.bb +1 -1
index 40b5b72..8080d4a 100644
@@ -6,7 +6,7 @@ LICENSE = "GPLv2"
 
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
-SRC_URI = "http://cirt.net/nikto/${PN}-${PV}.tar.gz \
+SRC_URI = "http://cirt.net/nikto/${BP}.tar.gz \
            file://location.patch"
 
 SRC_URI[md5sum] = "efcc98a918becb77471ee9a5df0a7b1e"
Signature · 1 line
1.9.3
#2 lore raw

Re: [meta-security][PATCH 2/2] nikto: fix SRC_URI for multilib

merged .

thanks,
Armin

Quoted 22 lines · Paul Eggleton

${BPN} should be used instead of ${PN} where you want the name without any prefix (and ${BP} is short for ${BPN}-${PV}).

---
  recipes-security/nikto/nikto_2.1.5.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/nikto/nikto_2.1.5.bb +1 -1
index 40b5b72..8080d4a 100644
@@ -6,7 +6,7 @@ LICENSE = "GPLv2"
 
  LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
-SRC_URI = "http://cirt.net/nikto/${PN}-${PV}.tar.gz \
+SRC_URI = "http://cirt.net/nikto/${BP}.tar.gz \
             file://location.patch"
 
  SRC_URI[md5sum] = "efcc98a918becb77471ee9a5df0a7b1e"
#3 lore raw
In reply to Paul Eggleton

merged.

Thanks,
Armin

Quoted 22 lines · Paul Eggleton

${BPN} should be used instead of ${PN} where you want the name without any prefix (and ${BP} is short for ${BPN}-${PV}).

---
  recipes-security/libseccomp/libseccomp_2.1.1.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/libseccomp/libseccomp_2.1.1.bb +1 -1
index 5e0b962..0663656 100644
@@ -4,7 +4,7 @@ SECTION = "security"
  LICENSE = "GPL-2.0"
  LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
-SRC_URI = "http://sourceforge.net/projects/libseccomp/files/${PN}-${PV}.tar.gz \
+SRC_URI = "http://sourceforge.net/projects/libseccomp/files/${BP}.tar.gz \
             file://compiler.patch \
             file://0001-tests-create-install-tests-target.patch \
             file://0002-tests-install-python-tests-if-appropriate.patch \