artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb8187c
)
temporarily reallow "empty" flavor parts so that rsync-- works again
author
espie
<espie@openbsd.org>
Sun, 21 Nov 2021 10:15:52 +0000
(10:15 +0000)
committer
espie
<espie@openbsd.org>
Sun, 21 Nov 2021 10:15:52 +0000
(10:15 +0000)
(I really need to split that code off)
usr.sbin/pkg_add/OpenBSD/PkgSpec.pm
patch
|
blob
|
history
diff --git
a/usr.sbin/pkg_add/OpenBSD/PkgSpec.pm
b/usr.sbin/pkg_add/OpenBSD/PkgSpec.pm
index
42a17ca
..
20ed30f
100644
(file)
--- a/
usr.sbin/pkg_add/OpenBSD/PkgSpec.pm
+++ b/
usr.sbin/pkg_add/OpenBSD/PkgSpec.pm
@@
-1,5
+1,5
@@
# ex:ts=8 sw=4:
-# $OpenBSD: PkgSpec.pm,v 1.
49 2021/11/17 10:59:13
espie Exp $
+# $OpenBSD: PkgSpec.pm,v 1.
50 2021/11/21 10:15:52
espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@
-203,7
+203,7
@@
sub parse
(?:\>|\>\=|\<\=|\<|\=)?\d[^-%]* # optional op + version
|\* # or any version
)
- (?:\-([^%]
+
))? # optional flavor part
+ (?:\-([^%]
*
))? # optional flavor part
$/x) {
return undef;
}