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 76A85138010 for ; Mon, 15 Feb 2016 08:31:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 939BCE07D5; Mon, 15 Feb 2016 08:31:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21718E07D5 for ; Mon, 15 Feb 2016 08:31:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C93A3341075 for ; Mon, 15 Feb 2016 08:31:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D767F1069 for ; Mon, 15 Feb 2016 08:31:01 +0000 (UTC) From: "Eray Aslan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eray Aslan" Message-ID: <1455525042.b719db5a2aaeed450049b626fc0c7f1d453acdcf.eras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/postfix/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-mta/postfix/Manifest mail-mta/postfix/postfix-3.1_pre20160213.ebuild mail-mta/postfix/postfix-3.1_pre20160214.ebuild X-VCS-Directories: mail-mta/postfix/ X-VCS-Committer: eras X-VCS-Committer-Name: Eray Aslan X-VCS-Revision: b719db5a2aaeed450049b626fc0c7f1d453acdcf X-VCS-Branch: master Date: Mon, 15 Feb 2016 08:31:01 +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: 2086640b-d6d7-459b-9956-7e7a9edfd789 X-Archives-Hash: 48084741738329a48584161b3e7582a8 commit: b719db5a2aaeed450049b626fc0c7f1d453acdcf Author: Eray Aslan gentoo org> AuthorDate: Mon Feb 15 08:30:42 2016 +0000 Commit: Eray Aslan gentoo org> CommitDate: Mon Feb 15 08:30:42 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b719db5a mail-mta/postfix: version bump to 3.1_pre20160214 Package-Manager: portage-2.2.27 mail-mta/postfix/Manifest | 2 +- ...60213.ebuild => postfix-3.1_pre20160214.ebuild} | 28 ++++++++++++---------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest index fc5ce15..2fb3a42 100644 --- a/mail-mta/postfix/Manifest +++ b/mail-mta/postfix/Manifest @@ -2,5 +2,5 @@ DIST postfix-2.10.9.tar.gz 3820525 SHA256 e47eb56db2d238b9c5a5147a516fa406ab6afb DIST postfix-2.11.7.tar.gz 4031689 SHA256 05828b5b846e48fdc80db67d85409066010614af521070df4733459fbf447e20 SHA512 a1e146db6d2d71abb1dd7c70cde24e6410b599458ffa8061a0161be9475452034d9dcc7ec3976042b379cd84f5ebdba2f9d8d829637ff376ccaf7e87bcabe7a3 WHIRLPOOL 990cf17bc8d0cb8c8de0aa42f16125b1393feb42ed2eca3cb66ddd4d0b5d9425f619ee22047745fdd2f0069dc321e942ecc326bfbb88519fccf4931f95b1c483 DIST postfix-3.0.2.tar.gz 4239235 SHA256 68256314202f5f0f24022d64f7ac664d28fa1394d07c84a37c3fc7a2d040be80 SHA512 b097ff5cb1707361af568bbcf8b9d264dfefe7a9fd5c2fb4ce731a2ff6a632c3341ace43afe7f1600f2096592535cf9a300322f78c92000e752e0df7d3c39021 WHIRLPOOL 3fd230321577c0226926701a17803b038a281b46abe884899ca38ea18c5fd9c13ef90900e5fdd17db20ecf8dc63b373cb9f378f1402660be2908192900cba47a DIST postfix-3.0.3.tar.gz 4240588 SHA256 401e46ec3450569dcce60d1d8ca22a19ab1f7f817b0cc730cdf4875ba608ac02 SHA512 b6cd091a8cdda9678fa2979082e47a363dd086e4376effc0a427d1beb5eb35bd7dc28003ad28323c42318d7f630e0d8b105c56fd1a63bd5b5a20501db68ac524 WHIRLPOOL b013164f12e2adde464052f37584320687716f18c65cdd01344848bbcdd5a08be16c741234a063d717474a50be0d14d7b5574ccb69dc56e00f30b619d148c9f9 -DIST postfix-3.1-20160213.tar.gz 4325677 SHA256 c8dda3e03797ccff597611ac35c27244390a6f84a5cc221f9705df58417e120a SHA512 c2f16985e715aac0e62508c102021ad87d93a4516896de936efdeceac6f912dd1f0f464d80bf312129abc22a479add5629070da6d289d05a6f5c6efd65776633 WHIRLPOOL c436d4b20dedc06bf070bee1dbb7bf03c6f1a5379667e01820351d17469c360eb6fe2ac8fa7daa0f2a866fbeb8bfd9eee493db9007bbc53ab2607b855c33faa3 +DIST postfix-3.1-20160214.tar.gz 4326879 SHA256 342d72db2b2a95dbc84a85bd767874b95d17e1a0428397911ed3b72176c0993a SHA512 383c613f2ecff0115d752a641480412fd8fc706392e52624122254d625906c377136834bc4cf633fc5d840eb638e7667b8ac81d63fc0bdc3ef19f9cb5121a732 WHIRLPOOL 97db84fe14b5970468d22b5601539ac6c48223305c68edc3232047c94c527eaf07dfb3b30e11962b9d448f130d39875d99f3d719d13ba0ccba20a8e086804985 DIST postfix-vda-v13-2.10.0.patch 55701 SHA256 6208021eb0b37ac6482e334e538ed5700cc22c4d4dd66ed9e975ae5f20bf935f SHA512 0b4b53a8cd28abf56eee3b2ed63ca1814251b60816e6ca1143249d25fd6ef7f905bec3134125ac6e851af685db8aae878012113693261529ae2ddbcf1bd93e62 WHIRLPOOL d98b7d2177b8b69738086880fd08c336fa60b99ff7413624e628fd5f17be2064f2ccaa37c047d3013ed41c0ff1bcb76e7962f8390c4179f28ab11733dd3b59d3 diff --git a/mail-mta/postfix/postfix-3.1_pre20160213.ebuild b/mail-mta/postfix/postfix-3.1_pre20160214.ebuild similarity index 96% rename from mail-mta/postfix/postfix-3.1_pre20160213.ebuild rename to mail-mta/postfix/postfix-3.1_pre20160214.ebuild index ffe02ea..790c62e 100644 --- a/mail-mta/postfix/postfix-3.1_pre20160213.ebuild +++ b/mail-mta/postfix/postfix-3.1_pre20160214.ebuild @@ -8,8 +8,6 @@ inherit eutils flag-o-matic multilib pam systemd toolchain-funcs user versionato MY_PV="${PV/_pre/-}" MY_SRC="${PN}-${MY_PV}" MY_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/experimental" -#VDA_PV="2.10.0" -#VDA_P="${PN}-vda-v13-${VDA_PV}" RC_VER="2.7" DESCRIPTION="A fast and secure drop-in replacement for sendmail" @@ -289,17 +287,7 @@ src_install () { } pkg_postinst() { - # configure tls - if use ssl ; then - if postfix tls all-default-client ; then - elog "Configuring client side TLS settings" - postfix tls enable-client - fi - if postfix tls all-default-server ; then - elog "Configuring server side TLS settings" - postfix tls enable-server - fi - fi + [ "${EROOT}" == "/" ] && pkg_config if [[ ! -e /etc/mail/aliases.db ]] ; then ewarn @@ -309,3 +297,17 @@ pkg_postinst() { ewarn fi } + +pkg_config() { + # configure tls + if use ssl ; then + if "${EROOT}"usr/sbin/postfix tls all-default-client ; then + elog "Configuring client side TLS settings" + "${EROOT}"usr/sbin/postfix tls enable-client + fi + if "${EROOT}"usr/sbin/postfix tls all-default-server ; then + elog "Configuring server side TLS settings" + "${EROOT}"usr/sbin/postfix tls enable-server + fi + fi +}