Skip to content

Commit

Permalink
main/lua-mqtt-publish: revert workaround for SIGPIPE being ignored
Browse files Browse the repository at this point in the history
This has been fixed by mosquitto upstream.

See: eclipse/mosquitto#2564

This reverts commit 1d5e4a4.
  • Loading branch information
nmeum committed Aug 15, 2022
1 parent 9292d10 commit 618bb3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 32 deletions.
14 changes: 5 additions & 9 deletions main/lua-mqtt-publish/APKBUILD
Expand Up @@ -2,19 +2,18 @@
_luaversions="5.1 5.2 5.3 5.4"
pkgname=lua-mqtt-publish
pkgver=0.3
pkgrel=3
pkgrel=4
pkgdesc="Lua module for simple MQTT connect, publish and disconnect"
url="https://github.com/ncopa/lua-mqtt-publish"
arch="all"
license="MIT"
makedepends="lua-posix lua-mosquitto" # so build order can be calculated
makedepends="lua-mosquitto" # so build order can be calculated

for _v in $_luaversions; do
subpackages="$subpackages lua$_v-mqtt-publish:_split"
done

source="lua-mqtt-publish-$pkgver.tar.gz::https://github.com/ncopa/lua-mqtt-publish/archive/v$pkgver.tar.gz
restore-sigpipe-handler.patch"
source="lua-mqtt-publish-$pkgver.tar.gz::https://github.com/ncopa/lua-mqtt-publish/archive/v$pkgver.tar.gz"

package() {
for i in $_luaversions; do
Expand All @@ -28,7 +27,7 @@ _split() {
msg "_ver=$_ver"
pkgdesc="$pkgdesc for Lua $_ver"
install_if="lua$_ver $pkgname=$pkgver-r$pkgrel"
depends="lua$_ver-posix lua$_ver-mosquitto"
depends="lua$_ver-mosquitto"
for d in usr/lib/lua usr/share/lua; do
if [ -d "$pkgdir"/$d/$_ver ]; then
mkdir -p "$subpkgdir"/$d
Expand All @@ -37,7 +36,4 @@ _split() {
done
}

sha512sums="
ccbf87c53305e19a2dd04f07ac7b3d1fdae3ce0a6c726b89f357d3d5a68a73c0ce830d0ca47d57eaf1990224fcc97794720bdbc8e4e0caa408003cc33dce3b65 lua-mqtt-publish-0.3.tar.gz
3bba23bc2dfbf88e39d37bb85df1634fbda92d906e8f0d8803e84729f870efe2ca1c9cf507155e91679d10c0e75a2925f57744d84f95a714f049b909549a8b6c restore-sigpipe-handler.patch
"
sha512sums="ccbf87c53305e19a2dd04f07ac7b3d1fdae3ce0a6c726b89f357d3d5a68a73c0ce830d0ca47d57eaf1990224fcc97794720bdbc8e4e0caa408003cc33dce3b65 lua-mqtt-publish-0.3.tar.gz"
23 changes: 0 additions & 23 deletions main/lua-mqtt-publish/restore-sigpipe-handler.patch

This file was deleted.

0 comments on commit 618bb3a

Please sign in to comment.