public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-admin/lsyncd/files/, app-admin/lsyncd/
@ 2016-09-25 19:43 Jeroen Roovers
  0 siblings, 0 replies; 5+ messages in thread
From: Jeroen Roovers @ 2016-09-25 19:43 UTC (permalink / raw
  To: gentoo-commits

commit:     fc093b700face76248b696cf1558581455ad4777
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 25 19:33:15 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Sep 25 19:43:43 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc093b70

app-admin/lsyncd: Install man page in the right place.

Package-Manager: portage-2.3.1

 app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch |  8 +++++++
 app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild          | 29 ++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch b/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch
new file mode 100644
index 00000000..c78df89
--- /dev/null
+++ b/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch
@@ -0,0 +1,8 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -92,4 +92,4 @@
+ target_link_libraries( lsyncd ${LUA_LIBRARIES} )
+ 
+ install( TARGETS lsyncd RUNTIME DESTINATION bin )
+-install( FILES doc/lsyncd.1 DESTINATION man)
++install( FILES doc/lsyncd.1 DESTINATION share/man/man1)

diff --git a/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild b/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild
new file mode 100644
index 00000000..d8152bf
--- /dev/null
+++ b/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CMAKE_IN_SOURCE_BUILD="YES_PLEASE_OMG"
+inherit cmake-utils
+
+DESCRIPTION="Live Syncing (Mirror) Daemon"
+HOMEPAGE="https://github.com/axkibe/lsyncd"
+SRC_URI="https://github.com/axkibe/lsyncd/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+CDEPEND=">=dev-lang/lua-5.1[deprecated]"
+DEPEND="${CDEPEND}
+	app-text/asciidoc
+	virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+	net-misc/rsync"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-mandir.patch
+)
+
+S=${WORKDIR}/${PN}-release-${PV}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-admin/lsyncd/files/, app-admin/lsyncd/
@ 2017-01-28 20:11 Patrick Lauer
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Lauer @ 2017-01-28 20:11 UTC (permalink / raw
  To: gentoo-commits

commit:     c4654db70af968a64534c61c868a761034e2c8cf
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 20:11:08 2017 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 20:11:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4654db7

app-admin/lsyncd: Bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-admin/lsyncd/Manifest                        |  1 +
 app-admin/lsyncd/files/lsyncd-2.2.0-mandir.patch |  8 +++++++
 app-admin/lsyncd/lsyncd-2.2.0.ebuild             | 29 ++++++++++++++++++++++++
 3 files changed, 38 insertions(+)

diff --git a/app-admin/lsyncd/Manifest b/app-admin/lsyncd/Manifest
index 67ada6f..3e6631d 100644
--- a/app-admin/lsyncd/Manifest
+++ b/app-admin/lsyncd/Manifest
@@ -1,2 +1,3 @@
 DIST lsyncd-2.1.5.tar.gz 149873 SHA256 4a793056c4ed833edb59436d7711bb65f7e38a4d8d44371cc9dc5eb91fbc461f SHA512 7be939e979525f8e4687432ffe952b1d09b8a34b4d7f92ebe86b5cddb765dbd602258682612529e9cc51305d6d001e72de9e6da62761397df23ecda30fd6a12b WHIRLPOOL 3b5405759542b9a97253fcbc3c66d8005c44045e76527ae645cbaa04cf570f4a5f44a863632b5fc17cba215253743cf0fac8a39cbca488d3b5bfc58a82948ee8
 DIST lsyncd-2.1.6.tar.gz 78944 SHA256 02c241ee71b6abb23a796ac994a414e1229f530c249b838ae72d2ef74ae0f775 SHA512 9831dfc41a459e35096b46c9225a6a50398b4886ef76fb71bd42e32b522b330e3cf3f49bfd1a2fd44c5df726f9c666c2f6064e4653ecf4cce3a7da4b69ddbef9 WHIRLPOOL 6d0341c7e3459886bbda81ccd95e693f74d40157c22c4bb62a7bf991256121718ff0e4cbf78b9821783d775bc28da3ccacfa4047b863586c71748d05b6997a9f
+DIST lsyncd-2.2.0.tar.gz 81034 SHA256 fb4b49c314846c251b624f9ee3129483c4b3d4d53c5263bb36086feb17f2e800 SHA512 75a138c2e85c4c5a3d6b215cb8df1668e5ffb6c8099f79caf555369d12348e2bdff29c1b01d62613bddd5b5a67f2a44e2fe86412048bc622088912e3fa783e81 WHIRLPOOL 9560a44f77aede8159871d3f3a857aa1c82b1db8832a72ba8a048e324836e1da6ca3ea376bc4c1c5312d0b19ed1a07105a5060adeae64f45db6965cefd729e57

diff --git a/app-admin/lsyncd/files/lsyncd-2.2.0-mandir.patch b/app-admin/lsyncd/files/lsyncd-2.2.0-mandir.patch
new file mode 100644
index 00000000..76e01d5
--- /dev/null
+++ b/app-admin/lsyncd/files/lsyncd-2.2.0-mandir.patch
@@ -0,0 +1,8 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -92,4 +92,4 @@
+ target_link_libraries( lsyncd ${LUA_LIBRARIES} )
+ 
+ install( TARGETS lsyncd RUNTIME DESTINATION bin )
+-install( FILES doc/manpage/lsyncd.1 DESTINATION man )
++install( FILES doc/manpage/lsyncd.1 DESTINATION share/man/man1 )

diff --git a/app-admin/lsyncd/lsyncd-2.2.0.ebuild b/app-admin/lsyncd/lsyncd-2.2.0.ebuild
new file mode 100644
index 00000000..fa0e2be
--- /dev/null
+++ b/app-admin/lsyncd/lsyncd-2.2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CMAKE_IN_SOURCE_BUILD="YES_PLEASE_OMG"
+inherit cmake-utils
+
+DESCRIPTION="Live Syncing (Mirror) Daemon"
+HOMEPAGE="https://github.com/axkibe/lsyncd"
+SRC_URI="https://github.com/axkibe/lsyncd/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+CDEPEND=">=dev-lang/lua-5.1[deprecated]"
+DEPEND="${CDEPEND}
+	app-text/asciidoc
+	virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+	net-misc/rsync"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-mandir.patch
+)
+
+S=${WORKDIR}/${PN}-release-${PV}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-admin/lsyncd/files/, app-admin/lsyncd/
@ 2017-02-01  9:21 Aaron Bauman
  0 siblings, 0 replies; 5+ messages in thread
From: Aaron Bauman @ 2017-02-01  9:21 UTC (permalink / raw
  To: gentoo-commits

commit:     755993fcf7c9451edfe66a9577d15b2d35a9034c
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  1 09:19:54 2017 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 09:19:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=755993fc

app-admin/lsyncd: remove vulnerable wrt sec bug #562898

Package-Manager: portage-2.3.3

 app-admin/lsyncd/Manifest                        |  2 --
 app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch |  8 -------
 app-admin/lsyncd/lsyncd-2.1.5.ebuild             | 23 -------------------
 app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild          | 29 ------------------------
 app-admin/lsyncd/lsyncd-2.1.6.ebuild             | 25 --------------------
 5 files changed, 87 deletions(-)

diff --git a/app-admin/lsyncd/Manifest b/app-admin/lsyncd/Manifest
index 3e6631d..c3606da 100644
--- a/app-admin/lsyncd/Manifest
+++ b/app-admin/lsyncd/Manifest
@@ -1,3 +1 @@
-DIST lsyncd-2.1.5.tar.gz 149873 SHA256 4a793056c4ed833edb59436d7711bb65f7e38a4d8d44371cc9dc5eb91fbc461f SHA512 7be939e979525f8e4687432ffe952b1d09b8a34b4d7f92ebe86b5cddb765dbd602258682612529e9cc51305d6d001e72de9e6da62761397df23ecda30fd6a12b WHIRLPOOL 3b5405759542b9a97253fcbc3c66d8005c44045e76527ae645cbaa04cf570f4a5f44a863632b5fc17cba215253743cf0fac8a39cbca488d3b5bfc58a82948ee8
-DIST lsyncd-2.1.6.tar.gz 78944 SHA256 02c241ee71b6abb23a796ac994a414e1229f530c249b838ae72d2ef74ae0f775 SHA512 9831dfc41a459e35096b46c9225a6a50398b4886ef76fb71bd42e32b522b330e3cf3f49bfd1a2fd44c5df726f9c666c2f6064e4653ecf4cce3a7da4b69ddbef9 WHIRLPOOL 6d0341c7e3459886bbda81ccd95e693f74d40157c22c4bb62a7bf991256121718ff0e4cbf78b9821783d775bc28da3ccacfa4047b863586c71748d05b6997a9f
 DIST lsyncd-2.2.0.tar.gz 81034 SHA256 fb4b49c314846c251b624f9ee3129483c4b3d4d53c5263bb36086feb17f2e800 SHA512 75a138c2e85c4c5a3d6b215cb8df1668e5ffb6c8099f79caf555369d12348e2bdff29c1b01d62613bddd5b5a67f2a44e2fe86412048bc622088912e3fa783e81 WHIRLPOOL 9560a44f77aede8159871d3f3a857aa1c82b1db8832a72ba8a048e324836e1da6ca3ea376bc4c1c5312d0b19ed1a07105a5060adeae64f45db6965cefd729e57

diff --git a/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch b/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch
deleted file mode 100644
index c78df89..00000000
--- a/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -92,4 +92,4 @@
- target_link_libraries( lsyncd ${LUA_LIBRARIES} )
- 
- install( TARGETS lsyncd RUNTIME DESTINATION bin )
--install( FILES doc/lsyncd.1 DESTINATION man)
-+install( FILES doc/lsyncd.1 DESTINATION share/man/man1)

diff --git a/app-admin/lsyncd/lsyncd-2.1.5.ebuild b/app-admin/lsyncd/lsyncd-2.1.5.ebuild
deleted file mode 100644
index 23a5851..00000000
--- a/app-admin/lsyncd/lsyncd-2.1.5.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-DESCRIPTION="Live Syncing (Mirror) Daemon"
-HOMEPAGE="https://github.com/axkibe/lsyncd"
-SRC_URI="https://lsyncd.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~arm-linux ~x86-linux"
-
-CDEPEND=">=dev-lang/lua-5.1[deprecated]"
-DEPEND="${CDEPEND}
-	virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-	net-misc/rsync"
-
-src_configure() {
-	econf --docdir="${EPREFIX}"/usr/share/doc/${P}
-}

diff --git a/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild b/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild
deleted file mode 100644
index d8152bf..00000000
--- a/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-CMAKE_IN_SOURCE_BUILD="YES_PLEASE_OMG"
-inherit cmake-utils
-
-DESCRIPTION="Live Syncing (Mirror) Daemon"
-HOMEPAGE="https://github.com/axkibe/lsyncd"
-SRC_URI="https://github.com/axkibe/lsyncd/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
-
-CDEPEND=">=dev-lang/lua-5.1[deprecated]"
-DEPEND="${CDEPEND}
-	app-text/asciidoc
-	virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-	net-misc/rsync"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-mandir.patch
-)
-
-S=${WORKDIR}/${PN}-release-${PV}

diff --git a/app-admin/lsyncd/lsyncd-2.1.6.ebuild b/app-admin/lsyncd/lsyncd-2.1.6.ebuild
deleted file mode 100644
index 09cefc5..00000000
--- a/app-admin/lsyncd/lsyncd-2.1.6.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-CMAKE_IN_SOURCE_BUILD="YES_PLEASE_OMG"
-inherit cmake-utils
-
-DESCRIPTION="Live Syncing (Mirror) Daemon"
-HOMEPAGE="https://github.com/axkibe/lsyncd"
-SRC_URI="https://github.com/axkibe/lsyncd/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
-
-CDEPEND=">=dev-lang/lua-5.1[deprecated]"
-DEPEND="${CDEPEND}
-	app-text/asciidoc
-	virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-	net-misc/rsync"
-
-S=${WORKDIR}/${PN}-release-${PV}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-admin/lsyncd/files/, app-admin/lsyncd/
@ 2020-12-03 23:41 Marek Szuba
  0 siblings, 0 replies; 5+ messages in thread
From: Marek Szuba @ 2020-12-03 23:41 UTC (permalink / raw
  To: gentoo-commits

commit:     d3f4980a29badde11785f1ea8bebc82c4fbfcd89
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  3 23:30:30 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 23:40:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f4980a

app-admin/lsyncd-2.2.3: migrate to lua-single.eclass

Upstream uses a customised variant of a really old version of
FindLua.cmake which is not easy to replace with a modern stock version
because it sets paths to lua and luac. Fortunately, it was simple enough
to patch to only accept one specific ABI version.

Was masked to begin with and I have kept the relevant package.mask line
where it was.

Closes: https://bugs.gentoo.org/752516
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../files/lsyncd-2.2.3-cmake_lua_version.patch      | 20 ++++++++++++++++++++
 app-admin/lsyncd/lsyncd-2.2.3.ebuild                | 21 ++++++++++++++++++---
 2 files changed, 38 insertions(+), 3 deletions(-)

diff --git a/app-admin/lsyncd/files/lsyncd-2.2.3-cmake_lua_version.patch b/app-admin/lsyncd/files/lsyncd-2.2.3-cmake_lua_version.patch
new file mode 100644
index 00000000000..7a6cccb1445
--- /dev/null
+++ b/app-admin/lsyncd/files/lsyncd-2.2.3-cmake_lua_version.patch
@@ -0,0 +1,20 @@
+--- a/cmake/FindLua.cmake
++++ b/cmake/FindLua.cmake
+@@ -36,7 +36,7 @@
+ #SET(_POSSIBLE_LUA_LIBRARY lua)
+ 
+ # Determine possible naming suffixes (there is no standard for this)
+-SET(_POSSIBLE_SUFFIXES "52" "5.2" "-5.2" "53" "5.3" "-5.3" "")
++SET(_POSSIBLE_SUFFIXES "${LUA_ABI_VERSION}")
+ 
+ # Set up possible search names and locations
+ FOREACH(_SUFFIX ${_POSSIBLE_SUFFIXES})
+@@ -53,7 +53,7 @@
+ 
+ # Find the lua executable
+ FIND_PROGRAM(LUA_COMPILER
+-  NAMES luac5.3 ${_POSSIBLE_LUA_COMPILER}
++  NAMES ${_POSSIBLE_LUA_COMPILER}
+ )
+ 
+ # Find the lua header

diff --git a/app-admin/lsyncd/lsyncd-2.2.3.ebuild b/app-admin/lsyncd/lsyncd-2.2.3.ebuild
index 9b83dd0fc77..705a0e4067e 100644
--- a/app-admin/lsyncd/lsyncd-2.2.3.ebuild
+++ b/app-admin/lsyncd/lsyncd-2.2.3.ebuild
@@ -1,10 +1,13 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=7
 
 CMAKE_IN_SOURCE_BUILD="YES_PLEASE_OMG"
-inherit cmake-utils
+LUA_COMPAT=( lua5-{2,3} )
+LUA_REQ_USE="deprecated"
+
+inherit cmake lua-single
 
 DESCRIPTION="Live Syncing (Mirror) Daemon"
 HOMEPAGE="https://github.com/axkibe/lsyncd"
@@ -14,15 +17,27 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
-CDEPEND=">=dev-lang/lua-5.2[deprecated]"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+CDEPEND="${LUA_DEPS}"
 DEPEND="${CDEPEND}
 	app-text/asciidoc
 	virtual/pkgconfig"
 RDEPEND="${CDEPEND}
 	net-misc/rsync"
+# Both lua and luac are invoked at build time
+BDEPEND="${CDEPEND}"
 
 PATCHES=(
+	"${FILESDIR}"/${PN}-2.2.3-cmake_lua_version.patch
 	"${FILESDIR}"/${PN}-2.3.3-mandir.patch
 )
 
 S=${WORKDIR}/${PN}-release-${PV}
+
+src_configure() {
+	local mycmakeargs=(
+		-DLUA_ABI_VERSION=$(ver_cut 1-2 $(lua_get_version))
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-admin/lsyncd/files/, app-admin/lsyncd/
@ 2024-06-23 19:49 Conrad Kostecki
  0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2024-06-23 19:49 UTC (permalink / raw
  To: gentoo-commits

commit:     588adc3fc84b8e7d34d4f9b07521407c1395610f
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Thu Jun  6 18:43:19 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jun 23 19:47:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=588adc3f

app-admin/lsyncd: add 2.3.1

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37059
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-admin/lsyncd/Manifest                          |  1 +
 .../files/lsyncd-2.3.1-cmake_lua_version.patch     | 20 ++++++++++
 app-admin/lsyncd/lsyncd-2.3.1.ebuild               | 46 ++++++++++++++++++++++
 3 files changed, 67 insertions(+)

diff --git a/app-admin/lsyncd/Manifest b/app-admin/lsyncd/Manifest
index f13b50eed67b..e57d9dcadd25 100644
--- a/app-admin/lsyncd/Manifest
+++ b/app-admin/lsyncd/Manifest
@@ -1 +1,2 @@
 DIST lsyncd-2.2.3.tar.gz 85165 BLAKE2B 9b3ce9ad882f12a0cf800ca0418092807c5c30451fe273eae18486b2ab245fbdc77dee937983bf78f678e20448dda39771c4bca96d8efe010cc45d470a30eba3 SHA512 2193a342f8aa7d8cfb55378c9c59ca61d2d8e4026263fd6e6560c730c712cef1f189305a3f9bca58f5b9c9ffae5af12e1d75e5355d5bdae86a47ad9595b8169a
+DIST lsyncd-2.3.1.tar.gz 125126 BLAKE2B b966e2ea1887c93fe26b4fbaeedec50c4d6fd2a66eee0fbafc859a49a4b85eddc20d78ae6483be7a8f9acc66c67da3199dad757bc7b772dead2cccc9d60e621d SHA512 195cc46e00c58301aca6afb027eb0ad663254b3028bcf3e5d4fb7709bbcf2a6eb8ba9a39cae62c951eb4562795e0a147efb1ddcdd22a0b46742ec7c17f478fbe

diff --git a/app-admin/lsyncd/files/lsyncd-2.3.1-cmake_lua_version.patch b/app-admin/lsyncd/files/lsyncd-2.3.1-cmake_lua_version.patch
new file mode 100644
index 000000000000..e5cf18b371f0
--- /dev/null
+++ b/app-admin/lsyncd/files/lsyncd-2.3.1-cmake_lua_version.patch
@@ -0,0 +1,20 @@
+--- a/cmake/FindLua.cmake
++++ b/cmake/FindLua.cmake
+@@ -37,7 +37,7 @@
+ #SET(_POSSIBLE_LUA_LIBRARY lua)
+ 
+ # Determine possible naming suffixes (there is no standard for this)
+-SET(_POSSIBLE_SUFFIXES "54" "5.4" "-5.4" "53" "5.3" "-5.3" "52" "5.2" "-5.2" "")
++SET(_POSSIBLE_SUFFIXES "${LUA_ABI_VERSION}")
+ 
+ # Set up possible search names and locations
+ FOREACH(_SUFFIX IN LISTS _POSSIBLE_SUFFIXES)
+@@ -54,7 +54,7 @@
+ 
+ # Find the lua executable
+ FIND_PROGRAM(LUA_COMPILER
+-  NAMES luac5.3 ${_POSSIBLE_LUA_COMPILER}
++  NAMES ${_POSSIBLE_LUA_COMPILER}
+ )
+ 
+ # Find the lua header

diff --git a/app-admin/lsyncd/lsyncd-2.3.1.ebuild b/app-admin/lsyncd/lsyncd-2.3.1.ebuild
new file mode 100644
index 000000000000..5986c0e42b44
--- /dev/null
+++ b/app-admin/lsyncd/lsyncd-2.3.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{3,4} )
+LUA_REQ_USE="deprecated"
+
+inherit cmake lua-single
+
+DESCRIPTION="Live Syncing (Mirror) Daemon"
+HOMEPAGE="https://github.com/lsyncd/lsyncd"
+SRC_URI="https://github.com/lsyncd/lsyncd/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-release-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+DEPEND="${LUA_DEPS}"
+RDEPEND="${LUA_DEPS}
+	net-misc/rsync"
+# Both lua and luac are invoked at build time
+BDEPEND="${LUA_DEPS}
+	app-text/asciidoc
+	virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-cmake_lua_version.patch
+)
+
+src_prepare(){
+	cmake_src_prepare
+	# fix examples directory
+	sed -i "s@examples DESTINATION doc@examples DESTINATION share/doc/${PF}/examples@" \
+		CMakeLists.txt || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DLUA_ABI_VERSION=$(ver_cut 1-2 $(lua_get_version))
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-23 19:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-01  9:21 [gentoo-commits] repo/gentoo:master commit in: app-admin/lsyncd/files/, app-admin/lsyncd/ Aaron Bauman
  -- strict thread matches above, loose matches on Subject: below --
2024-06-23 19:49 Conrad Kostecki
2020-12-03 23:41 Marek Szuba
2017-01-28 20:11 Patrick Lauer
2016-09-25 19:43 Jeroen Roovers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox