diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /net-p2p/airdcpp-webclient | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'net-p2p/airdcpp-webclient')
| -rw-r--r-- | net-p2p/airdcpp-webclient/Manifest | 3 | ||||
| -rw-r--r-- | net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild | 64 | ||||
| -rw-r--r-- | net-p2p/airdcpp-webclient/airdcpp-webclient-2.13.3.ebuild | 64 | ||||
| -rw-r--r-- | net-p2p/airdcpp-webclient/airdcpp-webclient-2.14.0.ebuild | 64 | ||||
| -rw-r--r-- | net-p2p/airdcpp-webclient/files/airdcppd.confd | 8 | ||||
| -rw-r--r-- | net-p2p/airdcpp-webclient/files/airdcppd.initd | 21 | ||||
| -rw-r--r-- | net-p2p/airdcpp-webclient/files/airdcppd.service | 15 | ||||
| -rw-r--r-- | net-p2p/airdcpp-webclient/metadata.xml | 20 |
8 files changed, 259 insertions, 0 deletions
diff --git a/net-p2p/airdcpp-webclient/Manifest b/net-p2p/airdcpp-webclient/Manifest new file mode 100644 index 000000000000..605e7aab645b --- /dev/null +++ b/net-p2p/airdcpp-webclient/Manifest @@ -0,0 +1,3 @@ +DIST airdcpp-webclient-2.12.2.tar.gz 793005 BLAKE2B 777a8aa3e5425566ae15f6ae616796953c653890aac607f8c3799c7a959335a0c7bed9380e85a9f6174d989392d909056faff582d42292174c2609de4b7451dc SHA512 29ad24d1714e86123ed0d3ef226934682001202c0197df9d83c4a225503786a5853cd4bf31f90eb30a98351fba0d246e02ca4ba9ffe71f6bda760021f095b9b2 +DIST airdcpp-webclient-2.13.3.tar.gz 829955 BLAKE2B 990463a3c3cf05a6f503e385dc371353bc4a17703a4cfa9784167bdbd6ef49b557b7ccd230a2cd7fd0832115a6bfcbde4da5711b755305101280e5fe2fc1d99a SHA512 c74c6ab57325a39b470e8cdfc99f59fd4e163df3b2a2d7bad8a2a9e07fd3b9372cf310dbc228a7f547adc5d9de54269b3cb19b7a710ab96ecb0fd2da0022e615 +DIST airdcpp-webclient-2.14.0.tar.gz 833876 BLAKE2B 5f2c1384026bd02e3e1168c18f259250df6a2fe20dc44b3aab5b8ba5bb2354a06a72a14bd696c3c00d2a415eb9af95da1d4e9a1084cca6a020b81b4e5ba36e6d SHA512 3d5e9f0fa12fd588f899902c7f84c41f27a6c18363e69dbcd365f4f8c4dc47e0d6bf5959e970597c57c3d7ebd30e11e6c8d7d216b8b8c0d07a412efedd711f24 diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild new file mode 100644 index 000000000000..ee9f5ccf435b --- /dev/null +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) + +inherit cmake python-any-r1 systemd + +DESCRIPTION="Cross-platform Direct Connect client" +HOMEPAGE="https://airdcpp-web.github.io/" +SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 ~riscv x86" +IUSE="debug nat-pmp +tbb +webui" + +RDEPEND=" + acct-user/airdcppd + acct-group/airdcppd + app-arch/bzip2 + dev-cpp/websocketpp + dev-libs/boost:= + dev-libs/leveldb:= + dev-libs/libmaxminddb:= + dev-libs/openssl:0=[-bindist(-)] + net-libs/miniupnpc:= + virtual/zlib:= + virtual/libiconv + nat-pmp? ( net-libs/libnatpmp:= ) + tbb? ( dev-cpp/tbb:= ) +" +DEPEND=" + dev-cpp/nlohmann_json + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig + ${PYTHON_DEPS} +" +PDEPEND="webui? ( www-apps/airdcpp-webui )" + +src_configure() { + local mycmakeargs=( + -DENABLE_NATPMP=$(usex nat-pmp) + -DENABLE_TBB=$(usex tbb) + -DINSTALL_WEB_UI=OFF + ) + CMAKE_BUILD_TYPE=$(usex debug Debug RelWithDebInfo) cmake_src_configure +} + +src_install() { + cmake_src_install + newconfd "${FILESDIR}/airdcppd.confd" airdcppd + newinitd "${FILESDIR}/airdcppd.initd" airdcppd + systemd_dounit "${FILESDIR}/airdcppd.service" +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Run 'airdcppd --configure' to set up ports and authentication" + fi +} diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.13.3.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.13.3.ebuild new file mode 100644 index 000000000000..b83d163fb5bb --- /dev/null +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.13.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) + +inherit cmake python-any-r1 systemd + +DESCRIPTION="Cross-platform Direct Connect client" +HOMEPAGE="https://airdcpp-web.github.io/" +SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 ~riscv x86" +IUSE="nat-pmp +tbb +webui" + +RDEPEND=" + acct-user/airdcppd + acct-group/airdcppd + app-arch/bzip2 + dev-cpp/websocketpp + dev-libs/boost:= + dev-libs/leveldb:= + dev-libs/libmaxminddb:= + dev-libs/openssl:0=[-bindist(-)] + net-libs/miniupnpc:= + virtual/zlib:= + virtual/libiconv + nat-pmp? ( net-libs/libnatpmp:= ) + tbb? ( dev-cpp/tbb:= ) +" +DEPEND=" + dev-cpp/nlohmann_json + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig + ${PYTHON_DEPS} +" +PDEPEND="webui? ( www-apps/airdcpp-webui )" + +src_configure() { + local mycmakeargs=( + -DENABLE_NATPMP=$(usex nat-pmp) + -DENABLE_TBB=$(usex tbb) + -DINSTALL_WEB_UI=OFF + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + newconfd "${FILESDIR}/airdcppd.confd" airdcppd + newinitd "${FILESDIR}/airdcppd.initd" airdcppd + systemd_dounit "${FILESDIR}/airdcppd.service" +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Run 'airdcppd --configure' to set up ports and authentication" + fi +} diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.14.0.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.14.0.ebuild new file mode 100644 index 000000000000..2c0f4437d99e --- /dev/null +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.14.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) + +inherit cmake python-any-r1 systemd + +DESCRIPTION="Cross-platform Direct Connect client" +HOMEPAGE="https://airdcpp-web.github.io/" +SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="nat-pmp +tbb +webui" + +RDEPEND=" + acct-user/airdcppd + acct-group/airdcppd + app-arch/bzip2 + dev-cpp/websocketpp + dev-libs/boost:= + dev-libs/leveldb:= + dev-libs/libmaxminddb:= + dev-libs/openssl:0=[-bindist(-)] + net-libs/miniupnpc:= + virtual/zlib:= + virtual/libiconv + nat-pmp? ( net-libs/libnatpmp:= ) + tbb? ( dev-cpp/tbb:= ) +" +DEPEND=" + dev-cpp/nlohmann_json + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig + ${PYTHON_DEPS} +" +PDEPEND="webui? ( www-apps/airdcpp-webui )" + +src_configure() { + local mycmakeargs=( + -DENABLE_NATPMP=$(usex nat-pmp) + -DENABLE_TBB=$(usex tbb) + -DINSTALL_WEB_UI=OFF + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + newconfd "${FILESDIR}/airdcppd.confd" airdcppd + newinitd "${FILESDIR}/airdcppd.initd" airdcppd + systemd_dounit "${FILESDIR}/airdcppd.service" +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Run 'airdcppd --configure' to set up ports and authentication" + fi +} diff --git a/net-p2p/airdcpp-webclient/files/airdcppd.confd b/net-p2p/airdcpp-webclient/files/airdcppd.confd new file mode 100644 index 000000000000..af140cb6d3bf --- /dev/null +++ b/net-p2p/airdcpp-webclient/files/airdcppd.confd @@ -0,0 +1,8 @@ +# /etc/conf.d/airdcppd: config file for /etc/init.d/airdcppd + +# User and group as which to run +#AIRDCPPD_USER="airdcppd" +#AIRDCPPD_GROUP="airdcppd" + +# umask used to create files +#AIRDCPPD_UMASK=007 diff --git a/net-p2p/airdcpp-webclient/files/airdcppd.initd b/net-p2p/airdcpp-webclient/files/airdcppd.initd new file mode 100644 index 000000000000..ed322b3e35a7 --- /dev/null +++ b/net-p2p/airdcpp-webclient/files/airdcppd.initd @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +AIRDCPPD_USER="${AIRDCPPD_USER:-${RC_SVCNAME}}" +AIRDCPPD_GROUP="${AIRDCPPD_GROUP:-${RC_SVCNAME}}" +AIRDCPPD_UMASK="${AIRDCPPD_UMASK:-007}" +AIRDCPPD_HOME="$(getent passwd "${AIRDCPPD_USER}" | cut -d: -f6)" + +command="/usr/bin/airdcppd" +pidfile="${AIRDCPPD_HOME}/.airdc++/${RC_SVCNAME}.pid" +command_args="-d" +start_stop_daemon_args="\ + --user ${AIRDCPPD_USER} \ + --group ${AIRDCPPD_GROUP} \ + --umask ${AIRDCPPD_UMASK} \ +" + +depend() { + need localmount net +} diff --git a/net-p2p/airdcpp-webclient/files/airdcppd.service b/net-p2p/airdcpp-webclient/files/airdcppd.service new file mode 100644 index 000000000000..00d4ea071865 --- /dev/null +++ b/net-p2p/airdcpp-webclient/files/airdcppd.service @@ -0,0 +1,15 @@ +[Unit] +Description=Cross-platform Direct Connect client +After=network-online.target + +[Service] +Type=forking +User=airdcppd +Group=airdcppd +# Grant write access to group members +UMask=007 +PIDFile=/var/lib/airdcppd/.airdc++/airdcppd.pid +ExecStart=/usr/bin/airdcppd -d + +[Install] +WantedBy=multi-user.target diff --git a/net-p2p/airdcpp-webclient/metadata.xml b/net-p2p/airdcpp-webclient/metadata.xml new file mode 100644 index 000000000000..055bd34bdda4 --- /dev/null +++ b/net-p2p/airdcpp-webclient/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sbraz@gentoo.org</email> + <name>Louis Sautier</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/airdcpp-web/airdcpp-webclient/issues</bugs-to> + </upstream> + <longdescription lang="en"> + AirDC++ Web Client is a cross-platform peer-to-peer file sharing client which allows sharing files with groups of people. + </longdescription> + <use> + <flag name="nat-pmp">Enable support for the NAT-PMP protocol</flag> + <flag name="tbb">Enable support of the TBB library to improve performance</flag> + <flag name="webui">Enable the Web UI</flag> + </use> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
