Skip to content

Commit

Permalink
postfix: version bumped to 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratler committed Sep 19, 2015
1 parent b5a5ae6 commit 5c1e01e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
11 changes: 4 additions & 7 deletions mail/postfix/BUILD
@@ -1,5 +1,3 @@
(

sedit "s:#mail_spool_directory = .*:mail_spool_directory = /var/spool/mail:" conf/main.cf

add_priv_user postdrop:postdrop &&
Expand Down Expand Up @@ -30,7 +28,7 @@

if in_depends $MODULE postgresql ; then
AUXLIBS=$AUXLIBS" -lpq"
CCARGS=$CCARGS" -DHAS_PGSQL -I/usr/include/pgsql"
CCARGS=$CCARGS" -DHAS_PGSQL -I/usr/include/postgresql"
fi &&

if in_depends $MODULE cyrus-sasl ; then
Expand All @@ -47,10 +45,11 @@
echo CCARGS=$CCARGS &&
echo AUXLIBS=$AUXLIBS &&

make "OPT=$CFLAGS" "AUXLIBS=$AUXLIBS" "CCARGS=$CCARGS" &&
make makefiles DEBUG='' pie=yes shared=yes CCARGS="$CCARGS" AUXLIBS="$AUXLIBS" OPT="$CFLAGS $LDFLAGS" &&
make &&
prepare_install &&

sh postfix-install -non-interactive \
LD_LIBRARY_PATH=lib:$LD_LIBRARY_PATH sh postfix-install -non-interactive \
config_directory=/etc/postfix \
daemon_directory=/usr/libexec/postfix \
command_directory=/usr/sbin \
Expand All @@ -66,5 +65,3 @@

ln -sf ../sbin/sendmail /usr/lib/sendmail &&
ln -sf postfix/aliases /etc/aliases

) > $C_FIFO 2>&1
8 changes: 4 additions & 4 deletions mail/postfix/DETAILS
@@ -1,12 +1,12 @@
MODULE=postfix
VERSION=2.11.4
VERSION=3.0.2
SOURCE=$MODULE-$VERSION.tar.gz
SOURCE_URL[0]=http://mirror.postfix.jp/postfix-release/official
SOURCE_URL[1]=ftp://ftp.porcupine.org/mirrors/postfix-release/official
SOURCE_VFY=sha256:f4154c1db58c0300897d4c430bd90714ac7855249df59cc8828910fd5ccb031e
WEB_SITE=http://www.postfix.org
SOURCE_VFY=sha256:68256314202f5f0f24022d64f7ac664d28fa1394d07c84a37c3fc7a2d040be80
WEB_SITE=http://www.postfix.org/
ENTERED=20020125
UPDATED=20150209
UPDATED=20150919
SHORT="A fast and secure drop-in replacement for sendmail"

cat << EOF
Expand Down
4 changes: 2 additions & 2 deletions mail/postfix/systemd.d/postfix.service
@@ -1,7 +1,6 @@
[Unit]
Description=Postfix Mail Transport Agent
After=syslog.target network.target
Conflicts=exim.service
After=network.target

[Service]
Type=forking
Expand All @@ -10,6 +9,7 @@ ExecStartPre=/usr/bin/newaliases
ExecStart=/usr/sbin/postfix start
ExecReload=/usr/sbin/postfix reload
ExecStop=/usr/sbin/postfix stop
Restart=always

[Install]
WantedBy=multi-user.target

0 comments on commit 5c1e01e

Please sign in to comment.