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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E687D15ACFB for ; Mon, 10 Apr 2023 16:32:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CBACE087C; Mon, 10 Apr 2023 16:32:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1965CE087C for ; Mon, 10 Apr 2023 16:32:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F063340E0E for ; Mon, 10 Apr 2023 16:32:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 84F3A9F7 for ; Mon, 10 Apr 2023 16:32:33 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1681144341.3cb992df77ba586bdb4f545610bf0c21827d46fc.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/proton-mail-bridge/, mail-mta/proton-mail-bridge/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-mta/proton-mail-bridge/files/proton-mail-bridge.service-r1 mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21-r1.ebuild mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21.ebuild X-VCS-Directories: mail-mta/proton-mail-bridge/files/ mail-mta/proton-mail-bridge/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 3cb992df77ba586bdb4f545610bf0c21827d46fc X-VCS-Branch: master Date: Mon, 10 Apr 2023 16:32:33 +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: d19d2252-857b-4cd7-9c6f-dac17dfa391f X-Archives-Hash: bfdccebeb3f24f62272a4638ab050994 commit: 3cb992df77ba586bdb4f545610bf0c21827d46fc Author: Marek Szuba gentoo org> AuthorDate: Mon Apr 10 16:31:58 2023 +0000 Commit: Marek Szuba gentoo org> CommitDate: Mon Apr 10 16:32:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb992df mail-mta/proton-mail-bridge: update systemd unit for 3.0.0+ Signed-off-by: Marek Szuba gentoo.org> .../files/proton-mail-bridge.service-r1 | 17 +++++++++++++++++ ....0.21.ebuild => proton-mail-bridge-3.0.21-r1.ebuild} | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/mail-mta/proton-mail-bridge/files/proton-mail-bridge.service-r1 b/mail-mta/proton-mail-bridge/files/proton-mail-bridge.service-r1 new file mode 100644 index 000000000000..8dd8980214af --- /dev/null +++ b/mail-mta/proton-mail-bridge/files/proton-mail-bridge.service-r1 @@ -0,0 +1,17 @@ +[Unit] +Description=Proton Mail IMAP/SMTP bridge +Documentation=https://proton.me/mail/bridge/ + +[Service] +ExecStart=/usr/bin/proton-mail-bridge --noninteractive +Restart=on-failure + +# Hardening +ProtectSystem=full +PrivateTmp=true +SystemCallArchitectures=native +MemoryDenyWriteExecute=true +NoNewPrivileges=true + +[Install] +WantedBy=default.target diff --git a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21.ebuild b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21-r1.ebuild similarity index 94% rename from mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21.ebuild rename to mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21-r1.ebuild index a9020b672022..f05292d8f63e 100644 --- a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21.ebuild +++ b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21-r1.ebuild @@ -49,7 +49,7 @@ src_install() { exeinto /usr/bin newexe bridge ${PN} - systemd_douserunit "${FILESDIR}"/${PN}.service + systemd_newuserunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service einstalldocs }