Skip to contentSkip to conversation

More whack-a-mole with version numbers.

PATCH In review Philip Tricca 1 participant 6 messages Jan 28, 2015 – Feb 10, 2015

lore
Share & tools
lore
#0 lore raw

cover More whack-a-mole with version numbers.

This is another round of renaming the meta-selinux bbappends to use wild cards. The three recipes renamed here had no patches to port. They're basically 3-4 line recipes that enable SELinux or add a config file. Per previous guidance I've removed PRs so hopefully this is still the right thing to do.

One oddity here is the change made to the ustr recipe. It was using a variable I've never seen before and failing to fetch the SRC_URI. I think this variable was a typo and after changing ${BPV} -> ${PV} the expected behavior was restored.

Philip Tricca (4):
sysklogd: Use wildcard for version and remove PR.
dhcp: Use wildcard for version number.
coreutils: Use wildcard for version and remove PR.
ustr: Fix use of bad variable in SRC_URI.

 recipes-connectivity/dhcp/dhcp_%.bbappend       |    3 +++
 recipes-connectivity/dhcp/dhcp_4.3.0.bbappend   |    3 ---
 recipes-core/coreutils/coreutils_%.bbappend     |    1 +
 recipes-core/coreutils/coreutils_8.22.bbappend  |    3 ---
 recipes-extended/sysklogd/sysklogd_%.bbappend   |    1 +
 recipes-extended/sysklogd/sysklogd_1.5.bbappend |    3 ---
 recipes-extended/ustr/ustr_1.0.4.bb             |    2 +-
 7 files changed, 6 insertions(+), 10 deletions(-)
 create mode 100644 recipes-connectivity/dhcp/dhcp_%.bbappend
 delete mode 100644 recipes-connectivity/dhcp/dhcp_4.3.0.bbappend
 create mode 100644 recipes-core/coreutils/coreutils_%.bbappend
 delete mode 100644 recipes-core/coreutils/coreutils_8.22.bbappend
 create mode 100644 recipes-extended/sysklogd/sysklogd_%.bbappend
 delete mode 100644 recipes-extended/sysklogd/sysklogd_1.5.bbappend
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/4 sysklogd: Use wildcard for version and remove PR.

---
 recipes-extended/sysklogd/sysklogd_%.bbappend   |    1 +
 recipes-extended/sysklogd/sysklogd_1.5.bbappend |    3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)
 create mode 100644 recipes-extended/sysklogd/sysklogd_%.bbappend
 delete mode 100644 recipes-extended/sysklogd/sysklogd_1.5.bbappend
recipes-extended/sysklogd/sysklogd_%.bbappend new file +1 -0
new file mode 100644
index 0000000..81fe7b7
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
recipes-extended/sysklogd/sysklogd_1.5.bbappend deleted +0 -3
deleted file mode 100644
index 0581083..0000000
@@ -1,3 +0,0 @@
-PR .= ".2"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/4 dhcp: Use wildcard for version number.

In reply to Philip Tricca
---
 recipes-connectivity/dhcp/dhcp_%.bbappend     |    3 +++
 recipes-connectivity/dhcp/dhcp_4.3.0.bbappend |    3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)
 create mode 100644 recipes-connectivity/dhcp/dhcp_%.bbappend
 delete mode 100644 recipes-connectivity/dhcp/dhcp_4.3.0.bbappend
recipes-connectivity/dhcp/dhcp_%.bbappend new file +3 -0
new file mode 100644
index 0000000..2d2232c
@@ -0,0 +1,3 @@
+inherit selinux
+
+FILESEXTRAPATHS_prepend := "${@target_selinux(d, '${THISDIR}/files:')}"
recipes-connectivity/dhcp/dhcp_4.3.0.bbappend deleted +0 -3
deleted file mode 100644
index 2d2232c..0000000
@@ -1,3 +0,0 @@
-inherit selinux
-
-FILESEXTRAPATHS_prepend := "${@target_selinux(d, '${THISDIR}/files:')}"
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH 3/4 coreutils: Use wildcard for version and remove PR.

In reply to Philip Tricca
---
 recipes-core/coreutils/coreutils_%.bbappend    |    1 +
 recipes-core/coreutils/coreutils_8.22.bbappend |    3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)
 create mode 100644 recipes-core/coreutils/coreutils_%.bbappend
 delete mode 100644 recipes-core/coreutils/coreutils_8.22.bbappend
recipes-core/coreutils/coreutils_%.bbappend new file +1 -0
new file mode 100644
index 0000000..c1e8ed6
@@ -0,0 +1 @@
+inherit with-selinux
recipes-core/coreutils/coreutils_8.22.bbappend deleted +0 -3
deleted file mode 100644
index cef8b67..0000000
@@ -1,3 +0,0 @@
-PR .= ".1"
-
-inherit with-selinux
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 4/4 ustr: Fix use of bad variable in SRC_URI.

In reply to Philip Tricca
---
 recipes-extended/ustr/ustr_1.0.4.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/ustr/ustr_1.0.4.bb +1 -1
index a0a1e41..cdb78ad 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c79c6e2ae13418d16d7dc82df960a1e7 \
 		    file://LICENSE_MIT;md5=c61e779b782608472bd87593c3c3916f"
 
 SRC_URI = "\
-    http://www.and.org/ustr/${BPV}/${BPN}-${PV}.tar.bz2 \
+    http://www.and.org/ustr/${PV}/${BPN}-${PV}.tar.bz2 \
     file://ustr-makefile-fix.patch;patch=1 \
     file://ustr-fix__va_copy-not-defined.patch;patch=2 \
     file://ustr-c99-inline.patch;patch=3"
Signature · 1 line
1.7.10.4
#5 lore raw
In reply to Philip Tricca

Forgot to copy the maintainer ... again :)

Quoted 32 lines · Philip Tricca

This is another round of renaming the meta-selinux bbappends to use wild cards. The three recipes renamed here had no patches to port. They're basically 3-4 line recipes that enable SELinux or add a config file. Per previous guidance I've removed PRs so hopefully this is still the right thing to do.

One oddity here is the change made to the ustr recipe. It was using a variable I've never seen before and failing to fetch the SRC_URI. I think this variable was a typo and after changing ${BPV} -> ${PV} the expected behavior was restored.

Philip Tricca (4):
sysklogd: Use wildcard for version and remove PR.
dhcp: Use wildcard for version number.
coreutils: Use wildcard for version and remove PR.
ustr: Fix use of bad variable in SRC_URI.

 recipes-connectivity/dhcp/dhcp_%.bbappend       |    3 +++
 recipes-connectivity/dhcp/dhcp_4.3.0.bbappend   |    3 ---
 recipes-core/coreutils/coreutils_%.bbappend     |    1 +
 recipes-core/coreutils/coreutils_8.22.bbappend  |    3 ---
 recipes-extended/sysklogd/sysklogd_%.bbappend   |    1 +
 recipes-extended/sysklogd/sysklogd_1.5.bbappend |    3 ---
 recipes-extended/ustr/ustr_1.0.4.bb             |    2 +-
 7 files changed, 6 insertions(+), 10 deletions(-)
 create mode 100644 recipes-connectivity/dhcp/dhcp_%.bbappend
 delete mode 100644 recipes-connectivity/dhcp/dhcp_4.3.0.bbappend
 create mode 100644 recipes-core/coreutils/coreutils_%.bbappend
 delete mode 100644 recipes-core/coreutils/coreutils_8.22.bbappend
 create mode 100644 recipes-extended/sysklogd/sysklogd_%.bbappend
 delete mode 100644 recipes-extended/sysklogd/sysklogd_1.5.bbappend