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 313D5138334 for ; Mon, 8 Jul 2019 11:51:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 744E1E07D4; Mon, 8 Jul 2019 11:51:25 +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 466C0E07D4 for ; Mon, 8 Jul 2019 11:51:25 +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 0F6AA346DEB for ; Mon, 8 Jul 2019 11:51:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B55605DE for ; Mon, 8 Jul 2019 11:51:22 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1562586676.4644dff2a2e013c2af3c4b7b83cd34dddb99ffcc.mschiff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/postfwd/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/postfwd/Manifest mail-filter/postfwd/postfwd-2.00.ebuild mail-filter/postfwd/postfwd-2.02.ebuild X-VCS-Directories: mail-filter/postfwd/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: 4644dff2a2e013c2af3c4b7b83cd34dddb99ffcc X-VCS-Branch: master Date: Mon, 8 Jul 2019 11:51:22 +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: f8f44d22-b310-4fe8-bbc3-dcb63a0582b4 X-Archives-Hash: d8faa75ba2f9d882598f14701f805b9f commit: 4644dff2a2e013c2af3c4b7b83cd34dddb99ffcc Author: Marc Schiffbauer gentoo org> AuthorDate: Mon Jul 8 11:43:33 2019 +0000 Commit: Marc Schiffbauer gentoo org> CommitDate: Mon Jul 8 11:51:16 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4644dff2 mail-filter/postfwd: added v2.02, remove v2.00 Signed-off-by: Marc Schiffbauer gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 mail-filter/postfwd/Manifest | 1 + .../{postfwd-2.00.ebuild => postfwd-2.02.ebuild} | 54 +++++++++------------- 2 files changed, 23 insertions(+), 32 deletions(-) diff --git a/mail-filter/postfwd/Manifest b/mail-filter/postfwd/Manifest index 28c0ed381da..7290afea910 100644 --- a/mail-filter/postfwd/Manifest +++ b/mail-filter/postfwd/Manifest @@ -1,2 +1,3 @@ DIST postfwd-1.35.tar.gz 354609 BLAKE2B 8e85db37d7f81be4613d9c2e411760af48650125af7b22439e3b47a8c3c7285564bfcd7a9fe4eed35d2603ddf80dcdf11d75f84afcaf3e57d53c4e986068f06c SHA512 7b0e8c8a755f085c108c45b28ec8c32139581ce129d0b8586f1876ae87f134a4fb1606d45105ccfa62351ca2d3b87f001ea52aacab0680f3345c41562bec5207 DIST postfwd-2.00.tar.gz 265346 BLAKE2B ec67bffb5f6959e9516965516688e72f337f717a3159a094dc0373331a5fc09a451f664643a7f3e739b28d4137c130acfb39129b8557b4d41f4d445679f52623 SHA512 b9994b7dd96f1460d66ef35f173c5a4a4d72beb5b955092349304eae2672182874f07236fe5512ba3d0ecc68e2f0472e76b3667ded011536b0cf6f2d874bb039 +DIST postfwd-2.02.tar.gz 265781 BLAKE2B de63bdab4f7c1b117a16ebed2248f1e89b7c973bb34cee1b3fbbceda8c9d9b92d180fb5de8a332732b69a05d1b157be1c95d81ded003641d78665064a4881432 SHA512 23b48ca7218fba46f4b1887c4c6724112866c2e22e56f749602ba74430c4cf4c8418b9effb400ea4a468a5f137c764cac9611879e37d1585cf6d0b31dd41060f diff --git a/mail-filter/postfwd/postfwd-2.00.ebuild b/mail-filter/postfwd/postfwd-2.02.ebuild similarity index 63% rename from mail-filter/postfwd/postfwd-2.00.ebuild rename to mail-filter/postfwd/postfwd-2.02.ebuild index f4ce5c30fd1..df52b4a6f05 100644 --- a/mail-filter/postfwd/postfwd-2.00.ebuild +++ b/mail-filter/postfwd/postfwd-2.02.ebuild @@ -1,18 +1,17 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils user systemd +inherit systemd user DESCRIPTION="Versatile Postfix policy server with a flexible ruleset based configuration" -HOMEPAGE="http://www.postfwd.org/" -SRC_URI="http://www.postfwd.org/${P}.tar.gz" +HOMEPAGE="https://www.postfwd.org/" +SRC_URI="https://www.postfwd.org/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+tools" DEPEND="" RDEPEND=">=dev-lang/perl-5.16.3 @@ -35,27 +34,21 @@ pkg_setup() { src_install() { local BIN="postfwd3" - # programs and tools - dosbin "${S}"/sbin/${BIN} + # program + dosbin sbin/${BIN} # man pages and documentation - doman "${S}"/man/man8/${BIN}.8 - dodoc "${S}"/doc/{${BIN}.CHANGELOG,${BIN}.txt} + doman man/man8/${BIN}.8 + dodoc doc/{${BIN}.CHANGELOG,${BIN}.txt} - # example configuration(s) - insinto /usr/share/doc/${PF}/examples - newins "${S}"/etc/${PN}.cf.sample ${PN}.cf.dist + # example configuration + dodoc etc/${PN}.cf.sample - # plugins - dodoc -r "${S}"/plugins - - # tools - if use tools; then - dodoc -r "${S}"/tools - fi + # plugins and tools + dodoc -r plugins tools # start scripts script and respective configuration file - newinitd "${FILESDIR}"/${PN}.init.3 ${PN} + newinitd "${FILESDIR}"/${PN}.init.3-r1 ${PN} newconfd "${FILESDIR}"/${PN}.conf.3 ${PN} systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service } @@ -65,33 +58,30 @@ pkg_postinst() { einfo "${PN} has no default configuration for safety reasons. Every" einfo "mail system is different, so you should craft a set of rules" einfo "that is suitable for your environment and save it to:" - einfo " /etc/postfwd.cf" - einfo "You can find example configurations in:" - einfo " /usr/share/doc/${PF}/examples" + einfo " ${EROOT}/etc/postfwd.cf" + einfo "You can find a sample configuration in:" + einfo " ${EROOT}/usr/share/doc/${PF}" einfo einfo "If you want ${PN} to start on system boot, you have to add it your" einfo "default run level if using OpenRC:" einfo " # rc-update add postfwd default" - einfo "Also remember to edit /etc/conf.d/${PN} to your liking."A + einfo "Also remember to edit ${EROOT}/etc/conf.d/${PN} to your liking." einfo einfo "Or - if you are using systemd - enable the service:" einfo " # systemctl enable postfwd" einfo einfo "A plugins sample folder has been placed under:" einfo - einfo " /usr/share/doc/${PF}/plugins" - - if use tools; then - einfo - einfo "You can find additional tools for testing ${PN} in:" - einfo " /usr/share/doc/${PF}/tools" - fi + einfo " ${EROOT}/usr/share/doc/${PF}/plugins" + einfo + einfo "You can find additional tools for testing ${PN} in:" + einfo " ${EROOT}/usr/share/doc/${PF}/tools" ewarn ewarn "Please read the documentation carefully and properly test new" ewarn "rulesets before putting them into production use. Otherwise you" ewarn "risk accidental mail loss or worse." ewarn - ewarn "Visit http://www.postfwd.org/ for more information." + ewarn "Visit https://www.postfwd.org/ for more information." ewarn }