summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-08-04 20:40:04 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-08-04 20:41:58 (EDT)
commit19f7af6d1bdec4d3f24e01f0681267a8023ceaed (patch)
tree0b8789a2577e361fd853469b464643cebce8a7a1
parentcd83b9d68b854f04810736dd9f11588b34c0f771 (diff)
metadata/proteanos: Allow backport versions
-rw-r--r--NEWS4
-rw-r--r--lib/metadata/proteanos.sh2
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 45e3f1b..750cb49 100644
--- a/NEWS
+++ b/NEWS
@@ -14,8 +14,8 @@ libopkbuild:
* Validation of ProteanOS source package versions has been relaxed
to allow for uploads of new upstream versions to non-trunk
- distributions (like tzdata 2019a-0+rs1~1). This complies with the
- latest draft of SPF 2.0.
+ distributions (like tzdata 2019a-0+rs1~1) and extended to allow
+ backports. This complies with the latest draft of SPF 2.0.
opkbuild version 4.1.3
----------------------
diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh
index bd5ea91..2713423 100644
--- a/lib/metadata/proteanos.sh
+++ b/lib/metadata/proteanos.sh
@@ -23,6 +23,8 @@ _OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'[0-9a-z.~+]+'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(\+sip[1-9][0-9]*)?'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(-[0-9]+)?'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(\+[a-z0-9]+~[1-9][0-9]*)?'
+_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(~bpu[1-9][0-9]*'
+_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'\+[1-9][0-9]*)?'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'$'
_ob_validate_source_name()