mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
Merge updates from master
This commit is contained in:
1
app-accessibility/mimic1/Manifest
Normal file
1
app-accessibility/mimic1/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST mimic1-1.2.0.2.tar.gz 457566646 BLAKE2B ce2e0b0e88141383f31b0caf611c323d8c94a7f3fdbfc05a765e6e6cd77297db9e53415cc81847eb45d809c3d85fe8e9b75432ef6bc31e0c0a4eca7b336a3d17 SHA512 9fec604e694b0cc7aba545bd5d3ab02c73660d472667192093ca60f3fec1425ae86067a051e552797703be868ceaf30dbc6c289383946f78086174ad647cae6e
|
||||
8
app-accessibility/mimic1/metadata.xml
Normal file
8
app-accessibility/mimic1/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>contact@hacktivis.me</email>
|
||||
<name>Haelwenn (lanodan) Monnier</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
40
app-accessibility/mimic1/mimic1-1.2.0.2.ebuild
Normal file
40
app-accessibility/mimic1/mimic1-1.2.0.2.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/MycroftAI/mimic1.git"
|
||||
else
|
||||
SRC_URI="https://github.com/MycroftAI/mimic1/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Mycroft's TTS engine, based on CMU's Flite (Festival Lite)"
|
||||
HOMEPAGE="https://mimic.mycroft.ai/"
|
||||
|
||||
LICENSE="BSD MIT public-domain freetts BSD-2 Apache-2.0"
|
||||
SLOT="0"
|
||||
# Note: supports Sun/NetBSD audio
|
||||
IUSE="alsa portaudio pulseaudio oss"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libpcre2
|
||||
dev-libs/hts_engine
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
portaudio? ( media-libs/portaudio )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i 's/-Werror//' Makefile.am
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
40
app-accessibility/mimic1/mimic1-9999.ebuild
Normal file
40
app-accessibility/mimic1/mimic1-9999.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/MycroftAI/mimic1.git"
|
||||
else
|
||||
SRC_URI="https://github.com/MycroftAI/mimic1/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Mycroft's TTS engine, based on CMU's Flite (Festival Lite)"
|
||||
HOMEPAGE="https://mimic.mycroft.ai/"
|
||||
|
||||
LICENSE="BSD MIT public-domain freetts BSD-2 Apache-2.0"
|
||||
SLOT="0"
|
||||
# Note: supports Sun/NetBSD audio
|
||||
IUSE="alsa portaudio pulseaudio oss"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libpcre2
|
||||
dev-libs/hts_engine
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
portaudio? ( media-libs/portaudio )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i 's/-Werror//' Makefile.am
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
|
||||
1
dev-libs/hts_engine/Manifest
Normal file
1
dev-libs/hts_engine/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST hts_engine_API-1.10.tar.gz 169852 BLAKE2B 884d627a05f5c1b271b361fd9fb9b9ac051c1b9404fd09deafda34a6cadce95a63e84c6b8bbd385e6f1bfb357022db70f092376b60d8cb967506e2f1d532f0d0 SHA512 fa43bc0a013bfae1392cc5c1195901aae7de50f1866f06d6ec060af5a5740eb2715632561a117d04c98f2863da32fffff05bcaf76ba6ac70e5649ce94dad544b
|
||||
19
dev-libs/hts_engine/hts_engine-1.10.ebuild
Normal file
19
dev-libs/hts_engine/hts_engine-1.10.ebuild
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="HMM-based speech synthesis system (HTS) engine and API"
|
||||
HOMEPAGE="http://hts-engine.sourceforge.net/"
|
||||
SRC_URI="http://downloads.sourceforge.net/hts-engine/hts_engine_API-${PV}.tar.gz"
|
||||
S="${WORKDIR}/hts_engine_API-${PV}"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="speech-tools"
|
||||
|
||||
DEPENDS="speech-tools? ( app-accessibility/speech-tools )"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable speech-tools festival)
|
||||
}
|
||||
11
dev-libs/hts_engine/metadata.xml
Normal file
11
dev-libs/hts_engine/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>contact@hacktivis.me</email>
|
||||
<name>Haelwenn (lanodan) Monnier</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="speech-tools">use memory allocation/free functions of <pkg>app-accessibility/speech-tools</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
10
dev-util/go-deblob/Manifest
Normal file
10
dev-util/go-deblob/Manifest
Normal file
@@ -0,0 +1,10 @@
|
||||
DIST git.sr.ht%2F~sircmpwn%2Fgetopt%2F@v%2Fv0.0.0-20190808004552-daaf1274538b.mod 78 BLAKE2B 01c5d4bbdb9ddf4d3e7435a993e873bde3241c4136c6988358dce0d2ec79a4850dadd8e13ea99e35996c3082a54b9a13409f2a85f7a2ba118f9c20e074d797f3 SHA512 c521cf971e4d6882a73b0596d1ab31ad59292672b263a1554ce9e32a57e3c1ecafa8e758b8c9b4efef31a875b74e147cb84f59b0479de2d85184b8d9252a9fbd
|
||||
DIST git.sr.ht%2F~sircmpwn%2Fgetopt%2F@v%2Fv0.0.0-20190808004552-daaf1274538b.zip 15118 BLAKE2B 57c55c5eab998bfa60ee82dbb17668186b0235ce1a6f2b2ff27e92b33a9b0592d31aa9fa767b6d6ecabcaecbe309680fcf2b0c717422629d409356fcb78a1cde SHA512 5d05c9eb7b235155e33a1cac0b422f48727df06e96e08b03a507a04fcb376b090e713d2dbe8603804520cddd4b1a02f26691c1ebb49ae34294e834a1afaf3a1d
|
||||
DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
|
||||
DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.zip 60546 BLAKE2B e775860f49c6ee09a6c48902d38fdf5d2d77af4cd405d8d303902170e46493301d4aa873a48b4d12a16d92dafaa65290de1fd3a42545025fbfc82f15a3881e8d SHA512 53dc5484f488ae1f8d0eb672c3431bbf9fce33dfcee83dda7929103e3650559cf703f601716984a640422f01cc640860dba0b47e16aef04d0d2452a266fefbf9
|
||||
DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.mod 37 BLAKE2B 94636062c94f8ff68cdcab7593a3acae7b9ffff616cad7b1d5c9cd147a4a1042d33666cbeed6fd816d6793113abfb595183097dcc46de7a3dfadc1423ed43e79 SHA512 c3d5c48cdb8ba6af7071a07cfede06e0ab67e3726d9de592a952fad40167dcbdd9621dc2c4df1bd3c28eb99d70b1b6d8d812441237c35bf492e5b7f07bd33902
|
||||
DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.zip 12433 BLAKE2B 0c911c9d173080abd8edbbab1f47222343801d8eeae36b4add24773e3282fc2a39283fdf519a3d4483e39cdb7d9509b8570d151f46841ac1a616f312dc4cb0ba SHA512 3b85697185ba85cdef6202444ab6cabeabfad8a03d66b3839a852586b1f91ddae7897a57c8c138d5647022aa44906c7ef3c5339d520f90eeea0742a935da8cf2
|
||||
DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.0.mod 32 BLAKE2B d698910da1ef00a70a1673b8c74105de195020ccd95d1e70c5dd1e1615210886ff9acbc9cfd03f46e99f5223b60b04695b8d362b9e0edd4e485480f802bd229a SHA512 4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5
|
||||
DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.3.0.mod 154 BLAKE2B 60cd7801e7cd33746305cd636b048b25a86270ec3b29a21c3c078c7e95b769bce7e80c2c7c5474113786bd788c7f88f3719e34f02141038e0d161b36e32f39b9 SHA512 bb808fad059f5abd0171e4bdc724411eff2c7e8d303a4ffb3608a00e21bb3cfafe9e83b4b4e9bccd42c9a4331f67ddc6043e3dd5eaa9a122c86626eed43a8383
|
||||
DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.3.0.zip 83537 BLAKE2B 6d6de57cc5e393aaef1cdc7e2140143eb7fa324bb2ea3b9f63bfe1e8652c02d24eb441fc3b435c6b287f165c5540a008a7c21ab4070d8bc77c77e6fb608f7e46 SHA512 c5cd06f825bbfdcf2ae58ea21edbeea03c110de3fc20fcf69db07aae26c9ae67a8ac57a9ffedec9b3b4f1f3b016089935049d75d92a9a03e45ce6345b4c9c611
|
||||
DIST go-deblob-1.0.0.tar.gz 5781 BLAKE2B d4d3822cbb9267bf9c8b8c82259f8160e7e65d9537e3c5eaecbbcffa22fc28f48a3ea98eaf6d30ce6290fe82b6b9cf0b3dbff386a2559fb21fcff8a4454bc6cc SHA512 8352e667ef3fa29ded0f073e783ff66fea32e3cc77e5fba4b4b5135434db38fbdfe8b48b0a7c4c98a3ed854f5a655366816cd825262a43a912ba155709af83ed
|
||||
39
dev-util/go-deblob/go-deblob-1.0.0.ebuild
Normal file
39
dev-util/go-deblob/go-deblob-1.0.0.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGO_PN="hacktivis.me/git/go-deblob"
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="remove binary blobs from a directory"
|
||||
HOMEPAGE="https://hacktivis.me/git/go-deblob/"
|
||||
# BSD: hacktivis.me/git/go-deblob, git.sr.ht/~sircmpwn/getopt, github.com/pmezard/go-difflib
|
||||
# ISC: github.com/davecgh/go-spew
|
||||
# MIT: github.com/stretchr/objx, github.com/stretchr/testify
|
||||
LICENSE="BSD ISC MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
EGO_SUM=(
|
||||
"git.sr.ht/~sircmpwn/getopt v0.0.0-20190808004552-daaf1274538b h1:da5JBQ6dcW14aWnEf/pFRIMV2PsqTQEWmR+V2sw5oxU="
|
||||
"git.sr.ht/~sircmpwn/getopt v0.0.0-20190808004552-daaf1274538b/go.mod h1:wMEGFFFNuPos7vHmWXfszqImLppbc0wEhh6JBfJIUgw="
|
||||
"github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8="
|
||||
"github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38="
|
||||
"github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM="
|
||||
"github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4="
|
||||
"github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME="
|
||||
"github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q="
|
||||
"github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI="
|
||||
)
|
||||
|
||||
go-module_set_globals
|
||||
|
||||
SRC_URI="https://hacktivis.me/releases/${P}.tar.gz
|
||||
${EGO_SUM_SRC_URI}"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="/usr" install
|
||||
einstalldocs
|
||||
}
|
||||
8
dev-util/go-deblob/metadata.xml
Normal file
8
dev-util/go-deblob/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>contact@hacktivis.me</email>
|
||||
<name>Haelwenn (lanodan) Monnier</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -33,8 +33,7 @@ src_compile() {
|
||||
src_install() {
|
||||
java-pkg_newjar "${DISTDIR}/${P}.jar" ${P}.jar
|
||||
|
||||
exeinto /usr/bin/
|
||||
doexe "${FILESDIR}/${PN}"
|
||||
dobin "${FILESDIR}/${PN}"
|
||||
|
||||
newicon -s 256x256 ${PN}-0.png atlauncher.png
|
||||
newicon -s 128x128 ${PN}-1.png atlauncher.png
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
@@ -38,7 +38,7 @@ src_prepare() {
|
||||
sed -i '/INSTALL(TARGETS "${GAME_UNIXNAME}" /s/"${CMAKE_INSTALL_PREFIX}/\0\/bin/' \
|
||||
CMakeLists.txt || die "Failed fixing executable target"
|
||||
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@@ -47,5 +47,5 @@ src_configure() {
|
||||
-DCMAKE_INSTALL_PREFIX="/usr"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
|
||||
|
||||
1
net-misc/tinyssh/Manifest
Normal file
1
net-misc/tinyssh/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST tinyssh-20190101.tar.gz 244848 BLAKE2B a115bca82db020970a1cd8dd27f65f0d586f291fdcbcd786802babaa82befddd39ec8651dd4d6ebc3503e8c4e5903a335a6b14dc2957bae5519e4a7dee6fd495 SHA512 bf3829a71c29e8b0d5c2a145be9dfaf05efb1b98932f34f19f76e07871da4be10022bdde4c57ca49557b69931077b451bc2efbeab38d8ef24151fb73990f1012
|
||||
8
net-misc/tinyssh/files/tinyssh-makekey.service
Normal file
8
net-misc/tinyssh/files/tinyssh-makekey.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=TinySSH Key Generation
|
||||
ConditionPathIsDirectory=!/etc/tinyssh/keys
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/tinysshd-makekey /etc/tinyssh/keys
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
7
net-misc/tinyssh/files/tinyssh.confd
Normal file
7
net-misc/tinyssh/files/tinyssh.confd
Normal file
@@ -0,0 +1,7 @@
|
||||
# TinySSH config file for /etc/init.d/tinyssh
|
||||
|
||||
#TINYSSH_PORT="22"
|
||||
#TINYSSH_IP="0.0.0.0"
|
||||
#TINYSSH_CONFDIR="/etc/tinyssh"
|
||||
#TINYSSH_KEYDIR="${TINYSSH_CONFDIR}/keys"
|
||||
#TINYSSH_OPTS="-l -v"
|
||||
30
net-misc/tinyssh/files/tinyssh.initd
Normal file
30
net-misc/tinyssh/files/tinyssh.initd
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
TINYSSH_CONFDIR="${TINYSSH_CONFDIR:-/etc/tinyssh}"
|
||||
TINYSSH_KEYDIR="${TINYSSH_KEYDIR:-${TINYSSH_CONFDIR}/keys}"
|
||||
|
||||
TINYSSHD="/usr/sbin/tinysshd"
|
||||
MAKEKEY="${TINYSSHD}-makekey"
|
||||
PRINTKEY="/usr/bin/tinysshd-printkey"
|
||||
|
||||
command="/usr/bin/tcpserver"
|
||||
command_args="-HRDl0 ${TINYSSH_IP:-0.0.0.0} ${TINYSSH_PORT:-22}
|
||||
${TINYSSHD} ${TINYSSH_OPTS:--l -v} ${TINYSSH_KEYDIR}"
|
||||
command_background=yes
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
start_stop_daemon_args="${SSD_OPTS}"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
if [ "${RC_CMD}" != "restart" ]; then
|
||||
checkpath -d "${TINYSSH_CONFDIR}"
|
||||
if ! ${PRINTKEY} "${TINYSSH_KEYDIR}" >/dev/null 2>&1; then
|
||||
${MAKEKEY} "${TINYSSH_KEYDIR}" || return 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
9
net-misc/tinyssh/files/tinyssh.service
Normal file
9
net-misc/tinyssh/files/tinyssh.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=TinySSH Per-Connection Daemon
|
||||
Documentation=https://tinyssh.org
|
||||
After=tinyssh-makekey.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/tinysshd /etc/tinyssh/keys
|
||||
StandardInput=socket
|
||||
StandardError=journal
|
||||
13
net-misc/tinyssh/files/tinyssh.socket
Normal file
13
net-misc/tinyssh/files/tinyssh.socket
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=TinySSH service (socket-activated)
|
||||
Documentation=https://tinyssh.org
|
||||
Wants=tinyssh-makekey.service
|
||||
|
||||
[Socket]
|
||||
ListenStream=%i
|
||||
Accept=true
|
||||
KeepAlive=true
|
||||
IPTOS=low-delay
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
19
net-misc/tinyssh/metadata.xml
Normal file
19
net-misc/tinyssh/metadata.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>contact@hacktivis.me</email>
|
||||
<name>Haelwenn (lanodan) Monnier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">janmojzis/tinyssh</remote-id>
|
||||
<bugs-to>https://github.com/janmojzis/tinyssh/issues</bugs-to>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
TinySSH is a minimalistic and secure SSH server which
|
||||
implements only a subset of SSHv2 features.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for cryptography</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
65
net-misc/tinyssh/tinyssh-20190101.ebuild
Normal file
65
net-misc/tinyssh/tinyssh-20190101.ebuild
Normal file
@@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="A small SSH server with state-of-the-art cryptography"
|
||||
HOMEPAGE="https://tinyssh.org"
|
||||
SRC_URI="https://github.com/janmojzis/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="+sodium"
|
||||
|
||||
DEPEND="
|
||||
sodium? ( dev-libs/libsodium )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-apps/ucspi-tcp
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Leave optimization level to user CFLAGS
|
||||
sed -i 's/-Os -fomit-frame-pointer -funroll-loops//g' ./conf-cc || die
|
||||
|
||||
# Use make-tinysshcc.sh script, which has no tests and doesn't execute
|
||||
# binaries. See https://github.com/janmojzis/tinyssh/issues/2
|
||||
sed -i 's/tinyssh/tinysshcc/g' ./Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use sodium
|
||||
then
|
||||
emake \
|
||||
LIBS="-lsodium" \
|
||||
CFLAGS="$CFLAGS -I/usr/include/sodium" \
|
||||
LDFLAGS="-L/usr/lib"
|
||||
else
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin build/bin/tinysshd{,-makekey}
|
||||
dobin build/bin/tinysshd-printkey
|
||||
doman man/*
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service" "${PN}@.service"
|
||||
systemd_newunit "${FILESDIR}/${PN}.socket" "${PN}@.socket"
|
||||
systemd_dounit "${FILESDIR}/${PN}-makekey.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "TinySSH is in beta stage, and ready for production use."
|
||||
einfo "See https://tinyssh.org for more information."
|
||||
}
|
||||
@@ -94,8 +94,6 @@ LICENSE="
|
||||
magnetic? ( public-domain )
|
||||
"
|
||||
|
||||
RESTRICT="primaryuri"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/boost-1.65.0
|
||||
"
|
||||
@@ -118,9 +116,6 @@ src_prepare() {
|
||||
# sed -i "s|CXXFLAGS = -g -Wall -Wextra -O3 -std=c++0x||" tools/Makefile.mk || die
|
||||
# sed -i "s|CXXFLAGS = -g -Wall -Wextra -O3 -std=c++0x||" src/Makefile.mk || die
|
||||
|
||||
default
|
||||
|
||||
# FATAL: cmake_src_prepare has not been run
|
||||
cmake_src_prepare
|
||||
|
||||
if use python; then
|
||||
@@ -138,7 +133,7 @@ src_configure() {
|
||||
use precision_quad && precision="4"
|
||||
use precision_single && precision="1"
|
||||
|
||||
export GEODATAPATH="/usr/share/GeographicLib"
|
||||
export GEODATAPATH="/usr/share/${P}"
|
||||
|
||||
local mycmakeargs=(
|
||||
-DGEOGRAPHICLIB_DOCUMENTATION=$(usex doc ON OFF)
|
||||
@@ -146,31 +141,29 @@ src_configure() {
|
||||
-DUSE_BOOST_FOR_EXAMPLES=$(usex boost ON OFF)
|
||||
-DGEOGRAPHICLIB_PRECISION="${precision}"
|
||||
-DGEOGRAPHICLIB_DATA="${GEODATAPATH}"
|
||||
-DCMAKE_INSTALL_PREFIX="/usr"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use python; then
|
||||
cd "python" || die
|
||||
python_foreach_impl distutils-r1_python_compile
|
||||
cd ".." || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Only 1 failing test in the C code, python passes for me
|
||||
cmake_src_test
|
||||
|
||||
if use python; then
|
||||
cd "python" || die
|
||||
python_foreach_impl python_test
|
||||
cd ".." || die
|
||||
fi
|
||||
|
||||
# Only 1 failing test in the C code, python passes for me
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -181,13 +174,18 @@ src_install() {
|
||||
insinto "${GEODATAPATH}/magnetic"
|
||||
use magnetic && doins -r "${WORKDIR}"/magnetic/.
|
||||
|
||||
cmake_src_install
|
||||
|
||||
if use python; then
|
||||
cd "python" || die
|
||||
distutils-r1_python_install_all
|
||||
python_foreach_impl distutils-r1_python_install
|
||||
cd ".."
|
||||
fi
|
||||
# Access denied, make file needs patching
|
||||
# to correctly install in ${D}
|
||||
default
|
||||
|
||||
#TODO: find out if java stuff need something
|
||||
|
||||
rm -rf "${D}/usr/$(get_libdir)/python" || die
|
||||
|
||||
use doc && mkdir -p "${D}/usr/share/${P}" || die
|
||||
use doc && mv "${D}/usr/share/doc/${MY_PN}" "${D}/usr/share/${P}/doc" || die
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<use>
|
||||
<flag name="boost">Boost library is searched for in order to build the NearestNeighbor example</flag>
|
||||
<flag name="gravity">Install the gravity models</flag>
|
||||
<flag name="geoids">Install the geoids datasets</flag>
|
||||
<flag name="geoids">Install the geoid datasets</flag>
|
||||
<flag name="magnetic">Install the magnetic field models</flag>
|
||||
<flag name="geoids_dataset_egm84-30">http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 30' grid</flag>
|
||||
<flag name="geoids_dataset_egm84-15">http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 15' grid</flag>
|
||||
|
||||
@@ -32,35 +32,4 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/1.20.0-CMakeLists.patch )
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
dolib.so "${BUILD_DIR}"/src/activation/base/libAusweisAppActivation.so
|
||||
dolib.so "${BUILD_DIR}"/src/activation/customscheme/libAusweisAppActivationCustomScheme.so
|
||||
dolib.so "${BUILD_DIR}"/src/activation/intent/libAusweisAppActivationIntent.so
|
||||
dolib.so "${BUILD_DIR}"/src/activation/internal/libAusweisAppActivationInternal.so
|
||||
dolib.so "${BUILD_DIR}"/src/activation/webservice/libAusweisAppActivationWebservice.so
|
||||
dolib.so "${BUILD_DIR}"/src/card/base/libAusweisAppCard.so
|
||||
dolib.so "${BUILD_DIR}"/src/card/drivers/libAusweisAppCardDrivers.so
|
||||
dolib.so "${BUILD_DIR}"/src/card/pcsc/libAusweisAppCardPcsc.so
|
||||
dolib.so "${BUILD_DIR}"/src/configuration/libAusweisAppConfiguration.so
|
||||
dolib.so "${BUILD_DIR}"/src/core/libAusweisAppCore.so
|
||||
dolib.so "${BUILD_DIR}"/src/export/libAusweisAppExport.so
|
||||
dolib.so "${BUILD_DIR}"/src/file_provider/libAusweisAppFileProvider.so
|
||||
dolib.so "${BUILD_DIR}"/src/global/libAusweisAppGlobal.so
|
||||
dolib.so "${BUILD_DIR}"/src/init/libAusweisAppInit.so
|
||||
dolib.so "${BUILD_DIR}"/src/network/libAusweisAppNetwork.so
|
||||
dolib.so "${BUILD_DIR}"/src/remote_device/libAusweisAppRemoteDevice.so
|
||||
dolib.so "${BUILD_DIR}"/src/secure_storage/libAusweisAppSecureStorage.so
|
||||
dolib.so "${BUILD_DIR}"/src/services/libAusweisAppServices.so
|
||||
dolib.so "${BUILD_DIR}"/src/settings/libAusweisAppSettings.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/aidl/libAusweisAppUiAidl.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/base/libAusweisAppUi.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/common/libAusweisAppUiCommon.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/json/libAusweisAppUiJson.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/qml/libAusweisAppUiQml.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/websocket/libAusweisAppUiWebsocket.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/widget/libAusweisAppUiWidget.so
|
||||
dolib.so "${BUILD_DIR}"/src/whitelist_client/libAusweisAppWhitelistClient.so
|
||||
}
|
||||
PATCHES=( "${FILESDIR}"/1.20.0-fix-Install.cmake.patch )
|
||||
|
||||
@@ -32,40 +32,4 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/1.20.0-CMakeLists.patch )
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
dolib.so "${BUILD_DIR}"/src/activation/base/libAusweisAppActivation.so
|
||||
dolib.so "${BUILD_DIR}"/src/activation/customscheme/libAusweisAppActivationCustomScheme.so
|
||||
dolib.so "${BUILD_DIR}"/src/activation/intent/libAusweisAppActivationIntent.so
|
||||
dolib.so "${BUILD_DIR}"/src/activation/internal/libAusweisAppActivationInternal.so
|
||||
dolib.so "${BUILD_DIR}"/src/activation/webservice/libAusweisAppActivationWebservice.so
|
||||
dolib.so "${BUILD_DIR}"/src/card/base/libAusweisAppCard.so
|
||||
dolib.so "${BUILD_DIR}"/src/card/drivers/libAusweisAppCardDrivers.so
|
||||
dolib.so "${BUILD_DIR}"/src/card/pcsc/libAusweisAppCardPcsc.so
|
||||
dolib.so "${BUILD_DIR}"/src/configuration/libAusweisAppConfiguration.so
|
||||
dolib.so "${BUILD_DIR}"/src/core/libAusweisAppCore.so
|
||||
dolib.so "${BUILD_DIR}"/src/export/libAusweisAppExport.so
|
||||
dolib.so "${BUILD_DIR}"/src/file_provider/libAusweisAppFileProvider.so
|
||||
dolib.so "${BUILD_DIR}"/src/global/libAusweisAppGlobal.so
|
||||
dolib.so "${BUILD_DIR}"/src/init/libAusweisAppInit.so
|
||||
dolib.so "${BUILD_DIR}"/src/network/libAusweisAppNetwork.so
|
||||
dolib.so "${BUILD_DIR}"/src/remote_device/libAusweisAppRemoteDevice.so
|
||||
dolib.so "${BUILD_DIR}"/src/secure_storage/libAusweisAppSecureStorage.so
|
||||
dolib.so "${BUILD_DIR}"/src/services/libAusweisAppServices.so
|
||||
dolib.so "${BUILD_DIR}"/src/settings/libAusweisAppSettings.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/aidl/libAusweisAppUiAidl.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/base/libAusweisAppUi.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/common/libAusweisAppUiCommon.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/json/libAusweisAppUiJson.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/qml/libAusweisAppUiQml.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/websocket/libAusweisAppUiWebsocket.so
|
||||
dolib.so "${BUILD_DIR}"/src/ui/widget/libAusweisAppUiWidget.so
|
||||
dolib.so "${BUILD_DIR}"/src/whitelist_client/libAusweisAppWhitelistClient.so
|
||||
}
|
||||
PATCHES=( "${FILESDIR}"/1.20.0-fix-Install.cmake.patch )
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index e958954..ae85daa 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -57,6 +57,7 @@ IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND (IOS OR ANDROID))
|
||||
ENDIF()
|
||||
SET(CMAKE_DIR "${PROJECT_SOURCE_DIR}/cmake")
|
||||
SET(CMAKE_MODULE_PATH "${CMAKE_DIR}")
|
||||
+SET(CMAKE_SKIP_RPATH YES CACHE BOOL "Remove RUNPATH from ELF dynamic sections" FORCE)
|
||||
OPTION(BUILD_SHARED_LIBS "Enable build of shared libraries")
|
||||
OPTION(INTEGRATED_SDK "Build platform specific SDK" OFF)
|
||||
|
||||
18
sys-auth/AusweisApp2/files/1.20.0-fix-Install.cmake.patch
Normal file
18
sys-auth/AusweisApp2/files/1.20.0-fix-Install.cmake.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
diff --git a/cmake/Install.cmake b/cmake/Install.cmake
|
||||
index a13e029..1fa852d 100644
|
||||
--- a/cmake/Install.cmake
|
||||
+++ b/cmake/Install.cmake
|
||||
@@ -274,6 +274,13 @@ ELSEIF(UNIX)
|
||||
SET(DEFAULT_FILE_DESTINATION ${CMAKE_INSTALL_DATADIR}/${VENDOR}/AusweisApp2)
|
||||
SET(TRANSLATION_DESTINATION ${DEFAULT_FILE_DESTINATION}/${TRANSLATION_DESTINATION})
|
||||
INSTALL(TARGETS AusweisApp DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Application)
|
||||
+ INSTALL(TARGETS AusweisAppActivation AusweisAppActivationCustomScheme AusweisAppActivationIntent
|
||||
+ AusweisAppActivationInternal AusweisAppActivationWebservice AusweisAppCard AusweisAppCardDrivers
|
||||
+ AusweisAppCardPcsc AusweisAppConfiguration AusweisAppCore AusweisAppExport AusweisAppFileProvider
|
||||
+ AusweisAppGlobal AusweisAppInit AusweisAppNetwork AusweisAppRemoteDevice AusweisAppSecureStorage
|
||||
+ AusweisAppServices AusweisAppSettings AusweisAppUi AusweisAppUiAidl AusweisAppUiCommon
|
||||
+ AusweisAppUiJson AusweisAppUiQml AusweisAppUiWebsocket AusweisAppUiWidget AusweisAppWhitelistClient
|
||||
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} OPTIONAL)
|
||||
CONFIGURE_FILE(${PACKAGING_DIR}/linux/${BUNDLE_IDENTIFIER}.metainfo.xml.in ${CMAKE_CURRENT_BINARY_DIR}/${BUNDLE_IDENTIFIER}.metainfo.xml @ONLY)
|
||||
CONFIGURE_FILE(${PACKAGING_DIR}/linux/${BUNDLE_IDENTIFIER}.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/${BUNDLE_IDENTIFIER}.desktop @ONLY)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${BUNDLE_IDENTIFIER}.metainfo.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo COMPONENT Application)
|
||||
@@ -1,2 +1 @@
|
||||
DIST badwolf-0.4.0.tar.gz 13646 BLAKE2B 1269fc361eb9c3ae45379e019b808e67f6e915f8f7fc00c757d939f15c02ccdb08083ba64c6ebfc97d7337293d4125a35337c0e8d908a3e3704cd2029d24212e SHA512 572e1c18223ded5989da9c47e42c9dcbf66903e38b672e33b098cc3f84965d9da8e0a8b71e5ec88f17879c8d2f931d9625ca26a9c5ae81cc925d62fbf2abd4f1
|
||||
DIST badwolf-0.5.1.tar.gz 20992 BLAKE2B f1c31ba3f1b485adcc134a1e14e7eac1bd7ec2c3c3a48b09e245cfec4adacceeba5a9f477fd74ce85e5e8453fa660779248e1d6987281f850cb35b652aaa98f3 SHA512 75cd50bba4aaa458341b3ce0a6f70b4432e7a708901a19780457661b5275a15ad275a8b53f00b482be1e9a3eaa2565b39d9bbd40f5e6ec2551ae7fc1c7840ed2
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit xdg
|
||||
|
||||
if [[ "${PV}" == "9999" ]]
|
||||
then
|
||||
EGIT_REPO_URI="https://hacktivis.me/git/badwolf.git"
|
||||
EGIT_MIN_CLONE_TYPE="single+tags"
|
||||
inherit git-r3
|
||||
else
|
||||
MY_P="${PN}-$(ver_rs 3 - 4 .)"
|
||||
SRC_URI="https://hacktivis.me/releases/${MY_P}.tar.gz"
|
||||
# no ~ppc because of it being dropped in net-libs/webkit-gtk-2.26::gentoo
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
inherit savedconfig
|
||||
fi
|
||||
|
||||
DESCRIPTION="Minimalist and privacy-oriented WebKitGTK+ browser"
|
||||
HOMEPAGE="https://hacktivis.me/projects/badwolf"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=("README.md" "KnowledgeBase.md")
|
||||
|
||||
DEPEND="
|
||||
x11-libs/gtk+:3
|
||||
>=net-libs/webkit-gtk-2.26.0:4=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
restore_config config.h
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="${CC:-cc}" \
|
||||
CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
PREFIX="/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX="/usr" \
|
||||
install
|
||||
|
||||
save_config config.h
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user