Skip to content

Commit 99e7991

Browse files
committed
freediameter 1.6.0
1 parent 901aea5 commit 99e7991

File tree

1 file changed

+2
-69
lines changed

1 file changed

+2
-69
lines changed

Formula/f/freediameter.rb

Lines changed: 2 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
class Freediameter < Formula
22
desc "Open source Diameter (Authentication) protocol implementation"
33
homepage "https://github.com/freeDiameter/freeDiameter"
4+
url "https://github.com/freeDiameter/freeDiameter/archive/refs/tags/1.6.0.tar.gz"
5+
sha256 "0bb4ed33ada0b57ab681d86ae3fe0e3a9ce95892f492c401cbb68a87ec1d47bc"
46
license "BSD-3-Clause"
57
head "https://github.com/freeDiameter/freeDiameter.git", branch: "master"
6-
7-
stable do
8-
url "https://github.com/freeDiameter/freeDiameter/archive/refs/tags/1.5.0.tar.gz"
9-
sha256 "cc4ceafd9d0d4a6a5e3aa02bf557906fe755df9ec14d16c4fcd5dab6930296aa"
10-
11-
# Backport support for `libidn2`. Remove in the next release.
12-
patch do
13-
url "https://github.com/freeDiameter/freeDiameter/commit/da679d27c546e11f6e41ad8882699f726e58a9f7.patch?full_index=1"
14-
sha256 "123fe68ede4713b8e78efa49bfe9db592291cc3c821bbdc58f930a1f291423b1"
15-
end
16-
17-
# Bump minimum required cmake version to 3.10. Remove in the next release.
18-
# Backport of: https://github.com/freeDiameter/freeDiameter/commit/45106adf3bf4192b274ef6c5536200a0e19c84f2
19-
patch :DATA
20-
end
21-
228
livecheck do
239
url :stable
2410
regex(/^v?(\d+(?:\.\d+)+)$/i)
2511
end
2612

27-
no_autobump! because: :requires_manual_review
28-
2913
bottle do
3014
rebuild 2
3115
sha256 arm64_tahoe: "5eafa2b1cff32588e446f38812e5d28bdbbdc3efca9c5d04d3d8c75aadc63c1a"
@@ -90,54 +74,3 @@ def caveats
9074
assert_match version.to_s, shell_output("#{bin}/freeDiameterd --version")
9175
end
9276
end
93-
94-
__END__
95-
--- a/CMakeLists.txt
96-
+++ b/CMakeLists.txt
97-
@@ -1,5 +1,8 @@
98-
# This file is the source for generating the Makefile for the project, using cmake tool (cmake.org)
99-
100-
+# CMake version
101-
+CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
102-
+
103-
# Name of the project
104-
PROJECT("freeDiameter")
105-
106-
@@ -19,9 +22,6 @@ SET(FD_PROJECT_VERSION_API 6)
107-
# The test framework, using CTest and CDash.
108-
INCLUDE(CTest)
109-
110-
-# CMake version
111-
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
112-
-
113-
# Location of additional CMake modules
114-
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
115-
116-
--- a/libfdcore/CMakeLists.txt
117-
+++ b/libfdcore/CMakeLists.txt
118-
@@ -2,10 +2,7 @@
119-
Project("freeDiameter core library" C)
120-
121-
# Configuration for newer cmake
122-
-cmake_policy(VERSION 2.6)
123-
-if (POLICY CMP0022)
124-
- cmake_policy(SET CMP0022 OLD)
125-
-endif (POLICY CMP0022)
126-
+cmake_policy(VERSION 3.10)
127-
128-
# Configuration parser
129-
BISON_FILE(fdd.y)
130-
--- a/libfdproto/CMakeLists.txt
131-
+++ b/libfdproto/CMakeLists.txt
132-
@@ -2,10 +2,7 @@
133-
Project("libfdproto" C)
134-
135-
# Configuration for newer cmake
136-
-cmake_policy(VERSION 2.6)
137-
-if (POLICY CMP0022)
138-
- cmake_policy(SET CMP0022 OLD)
139-
-endif (POLICY CMP0022)
140-
+cmake_policy(VERSION 3.10)
141-
142-
# List of source files for the library
143-
SET(LFDPROTO_SRC

0 commit comments

Comments
 (0)