forked from calculate/calculate-overlay
Compare commits
312 Commits
@ -1,9 +0,0 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="Group for www-apps/jackett-bin"
|
||||
ACCT_GROUP_ID=-1
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,9 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="Group for net-p2p/opentracker"
|
||||
ACCT_GROUP_ID=-1
|
@ -1,9 +0,0 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="Group for net-p2p/torrserver-bin"
|
||||
ACCT_GROUP_ID=-1
|
@ -1,13 +0,0 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="User for www-apps/jackett-bin"
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( jackett )
|
||||
ACCT_USER_HOME="/var/lib/jackett"
|
||||
|
||||
acct-user_add_deps
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,13 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="User for net-p2p/opentracker"
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( opentracker )
|
||||
ACCT_USER_HOME="/var/lib/opentracker"
|
||||
|
||||
acct-user_add_deps
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,13 +0,0 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="User for net-p2p/torrserver-bin"
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( torrserver )
|
||||
ACCT_USER_HOME="/var/lib/torrserver"
|
||||
|
||||
acct-user_add_deps
|
@ -1,2 +1 @@
|
||||
DIST geoclue-2.6.0.tar.bz2 94890 BLAKE2B d579752482e77e6ec6df3cb34f6b1c7ca61ea425f1c29195f1bcd031afe22644aed2f5b3f75e82c20e0e3cf0d415ca858b30351b2ee3835fff0ca25e63fc6395 SHA512 13205ab88cbd9748c155081318ae1909fddedce4250e3ece39a9f379b8cfea91dfe571961e278406ba54f8efd3a1070967479feb8256f50170112b28246b3103
|
||||
DIST geoclue-2.7.0.tar.bz2 105353 BLAKE2B b9bcf29bcdb5302d3df29f48ec235265582ec60badc4f71469faa0d100f860f943529c6a74aadec4b03cbc1474f5eab837b1b9b19ba5c7e0ab0fb6c868db727a SHA512 2314242f529b9011ee5da6e8cfc657568853769e4d38b8e7c604097a747dd5705d9f84dcd2763cdacb9f014e15b63fbb8356d6cb488ba91334cda87c11e4ee7d
|
||||
DIST geoclue-2.7.1.tar.bz2 106458 BLAKE2B a2fc44d4941936d8dcd495d77d11b0d948d7031ca048b97ff0940c7fcdd37ba604655f2e255c5e0dd5cc7a82a2d5a15b18aab4825b2446560e225c13df6da3b8 SHA512 972663a6f8c969d0e1a5f911af2b8afed486d5c0ba06dadc19bcfbe1ea22cef10243b2bd0084e5c45b70977cfa5650c8f15f760e4bc4e7dbd946745b67c9188b
|
||||
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# NOTE: This is a version of `app-misc/geoclue-2.6.0::gentoo` allowed to install in Calculate
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit meson python-any-r1 systemd vala xdg
|
||||
|
||||
DESCRIPTION="A location information D-Bus service"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home"
|
||||
SRC_URI="https://gitlab.freedesktop.org/geoclue/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1+ GPL-2+"
|
||||
SLOT="2.0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
IUSE="+introspection gtk-doc modemmanager vala zeroconf"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.44:2
|
||||
>=dev-libs/json-glib-0.14.0
|
||||
>=net-libs/libsoup-2.42.0:2.4
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
|
||||
modemmanager? ( >=net-misc/modemmanager-1.6 )
|
||||
zeroconf? ( >=net-dns/avahi-0.6.10[dbus] )
|
||||
x11-libs/libnotify
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
acct-user/geoclue
|
||||
sys-apps/dbus
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
gtk-doc? (
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-util/gtk-doc-1 )
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use vala && vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dlibgeoclue=true
|
||||
$(meson_use introspection)
|
||||
$(meson_use vala vapi)
|
||||
$(meson_use gtk-doc)
|
||||
$(meson_use modemmanager 3g-source)
|
||||
$(meson_use modemmanager cdma-source)
|
||||
$(meson_use modemmanager modem-gps-source)
|
||||
$(meson_use zeroconf nmea-source)
|
||||
-Dcompass=true
|
||||
-Denable-backend=true
|
||||
-Ddemo-agent=true
|
||||
-Dsystemd-system-unit-dir="$(systemd_get_systemunitdir)"
|
||||
-Ddbus-srv-user=geoclue
|
||||
|
||||
-Dmozilla-api-key=f57afde7-113f-4e8f-96d1-62be64a0273c
|
||||
)
|
||||
|
||||
# NOTE: Removed a check here
|
||||
|
||||
meson_src_configure
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST mnemosyne-2.9.tar.gz 16301782 BLAKE2B 4f0045f047e8b0550bb47d4c1abb89df40225b3d1b244c15dca21c8802b6b7345e3fae0224d6dcd2d7426ef50a0c66688a2c90af4cbc52775de3d4064bb5ddf1 SHA512 f1f36cba38e30de7d15f2761999357db07bd2a3231788398d5633a3b8f2efed8b5bb27b3ce0335ff468eb1bde4928e2b3e34aa312e449c8610b202a487ef8b83
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
<longdescription lang="en">Efficient learning tool with powerful digital flash-cards.</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">mnemosyne-proj/mnemosyne</remote-id>
|
||||
<changelog>https://github.com/mnemosyne-proj/mnemosyne/blob/master/ChangeLog</changelog>
|
||||
<bugs-to>https://github.com/mnemosyne-proj/mnemosyne/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Efficient learning tool with powerful digital flash-cards"
|
||||
HOMEPAGE="https://mnemosyne-proj.org/"
|
||||
|
||||
SRC_URI="https://github.com/mnemosyne-proj/mnemosyne/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
|
||||
|
||||
LICENSE="AGPL-3+ LGPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="latex"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/PyQt5-5.6[gui,widgets,${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/argon2-cffi[${PYTHON_USEDEP}]
|
||||
>=dev-python/cheroot-5.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pyopengl[${PYTHON_USEDEP}]
|
||||
>=dev-python/PyQtWebEngine-5.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.4.0[${PYTHON_USEDEP}]
|
||||
latex? (
|
||||
app-text/dvipng
|
||||
virtual/latex-base
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx mnemosyne/libmnemosyne/docs
|
||||
distutils_enable_tests nose
|
||||
|
||||
python_compile() {
|
||||
emake -C mnemosyne/pyqt_ui
|
||||
$(cd mnemosyne/pyqt_ui && \
|
||||
pyrcc5 -o mnemosyne_rc.py mnemosyne.qrc || die "pyrcc5 failed")
|
||||
emake -C po update && emake -C po
|
||||
esetup.py build "${@}"
|
||||
|
||||
distutils_pep517_install "${BUILD_DIR}/install"
|
||||
}
|
||||
|
||||
python_test() {
|
||||
emake -C po ../mo/de/LC_MESSAGES/mnemosyne.mo
|
||||
${EPYTHON} -m nose -v --exe tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "The text-to-speech support would be disabled since gTTS is absent in Gentoo."
|
||||
elog ""
|
||||
elog "The Google translate support would be disabled since google_trans is absent in Gentoo."
|
||||
elog ""
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST wgetpaste-2.33.tar.xz 16408 BLAKE2B 78baebf4edb6e6340a73127099366d306359d02c0c1eab137822c56669da0609a5479940b4fb2accbc79978df091dcd34415876618e64aa556d1584f74773736 SHA512 9bf1f379316da372b4f69296b54f9a266dcf9fdaa2a8718165a2029571f4c2c0166304ffebeb2ec4657ea6f49087793f40d9da383f5da052bce0543c90ea13ab
|
||||
DIST wgetpaste-2.34.tar.xz 16640 BLAKE2B 6bc71d74945b88774f866a8c1bb693d52b3d5d680a04e45ec29acfb6dd9d9de16433ed9d675db1d63705dac356e44c89d7af0e7b18a71089778bfa92833d95d3 SHA512 9f334299d0314e821d989c785aaae9e8e9c0e4972ced9330039f7e2ca1867528a2d4f090dd754ec72e8a9d7005d8f5154266cd0769627b1023d1199893cf4f8c
|
||||
|
@ -0,0 +1,39 @@
|
||||
From 9614658e6a31bf1b318972008fd9fd1301e9d92f Mon Sep 17 00:00:00 2001
|
||||
From: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
|
||||
Date: Sun, 13 Aug 2023 14:32:34 -0500
|
||||
Subject: [PATCH 2/3] Add -A/--ansi
|
||||
|
||||
Don't strip ANSI codes.
|
||||
---
|
||||
See also: https://github.com/zlin/wgetpaste/pull/46
|
||||
- Oskari
|
||||
|
||||
wgetpaste | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/wgetpaste b/wgetpaste
|
||||
index 5f4152d..1e3ae35 100755
|
||||
--- a/wgetpaste
|
||||
+++ b/wgetpaste
|
||||
@@ -556,6 +556,8 @@ Options:
|
||||
-X, --xpaste write resulting url to the X primary selection buffer (requires x11-misc/xclip)
|
||||
-C, --xclippaste write resulting url to the X clipboard selection buffer (requires x11-misc/xclip)
|
||||
-N, --no-ansi strip ANSI codes such as colors before pasting (requires app-text/ansifilter)
|
||||
+ -A, --ansi don't strip ANSI codes
|
||||
+ (useful for undoing NOANSI specified in a config file)
|
||||
|
||||
-r, --raw show url for the raw paste (no syntax highlighting or html)
|
||||
-t, --tee use tee to show what is being pasted
|
||||
@@ -789,6 +791,9 @@ while [[ -n $1 ]]; do
|
||||
-- )
|
||||
shift && getfilenames "$@" && break
|
||||
;;
|
||||
+ -A | --ansi )
|
||||
+ NOANSI=
|
||||
+ ;;
|
||||
-c | --command )
|
||||
requiredarg "$@"
|
||||
SOURCE="command"
|
||||
--
|
||||
2.41.0
|
||||
|
@ -0,0 +1,61 @@
|
||||
From fa0bd6dd8b7bc21b292e4f94eaa4fbf71d5240f1 Mon Sep 17 00:00:00 2001
|
||||
From: Richard-Rogalski <rrogalski@tutanota.com>
|
||||
Date: Mon, 6 Nov 2023 14:00:02 -0600
|
||||
Subject: [PATCH] Added --quiet flag
|
||||
|
||||
Signed-off-by: Richard Rogalski <rrogalski@firemail.cc>
|
||||
Closes: #19
|
||||
---
|
||||
See also: https://github.com/zlin/wgetpaste/pull/51
|
||||
- Oskari
|
||||
|
||||
_wgetpaste | 1 +
|
||||
wgetpaste | 6 +++++-
|
||||
2 files changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/_wgetpaste b/_wgetpaste
|
||||
index c4703e5..63696ad 100644
|
||||
--- a/_wgetpaste
|
||||
+++ b/_wgetpaste
|
||||
@@ -50,6 +50,7 @@ _arguments -s : \
|
||||
'(--xclippaste -C)'{--xclippaste,-C}'[write resulting url to the X clipboard selection buffer]' \
|
||||
'(--raw -r)'{--raw,-r}'[show url for the raw paste]' \
|
||||
'(--tee -t)'{--tee,-t}'[use tee to show what is being pasted]' \
|
||||
+ '(--quiet -q)'{--quiet,-q}'[show the url only]' \
|
||||
'(--verbose -v)'{--verbose,-v}'[show wget stderr output if no url is received]' \
|
||||
'--debug[be very verbose]' \
|
||||
'(--help -h)'{--help,-h}'[show help and exit]' \
|
||||
diff --git a/wgetpaste b/wgetpaste
|
||||
index 1e3ae35..e38f9e5 100755
|
||||
--- a/wgetpaste
|
||||
+++ b/wgetpaste
|
||||
@@ -561,6 +561,7 @@ Options:
|
||||
|
||||
-r, --raw show url for the raw paste (no syntax highlighting or html)
|
||||
-t, --tee use tee to show what is being pasted
|
||||
+ -q, --quiet show the url only
|
||||
-v, --verbose show wget stderr output if no url is received
|
||||
--completions emit output suitable for shell completions (only affects --list-*)
|
||||
--debug be *very* verbose (implies -v)
|
||||
@@ -659,7 +660,7 @@ showexpirations() {
|
||||
}
|
||||
|
||||
showurl() {
|
||||
- echo -n "Your ${2}paste can be seen here: " >&2
|
||||
+ [[ $QUIET ]] || echo -n "Your ${2}paste can be seen here: " >&2
|
||||
echo "$1"
|
||||
[[ $XPASTE ]] && x_paste "$1" primary
|
||||
[[ $XCLIPPASTE ]] && x_paste "$1" clipboard
|
||||
@@ -841,6 +842,9 @@ while [[ -n $1 ]]; do
|
||||
-N | --no-ansi )
|
||||
NOANSI=0
|
||||
;;
|
||||
+ -q | --quiet)
|
||||
+ QUIET=0
|
||||
+ ;;
|
||||
-r | --raw )
|
||||
RAW=0
|
||||
;;
|
||||
--
|
||||
2.41.0
|
||||
|
@ -0,0 +1,95 @@
|
||||
From cfe7dcd8a0e40b8c18556aad0b657f431c90505a Mon Sep 17 00:00:00 2001
|
||||
From: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
|
||||
Date: Sun, 13 Aug 2023 14:25:35 -0500
|
||||
Subject: [PATCH 1/3] Change arg parsing priority
|
||||
|
||||
Read config files before parsing CLI args. Allows all options to be set
|
||||
via config and overridden on the CLI.
|
||||
---
|
||||
See also: https://github.com/zlin/wgetpaste/pull/46
|
||||
- Oskari
|
||||
|
||||
wgetpaste | 53 ++++++++++++++++++++++++++++-------------------------
|
||||
1 file changed, 28 insertions(+), 25 deletions(-)
|
||||
|
||||
diff --git a/wgetpaste b/wgetpaste
|
||||
index fc0b559..5f4152d 100755
|
||||
--- a/wgetpaste
|
||||
+++ b/wgetpaste
|
||||
@@ -720,7 +720,32 @@ geturl() {
|
||||
fi | tail -n1
|
||||
}
|
||||
|
||||
-### read cli options
|
||||
+# read the config files
|
||||
+load_configs() {
|
||||
+ if [[ ! $IGNORECONFIGS ]]; then
|
||||
+ # compatibility code
|
||||
+ local f deprecated=
|
||||
+ for f in {/etc/,~/.}wgetpaste{.d/*.bash,}; do
|
||||
+ if [[ -f $f ]]; then
|
||||
+ if [[ -z $deprecated ]]; then
|
||||
+ echo "The config files for wgetpaste have changed to *.conf.$N" >&2
|
||||
+ deprecated=0
|
||||
+ fi
|
||||
+ echo "Please move ${f} to ${f%.bash}.conf" >&2
|
||||
+ source "$f" || die "Failed to source $f"
|
||||
+ fi
|
||||
+ done
|
||||
+ [[ -n $deprecated ]] && echo >&2
|
||||
+ # new locations override old ones in case they collide
|
||||
+ for f in {/etc/,~/.}wgetpaste{.d/*,}.conf; do
|
||||
+ if [[ -f $f ]]; then
|
||||
+ source "$f" || die "Failed to source $f"
|
||||
+ fi
|
||||
+ done
|
||||
+ fi
|
||||
+}
|
||||
+
|
||||
+### get runtime options
|
||||
|
||||
# separate groups of short options. replace --foo=bar with --foo bar
|
||||
while [[ -n $1 ]]; do
|
||||
@@ -756,6 +781,8 @@ done
|
||||
# set the separated options as input options.
|
||||
set -- "${ARGS[@]}"
|
||||
|
||||
+load_configs
|
||||
+
|
||||
while [[ -n $1 ]]; do
|
||||
((args=1))
|
||||
case "$1" in
|
||||
@@ -859,30 +886,6 @@ if [[ $NOANSI ]]; then
|
||||
fi
|
||||
|
||||
### defaults
|
||||
-load_configs() {
|
||||
- if [[ ! $IGNORECONFIGS ]]; then
|
||||
- # compatibility code
|
||||
- local f deprecated=
|
||||
- for f in {/etc/,~/.}wgetpaste{.d/*.bash,}; do
|
||||
- if [[ -f $f ]]; then
|
||||
- if [[ -z $deprecated ]]; then
|
||||
- echo "The config files for wgetpaste have changed to *.conf.$N" >&2
|
||||
- deprecated=0
|
||||
- fi
|
||||
- echo "Please move ${f} to ${f%.bash}.conf" >&2
|
||||
- source "$f" || die "Failed to source $f"
|
||||
- fi
|
||||
- done
|
||||
- [[ -n $deprecated ]] && echo >&2
|
||||
- # new locations override old ones in case they collide
|
||||
- for f in {/etc/,~/.}wgetpaste{.d/*,}.conf; do
|
||||
- if [[ -f $f ]]; then
|
||||
- source "$f" || die "Failed to source $f"
|
||||
- fi
|
||||
- done
|
||||
- fi
|
||||
-}
|
||||
-load_configs
|
||||
[[ $SERVICESET ]] && verifyservice "$SERVICESET" && SERVICE=$(escape "$SERVICESET")
|
||||
DEFAULT_NICK=${DEFAULT_NICK:-$(whoami)} || die "whoami failed"
|
||||
DEFAULT_SERVICE=${DEFAULT_SERVICE:-bpaste}
|
||||
--
|
||||
2.41.0
|
||||
|
@ -0,0 +1,171 @@
|
||||
From a1c0782e828bc5f0fc8b79d0131f1847c5e7b359 Mon Sep 17 00:00:00 2001
|
||||
From: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
|
||||
Date: Sun, 13 Aug 2023 14:52:20 -0500
|
||||
Subject: [PATCH 3/3] test_ansi: add -A to the tests
|
||||
|
||||
---
|
||||
See also: https://github.com/zlin/wgetpaste/pull/46
|
||||
- Oskari
|
||||
|
||||
test/test_ansi.sh | 92 +++++++++++++++++++++++++++++++++++++++++------
|
||||
1 file changed, 81 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/test/test_ansi.sh b/test/test_ansi.sh
|
||||
index 23b27a8..e1e95f0 100755
|
||||
--- a/test/test_ansi.sh
|
||||
+++ b/test/test_ansi.sh
|
||||
@@ -94,8 +94,8 @@ fi
|
||||
|
||||
# Paste stuff. Use a short timeout between requests (we're friendly after all!)
|
||||
sleep 1
|
||||
-echo -n "Pasting command output (cat): "
|
||||
-ERROR_LOG="$DL_DIR/command-error.log"
|
||||
+echo -n "Pasting command output with ANSI stripping (cat): "
|
||||
+ERROR_LOG="$DL_DIR/command-noansi-error.log"
|
||||
URL="$("$TEST_DIR"/../wgetpaste -N -r -s "$WORKING" -v -c "cat $ANSI_FILE" 2>"$ERROR_LOG")"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "FAILED!"
|
||||
@@ -104,7 +104,7 @@ else
|
||||
echo "SUCCESS!"
|
||||
|
||||
echo -n "Downloading: "
|
||||
- if ! (wget -q "$URL" -O "$DL_DIR/command.txt" 2>>"$ERROR_LOG"); then
|
||||
+ if ! (wget -q "$URL" -O "$DL_DIR/command-noansi.txt" 2>>"$ERROR_LOG"); then
|
||||
echo "FAILED!"
|
||||
FAILED_PASTE=$((FAILED_PASTE + 1))
|
||||
else
|
||||
@@ -112,13 +112,35 @@ else
|
||||
rm "$ERROR_LOG"
|
||||
|
||||
echo "Removing 'command run' header"
|
||||
- sed -i -e '1d' "$DL_DIR/command.txt"
|
||||
+ sed -i -e '1d' "$DL_DIR/command-noansi.txt"
|
||||
+ fi
|
||||
+fi
|
||||
+sleep 1
|
||||
+echo -n "Pasting command output without ANSI stripping (cat): "
|
||||
+ERROR_LOG="$DL_DIR/command-ansi-error.log"
|
||||
+URL="$("$TEST_DIR"/../wgetpaste -A -r -s "$WORKING" -v -c "cat $ANSI_FILE" 2>"$ERROR_LOG")"
|
||||
+if [ $? -ne 0 ]; then
|
||||
+ echo "FAILED!"
|
||||
+ FAILED_PASTE=$((FAILED_PASTE + 1))
|
||||
+else
|
||||
+ echo "SUCCESS!"
|
||||
+
|
||||
+ echo -n "Downloading: "
|
||||
+ if ! (wget -q "$URL" -O "$DL_DIR/command-ansi.txt" 2>>"$ERROR_LOG"); then
|
||||
+ echo "FAILED!"
|
||||
+ FAILED_PASTE=$((FAILED_PASTE + 1))
|
||||
+ else
|
||||
+ echo "SUCCESS"
|
||||
+ rm "$ERROR_LOG"
|
||||
+
|
||||
+ echo "Removing 'command run' header"
|
||||
+ sed -i -e '1d' "$DL_DIR/command-ansi.txt"
|
||||
fi
|
||||
fi
|
||||
|
||||
sleep 1
|
||||
-echo -n "Pasting stdin (cat | wgetpaste): "
|
||||
-ERROR_LOG="$DL_DIR/stdin-error.log"
|
||||
+echo -n "Pasting stdin with ANSI stripping (cat | wgetpaste): "
|
||||
+ERROR_LOG="$DL_DIR/stdin-noansi-error.log"
|
||||
URL="$(cat "$ANSI_FILE" | "$TEST_DIR"/../wgetpaste -N -r -s "$WORKING" -v 2>"$ERROR_LOG")"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "FAILED!"
|
||||
@@ -127,7 +149,26 @@ else
|
||||
echo "SUCCESS!"
|
||||
|
||||
echo -n "Downloading: "
|
||||
- if ! (wget -q "$URL" -O "$DL_DIR/stdin.txt" 2>>"$ERROR_LOG"); then
|
||||
+ if ! (wget -q "$URL" -O "$DL_DIR/stdin-noansi.txt" 2>>"$ERROR_LOG"); then
|
||||
+ echo "FAILED!"
|
||||
+ FAILED_PASTE=$((FAILED_PASTE + 1))
|
||||
+ else
|
||||
+ echo "SUCCESS!"
|
||||
+ rm "$ERROR_LOG"
|
||||
+ fi
|
||||
+fi
|
||||
+sleep 1
|
||||
+echo -n "Pasting stdin without ANSI stripping (cat | wgetpaste): "
|
||||
+ERROR_LOG="$DL_DIR/stdin-ansi-error.log"
|
||||
+URL="$(cat "$ANSI_FILE" | "$TEST_DIR"/../wgetpaste -A -r -s "$WORKING" -v 2>"$ERROR_LOG")"
|
||||
+if [ $? -ne 0 ]; then
|
||||
+ echo "FAILED!"
|
||||
+ FAILED_PASTE=$((FAILED_PASTE + 1))
|
||||
+else
|
||||
+ echo "SUCCESS!"
|
||||
+
|
||||
+ echo -n "Downloading: "
|
||||
+ if ! (wget -q "$URL" -O "$DL_DIR/stdin-ansi.txt" 2>>"$ERROR_LOG"); then
|
||||
echo "FAILED!"
|
||||
FAILED_PASTE=$((FAILED_PASTE + 1))
|
||||
else
|
||||
@@ -137,8 +178,8 @@ else
|
||||
fi
|
||||
|
||||
sleep 1
|
||||
-echo -n "Pasting a file: "
|
||||
-ERROR_LOG="$DL_DIR/file-error.log"
|
||||
+echo -n "Pasting a file with ANSI stripping: "
|
||||
+ERROR_LOG="$DL_DIR/file-noansi-error.log"
|
||||
URL="$("$TEST_DIR"/../wgetpaste -N -r -s "$WORKING" -v "$ANSI_FILE" 2>"$ERROR_LOG")"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "FAILED!"
|
||||
@@ -147,7 +188,26 @@ else
|
||||
echo "SUCCESS!"
|
||||
|
||||
echo -n "Downloading: "
|
||||
- if ! (wget -q "$URL" -O "$DL_DIR/file.txt" 2>>"$ERROR_LOG"); then
|
||||
+ if ! (wget -q "$URL" -O "$DL_DIR/file-noansi.txt" 2>>"$ERROR_LOG"); then
|
||||
+ echo "FAILED!"
|
||||
+ FAILED_PASTE=$((FAILED_PASTE + 1))
|
||||
+ else
|
||||
+ echo "SUCCESS!"
|
||||
+ rm "$ERROR_LOG"
|
||||
+ fi
|
||||
+fi
|
||||
+sleep 1
|
||||
+echo -n "Pasting a file without ANSI stripping: "
|
||||
+ERROR_LOG="$DL_DIR/file-ansi-error.log"
|
||||
+URL="$("$TEST_DIR"/../wgetpaste -A -r -s "$WORKING" -v "$ANSI_FILE" 2>"$ERROR_LOG")"
|
||||
+if [ $? -ne 0 ]; then
|
||||
+ echo "FAILED!"
|
||||
+ FAILED_PASTE=$((FAILED_PASTE + 1))
|
||||
+else
|
||||
+ echo "SUCCESS!"
|
||||
+
|
||||
+ echo -n "Downloading: "
|
||||
+ if ! (wget -q "$URL" -O "$DL_DIR/file-ansi.txt" 2>>"$ERROR_LOG"); then
|
||||
echo "FAILED!"
|
||||
FAILED_PASTE=$((FAILED_PASTE + 1))
|
||||
else
|
||||
@@ -157,7 +217,7 @@ else
|
||||
fi
|
||||
|
||||
# Compare downloaded files
|
||||
-for dl_file in "$DL_DIR"/*.txt; do
|
||||
+for dl_file in "$DL_DIR"/*-noansi.txt; do
|
||||
echo -n "Testing file $dl_file: "
|
||||
# Ignore missing trailing newline and extra empty lines in downloaded file
|
||||
if (diff -q -Z -B "$NOANSI_FILE" "$dl_file" &>/dev/null); then
|
||||
@@ -167,6 +227,16 @@ for dl_file in "$DL_DIR"/*.txt; do
|
||||
DL_MISMATCH=$((DL_MISMATCH + 1))
|
||||
fi
|
||||
done
|
||||
+for dl_file in "$DL_DIR"/*-ansi.txt; do
|
||||
+ echo -n "Testing file $dl_file: "
|
||||
+ # Ignore missing trailing newline and extra empty lines in downloaded file
|
||||
+ if (diff -q -Z -B "$ANSI_FILE" "$dl_file" &>/dev/null); then
|
||||
+ echo "SUCCESS!"
|
||||
+ else
|
||||
+ echo "FAILED!"
|
||||
+ DL_MISMATCH=$((DL_MISMATCH + 1))
|
||||
+ fi
|
||||
+done
|
||||
|
||||
echo "Total failed pastes: $FAILED_PASTE"
|
||||
echo "Total mismatches: $DL_MISMATCH"
|
||||
--
|
||||
2.41.0
|
||||
|
@ -1,12 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Command-line interface to various pastebins
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">zlin/wgetpaste</remote-id>
|
||||
<bugs-to>https://github.com/zlin/wgetpaste/issues</bugs-to>
|
||||
<changelog>https://github.com/zlin/wgetpaste/releases</changelog>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTE: This is a version of `app-text/wgetpaste-2.33-r5::gentoo` with additional services
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature
|
||||
|
||||
DESCRIPTION="Command-line interface to various pastebins"
|
||||
HOMEPAGE="https://github.com/zlin/wgetpaste"
|
||||
SRC_URI="https://github.com/zlin/wgetpaste/releases/download/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="+ssl"
|
||||
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="net-misc/wget[ssl?]"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.33-tests.patch
|
||||
"${FILESDIR}"/${PN}-2.33-disable-sprunge.patch
|
||||
"${FILESDIR}"/${PN}-2.33-add-paste-gentoo-zip.patch
|
||||
"${FILESDIR}"/${PN}-2.33-change-arg-parsing-priority.patch
|
||||
"${FILESDIR}"/${PN}-2.33-add-A-ansi.patch
|
||||
"${FILESDIR}"/${PN}-2.33-test_ansi-add-A-to-the-tests.patch
|
||||
"${FILESDIR}"/${PN}-2.33-added-quiet-flag.patch
|
||||
"${FILESDIR}"/${PN}-2.33-add-paste-calculate.patch
|
||||
"${FILESDIR}"/${PN}-2.33-add-paste-orgru.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e "s:/etc:\"${EPREFIX}\"/etc:g" wgetpaste || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
test/test.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _wgetpaste
|
||||
insinto /etc/wgetpaste.d
|
||||
newins "${FILESDIR}"/wgetpaste-config-services services.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "ANSI (color code) stripping support" app-text/ansifilter
|
||||
optfeature "xclip support" x11-misc/xclip
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTE: This is a version of `app-text/wgetpaste-2.34::gentoo` with additional services
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature
|
||||
|
||||
DESCRIPTION="Command-line interface to various pastebins"
|
||||
HOMEPAGE="https://github.com/zlin/wgetpaste"
|
||||
SRC_URI="https://github.com/zlin/wgetpaste/releases/download/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="+ssl"
|
||||
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="net-misc/wget[ssl?]"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.33-add-paste-calculate.patch
|
||||
"${FILESDIR}"/${PN}-2.33-add-paste-orgru.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e "s:/etc:\"${EPREFIX}\"/etc:g" wgetpaste || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
test/test.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _wgetpaste
|
||||
insinto /etc/wgetpaste.d
|
||||
newins "${FILESDIR}"/wgetpaste-config-services services.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "ANSI (color code) stripping support" app-text/ansifilter
|
||||
optfeature "xclip support" x11-misc/xclip
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST pymilter-1.0.5.gh.tar.gz 1030610 BLAKE2B 7af714ca771ad9c90a0b20b386f0d46d25fc5cd213c43f7c1c6edc1a9300f7bda987f46fa9a9b8add68f020c33783648f9187c3b05a34a4c13ad8a4ae7206f39 SHA512 d6cd291f3be5402d6e4ab824deba940c6500d970b30c8d73b2fb1952eede4ac784033a7ae0b9a7307f18a3bfd52fc3f40fb0a9cce6cb94e724fce5cc3e8eb25e
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python interface to sendmail milter API"
|
||||
HOMEPAGE="https://github.com/sdgathman/pymilter"
|
||||
SRC_URI="https://github.com/sdgathman/${PN}/archive/${P}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
mail-filter/libmilter:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_impl_dep sqlite)
|
||||
|| (
|
||||
mail-mta/opensmtpd
|
||||
mail-mta/sendmail
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
@ -1,2 +1,3 @@
|
||||
DIST libjpeg-turbo-2.1.4.tar.gz 2261822 BLAKE2B 80ffd77d58a37eae0bdc1868d994f34ea52c13e2624c720b1d0b6ec4d6d14b16911163ccd4009c8d6eda214f31e1fff78bb7eb4739ae6589d0fd8c7008c0e972 SHA512 511f065767c022da06b6c36299686fa44f83441646f7e33b766c6cfab03f91b0e6bfa456962184071dadaed4057ba9a29cba685383f3eb86a4370a1a53731a70
|
||||
DIST libjpeg-turbo-3.0.0.tar.gz 2799663 BLAKE2B 9a4b74aad81c2999ab7f3cd7d8695e1132edda141f4cc8a57e671f42cad4ac16b66b0f19cf4b874b61a82c008287ad88cd81d85547c195ed30456e29cb505285 SHA512 2307a2e240faf5b3119cdc5cf6a0255813d74591d4a4201fd2374940683cb9de90cb5926367e633f3624b27edd292209c7cd3c38d64522716e83fc81361289b4
|
||||
DIST libjpeg8_8d-2.debian.tar.gz 14764 BLAKE2B e93d12afa062da28b717b540492221f70e8d9ccf3885371647cf85a2937f938ca723d4a27d5e1c5d79c26aa25dddf69b38754558851a1704172e8b52baf8e17c SHA512 8c5959fb7583a2d61e9442187f67b91b45e72d9dd30db3360d583a3b5d8e1a908db5659f760bdd455b3056e6ae3535b2fd3b847df3d58b140a1816b754003675
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTE: This is a version of `media-libs/libjpeg-turbo-3.0.0::gentoo` with slot and dependencies edits
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
MY_P=libjpeg-turbo
|
||||
|
||||
DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library"
|
||||
HOMEPAGE="https://libjpeg-turbo.org/ https://sourceforge.net/projects/libjpeg-turbo/"
|
||||
SRC_URI="mirror://sourceforge/${MY_P}/${MY_P}-${PV}.tar.gz
|
||||
mirror://gentoo/libjpeg8_8d-2.debian.tar.gz"
|
||||
|
||||
LICENSE="BSD IJG ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="cpu_flags_arm_neon"
|
||||
|
||||
BDEPEND="
|
||||
amd64? (
|
||||
|| ( dev-lang/nasm dev-lang/yasm )
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}-${PV}
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h )
|
||||
|
||||
src_configure() {
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_DEFAULT_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||
-DCMAKE_SKIP_RPATH=YES
|
||||
-DENABLE_STATIC=OFF
|
||||
-DWITH_JAVA=OFF
|
||||
-DWITH_JPEG8=1
|
||||
)
|
||||
|
||||
# Avoid ARM ABI issues by disabling SIMD for CPUs without NEON, bug #792810
|
||||
if use arm || use arm64; then
|
||||
mycmakeargs+=(
|
||||
-DWITH_SIMD=$(usex cpu_flags_arm_neon)
|
||||
-DNEON_INTRINSICS=$(usex cpu_flags_arm_neon)
|
||||
)
|
||||
fi
|
||||
|
||||
# We should tell the test suite which floating-point flavor we are
|
||||
# expecting: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/597
|
||||
# For now, mark loong as fp-contract.
|
||||
if use loong; then
|
||||
mycmakeargs+=(
|
||||
-DFLOATTEST=fp-contract
|
||||
)
|
||||
fi
|
||||
|
||||
# mostly for Prefix, ensure that we use our yasm if installed and
|
||||
# not pick up host-provided nasm
|
||||
if has_version -b dev-lang/yasm && ! has_version -b dev-lang/nasm; then
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_ASM_NASM_COMPILER=$(type -P yasm)
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so "${WORKDIR}/libjpeg-turbo-${PV}_build/libjpeg.so.8.3.2"
|
||||
dosym libjpeg.so.8.3.2 "/usr/$(get_libdir)/libjpeg.so.8"
|
||||
}
|
@ -1,16 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>codec@gentoo.org</email>
|
||||
<name>Gentoo Codec Project</name>
|
||||
</maintainer>
|
||||
<slots>
|
||||
<subslots>Reflect ABI of libturbojpeg.so.</subslots>
|
||||
</slots>
|
||||
<upstream>
|
||||
<remote-id type="github">libjpeg-turbo/libjpeg-turbo</remote-id>
|
||||
<remote-id type="sourceforge">libjpeg-turbo</remote-id>
|
||||
<remote-id type="cpe">cpe:/a:libjpeg-turbo:libjpeg-turbo</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
libjpeg-turbo is a JPEG image codec that uses SIMD instructions to accelerate baseline
|
||||
JPEG compression and decompression.
|
||||
</longdescription>
|
||||
<slots>
|
||||
<subslots>Reflect ABI of libturbojpeg.so.</subslots>
|
||||
</slots>
|
||||
<upstream>
|
||||
<remote-id type="github">libjpeg-turbo/libjpeg-turbo</remote-id>
|
||||
<remote-id type="sourceforge">libjpeg-turbo</remote-id>
|
||||
<remote-id type="cpe">cpe:/a:libjpeg-turbo:libjpeg-turbo</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST celluloid-0.26.tar.xz 305420 BLAKE2B d74f5be26427ac0798f67e37066f0840d6af1a5a43e4bf714d02519e57231c57c34e191a678d11ebdca0ccbfd8f40eed4a23410f054394cc9f42559c6bbc934c SHA512 bcbb970b8ce512d4d7e64833a309a2e32631b262989ee7f9e1ec4b7f0015387b3978c8cbc0206a5aa86bd9e74fae3b7d38776e71be8c16996444d234bc37d42f
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome2-utils meson xdg
|
||||
|
||||
DESCRIPTION="A simple GTK4 frontend for mpv"
|
||||
HOMEPAGE="https://celluloid-player.github.io/"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
SRC_URI="https://github.com/celluloid-player/celluloid/releases/download/v${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64"
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/celluloid-player/celluloid.git"
|
||||
inherit git-r3
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.66
|
||||
>=gui-libs/gtk-4.6.1:4
|
||||
>=gui-libs/libadwaita-1.2.0
|
||||
>=media-video/mpv-0.32:=[libmpv]
|
||||
media-libs/libepoxy"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-libs/appstream-glib
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Simple GTK+ frontend for mpv
|
||||
</longdescription>
|
||||
<longdescription lang="ru">
|
||||
Простой GTK+-фронтенд для mpv
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">celluloid-player/celluloid</remote-id>
|
||||
<bugs-to>https://github.com/celluloid-player/celluloid/issues</bugs-to>
|
||||
<changelog>https://github.com/celluloid-player/celluloid/releases</changelog>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST rocketchat-3.9.14-linux-x86_64.rpm 73204069 BLAKE2B 8ebbebc612062916bb05caa9401dba61a8059372b5e62eee40316ae734e9d7e8fc9ea09565963a1a085e4f3a27116b0590db273d7cde676125c2281eaf713852 SHA512 6c08bd164e3f4e23391eb92be0d81323d8bdb91a9a3d15b3403c3c8b693ba27a855ed4ec9b061d156707b81d9bdfc420c4dda285db8c07dd93b61a56ee42fec9
|
@ -0,0 +1,103 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTE: This is a version of `net-im/rocketchat-desktop-bin-3.9.10::gentoo` was got rid of `dev-libs/libayatana-appindicator` rdepend
|
||||
|
||||
EAPI=8
|
||||
|
||||
CHROMIUM_LANGS="
|
||||
af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he
|
||||
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
|
||||
sv sw ta te th tr uk ur vi zh-CN zh-TW
|
||||
"
|
||||
|
||||
inherit chromium-2 desktop rpm xdg
|
||||
|
||||
DESCRIPTION="The Ultimate Open Source Web Chat Platform"
|
||||
HOMEPAGE="https://www.rocket.chat/"
|
||||
SRC_URI="https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/${PV}/rocketchat-${PV}-linux-x86_64.rpm"
|
||||
S="${WORKDIR}"
|
||||
|
||||
KEYWORDS="-* amd64"
|
||||
# Electron bundles a bunch of things
|
||||
LICENSE="
|
||||
MIT BSD BSD-2 BSD-4 AFL-2.1 Apache-2.0 Ms-PL GPL-2 LGPL-2.1 APSL-2
|
||||
unRAR OFL CC-BY-SA-3.0 MPL-2.0 android public-domain all-rights-reserved
|
||||
"
|
||||
SLOT="0"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
dev-libs/expat
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-fonts/noto-emoji
|
||||
media-libs/alsa-lib
|
||||
net-print/cups
|
||||
sys-libs/glibc
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libxcb
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="opt/Rocket.Chat/*"
|
||||
|
||||
pkg_pretend() {
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# cleanup languages
|
||||
pushd "opt/Rocket.Chat/locales" || die
|
||||
chromium_remove_language_paks
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for size in {16,32,48,64,128,256,512,1024}; do
|
||||
doicon -s ${size} "usr/share/icons/hicolor/${size}x${size}/apps/rocketchat-desktop.png"
|
||||
done
|
||||
|
||||
domenu usr/share/applications/rocketchat-desktop.desktop
|
||||
|
||||
local DESTDIR="/opt/Rocket.Chat"
|
||||
|
||||
pushd "opt/Rocket.Chat" || die
|
||||
|
||||
exeinto "${DESTDIR}"
|
||||
doexe chrome-sandbox rocketchat-desktop *.so*
|
||||
|
||||
insinto "${DESTDIR}"
|
||||
doins *.pak *.bin *.json *.dat
|
||||
insopts -m0755
|
||||
doins -r locales resources
|
||||
|
||||
# Chrome-sandbox requires the setuid bit to be specifically set.
|
||||
# see https://github.com/electron/electron/issues/17972
|
||||
fperms 4755 "${DESTDIR}"/chrome-sandbox
|
||||
|
||||
dosym "${DESTDIR}"/rocketchat-desktop /opt/bin/rocketchat-desktop
|
||||
popd || die
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST rocketchat-desktop-2.17.11.tar.gz 3513163 BLAKE2B d153ccfc38548e90792737172217a8668296fcda2e06860ea22cb0314b86aab147b537789312e01254fbdb07d29328eca61adcfc63ac0849338416cf01b07825 SHA512 557133338b57c8373c2fd323467199fe4b22e264c79c02c05b81c8f46464edfcdc1097b99a0127f4cb59c6cd6be3c897d4842878aa0583571207cfe1b0af5101
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
<upstream><remote-id type="github">RocketChat/Rocket.Chat.Electron</remote-id></upstream>
|
||||
</pkgmetadata>
|
@ -1,103 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Desktop application for Rocket.Chat"
|
||||
HOMEPAGE="https://rocket.chat"
|
||||
|
||||
inherit unpacker xdg-utils
|
||||
|
||||
MYPN="Rocket.Chat.Electron"
|
||||
|
||||
SRC_URI="https://github.com/RocketChat/${MYPN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="+emoji"
|
||||
REQUIRED_USE=""
|
||||
|
||||
RESTRICT="network-sandbox"
|
||||
|
||||
RDEPEND="!net-im/rocketchat-desktop-bin:0
|
||||
app-accessibility/at-spi2-atk:2
|
||||
dev-db/sqlcipher
|
||||
dev-libs/atk
|
||||
dev-libs/expat
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
>=net-libs/nodejs-12.14.0
|
||||
net-print/cups
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libxcb
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/pango
|
||||
emoji? ( media-fonts/noto-emoji )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-apps/yarn"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/Rocket.Chat/chrome-sandbox
|
||||
/opt/Rocket.Chat/rocketchat-desktop
|
||||
/opt/Rocket.Chat/libEGL.so
|
||||
/opt/Rocket.Chat/libGLESv2.so
|
||||
/opt/Rocket.Chat/libffmpeg.so
|
||||
/opt/Rocket.Chat/swiftshader/libvk_swiftshader.so
|
||||
/opt/Rocket.Chat/swiftshader/libEGL.so
|
||||
/opt/Rocket.Chat/swiftshader/libGLESv2.so"
|
||||
|
||||
S="${WORKDIR}/$MYPN-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's,"@babel/preset-env".*,"@babel/preset-env": "^7.7.4"\,,' package.json
|
||||
npm install node-gyp || die
|
||||
npm install yarn || die
|
||||
npm update || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
PATH="${PATH}:$S/node_modules/.bin" yarn || die
|
||||
PATH="${PATH}:$S/node_modules/.bin" NODE_ENV=production yarn gulp build || die
|
||||
PATH="${PATH}:$S/node_modules/.bin" NODE_ENV=production yarn electron-builder --linux deb || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unpack dist/rocketchat_${PV}_amd64.deb
|
||||
tar -xvf data.tar.xz || die
|
||||
|
||||
mv usr/share/doc/rocketchat usr/share/doc/${PF} || die
|
||||
gunzip usr/share/doc/${PF}/changelog.gz || die
|
||||
|
||||
insinto /
|
||||
doins -r usr
|
||||
doins -r opt
|
||||
local f
|
||||
for f in ${QA_PREBUILT}; do
|
||||
fperms +x "${f}"
|
||||
done
|
||||
dosym ../../opt/Rocket.Chat/${PN} /usr/bin/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1 +1 @@
|
||||
DIST viber-21.0.0.1.deb 152860172 BLAKE2B 77a8a00ce191ead0ca285f8e4a5a1f7c9035e778dad3eaa2e34386645377965017ebe13c7c52324b24d198d1f59ea517094c58c4a9d2c7620f1c6535e0293914 SHA512 0ff5fffaefd85a15dba19be4c50e49cf1530bc7ed5226e0220c66c0c3d6e0b03d4bec4cf142696c6ebefad00943b144164750dd20e18cee6feba9b229c3c2d2b
|
||||
DIST viber-21.8.0.11.deb 150000340 BLAKE2B 39605c93f6cca2a5cf8bd229266efceee085e3e8cd19087be479030459a345aa5cf26d1a3373b2076acc0e8e1039b4f4cf1010e74a171a5dceece185281de247 SHA512 47efe09f6b2a7c41cdc5ffb8275312f292a78f6ddce7d2afea883ba2123ae4ee8f0d5dd0b6ffd74466885947714af5a8f6df35c954d8b8631c46482eb251f557
|
||||
|
@ -1,149 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_64 )
|
||||
|
||||
inherit desktop multilib-build pax-utils unpacker xdg
|
||||
|
||||
DESCRIPTION="Free and secure calls and messages to anyone, anywhere"
|
||||
HOMEPAGE="https://www.viber.com/"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://download.cdn.viber.com/cdn/desktop/Linux/${PN}.deb -> ${P}.deb
|
||||
)
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
opt/viber/Viber
|
||||
opt/viber/libexec/QtWebEngineProcess
|
||||
opt/viber/lib/libicudata.so.66
|
||||
opt/viber/lib/libssl.so.1.1
|
||||
opt/viber/lib/libcrypto.so.1.1
|
||||
opt/viber/lib/libXcomposite.so.1
|
||||
opt/viber/lib/libwebp.so.6
|
||||
opt/viber/lib/libicui18n.so.66
|
||||
opt/viber/lib/libqrencode.so
|
||||
opt/viber/lib/libViberRTC.so
|
||||
opt/viber/lib/libminizip.so.1
|
||||
opt/viber/lib/libdouble-conversion.so.3
|
||||
opt/viber/lib/libicuuc.so.66
|
||||
opt/viber/lib/libpng16.so.16
|
||||
opt/viber/lib/libXdamage.so.1
|
||||
opt/viber/lib/libb2.so.1
|
||||
opt/viber/lib/libjpeg.so.8
|
||||
opt/viber/lib/libpcre2-16.so.0
|
||||
opt/viber/lib/libre2.so.5
|
||||
"
|
||||
|
||||
LICENSE="Viber"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="+abi_x86_64 apulse +pulseaudio"
|
||||
REQUIRED_USE="
|
||||
^^ ( apulse pulseaudio )
|
||||
"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
BDEPEND="
|
||||
sys-apps/fix-gnustack
|
||||
"
|
||||
RDEPEND="
|
||||
app-arch/brotli[${MULTILIB_USEDEP}]
|
||||
app-arch/snappy[${MULTILIB_USEDEP}]
|
||||
app-arch/zstd[${MULTILIB_USEDEP}]
|
||||
app-crypt/mit-krb5[${MULTILIB_USEDEP}]
|
||||
dev-libs/expat[${MULTILIB_USEDEP}]
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||
dev-libs/nspr[${MULTILIB_USEDEP}]
|
||||
dev-libs/nss[${MULTILIB_USEDEP}]
|
||||
dev-libs/wayland[${MULTILIB_USEDEP}]
|
||||
media-libs/alsa-lib[${MULTILIB_USEDEP}]
|
||||
media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/freetype:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-bad:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-good:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/harfbuzz[${MULTILIB_USEDEP}]
|
||||
media-libs/lcms:2[${MULTILIB_USEDEP}]
|
||||
media-libs/libglvnd[${MULTILIB_USEDEP}]
|
||||
media-libs/libmng[${MULTILIB_USEDEP}]
|
||||
media-libs/libwebp[${MULTILIB_USEDEP}]
|
||||
media-libs/opus[${MULTILIB_USEDEP}]
|
||||
media-libs/tiff[${MULTILIB_USEDEP}]
|
||||
net-print/cups[${MULTILIB_USEDEP}]
|
||||
sys-apps/dbus[${MULTILIB_USEDEP}]
|
||||
|| (
|
||||
sys-apps/systemd[${MULTILIB_USEDEP}]
|
||||
sys-apps/systemd-utils[udev,${MULTILIB_USEDEP}]
|
||||
)
|
||||
sys-libs/mtdev
|
||||
sys-libs/zlib:0/1[${MULTILIB_USEDEP}]
|
||||
x11-libs/libdrm[${MULTILIB_USEDEP}]
|
||||
x11-libs/libICE[${MULTILIB_USEDEP}]
|
||||
x11-libs/libSM[${MULTILIB_USEDEP}]
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxkbfile[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxshmfence[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||
x11-libs/tslib[${MULTILIB_USEDEP}]
|
||||
x11-libs/xcb-util-image[${MULTILIB_USEDEP}]
|
||||
x11-libs/xcb-util-keysyms[${MULTILIB_USEDEP}]
|
||||
x11-libs/xcb-util-renderutil[${MULTILIB_USEDEP}]
|
||||
x11-libs/xcb-util-wm[${MULTILIB_USEDEP}]
|
||||
apulse? ( media-sound/apulse[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[glib,${MULTILIB_USEDEP}] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if use apulse ; then
|
||||
sed -i '/Exec=/s|/opt|apulse /opt|' \
|
||||
usr/share/applications/viber.desktop || die "sed failed"
|
||||
fi
|
||||
|
||||
# remove hardcoded path
|
||||
sed -i '/Icon/s|/usr/share/pixmaps/viber.png|viber|' \
|
||||
usr/share/applications/viber.desktop \
|
||||
|| die "sed failed for viber.desktop"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newicon -s scalable usr/share/icons/hicolor/scalable/apps/Viber.svg \
|
||||
viber.svg
|
||||
for size in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 256x256; do
|
||||
newicon -s "${size%%x*}" usr/share/viber/"${size}".png viber.png
|
||||
done
|
||||
dosym ../icons/hicolor/96x96/apps/viber.png \
|
||||
/usr/share/pixmaps/viber.png
|
||||
|
||||
domenu usr/share/applications/viber.desktop
|
||||
|
||||
insinto /opt/viber
|
||||
doins -r opt/viber/.
|
||||
|
||||
pax-mark -m "${ED}"/opt/viber/Viber \
|
||||
"${ED}"/opt/viber/QtWebEngineProcess
|
||||
|
||||
fix-gnustack -f "${ED}"/opt/viber/lib/libQt6WebEngineCore.so.6 > /dev/null \
|
||||
|| die "removing execstack flag failed"
|
||||
|
||||
fperms +x /opt/viber/Viber \
|
||||
/opt/viber/lib/libQt6Core.so.6 \
|
||||
/opt/viber/libexec/QtWebEngineProcess
|
||||
|
||||
dosym ../../opt/viber/Viber /usr/bin/Viber
|
||||
}
|
@ -1,112 +0,0 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 949e63e..a4beaf5 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -13,44 +13,43 @@ CC?=gcc
|
||||
# LIBOWFAT_LIBRARY=$(PREFIX)/lib
|
||||
|
||||
# Debug flavour
|
||||
-PREFIX?=..
|
||||
-LIBOWFAT_HEADERS=$(PREFIX)/libowfat
|
||||
+PREFIX?=/usr
|
||||
+LIBOWFAT_HEADERS=$(PREFIX)/include/libowfat
|
||||
LIBOWFAT_LIBRARY=$(PREFIX)/libowfat
|
||||
|
||||
BINDIR?=$(PREFIX)/bin
|
||||
-STRIP?=strip
|
||||
-
|
||||
-#FEATURES+=-DWANT_V6
|
||||
-
|
||||
-#FEATURES+=-DWANT_ACCESSLIST_BLACK
|
||||
-#FEATURES+=-DWANT_ACCESSLIST_WHITE
|
||||
-
|
||||
-#FEATURES+=-DWANT_SYNC_LIVE
|
||||
-#FEATURES+=-DWANT_IP_FROM_QUERY_STRING
|
||||
-#FEATURES+=-DWANT_COMPRESSION_GZIP
|
||||
-#FEATURES+=-DWANT_COMPRESSION_GZIP_ALWAYS
|
||||
-#FEATURES+=-DWANT_LOG_NETWORKS
|
||||
-#FEATURES+=-DWANT_RESTRICT_STATS
|
||||
-#FEATURES+=-DWANT_IP_FROM_PROXY
|
||||
-#FEATURES+=-DWANT_FULLLOG_NETWORKS
|
||||
-#FEATURES+=-DWANT_LOG_NUMWANT
|
||||
-#FEATURES+=-DWANT_MODEST_FULLSCRAPES
|
||||
-#FEATURES+=-DWANT_SPOT_WOODPECKER
|
||||
-#FEATURES+=-DWANT_SYSLOGS
|
||||
-#FEATURES+=-DWANT_DEV_RANDOM
|
||||
-FEATURES+=-DWANT_FULLSCRAPE
|
||||
+
|
||||
+#BUILD_FEATURES+=-DWANT_V6
|
||||
+
|
||||
+#BUILD_FEATURES+=-DWANT_ACCESSLIST_BLACK
|
||||
+#BUILD_FEATURES+=-DWANT_ACCESSLIST_WHITE
|
||||
+
|
||||
+#BUILD_FEATURES+=-DWANT_SYNC_LIVE
|
||||
+#BUILD_FEATURES+=-DWANT_IP_FROM_QUERY_STRING
|
||||
+#BUILD_FEATURES+=-DWANT_COMPRESSION_GZIP
|
||||
+#BUILD_FEATURES+=-DWANT_COMPRESSION_GZIP_ALWAYS
|
||||
+#BUILD_FEATURES+=-DWANT_LOG_NETWORKS
|
||||
+#BUILD_FEATURES+=-DWANT_RESTRICT_STATS
|
||||
+#BUILD_FEATURES+=-DWANT_IP_FROM_PROXY
|
||||
+#BUILD_FEATURES+=-DWANT_FULLLOG_NETWORKS
|
||||
+#BUILD_FEATURES+=-DWANT_LOG_NUMWANT
|
||||
+#BUILD_FEATURES+=-DWANT_MODEST_FULLSCRAPES
|
||||
+#BUILD_FEATURES+=-DWANT_SPOT_WOODPECKER
|
||||
+#BUILD_FEATURES+=-DWANT_SYSLOGS
|
||||
+#BUILD_FEATURES+=-DWANT_DEV_RANDOM
|
||||
+BUILD_FEATURES+=-DWANT_FULLSCRAPE
|
||||
|
||||
# Is enabled on BSD systems by default in trackerlogic.h
|
||||
# on Linux systems you will need -lbds
|
||||
-#FEATURES+=-DWANT_ARC4RANDOM
|
||||
+#BUILD_FEATURES+=-DWANT_ARC4RANDOM
|
||||
|
||||
-#FEATURES+=-D_DEBUG_HTTPERROR
|
||||
+#BUILD_FEATURES+=-D_DEBUG_HTTPERROR
|
||||
|
||||
OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage
|
||||
-OPTS_production=-O3
|
||||
+OPTS_production=
|
||||
|
||||
CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-ansi -pedantic
|
||||
-LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz
|
||||
+LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -lpthread -lz
|
||||
#LDFLAGS+=-lbsd
|
||||
|
||||
BINARY =opentracker
|
||||
@@ -59,31 +58,21 @@ SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c ot_mutex.c ot_stats
|
||||
SOURCES_proxy=proxy.c ot_vector.c ot_mutex.c
|
||||
|
||||
OBJECTS = $(SOURCES:%.c=%.o)
|
||||
-OBJECTS_debug = $(SOURCES:%.c=%.debug.o)
|
||||
OBJECTS_proxy = $(SOURCES_proxy:%.c=%.o)
|
||||
-OBJECTS_proxy_debug = $(SOURCES_proxy:%.c=%.debug.o)
|
||||
|
||||
-.SUFFIXES: .debug.o .o .c
|
||||
+.SUFFIXES: .o .c
|
||||
|
||||
-all: $(BINARY) $(BINARY).debug
|
||||
+all: $(BINARY)
|
||||
|
||||
-CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES)
|
||||
-CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
|
||||
+CFLAGS_production = $(CFLAGS) $(OPTS_production) $(BUILD_FEATURES)
|
||||
+#CFLAGS_production += $(OPTS_debug)
|
||||
|
||||
$(BINARY): $(OBJECTS) $(HEADERS)
|
||||
$(CC) -o $@ $(OBJECTS) $(LDFLAGS)
|
||||
- $(STRIP) $@
|
||||
-$(BINARY).debug: $(OBJECTS_debug) $(HEADERS)
|
||||
- $(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS)
|
||||
proxy: $(OBJECTS_proxy) $(HEADERS)
|
||||
$(CC) -o $@ $(OBJECTS_proxy) $(CFLAGS_production) $(LDFLAGS)
|
||||
-proxy.debug: $(OBJECTS_proxy_debug) $(HEADERS)
|
||||
- $(CC) -o $@ $(OBJECTS_proxy_debug) $(LDFLAGS)
|
||||
-
|
||||
-.c.debug.o : $(HEADERS)
|
||||
- $(CC) -c -o $@ $(CFLAGS_debug) $(<:.debug.o=.c)
|
||||
|
||||
-.c.o : $(HEADERS)
|
||||
+.c.o :
|
||||
$(CC) -c -o $@ $(CFLAGS_production) $<
|
||||
|
||||
clean:
|
@ -1,32 +0,0 @@
|
||||
diff --git a/opentracker.conf.sample b/opentracker.conf.sample
|
||||
index db45122..f847080 100644
|
||||
--- a/opentracker.conf.sample
|
||||
+++ b/opentracker.conf.sample
|
||||
@@ -34,11 +34,11 @@
|
||||
# II) If opentracker runs in a non-open mode, point it to files containing
|
||||
# all torrent hashes that it will serve (shell option -w)
|
||||
#
|
||||
-# access.whitelist /path/to/whitelist
|
||||
+# access.whitelist /var/lib/opentracker/access.whitelist
|
||||
#
|
||||
# or, if opentracker was compiled to allow blacklisting (shell option -b)
|
||||
#
|
||||
-# access.blacklist ./blacklist
|
||||
+# access.blacklist /var/lib/opentracker/access.blacklist
|
||||
#
|
||||
# It is pointless and hence not possible to compile black AND white
|
||||
# listing, so choose one of those options at compile time. File format
|
||||
@@ -93,11 +93,11 @@
|
||||
# list files must be put in that directory (shell option -d).
|
||||
#
|
||||
#
|
||||
-# tracker.rootdir /usr/local/etc/opentracker
|
||||
+# tracker.rootdir /var/lib/opentracker
|
||||
#
|
||||
# Tell opentracker which user to setuid to.
|
||||
#
|
||||
-# tracker.user nobody
|
||||
+# tracker.user opentracker
|
||||
#
|
||||
|
||||
# VI) opentracker can be told to answer to a "GET / HTTP"-request with a
|
@ -1,13 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
|
||||
description="Bittorrent tracker"
|
||||
command="/usr/bin/opentracker"
|
||||
command_args="-f /etc/opentracker.conf"
|
||||
pidfile="/var/run/opentracker.pid"
|
||||
start_stop_daemon_args="-w 1 -b -m --pidfile ${pidfile}"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
||||
|
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="blacklist">Make use of a torrents black-list</flag>
|
||||
<flag name="gzip-always">Enforce gzip compressed full scrapes even if client did not request it</flag>
|
||||
<flag name="ip-from-query">Accept source IP only from query (debugging purposes only)</flag>
|
||||
<flag name="ip-from-proxy">Accept source IP from proxy</flag>
|
||||
<flag name="fullscrapes-modest">Enable limiting fullscrapes to only every 5 minutes per IP</flag>
|
||||
<flag name="live-sync">Allow synchronisation between several instances through multicast</flag>
|
||||
<flag name="live-sync-unicast">Allow synchronisation between several instances through unicast</flag>
|
||||
<flag name="log-networks-full">Add some subnet debugging features</flag>
|
||||
<flag name="log-numwant">Log amount of numwants</flag>
|
||||
<flag name="persistence">Allow saving torrents and peers information on disk</flag>
|
||||
<flag name="spot-woodpeckers">Enable tracking of abusing peers</flag>
|
||||
<flag name="restrict-stats">Restrict statistics to the tracker owner</flag>
|
||||
<flag name="whitelist">Make use of a torrents white-list</flag>
|
||||
</use>
|
||||
<longdescription lang="en">
|
||||
Opentracker is a open and free bittorrent tracker. It aims for minimal resource usage and is capable to serve
|
||||
multiple thousands of requests.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>mailto:erdgeist@erdgeist.org</bugs-to>
|
||||
<doc lang="en">https://erdgeist.org/arts/software/opentracker/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="An open and free bittorrent tracker"
|
||||
HOMEPAGE="https://erdgeist.org/arts/software/opentracker/"
|
||||
|
||||
EGIT_REPO_URI="git://erdgeist.org/opentracker"
|
||||
EGIT_COMMIT="110868ec4ebe60521d5a4ced63feca6a1cf0aa2a"
|
||||
|
||||
LICENSE="BEER-WARE"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+blacklist debug gzip-always ip-from-query ip-from-proxy ipv6 fullscrapes-modest live-sync
|
||||
live-sync-unicast log-networks-full log-numwant persistence restrict-stats spot-woodpeckers syslog whitelist"
|
||||
REQUIRED_USE="^^ ( blacklist whitelist )
|
||||
live-sync-unicast? ( live-sync )
|
||||
persistence? ( !ipv6 )"
|
||||
|
||||
DEPEND="sys-libs/zlib"
|
||||
RDEPEND="acct-user/opentracker
|
||||
dev-libs/libowfat
|
||||
${DEPEND}"
|
||||
|
||||
PATCHES="${FILESDIR}/${PN}-Makefile.patch ${FILESDIR}/${PN}-conf.patch"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local MYFEATURES="BUILD_FEATURES+=-DWANT_COMPRESSION_GZIP -DWANT_FULLSCRAPE"
|
||||
use blacklist && MYFEATURES+=" -DWANT_ACCESSLIST_BLACK"
|
||||
use gzip-always && MYFEATURES+=" -DWANT_COMPRESSION_GZIP_ALWAYS"
|
||||
use ip-from-query && MYFEATURES+=" -DWANT_IP_FROM_QUERY_STRING"
|
||||
use ip-from-proxy && MYFEATURES+=" -DWANT_IP_FROM_PROXY"
|
||||
use ipv6 && MYFEATURES+=" -DWANT_V6"
|
||||
use fullscrapes-modest && MYFEATURES+=" -DWANT_MODEST_FULLSCRAPES"
|
||||
use live-sync && MYFEATURES+=" -DWANT_SYNC_LIVE"
|
||||
use live-sync-unicast && MYFEATURES+=" -DSYNC_LIVE_UNICAST"
|
||||
use log-networks-full && MYFEATURES+=" -DWANT_FULLLOG_NETWORKS"
|
||||
use log-numwant && MYFEATURES+=" -DWANT_LOG_NUMWANT"
|
||||
use persistence && MYFEATURES+=" -DWANT_PERSISTENCE"
|
||||
use spot-woodpeckers && MYFEATURES+=" -DWANT_SPOT_WOODPECKER"
|
||||
use syslog && MYFEATURES+=" -DWANT_SYSLOGS"
|
||||
use restrict-stats && MYFEATURES+=" -DWANT_RESTRICT_STATS"
|
||||
use whitelist && MYFEATURES+=" -DWANT_ACCESSLIST_WHITE"
|
||||
|
||||
if use debug; then
|
||||
MYFEATURES+=" -D_DEBUG_HTTPERROR"
|
||||
sed -i -e "/^#CFLAGS_production.*OPTS_debug/s/^#//" Makefile || die "sed DEBUG CFLAGS enable failed in Makefile"
|
||||
fi
|
||||
sed -i "/^BUILD_FEATURES/s/^.*/${MYFEATURES}/" Makefile || die "sed BUILD_FEATURES failed in Makefile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README*
|
||||
insinto /etc
|
||||
newins opentracker.conf.sample opentracker.conf
|
||||
|
||||
cp "${FILESDIR}"/opentracker.init.d "${T}"/opentracker || die
|
||||
doinitd "${T}"/opentracker
|
||||
|
||||
dodir /usr/bin
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
if use debug && ! has nostrip ${FEATURES}; then
|
||||
ewarn "
|
||||
********************************************************************************
|
||||
Please emerge with FEATURES=nostrip to get debug really effective
|
||||
********************************************************************************
|
||||
"
|
||||
fi
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit udev
|
||||
|
||||
MY_PV=${PV//./_}
|
||||
|
||||
DESCRIPTION="CUPS and SANE drivers for Pantum series printer and scanner."
|
||||
HOMEPAGE="https://www.pantum.ru/support/download/driver/"
|
||||
SRC_URI="https://drivers.pantum.ru/userfiles/files/download/drive/2013/0619/Pantum%20Ubuntu%20Driver%20V${MY_PV}(1).zip"
|
||||
|
||||
LICENSE="AS-IS"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="scanner"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
DEPEND="
|
||||
media-libs/libjpeg8
|
||||
net-print/cups
|
||||
net-print/cups-filters
|
||||
sys-apps/dbus
|
||||
sys-libs/glibc
|
||||
sys-libs/libcap
|
||||
scanner? (
|
||||
media-gfx/sane-backends
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-text/ghostscript-gpl
|
||||
"
|
||||
|
||||
S="${WORKDIR}/Pantum Ubuntu Driver V${PV}"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
unpack "${S}/Resources/pantum_${PV}-1_amd64.deb" || die
|
||||
tar -xvf "${S}/data.tar.xz" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/sane.d
|
||||
doins etc/sane.d/*
|
||||
insinto "/usr/$(get_libdir)/sane"
|
||||
doins usr/lib/x86_64-linux-gnu/sane/libsane-pantum*.so*
|
||||
udev_dorules etc/udev/rules.d/*.rules
|
||||
|
||||
exeinto /opt/pantum/bin
|
||||
doexe opt/pantum/bin/ptqpdf
|
||||
exeinto /usr/libexec/cups/filter
|
||||
doexe usr/lib/cups/filter/*
|
||||
insinto /usr/share/cups/model
|
||||
doins -r usr/share/cups/model/Pantum
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST rastertospl-1.00.39.12.tar.gz 11580430 BLAKE2B 53986c7424fcda4235f54b08d40d79e1b9f6bdbf1ccbd8b6af02d0afa0b6c3c71c0e7a6d8c15ec367c2f2869ab91dd7c9aaca63ae7c21d05d348ff8e831062cb SHA512 00f0c93d8fcbee91812ea0d942bbb6a34307a29ac798df97742082fbb7b71f9e965e49687b5ae6a39306e8365177ec6a522342d87831ae8eed846cb70c3d869d
|
@ -0,0 +1,46 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
DESCRIPTION=""
|
||||
HOMEPAGE="https://ftp.hp.com"
|
||||
SRC_URI="https://ftp.hp.com/pub/softlib/software13/printers/CLP150/uld-hp_V1.00.39.12_00.15.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
DEPEND="net-print/cups"
|
||||
RDEPEND="${DEPEND}"
|
||||
S="$WORKDIR/"${P}""
|
||||
src_unpack() {
|
||||
default && mv uld "${P}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
set -e
|
||||
ppd_dir="/usr/share/ppd/HP"
|
||||
dodir "${ppd_dir}"
|
||||
for binary in smfpnetdiscovery rastertospl pstosecps; do
|
||||
dobin "${S}/x86_64/${binary}"
|
||||
done
|
||||
|
||||
dolib.so "${S}/x86_64/libscmssc.so"
|
||||
|
||||
insinto "${ppd_dir}"
|
||||
doins -r "${S}/noarch/share/ppd/cms/"
|
||||
|
||||
mkdir "${S}"/ppd
|
||||
for ppd in HP_Color_Laser_15x_Series.ppd \
|
||||
HP_Color_Laser_MFP_17x_Series.ppd \
|
||||
HP_Laser_10x_Series.ppd \
|
||||
HP_Laser_MFP_13x_Series.ppd
|
||||
do
|
||||
gzip -c "${S}/noarch/share/ppd/${ppd}" > "${S}/ppd/${ppd}".gz
|
||||
doins "${S}/ppd/${ppd}".gz
|
||||
done
|
||||
|
||||
dosym -r /usr/bin/smfpnetdiscovery /usr/libexec/cups/backend/smfpnetdiscovery
|
||||
dosym -r /usr/bin/pstosecps /usr/libexec/cups/filter/pstosecps
|
||||
dosym -r /usr/bin/rastertospl /usr/libexec/cups/filter/rastertospl
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST networkmanager-wireguard-0_pre20191128.tar.gz 238536 BLAKE2B e926c08c68df3e452a7ba25c66e7678969594002cb45a03ca26af32c86b021260c7836157fe9244c07223bf2e1c821ee64c3535c392f3636217c6ae67d8b800a SHA512 4ed9566a18be01b1be7d92da4663a292e17804a706045d58f08640e2fe81f9672880f20d1657b70eafc769b2688f72928c6fa601c0011bde91347902a222e670
|
@ -1,29 +0,0 @@
|
||||
From f02a7863a13ad5da340b35648ae5cefc0789869e Mon Sep 17 00:00:00 2001
|
||||
From: Conrad Kostecki <conrad@kostecki.com>
|
||||
Date: Mon, 20 Apr 2020 17:00:58 +0200
|
||||
Subject: [PATCH] Makefile.am: store appdata to /usr/share/metainfo
|
||||
|
||||
The path '/usr/share/appdata' is deprecated and
|
||||
should be changed to '/usr/share/metainfo'.
|
||||
|
||||
See section: 2.1.2. Filesystem locations
|
||||
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
|
||||
|
||||
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 81c6923..53d6f1b 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -266,7 +266,7 @@ uninstall-hook:
|
||||
rm -f $(DESTDIR)$(sysconfdir)/NetworkManager/VPN/nm-wireguard-service.name
|
||||
endif
|
||||
|
||||
-appdatadir = $(datadir)/appdata
|
||||
+appdatadir = $(datadir)/metainfo
|
||||
appdata_files = $(appdata_in_files:.xml.in=.xml)
|
||||
if WITH_GNOME
|
||||
appdata_DATA = $(appdata_files)
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
<upstream><remote-id type="github">max-moser/network-manager-wireguard</remote-id></upstream>
|
||||
</pkgmetadata>
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
EGIT_COMMIT="0e1124df9e97129c5e0d9996a2c3876ae18f01c4"
|
||||
MY_PN="${PN/network/network-}"
|
||||
|
||||
DESCRIPTION="NetworkManager WireGuard plugin"
|
||||
HOMEPAGE="https://github.com/max-moser/network-manager-wireguard"
|
||||
SRC_URI="https://github.com/max-moser/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+gtk +nls"
|
||||
|
||||
RDEPEND="
|
||||
>=net-misc/networkmanager-1.7.0
|
||||
net-vpn/wireguard-tools[wg-quick]
|
||||
>=dev-libs/glib-2.32:2
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-3.4:3
|
||||
>=net-libs/libnma-1.7.0
|
||||
>=app-crypt/libsecret-0.18
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? (
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${EGIT_COMMIT}"
|
||||
|
||||
PATCHES="${FILESDIR}/${PN}-0_pre20191128-change-appdata-path.patch"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-lto
|
||||
--disable-more-warnings
|
||||
--disable-static
|
||||
$(use_with gtk gnome)
|
||||
--without-libnm-glib
|
||||
$(use_enable nls)
|
||||
--with-dist-version="Gentoo"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST ocserv-1.2.4.tar.xz 761720 BLAKE2B 66e7904a5cd6b17d5e885324557c01bf148e6c57d282d198fd5157a5facc6d7544f31ff5c0cf48faa83f090c2c36a56b2d1b5c8b6722e9f46ce5e8e2f0767c5a SHA512 202c7045bea1b7a10bd711d9b1b23f5437da9ff71fde0577137c8059ea68956c8cc294f3d23f041bda7b0fb0ae292577a99101554a12206177f5a1f5ca16ea3b
|
||||
DIST ocserv-1.2.4.tar.xz.sig 442 BLAKE2B 06d099a1a8815cdd3b044d48e1db0583caaf4fdf0409ff845a50d46e116a260fdf8dafd55bf866056a2157926a6aaac3ffdade7bbe571e4a74dbab608fcc7819 SHA512 b2c287e0398eb55571a04e0b0ae16f2b5636c136f467b41872c9bdfd8bd8b25aa541022a6c8b337b0d160f4f673076d03358c7c0259ec4554d604cf31e7f36d3
|
@ -0,0 +1,6 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
command="${RC_PREFIX}/usr/sbin/ocserv"
|
||||
pidfile="${RC_PREFIX}/run/${RC_SVCNAME}.pid"
|
||||
command_args="--pid-file '${pidfile}'"
|
||||
command_args_foreground="--foreground"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue