From 727721a2536edea3348455ffba59077dc592dcf1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 10 Jul 2014 12:31:47 +0000 Subject: archlinux: fix freeradius3 and strip epoch from version numbers --- upstream/archlinux.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/upstream/archlinux.lua b/upstream/archlinux.lua index 7b5229f..b4127f6 100644 --- a/upstream/archlinux.lua +++ b/upstream/archlinux.lua @@ -24,6 +24,8 @@ local pkgmap = { ["glib" ] = "glib2", ["libnl3" ] = "libnl", ["libnl" ] = "", + ["freeradius" ] = "", + ["freeradius3" ] = "freeradius", } local version_regex = { @@ -32,6 +34,8 @@ local version_regex = { ["%.([a-z])$"] = "_%1", ["(%d)[Rr][Cc](%d+)"] = "%1_rc%2", ["(%d)b(%d+)$"] = "%1_beta%2", + ["(%d)b(%d+)$"] = "%1_beta%2", + ["^%d+:"] = "", } local function fix_version(ver) -- cgit v1.2.3