New package: EternalTerminal-5.1.9
This commit is contained in:
parent
c9a07b1841
commit
d1f54471d6
3 changed files with 52 additions and 0 deletions
2
srcpkgs/EternalTerminal/files/etserver/run
Normal file
2
srcpkgs/EternalTerminal/files/etserver/run
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec chpst -u _eternal etserver
|
21
srcpkgs/EternalTerminal/patches/musl.patch
Normal file
21
srcpkgs/EternalTerminal/patches/musl.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
diff --git CMakeLists.txt CMakeLists.txt
|
||||
index 3945f33..dd5b572 100644
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -3,6 +3,7 @@ project (EternalTCP VERSION 5.1.8)
|
||||
|
||||
option(BUILD_TEST "Build all unit test" OFF)
|
||||
option(CODE_COVERAGE "Enable code coverage" OFF)
|
||||
+option(EXECINFO "Enable use of libexecinfo" OFF)
|
||||
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DET_VERSION='\"${PROJECT_VERSION}\"'")
|
||||
# For easylogging, disable default log file, enable crash log, ensure thread safe, and catch c++ exceptions
|
||||
@@ -88,6 +89,8 @@ IF(FREEBSD)
|
||||
set(CORE_LIBRARIES util execinfo)
|
||||
ELSEIF(NETBSD)
|
||||
set(CORE_LIBRARIES util resolv execinfo)
|
||||
+ELSEIF(EXECINFO)
|
||||
+ set(CORE_LIBRARIES util resolv execinfo)
|
||||
ELSE()
|
||||
set(CORE_LIBRARIES util resolv)
|
||||
ENDIF()
|
29
srcpkgs/EternalTerminal/template
Normal file
29
srcpkgs/EternalTerminal/template
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'EternalTerminal'
|
||||
pkgname=EternalTerminal
|
||||
version=5.1.9
|
||||
revision=1
|
||||
wrksrc="${pkgname}-et-v${version}"
|
||||
build_style=cmake
|
||||
hostmakedepends="protobuf"
|
||||
makedepends="gflags-devel libsodium-devel protobuf-devel"
|
||||
depends="gflags-devel libsodium-devel protobuf-devel"
|
||||
short_desc="Re-Connectable secure remote shell"
|
||||
maintainer="Nathan Owens <ndowens04@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://mistertea.github.io/EternalTerminal"
|
||||
distfiles="https://github.com/MisterTea/EternalTerminal/archive/et-v${version}.tar.gz"
|
||||
checksum=37b9bd33ed3edc88cedf2c4168246e23818ccd4e08731d0698d8d133dd3b1147
|
||||
|
||||
system_accounts="_eternal"
|
||||
|
||||
LDFLAGS="-lgflags"
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
*-musl)
|
||||
configure_args="-DEXECINFO=TRUE"
|
||||
makedepends+=" libexecinfo-devel";;
|
||||
esac
|
||||
|
||||
post_install() {
|
||||
vsv etserver
|
||||
}
|
Loading…
Add table
Reference in a new issue