new package: pounce
This commit is contained in:
parent
2e8244780b
commit
ac8bc648fb
|
@ -0,0 +1,17 @@
|
||||||
|
--- a/bounce.h
|
||||||
|
+++ b/bounce.h
|
||||||
|
@@ -34,6 +34,14 @@
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <tls.h>
|
||||||
|
|
||||||
|
+#ifdef __ANDROID__
|
||||||
|
+#include <crypt.h>
|
||||||
|
+
|
||||||
|
+static void *(*volatile explicit_memset)(void *, int, size_t) = memset;
|
||||||
|
+#undef explicit_bzero
|
||||||
|
+#define explicit_bzero(s, n) explicit_memset(s, 0, n)
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifndef OPENSSL_BIN
|
||||||
|
#define OPENSSL_BIN "openssl"
|
||||||
|
#endif
|
|
@ -0,0 +1,13 @@
|
||||||
|
TERMUX_PKG_HOMEPAGE=https://git.causal.agency/pounce
|
||||||
|
TERMUX_PKG_DESCRIPTION="A multi-client, TLS-only IRC bouncer"
|
||||||
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||||
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
|
TERMUX_PKG_VERSION=3.0
|
||||||
|
TERMUX_PKG_SRCURL=https://git.causal.agency/pounce/snapshot/pounce-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
|
TERMUX_PKG_SHA256=f776f7f170493697a97923e7dce9597dff5577fd40ba756e9a1bcfab17199df0
|
||||||
|
TERMUX_PKG_DEPENDS="libcrypt, libretls"
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||||
|
--mandir=$TERMUX_PREFIX/share/man
|
||||||
|
"
|
||||||
|
TERMUX_PKG_EXTRA_MAKE_ARGS="all"
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/pounce.1
|
||||||
|
+++ b/pounce.1
|
||||||
|
@@ -627,7 +627,7 @@
|
||||||
|
followed by the colon-separated list of paths
|
||||||
|
.Ev $XDG_CONFIG_DIRS ,
|
||||||
|
usually
|
||||||
|
-.Pa /etc/xdg .
|
||||||
|
+.Pa @TERMUX_PREFIX@/etc/xdg .
|
||||||
|
.It Pa ~/.config/pounce
|
||||||
|
The most likely location of configuration files.
|
||||||
|
.
|
|
@ -0,0 +1,19 @@
|
||||||
|
--- a/xdg.c
|
||||||
|
+++ b/xdg.c
|
||||||
|
@@ -49,14 +49,14 @@
|
||||||
|
.envHome = "XDG_CONFIG_HOME",
|
||||||
|
.envDirs = "XDG_CONFIG_DIRS",
|
||||||
|
.defHome = ".config",
|
||||||
|
- .defDirs = "/etc/xdg",
|
||||||
|
+ .defDirs = "@TERMUX_PREFIX@/etc/xdg",
|
||||||
|
};
|
||||||
|
|
||||||
|
static const struct Base Data = {
|
||||||
|
.envHome = "XDG_DATA_HOME",
|
||||||
|
.envDirs = "XDG_DATA_DIRS",
|
||||||
|
.defHome = ".local/share",
|
||||||
|
- .defDirs = "/usr/local/share:/usr/share",
|
||||||
|
+ .defDirs = "@TERMUX_PREFIX@/local/share:@TERMUX_PREFIX@/share",
|
||||||
|
};
|
||||||
|
|
||||||
|
static char *basePath(
|
Loading…
Reference in New Issue