Compare commits
No commits in common. "533b94dbb1b8e37a7b1dc919cbc7095595d57958" and "1364128abe5f66e5b8527f030dc44bc056057487" have entirely different histories.
533b94dbb1
...
1364128abe
@ -8,4 +8,7 @@
|
||||
<upstream>
|
||||
<remote-id type="github">poljar/matrix-nio</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="e2e">Enable end to end encryption support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
5
eclass/oom-score-adj.eclass
Normal file
5
eclass/oom-score-adj.eclass
Normal file
@ -0,0 +1,5 @@
|
||||
# Needed only by IceCat and Firefox
|
||||
|
||||
oom_score_adj_allow_write() {
|
||||
addpredict /proc/self/oom_score_adj
|
||||
}
|
8
licenses/e_wise-mit-like
Normal file
8
licenses/e_wise-mit-like
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
Copyright (c) YEAR by AUTHOR -- All Rights Reserved
|
||||
|
||||
CONTACT INFORMATION GOES HERE
|
||||
|
||||
Freely distributable, freely usable.
|
||||
The original copyright notice may not be modified or omitted.
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST matrix-commander-0.0.0_pre20210806.tar.gz 735964 BLAKE2B f3f4c495823767778db99b65bb5aa88f45ea4009004b0c3825bd476a3a1d5c9e569aa18dfcc3408614357fbd2ba6931ec91fbea9f2efba488d83f812ba857d6a SHA512 0d32a3315978c6c373df5e1a7660516cd2c12ce9802f007a2299c99891b628b23159dbe511159aa5631d3b3717851230bd97eab12050f59a7735431246d55d54
|
||||
DIST matrix-commander-3.0.1.gh.tar.gz 1772532 BLAKE2B 27e4f6ece7c66d8b89a4793019c5fba405e67b5df707807a12cb796f08f58d71ceecd32eb60620c403e8c72bc4e3b1f9e6cfd5a43aa3af643746e5d70204234c SHA512 c68c053dfd52eaf8e1ee13c14a805992021d5cf9c00403aefafd03cb8fac8d2fbc43684671765038088acb34a0d08c316adece9ed05b90f7935d49933d0d637a
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_9 )
|
||||
inherit bash-completion-r1 optfeature python-single-r1
|
||||
|
||||
COMMIT="7ab3fd9a0ef4eb19d882cb3701d2025b4d41b63a"
|
||||
|
||||
DESCRIPTION="A simple but convenient CLI-based Matrix client app for sending and receiving"
|
||||
HOMEPAGE="https://github.com/8go/matrix-commander"
|
||||
SRC_URI="https://github.com/8go/matrix-commander/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/aiofiles-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/matrix-nio-0.14.1[e2e,${PYTHON_USEDEP}]
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
src_install() {
|
||||
python_newscript matrix-commander.py "${PN}"
|
||||
newbashcomp auto-completion/bash/matrix-commander.bash "${PN}"
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "notification support" dev-python/notify2
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pantalaimon-0.10.2.tar.gz 2494924 BLAKE2B fecb33571c159d71d62477f662bf146651f496f6d28aa13a197e9b2076acc4ec2b9c89586c6bbc8fee586cd31b74086fb8dd14bf417853b35c4d3941a01f2d40 SHA512 27d887959a74469967174140f1a511a152ebe2813186cd3e8136fcc91d0726a4c0fdf46427d5bcee8401567ff88468143139b0bdc1f27a389b6fb85cf28b317b
|
||||
DIST pantalaimon-0.10.4.tar.gz 2495386 BLAKE2B edb8c38412448b8a37c9554efe577ca7519262d030f320a090c3d4ca23c197eabccb0253c9d5154776ce263a053f7a585ffed773b53e2a8555a588e1ce4b6483 SHA512 59b3fd27d653a5dedebb9354245e7cb1864792b523cf45696035a327a5946d6ce43a5c97bef301093897265f390dca05e9b68927d8c816de494a83301b05e9bd
|
||||
|
33
net-im/pantalaimon/files/pantalaimon-0.10.2-no-panctl.patch
Normal file
33
net-im/pantalaimon/files/pantalaimon-0.10.2-no-panctl.patch
Normal file
@ -0,0 +1,33 @@
|
||||
Do not install panctl
|
||||
|
||||
---
|
||||
MANIFEST.in | 1 -
|
||||
setup.py | 3 +--
|
||||
2 files changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/MANIFEST.in b/MANIFEST.in
|
||||
index 86e8433..ee8bc73 100644
|
||||
--- a/MANIFEST.in
|
||||
+++ b/MANIFEST.in
|
||||
@@ -1,4 +1,3 @@
|
||||
include contrib/pantalaimon.service
|
||||
include doc/man/pantalaimon.8
|
||||
include doc/man/pantalaimon.5
|
||||
-include doc/man/panctl.1
|
||||
diff --git a/setup.py b/setup.py
|
||||
index b13317a..e06de1a 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -40,8 +40,7 @@ setup(
|
||||
]
|
||||
},
|
||||
entry_points={
|
||||
- "console_scripts": ["pantalaimon=pantalaimon.main:main",
|
||||
- "panctl=pantalaimon.panctl:main"],
|
||||
+ "console_scripts": ["pantalaimon=pantalaimon.main:main"],
|
||||
},
|
||||
zip_safe=False
|
||||
)
|
||||
--
|
||||
2.31.1
|
||||
|
@ -7,6 +7,11 @@
|
||||
</maintainer>
|
||||
<longdescription>Pantalaimon is an end-to-end encryption aware Matrix reverse proxy daemon that handles the encryption. Messages are transparently encrypted and decrypted for clients inside of pantalaimon.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="dbus">Support additional features that require dbus</flag>
|
||||
<flag name="panctl">Install a CLI utility to control pantalaimon</flag>
|
||||
<flag name="systemd">Install systemd .service script</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">matrix-org/pantalaimon</remote-id>
|
||||
</upstream>
|
||||
|
80
net-im/pantalaimon/pantalaimon-0.10.2.ebuild
Normal file
80
net-im/pantalaimon/pantalaimon-0.10.2.ebuild
Normal file
@ -0,0 +1,80 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_9 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Matrix proxy daemon that adds E2E encryption capabilities"
|
||||
HOMEPAGE="https://github.com/matrix-org/pantalaimon"
|
||||
SRC_URI="https://github.com/matrix-org/pantalaimon/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="dbus panctl systemd"
|
||||
RESTRICT="mirror"
|
||||
DOCS=( "README.md" "docs/man/pantalaimon.5.md" "docs/man/pantalaimon.8.md" )
|
||||
REQUIRED_USE="panctl? ( dbus )"
|
||||
|
||||
BDEPEND=""
|
||||
RDEPEND="
|
||||
>=dev-python/attrs-19.3.0
|
||||
>=dev-python/aiohttp-3.6
|
||||
>=dev-python/appdirs-1.4.4
|
||||
>=dev-python/click-7.1.2
|
||||
>=dev-python/keyring-21.2.1
|
||||
>=dev-python/logbook-1.5.3
|
||||
>=dev-python/peewee-3.13.1
|
||||
>=dev-python/cachetools-3.0.0
|
||||
>dev-python/prompt_toolkit-2
|
||||
>=dev-python/janus-0.5
|
||||
>=dev-python/matrix-nio-0.18[e2e]
|
||||
dbus? (
|
||||
>=dev-python/dbus-python-1.2
|
||||
>=dev-python/pygobject-3.36
|
||||
>=dev-python/pydbus-0.6
|
||||
>=dev-python/notify2-0.3
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# I don't think we should install something a priori non-functioning
|
||||
|
||||
if ! use panctl ; then
|
||||
rm docs/man/panctl.1
|
||||
rm docs/man/panctl.md
|
||||
rm pantalaimon/panctl.py
|
||||
eapply "${FILESDIR}/${PN}"-0.10.2-no-panctl.patch
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
# todo: Why exactly is compilation disabled by upstream?
|
||||
|
||||
src_install() {
|
||||
# Remove some warnings
|
||||
ln -s docs doc
|
||||
# This should probably be addressed by upstream
|
||||
|
||||
distutils-r1_src_install
|
||||
doman docs/man/pantalaimon.{5,8}
|
||||
if use panctl ; then
|
||||
doman docs/man/panctl.1
|
||||
dodoc docs/man/panctl.md
|
||||
fi
|
||||
|
||||
# issue: contrib config could be much better
|
||||
sed -i -e 's/^/# /' contrib/pantalaimon.conf
|
||||
insinto /etc
|
||||
doins contrib/pantalaimon.conf
|
||||
|
||||
if use systemd; then
|
||||
insinto /usr/lib/systemd/user
|
||||
doins contrib/pantalaimon.service
|
||||
fi
|
||||
|
||||
}
|
@ -1 +1 @@
|
||||
DIST mdk4-4ba85e4c94a79b634b63d26e64a977e568551367.tar.gz 176087 BLAKE2B 70ff263ed89a52ea60e699fd9ca9d734704dba8bbe56f8e237caa76162081f2432197a8b9db3b5bb1a4061fa2a87b17b79db505a880d545cf00be5c76754e665 SHA512 c79c13b24e6e3f0db619fe151c022612a592931bc84704701b155c8dad41df6ca59ab8fb883a6e9fdeaba6e09ef387df506849507ffde37c80b8a101ed44ecab
|
||||
DIST mdk4-4.1.tar.gz 271042 BLAKE2B afa8baf4aa74966f7406884d0c8bb73986e85126ec03f8c1918ed365c64ea7be858af377a7b4b81792ef77fdcff073c23bfc11fe03abe864d8c83df9f6c7630f SHA512 b1472458ca02bf94f8717ac70b631f994c38cb67012fc38df0b6859778790b220447e6c1b3f15558e8f203da06ffa83bd36e5f037cb704e893c3fcf329022adc
|
||||
|
50
net-wireless/mdk4/mdk4-4.1.ebuild
Normal file
50
net-wireless/mdk4/mdk4-4.1.ebuild
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Proof-of-concept tool to exploit common IEEE 802.11 protocol weaknesses."
|
||||
HOMEPAGE="https://github.com/aircrack-ng/mdk4"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/aircrack-ng/mdk4.git"
|
||||
else
|
||||
SRC_URI="https://github.com/aircrack-ng/mdk4/archive/"${PV}".tar.gz -> "${P}".tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libnl:3
|
||||
net-libs/libpcap
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( ""${FILESDIR}"/include_stdlib.patch" )
|
||||
# https://github.com/aircrack-ng/mdk4/commit/a70d75cff34ba24231e75bcef7f8075eb4e7b0a3
|
||||
|
||||
src_configure() {
|
||||
filter-flags -fno-common
|
||||
append-flags -fcommon
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# The install phase is a tad bit too funky, so doing by hand
|
||||
dosbin src/mdk4
|
||||
doman man/mdk4.1
|
||||
|
||||
insinto /usr/share/"${PN}"
|
||||
doins -r useful_files
|
||||
|
||||
HTML_DOCS="docs"
|
||||
einstalldocs
|
||||
|
||||
dodoc AUTHORS CHANGELOG TODO
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
@ -12,10 +12,7 @@ if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/aircrack-ng/mdk4.git"
|
||||
else
|
||||
# Use a newer commits for build fixed + man page correction
|
||||
COMMIT="4ba85e4c94a79b634b63d26e64a977e568551367" # 2.2.2022
|
||||
SRC_URI="https://github.com/aircrack-ng/mdk4/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
SRC_URI="https://github.com/aircrack-ng/mdk4/archive/"${PV}".tar.gz -> "${P}".tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
@ -29,20 +26,22 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# dont clean dir in all
|
||||
sed -i 's/all: clean/all:/' Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/aircrack-ng/mdk4/blob/4.2/src/Makefile#L4
|
||||
filter-flags -fno-common
|
||||
append-flags -fcommon
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
./test || die
|
||||
src_install() {
|
||||
# The install phase is a tad bit too funky, so doing by hand
|
||||
dosbin src/mdk4
|
||||
doman man/mdk4.1
|
||||
|
||||
insinto /usr/share/"${PN}"
|
||||
doins -r useful_files
|
||||
|
||||
HTML_DOCS="docs"
|
||||
einstalldocs
|
||||
|
||||
dodoc AUTHORS CHANGELOG TODO
|
||||
}
|
Loading…
Reference in New Issue
Block a user