diff --git a/app-accessibility/mimic1/Manifest b/app-accessibility/mimic1/Manifest
new file mode 100644
index 0000000000..ce3f81e219
--- /dev/null
+++ b/app-accessibility/mimic1/Manifest
@@ -0,0 +1 @@
+DIST mimic1-1.2.0.2.tar.gz 457566646 BLAKE2B ce2e0b0e88141383f31b0caf611c323d8c94a7f3fdbfc05a765e6e6cd77297db9e53415cc81847eb45d809c3d85fe8e9b75432ef6bc31e0c0a4eca7b336a3d17 SHA512 9fec604e694b0cc7aba545bd5d3ab02c73660d472667192093ca60f3fec1425ae86067a051e552797703be868ceaf30dbc6c289383946f78086174ad647cae6e
diff --git a/app-accessibility/mimic1/metadata.xml b/app-accessibility/mimic1/metadata.xml
new file mode 100644
index 0000000000..c698af2344
--- /dev/null
+++ b/app-accessibility/mimic1/metadata.xml
@@ -0,0 +1,8 @@
+
+
+
+
+ contact@hacktivis.me
+ Haelwenn (lanodan) Monnier
+
+
diff --git a/app-accessibility/mimic1/mimic1-1.2.0.2.ebuild b/app-accessibility/mimic1/mimic1-1.2.0.2.ebuild
new file mode 100644
index 0000000000..5d07fcc4f9
--- /dev/null
+++ b/app-accessibility/mimic1/mimic1-1.2.0.2.ebuild
@@ -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
+}
diff --git a/app-accessibility/mimic1/mimic1-9999.ebuild b/app-accessibility/mimic1/mimic1-9999.ebuild
new file mode 100644
index 0000000000..5d07fcc4f9
--- /dev/null
+++ b/app-accessibility/mimic1/mimic1-9999.ebuild
@@ -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
+}
diff --git a/dev-games/surgescript/surgescript-0.5.4.ebuild b/dev-games/surgescript/surgescript-0.5.4.ebuild
index 2df1bdd4fc..983d3d5dcd 100644
--- a/dev-games/surgescript/surgescript-0.5.4.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.4.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils
+inherit cmake
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
diff --git a/dev-games/surgescript/surgescript-9999.ebuild b/dev-games/surgescript/surgescript-9999.ebuild
index 2df1bdd4fc..983d3d5dcd 100644
--- a/dev-games/surgescript/surgescript-9999.ebuild
+++ b/dev-games/surgescript/surgescript-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils
+inherit cmake
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
diff --git a/dev-libs/hts_engine/Manifest b/dev-libs/hts_engine/Manifest
new file mode 100644
index 0000000000..8121bdc9d4
--- /dev/null
+++ b/dev-libs/hts_engine/Manifest
@@ -0,0 +1 @@
+DIST hts_engine_API-1.10.tar.gz 169852 BLAKE2B 884d627a05f5c1b271b361fd9fb9b9ac051c1b9404fd09deafda34a6cadce95a63e84c6b8bbd385e6f1bfb357022db70f092376b60d8cb967506e2f1d532f0d0 SHA512 fa43bc0a013bfae1392cc5c1195901aae7de50f1866f06d6ec060af5a5740eb2715632561a117d04c98f2863da32fffff05bcaf76ba6ac70e5649ce94dad544b
diff --git a/dev-libs/hts_engine/hts_engine-1.10.ebuild b/dev-libs/hts_engine/hts_engine-1.10.ebuild
new file mode 100644
index 0000000000..0d8338d8d7
--- /dev/null
+++ b/dev-libs/hts_engine/hts_engine-1.10.ebuild
@@ -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)
+}
diff --git a/dev-libs/hts_engine/metadata.xml b/dev-libs/hts_engine/metadata.xml
new file mode 100644
index 0000000000..67b43cc836
--- /dev/null
+++ b/dev-libs/hts_engine/metadata.xml
@@ -0,0 +1,11 @@
+
+
+
+
+ contact@hacktivis.me
+ Haelwenn (lanodan) Monnier
+
+
+
diff --git a/dev-util/go-deblob/Manifest b/dev-util/go-deblob/Manifest
new file mode 100644
index 0000000000..b260428f0a
--- /dev/null
+++ b/dev-util/go-deblob/Manifest
@@ -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
diff --git a/dev-util/go-deblob/go-deblob-1.0.0.ebuild b/dev-util/go-deblob/go-deblob-1.0.0.ebuild
new file mode 100644
index 0000000000..86c8c13812
--- /dev/null
+++ b/dev-util/go-deblob/go-deblob-1.0.0.ebuild
@@ -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
+}
diff --git a/dev-util/go-deblob/metadata.xml b/dev-util/go-deblob/metadata.xml
new file mode 100644
index 0000000000..c698af2344
--- /dev/null
+++ b/dev-util/go-deblob/metadata.xml
@@ -0,0 +1,8 @@
+
+
+
+
+ contact@hacktivis.me
+ Haelwenn (lanodan) Monnier
+
+
diff --git a/games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild b/games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild
index d0948f2c79..c8c1763c06 100644
--- a/games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild
+++ b/games-action/ATLauncher/ATLauncher-3.3.4.2.ebuild
@@ -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
diff --git a/games-arcade/opensurge/opensurge-0.5.0_p1.ebuild b/games-arcade/opensurge/opensurge-0.5.0_p1.ebuild
index 8105565c67..071f9fa768 100644
--- a/games-arcade/opensurge/opensurge-0.5.0_p1.ebuild
+++ b/games-arcade/opensurge/opensurge-0.5.0_p1.ebuild
@@ -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
}
diff --git a/games-arcade/opensurge/opensurge-9999.ebuild b/games-arcade/opensurge/opensurge-9999.ebuild
index da9d29642c..e56fc30706 100644
--- a/games-arcade/opensurge/opensurge-9999.ebuild
+++ b/games-arcade/opensurge/opensurge-9999.ebuild
@@ -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/_/-}"
diff --git a/net-misc/tinyssh/Manifest b/net-misc/tinyssh/Manifest
new file mode 100644
index 0000000000..b697c8266d
--- /dev/null
+++ b/net-misc/tinyssh/Manifest
@@ -0,0 +1 @@
+DIST tinyssh-20190101.tar.gz 244848 BLAKE2B a115bca82db020970a1cd8dd27f65f0d586f291fdcbcd786802babaa82befddd39ec8651dd4d6ebc3503e8c4e5903a335a6b14dc2957bae5519e4a7dee6fd495 SHA512 bf3829a71c29e8b0d5c2a145be9dfaf05efb1b98932f34f19f76e07871da4be10022bdde4c57ca49557b69931077b451bc2efbeab38d8ef24151fb73990f1012
diff --git a/net-misc/tinyssh/files/tinyssh-makekey.service b/net-misc/tinyssh/files/tinyssh-makekey.service
new file mode 100644
index 0000000000..841a516ce3
--- /dev/null
+++ b/net-misc/tinyssh/files/tinyssh-makekey.service
@@ -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
diff --git a/net-misc/tinyssh/files/tinyssh.confd b/net-misc/tinyssh/files/tinyssh.confd
new file mode 100644
index 0000000000..d1aefde2be
--- /dev/null
+++ b/net-misc/tinyssh/files/tinyssh.confd
@@ -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"
diff --git a/net-misc/tinyssh/files/tinyssh.initd b/net-misc/tinyssh/files/tinyssh.initd
new file mode 100644
index 0000000000..2fc28e5f7f
--- /dev/null
+++ b/net-misc/tinyssh/files/tinyssh.initd
@@ -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
+}
diff --git a/net-misc/tinyssh/files/tinyssh.service b/net-misc/tinyssh/files/tinyssh.service
new file mode 100644
index 0000000000..f0fe93be77
--- /dev/null
+++ b/net-misc/tinyssh/files/tinyssh.service
@@ -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
diff --git a/net-misc/tinyssh/files/tinyssh.socket b/net-misc/tinyssh/files/tinyssh.socket
new file mode 100644
index 0000000000..9ca2b16b3f
--- /dev/null
+++ b/net-misc/tinyssh/files/tinyssh.socket
@@ -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
diff --git a/net-misc/tinyssh/metadata.xml b/net-misc/tinyssh/metadata.xml
new file mode 100644
index 0000000000..bf058f0aa1
--- /dev/null
+++ b/net-misc/tinyssh/metadata.xml
@@ -0,0 +1,19 @@
+
+
+
+
+ contact@hacktivis.me
+ Haelwenn (lanodan) Monnier
+
+
+ janmojzis/tinyssh
+ https://github.com/janmojzis/tinyssh/issues
+
+
+ TinySSH is a minimalistic and secure SSH server which
+ implements only a subset of SSHv2 features.
+
+
+
diff --git a/net-misc/tinyssh/tinyssh-20190101.ebuild b/net-misc/tinyssh/tinyssh-20190101.ebuild
new file mode 100644
index 0000000000..1ad54dd705
--- /dev/null
+++ b/net-misc/tinyssh/tinyssh-20190101.ebuild
@@ -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."
+}
diff --git a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
index a880de3b76..7f8a351c58 100644
--- a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
+++ b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
@@ -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
}
diff --git a/sci-geosciences/geographiclib/metadata.xml b/sci-geosciences/geographiclib/metadata.xml
index 589c87f8df..26876219d7 100644
--- a/sci-geosciences/geographiclib/metadata.xml
+++ b/sci-geosciences/geographiclib/metadata.xml
@@ -12,7 +12,7 @@