From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26ACF1396D9 for ; Tue, 7 Nov 2017 10:32:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3579EE0CCD; Tue, 7 Nov 2017 10:32:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A2FAE0CCD for ; Tue, 7 Nov 2017 10:32:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC94733BF05 for ; Tue, 7 Nov 2017 10:32:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A35B97F1 for ; Tue, 7 Nov 2017 10:32:35 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1510050745.0d79b09fdbb16cf2148883583177f20b5546028f.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/files/, net-p2p/airdcpp-webclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/airdcpp-webclient/airdcpp-webclient-2.1.0-r1.ebuild net-p2p/airdcpp-webclient/airdcpp-webclient-2.2.0-r1.ebuild net-p2p/airdcpp-webclient/files/airdcppd.initd X-VCS-Directories: net-p2p/airdcpp-webclient/files/ net-p2p/airdcpp-webclient/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 0d79b09fdbb16cf2148883583177f20b5546028f X-VCS-Branch: master Date: Tue, 7 Nov 2017 10:32:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 191f38d1-720f-4d73-81b5-556da776ada7 X-Archives-Hash: d3ee598e2574b0fb1a2df7bbe7ba7f02 commit: 0d79b09fdbb16cf2148883583177f20b5546028f Author: Henrik Wennergren protonmail com> AuthorDate: Thu Sep 28 21:01:03 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Tue Nov 7 10:32:25 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d79b09f net-p2p/airdcpp-webclient: Fix incorrect conf parameter name in init file Package-Manager: Portage-2.3.8, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5830 .../airdcpp-webclient-2.1.0-r1.ebuild | 68 ++++++++++++++++++++++ .../airdcpp-webclient-2.2.0-r1.ebuild | 65 +++++++++++++++++++++ net-p2p/airdcpp-webclient/files/airdcppd.initd | 4 +- 3 files changed, 135 insertions(+), 2 deletions(-) diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.1.0-r1.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.1.0-r1.ebuild new file mode 100644 index 00000000000..5bcf75f9add --- /dev/null +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.1.0-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} ) + +inherit cmake-utils python-any-r1 user + +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" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2+" +SLOT="0" +IUSE="nat-pmp +tbb +webui" + +RDEPEND=" + app-arch/bzip2 + dev-cpp/websocketpp + dev-libs/boost:= + dev-libs/geoip + dev-libs/leveldb:= + dev-libs/openssl:0=[-bindist] + net-libs/miniupnpc:= + sys-libs/zlib:= + virtual/libiconv + nat-pmp? ( net-libs/libnatpmp:= ) + tbb? ( dev-cpp/tbb:= ) +" +DEPEND=" + virtual/pkgconfig + ${PYTHON_DEPS} + ${RDEPEND} +" +PDEPEND="webui? ( www-apps/airdcpp-webui )" + +# https://github.com/airdcpp-web/airdcpp-webclient/pull/248 +PATCHES=( "${FILESDIR}/${P}-disable-automagic.patch" ) + +pkg_setup() { + python-any-r1_pkg_setup + enewgroup airdcppd + enewuser airdcppd -1 -1 /var/lib/airdcppd airdcppd +} + +src_configure() { + local mycmakeargs=( + -DINSTALL_WEB_UI=OFF + -DENABLE_NATPMP=$(usex nat-pmp) + -DENABLE_TBB=$(usex tbb) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newconfd "${FILESDIR}/airdcppd.confd" airdcppd + newinitd "${FILESDIR}/airdcppd.initd" airdcppd + keepdir /var/lib/airdcppd + fowners airdcppd:airdcppd /var/lib/airdcppd +} + +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.2.0-r1.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.2.0-r1.ebuild new file mode 100644 index 00000000000..fd8f46fe630 --- /dev/null +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.2.0-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} ) + +inherit cmake-utils python-any-r1 user + +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" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2+" +SLOT="0" +IUSE="nat-pmp +tbb +webui" + +RDEPEND=" + app-arch/bzip2 + dev-cpp/websocketpp + dev-libs/boost:= + dev-libs/geoip + dev-libs/leveldb:= + dev-libs/openssl:0=[-bindist] + net-libs/miniupnpc:= + sys-libs/zlib:= + virtual/libiconv + nat-pmp? ( net-libs/libnatpmp:= ) + tbb? ( dev-cpp/tbb:= ) +" +DEPEND=" + virtual/pkgconfig + ${PYTHON_DEPS} + ${RDEPEND} +" +PDEPEND="webui? ( www-apps/airdcpp-webui )" + +pkg_setup() { + python-any-r1_pkg_setup + enewgroup airdcppd + enewuser airdcppd -1 -1 /var/lib/airdcppd airdcppd +} + +src_configure() { + local mycmakeargs=( + -DINSTALL_WEB_UI=OFF + -DENABLE_NATPMP=$(usex nat-pmp) + -DENABLE_TBB=$(usex tbb) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newconfd "${FILESDIR}/airdcppd.confd" airdcppd + newinitd "${FILESDIR}/airdcppd.initd" airdcppd + keepdir /var/lib/airdcppd + fowners airdcppd:airdcppd /var/lib/airdcppd +} + +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.initd b/net-p2p/airdcpp-webclient/files/airdcppd.initd index 1cad833d8ae..ed322b3e35a 100644 --- a/net-p2p/airdcpp-webclient/files/airdcppd.initd +++ b/net-p2p/airdcpp-webclient/files/airdcppd.initd @@ -1,10 +1,10 @@ #!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation +# 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="${SYNCTHING_UMASK:-007}" +AIRDCPPD_UMASK="${AIRDCPPD_UMASK:-007}" AIRDCPPD_HOME="$(getent passwd "${AIRDCPPD_USER}" | cut -d: -f6)" command="/usr/bin/airdcppd"