mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/lsyncd: drop 2.2.3
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST lsyncd-2.2.3.tar.gz 85165 BLAKE2B 9b3ce9ad882f12a0cf800ca0418092807c5c30451fe273eae18486b2ab245fbdc77dee937983bf78f678e20448dda39771c4bca96d8efe010cc45d470a30eba3 SHA512 2193a342f8aa7d8cfb55378c9c59ca61d2d8e4026263fd6e6560c730c712cef1f189305a3f9bca58f5b9c9ffae5af12e1d75e5355d5bdae86a47ad9595b8169a
|
||||
DIST lsyncd-2.3.1.tar.gz 125126 BLAKE2B b966e2ea1887c93fe26b4fbaeedec50c4d6fd2a66eee0fbafc859a49a4b85eddc20d78ae6483be7a8f9acc66c67da3199dad757bc7b772dead2cccc9d60e621d SHA512 195cc46e00c58301aca6afb027eb0ad663254b3028bcf3e5d4fb7709bbcf2a6eb8ba9a39cae62c951eb4562795e0a147efb1ddcdd22a0b46742ec7c17f478fbe
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
--- 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
|
||||
@@ -1,9 +0,0 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -107,5 +107,5 @@ add_executable( lsyncd ${LSYNCD_SRC} )
|
||||
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 )
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{2,3} )
|
||||
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}"/${PN}-2.2.3-cmake_lua_version.patch
|
||||
"${FILESDIR}"/${PN}-2.2.3-mandir.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLUA_ABI_VERSION=$(ver_cut 1-2 $(lua_get_version))
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user