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 6B80B138334 for ; Mon, 2 Sep 2019 18:45:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F0E8E07DB; Mon, 2 Sep 2019 18:45:29 +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 83DA0E07DB for ; Mon, 2 Sep 2019 18:45:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1AED634A9C3 for ; Mon, 2 Sep 2019 18:45:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DE8C77D for ; Mon, 2 Sep 2019 18:45:26 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1567449850.10368ffffe9a3f7b31a8966c162e2e7aa418cf81.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/, net-p2p/transmission/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/transmission/files/60-transmission.conf net-p2p/transmission/transmission-9999.ebuild X-VCS-Directories: net-p2p/transmission/ net-p2p/transmission/files/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 10368ffffe9a3f7b31a8966c162e2e7aa418cf81 X-VCS-Branch: master Date: Mon, 2 Sep 2019 18:45:26 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0d3b7044-0d3e-46d9-94d8-1b60be1247ba X-Archives-Hash: ed514967297d6790ab193880662cdce6 commit: 10368ffffe9a3f7b31a8966c162e2e7aa418cf81 Author: Mike Gilbert gentoo org> AuthorDate: Mon Sep 2 18:40:17 2019 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Mon Sep 2 18:44:10 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10368fff net-p2p/transmission: install sysctl.d snippet Package-Manager: Portage-2.3.75_p2, Repoman-2.3.17_p44 Signed-off-by: Mike Gilbert gentoo.org> net-p2p/transmission/files/60-transmission.conf | 2 ++ net-p2p/transmission/transmission-9999.ebuild | 21 +++------------------ 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/net-p2p/transmission/files/60-transmission.conf b/net-p2p/transmission/files/60-transmission.conf new file mode 100644 index 00000000000..bdf0de2064e --- /dev/null +++ b/net-p2p/transmission/files/60-transmission.conf @@ -0,0 +1,2 @@ +net.core.rmem_max = 4194304 +net.core.wmem_max = 1048576 diff --git a/net-p2p/transmission/transmission-9999.ebuild b/net-p2p/transmission/transmission-9999.ebuild index caaf7e9c6ee..32f0b5698ea 100644 --- a/net-p2p/transmission/transmission-9999.ebuild +++ b/net-p2p/transmission/transmission-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake-utils readme.gentoo-r1 systemd xdg-utils +inherit cmake-utils systemd xdg-utils if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -114,21 +114,6 @@ src_configure() { cmake-utils_src_configure } -DISABLE_AUTOFORMATTING=1 -DOC_CONTENTS="\ -If you use transmission-daemon, please, set 'rpc-username' and -'rpc-password' (in plain text, transmission-daemon will hash it on -start) in settings.json file located at /var/lib/transmission/config or -any other appropriate config directory. - -Since µTP is enabled by default, transmission needs large kernel buffers for -the UDP socket. You can append following lines into /etc/sysctl.conf: - -net.core.rmem_max = 4194304 -net.core.wmem_max = 1048576 - -and run sysctl -p" - src_install() { cmake-utils_src_install @@ -137,7 +122,8 @@ src_install() { systemd_dounit daemon/transmission-daemon.service systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf - readme.gentoo_create_doc + insinto /usr/lib/sysctl.d + doins "${FILESDIR}"/60-transmission.conf } pkg_postrm() { @@ -152,5 +138,4 @@ pkg_postinst() { xdg_desktop_database_update xdg_icon_cache_update fi - readme.gentoo_print_elog }