From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4029959CA4 for ; Mon, 14 Mar 2016 18:20:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B48721C066; Mon, 14 Mar 2016 18:20:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C898921C03E for ; Mon, 14 Mar 2016 18:20:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BA4DA340896 for ; Mon, 14 Mar 2016 18:20:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AE3F84C for ; Mon, 14 Mar 2016 18:20:41 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1457979553.ad93e8df59ad944022b2012c62b37785a0d76fd1.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/, net-p2p/airdcpp-webclient/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/airdcpp-webclient/Manifest net-p2p/airdcpp-webclient/airdcpp-webclient-1.0.0.ebuild net-p2p/airdcpp-webclient/files/airdcppd.confd net-p2p/airdcpp-webclient/files/airdcppd.initd net-p2p/airdcpp-webclient/metadata.xml X-VCS-Directories: net-p2p/airdcpp-webclient/files/ net-p2p/airdcpp-webclient/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: ad93e8df59ad944022b2012c62b37785a0d76fd1 X-VCS-Branch: master Date: Mon, 14 Mar 2016 18:20:41 +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: 5283de39-1c4f-44fb-9c2e-ae41f576db93 X-Archives-Hash: 7284803952cf8116923cc60b87e98870 commit: ad93e8df59ad944022b2012c62b37785a0d76fd1 Author: Louis Sautier gmail com> AuthorDate: Mon Mar 14 17:46:21 2016 +0000 Commit: Ian Delaney gentoo org> CommitDate: Mon Mar 14 18:19:13 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad93e8df net-p2p/airdcpp-webclient: bump to 1.0.0, add init script, add USE flags Package-Manager: portage-2.2.27 Closes: https://github.com/gentoo/gentoo/pull/1047 net-p2p/airdcpp-webclient/Manifest | 1 + .../airdcpp-webclient-1.0.0.ebuild | 62 ++++++++++++++++++++++ net-p2p/airdcpp-webclient/files/airdcppd.confd | 8 +++ net-p2p/airdcpp-webclient/files/airdcppd.initd | 21 ++++++++ net-p2p/airdcpp-webclient/metadata.xml | 2 + 5 files changed, 94 insertions(+) diff --git a/net-p2p/airdcpp-webclient/Manifest b/net-p2p/airdcpp-webclient/Manifest index cbd055e..6733eb9 100644 --- a/net-p2p/airdcpp-webclient/Manifest +++ b/net-p2p/airdcpp-webclient/Manifest @@ -1 +1,2 @@ DIST airdcpp-webclient-0.16.5.tar.gz 702187 SHA256 d153621ce390ee5d434a63d8af5d46b4b54638984de35ee8340ca63f27f61e16 SHA512 decc359aa569de8d3ae117a7f9ce38d9234564401072a776271ce7dff1e24022ad8d01fbf9cf4cc5238778c3c0cb7031b33e2e8d6a1014034ef507a8c29a6f7b WHIRLPOOL 3c71a391dd3e7a5defa5ec8a3abf580b5850abade28b763ad2548f0cc6df5345002c3a07e7e9db33abdedbd60740b62fc27fb0f8af5022353ac35cb826437e18 +DIST airdcpp-webclient-1.0.0.tar.gz 705277 SHA256 46c19884e220f39924a59c98d09743f2e9017a11bc81f7f95f5419798627813b SHA512 5a8523f15f6ee598d9b5dde502a80831ab8bb7c36c2fa60abb88232619c1e0f64ee3a2d08f1f90ec1a8af6ee0571733f353514522975614fc036d9f6655610ac WHIRLPOOL ef9aad1bc02fdcf66355ceea9302bacb79a69561b507963cec59bfb9f423d17316edcbccb1edba596e0acd93971eaf6f45661f5f90b3d16b007ed42b39e67535 diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-1.0.0.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-1.0.0.ebuild new file mode 100644 index 0000000..9c38324 --- /dev/null +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-1.0.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils user + +DESCRIPTION="Cross-platform Direct Connect client" +HOMEPAGE="https://github.com/airdcpp-web/airdcpp-webclient" +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= + net-libs/miniupnpc + sys-libs/zlib + virtual/libiconv + nat-pmp? ( net-libs/libnatpmp ) + tbb? ( dev-cpp/tbb ) +" +DEPEND=" + dev-lang/python:* + ${RDEPEND} +" +PDEPEND="webui? ( www-apps/airdcpp-webui )" + +src_configure() { + local mycmakeargs=( + -DINSTALL_WEB_UI=OFF + -DLIB_INSTALL_DIR=$(get_libdir) + ) + cmake-utils_src_configure +} + +src_install() { + newconfd "${FILESDIR}/airdcppd.confd" airdcppd + newinitd "${FILESDIR}/airdcppd.initd" airdcppd + keepdir /var/lib/airdcppd + fowners airdcppd:airdcppd /var/lib/airdcppd + cmake-utils_src_install +} + +pkg_setup() { + enewgroup airdcppd + enewuser airdcppd -1 -1 /var/lib/airdcppd 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.confd b/net-p2p/airdcpp-webclient/files/airdcppd.confd new file mode 100644 index 0000000..af140cb --- /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 0000000..53e6145 --- /dev/null +++ b/net-p2p/airdcpp-webclient/files/airdcppd.initd @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2016 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_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/metadata.xml b/net-p2p/airdcpp-webclient/metadata.xml index 36c434f..c8f06e0 100644 --- a/net-p2p/airdcpp-webclient/metadata.xml +++ b/net-p2p/airdcpp-webclient/metadata.xml @@ -18,6 +18,8 @@ AirDC++ Web Client is a cross-platform peer-to-peer file sharing client which allows sharing files with groups of people. + Enable support for the NAT-PMP protocol + Enable support of the TBB library to improve performance Enable the Web UI