ngircd: system openssl fix

Fix for linking into the system OpenSSL, strict audit fixes, and the
plist.

Closes Homebrew/homebrew#36386.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Dominyk Tiller 2015-01-30 17:25:56 +00:00 committed by Mike McQuaid
parent 40447c239d
commit 8a707ebb2b
2 changed files with 9 additions and 0 deletions

View File

@ -41,6 +41,10 @@ class BottleVersion < Version
m = /-(\d+[a-z])/.match(stem)
return m.captures.first unless m.nil?
# e.g. 22 from ngircd-22.mavericks.bottle.tar.gz
m = /-(\d{2})/.match(stem)
return m.captures.first unless m.nil?
super
end
end

View File

@ -65,4 +65,9 @@ class BottleVersionParsingTests < Homebrew::TestCase
assert_version_detected '2007f',
'imap-uw-2007f.yosemite.bottle.tar.gz'
end
def test_ngircd_style
assert_version_detected '22',
'ngircd-22.mavericks.bottle.tar.gz'
end
end