Skip to content

Commit

Permalink
mosquitto 2.0.19
Browse files Browse the repository at this point in the history
autobump: add mosquitto

Signed-off-by: Rui Chen <rui@chenrui.dev>

mosquitto: add build patch

Co-authored-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Daeho Ro <lamanus@outlook.kr>
  • Loading branch information
chenrui333 and daeho-ro committed Oct 6, 2024
1 parent 378b180 commit 55c9bb4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1819,6 +1819,7 @@ monolith
moon
morpheus
morse
mosquitto
moto
mpc
mpd
Expand Down
23 changes: 21 additions & 2 deletions Formula/m/mosquitto.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Mosquitto < Formula
desc "Message broker implementing the MQTT protocol"
homepage "https://mosquitto.org/"
url "https://mosquitto.org/files/source/mosquitto-2.0.18.tar.gz"
sha256 "d665fe7d0032881b1371a47f34169ee4edab67903b2cd2b4c083822823f4448a"
url "https://mosquitto.org/files/source/mosquitto-2.0.19.tar.gz"
sha256 "33af3637f119a61c509c01d2f8f6cc3d8be76f49e850132f2860af142abf82a9"
# # dual-licensed under EPL-1.0 and EDL-1.0 (Eclipse Distribution License v1.0),
# EDL-1.0 is pretty the same as BSD-3-Clause,
# see discussions in https://github.com/spdx/license-list-XML/issues/1149
Expand Down Expand Up @@ -32,6 +32,11 @@ class Mosquitto < Formula

uses_from_macos "libxslt" => :build

# remove unsupported `--version-script` linker flag
on_macos do
patch :DATA
end

on_linux do
depends_on "util-linux"
end
Expand Down Expand Up @@ -71,3 +76,17 @@ def caveats
assert_equal 0, $CHILD_STATUS.exitstatus
end
end

__END__
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index de53e8b..479b45d 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -106,7 +106,6 @@ set_target_properties(libmosquitto PROPERTIES
VERSION ${VERSION}
SOVERSION 1
LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/linker.version
- LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/linker.version"
)

install(TARGETS libmosquitto

0 comments on commit 55c9bb4

Please sign in to comment.