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 47901138239 for ; Mon, 7 Oct 2019 09:09:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5637DE080E; Mon, 7 Oct 2019 09:09:33 +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 2D747E0809 for ; Mon, 7 Oct 2019 09:09:33 +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 4263834B798 for ; Mon, 7 Oct 2019 09:09:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C2907832 for ; Mon, 7 Oct 2019 09:09:30 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1570439364.e58fb19e5f23518463339c1106bf3d28a93ebca5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/policyd/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/policyd/policyd-1.82-r1.ebuild X-VCS-Directories: mail-filter/policyd/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e58fb19e5f23518463339c1106bf3d28a93ebca5 X-VCS-Branch: master Date: Mon, 7 Oct 2019 09:09:30 +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: 7fc0a81a-9f13-45c6-97e2-00748d67c994 X-Archives-Hash: a77b5e7bf9f963832d87319390f28682 commit: e58fb19e5f23518463339c1106bf3d28a93ebca5 Author: Michał Górny gentoo org> AuthorDate: Mon Oct 7 09:05:17 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Oct 7 09:09:24 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e58fb19e mail-filter/policyd: Drop old (EAPI=0) Signed-off-by: Michał Górny gentoo.org> mail-filter/policyd/policyd-1.82-r1.ebuild | 76 ------------------------------ 1 file changed, 76 deletions(-) diff --git a/mail-filter/policyd/policyd-1.82-r1.ebuild b/mail-filter/policyd/policyd-1.82-r1.ebuild deleted file mode 100644 index ab88aeb093e..00000000000 --- a/mail-filter/policyd/policyd-1.82-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils toolchain-funcs - -DESCRIPTION="Policy daemon for postfix and other MTAs" -HOMEPAGE="http://policyd.sf.net/" - -# This is not available through SF mirrors -SRC_URI="http://policyd.sourceforge.net/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~hppa x86" -IUSE="" -DEPEND="virtual/mysql - dev-libs/openssl" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-post182.patch" - epatch "${FILESDIR}/${PN}-makefile.patch" - sed -i -e "s/gcc/$(tc-getCC)/" Makefile - - ebegin "Applying config patches" - sed -i -e s:UID=0:UID=65534:g \ - -e s:GID=0:GID=65534:g \ - -e s:DAEMON=0:DAEMON=1:g \ - -e s:DEBUG=3:DEBUG=0:g \ - -e s:DATABASE_KEEPALIVE=0:DATABASE_KEEPALIVE=1:g \ - policyd.conf || die "sed failed" - eend -} - -src_compile() { - emake build || die "emake build failed" -} - -src_install() { - insopts -o root -g nobody -m 0750 - mv cleanup policyd_cleanup - mv stats policyd_stats - - dosbin policyd policyd_cleanup policyd_stats - - insopts -o root -g nobody -m 0640 - insinto /etc - doins policyd.conf - - insopts -o root -g nobody -m 0700 - exeinto /etc/cron.hourly - newexe "${FILESDIR}/${PN}-cleanup.cron" ${PN}-cleanup.cron - - dodoc ChangeLog DATABASE.mysql README doc/support.txt - - newinitd "${FILESDIR}/${PN}.rc" ${PN} - newconfd "${FILESDIR}/${PN}.confd" ${PN} -} - -pkg_postinst() { - elog "You will need to create the database using the script DATABASE.mysql" - elog "in /usr/share/doc/${PF}/" - elog "Read the mysql section of the README.txt for details." - elog - elog "To use policyd with postfix, update your /etc/postfix/main.cf file by adding" - elog " check_policy_service inet:127.0.0.1:10031" - elog "to your smtpd_recipient_restrictions line, or similar." - elog - elog "Also remember to start the daemon at boot:" - elog " rc-update add policyd default" - elog - elog "Read the documentation for more info." -}