head 1.120;
access;
symbols
OPENPKG_E1_MP_HEAD:1.104
OPENPKG_E1_MP:1.104
OPENPKG_E1_MP_2_STABLE:1.98.2.2
OPENPKG_E1_FP:1.98.2.2
OPENPKG_2_STABLE_MP:1.106
OPENPKG_2_STABLE_20061018:1.98.2.2
OPENPKG_2_STABLE_20060622:1.98.2.1
OPENPKG_2_STABLE:1.98.0.2
OPENPKG_2_STABLE_BP:1.98
OPENPKG_2_5_RELEASE:1.92.2.1
OPENPKG_2_5_SOLID:1.92.0.2
OPENPKG_2_5_SOLID_BP:1.92
OPENPKG_2_4_RELEASE:1.86.2.1
OPENPKG_2_4_SOLID:1.86.0.2
OPENPKG_2_4_SOLID_BP:1.86
OPENPKG_CW_FP:1.83
OPENPKG_2_3_RELEASE:1.83.2.1
OPENPKG_2_3_SOLID:1.83.0.2
OPENPKG_2_3_SOLID_BP:1.83
OPENPKG_2_2_RELEASE:1.75.2.1
OPENPKG_2_2_SOLID:1.75.0.2
OPENPKG_2_2_SOLID_BP:1.75
OPENPKG_2_1_RELEASE:1.70.2.1
OPENPKG_2_1_SOLID:1.70.0.2
OPENPKG_2_1_SOLID_BP:1.70
OPENPKG_1_STABLE_MP:1.53;
locks; strict;
comment @-- @;
1.120
date 2009.11.15.20.37.28; author rse; state Exp;
branches;
next 1.119;
commitid SWX7gh3R0VuVJEbu;
1.119
date 2009.04.18.13.10.13; author rse; state Exp;
branches;
next 1.118;
commitid 4pHXU27WTIGCZuKt;
1.118
date 2008.04.11.08.12.27; author cs; state Exp;
branches;
next 1.117;
commitid q9uRIoGEW7kcmFYs;
1.117
date 2008.03.27.20.03.57; author cs; state Exp;
branches;
next 1.116;
commitid 5tYRpz8AAK9aMNWs;
1.116
date 2008.02.26.19.57.46; author cs; state Exp;
branches;
next 1.115;
commitid xCgKcDNTh79QHWSs;
1.115
date 2008.01.11.17.01.19; author rse; state Exp;
branches;
next 1.114;
commitid GhIpeBy4ZXiZc1Ns;
1.114
date 2008.01.01.14.53.38; author rse; state Exp;
branches;
next 1.113;
commitid B8esaHJHoduuKILs;
1.113
date 2007.10.09.22.34.04; author cs; state Exp;
branches;
next 1.112;
commitid 74TYvUxtHeLr4YAs;
1.112
date 2007.08.30.17.23.24; author rse; state Exp;
branches;
next 1.111;
commitid IWpHvneHqnMBDNvs;
1.111
date 2007.07.24.13.06.59; author cs; state Exp;
branches;
next 1.110;
commitid URhIZesdcQBnp1rs;
1.110
date 2007.04.17.15.07.16; author cs; state Exp;
branches;
next 1.109;
commitid jDLFLjeupzEWdres;
1.109
date 2007.04.13.11.41.43; author cs; state Exp;
branches;
next 1.108;
commitid oRraU9SgnuJodUds;
1.108
date 2007.04.13.11.38.58; author cs; state Exp;
branches;
next 1.107;
commitid 5kmrW8bcAGiscUds;
1.107
date 2007.04.13.11.10.05; author cs; state Exp;
branches;
next 1.106;
commitid HNZCjSuOvtny2Uds;
1.106
date 2007.01.12.16.02.19; author cs; state Exp;
branches;
next 1.105;
commitid 8DpTlMdWCGk9Ae2s;
1.105
date 2007.01.09.16.25.32; author rse; state Exp;
branches;
next 1.104;
commitid 4Cxl77F72kj6OQ1s;
1.104
date 2007.01.02.17.04.52; author rse; state Exp;
branches;
next 1.103;
commitid KGdmAtHFkt7yfX0s;
1.103
date 2007.01.01.17.37.44; author rse; state Exp;
branches;
next 1.102;
commitid BicZD6VUl7GuqP0s;
1.102
date 2006.12.20.19.32.35; author rse; state Exp;
branches;
next 1.101;
commitid kh4kHMZGJrk7uiZr;
1.101
date 2006.10.13.17.27.57; author thl; state Exp;
branches;
next 1.100;
commitid q5GSxzsSDX29XxQr;
1.100
date 2006.08.25.19.16.24; author rse; state Exp;
branches;
next 1.99;
commitid Tvsj1UyQ8rQ89gKr;
1.99
date 2006.08.01.07.07.21; author rse; state Exp;
branches;
next 1.98;
commitid GqXgK8Lp4aNsT6Hr;
1.98
date 2006.05.22.07.18.31; author cs; state Exp;
branches
1.98.2.1;
next 1.97;
commitid U2zw7yTmYE7NeZxr;
1.97
date 2006.05.02.20.15.33; author cs; state Exp;
branches;
next 1.96;
commitid tQaUrmWDnMwdbuvr;
1.96
date 2006.04.11.08.53.19; author tho; state Exp;
branches;
next 1.95;
commitid S4lIQ7v5XmE15Jsr;
1.95
date 2006.02.09.13.16.15; author tho; state Exp;
branches;
next 1.94;
commitid citceUrlSFVMuUkr;
1.94
date 2006.01.01.13.13.29; author rse; state Exp;
branches;
next 1.93;
commitid otZG8yKMCw1JFTfr;
1.93
date 2005.11.29.13.49.44; author cs; state Exp;
branches;
next 1.92;
commitid OmzWwwL3ggMLZEbr;
1.92
date 2005.10.04.13.55.04; author cs; state Exp;
branches
1.92.2.1;
next 1.91;
1.91
date 2005.09.27.09.00.32; author cs; state Exp;
branches;
next 1.90;
1.90
date 2005.09.26.18.10.25; author rse; state Exp;
branches;
next 1.89;
1.89
date 2005.09.13.08.21.38; author rse; state Exp;
branches;
next 1.88;
1.88
date 2005.09.05.13.19.37; author rse; state Exp;
branches;
next 1.87;
1.87
date 2005.07.01.17.44.31; author rse; state Exp;
branches;
next 1.86;
1.86
date 2005.05.06.10.00.16; author cs; state Exp;
branches
1.86.2.1;
next 1.85;
1.85
date 2005.05.06.06.38.28; author rse; state Exp;
branches;
next 1.84;
1.84
date 2005.03.24.11.18.44; author rse; state Exp;
branches;
next 1.83;
1.83
date 2005.02.18.18.52.43; author rse; state Exp;
branches
1.83.2.1;
next 1.82;
1.82
date 2005.01.15.18.53.48; author rse; state Exp;
branches;
next 1.81;
1.81
date 2005.01.07.12.08.56; author cs; state Exp;
branches;
next 1.80;
1.80
date 2005.01.07.11.56.47; author cs; state Exp;
branches;
next 1.79;
1.79
date 2005.01.07.08.02.40; author cs; state Exp;
branches;
next 1.78;
1.78
date 2005.01.01.10.48.59; author rse; state Exp;
branches;
next 1.77;
1.77
date 2004.12.09.18.52.49; author rse; state Exp;
branches;
next 1.76;
1.76
date 2004.12.09.16.35.32; author ms; state Exp;
branches;
next 1.75;
1.75
date 2004.10.06.18.06.10; author rse; state Exp;
branches
1.75.2.1;
next 1.74;
1.74
date 2004.09.20.14.33.23; author rse; state Exp;
branches;
next 1.73;
1.73
date 2004.08.27.18.42.02; author rse; state Exp;
branches;
next 1.72;
1.72
date 2004.07.22.18.00.25; author rse; state Exp;
branches;
next 1.71;
1.71
date 2004.07.15.16.54.26; author cs; state Exp;
branches;
next 1.70;
1.70
date 2004.07.02.09.20.00; author cs; state Exp;
branches
1.70.2.1;
next 1.69;
1.69
date 2004.07.02.07.18.39; author cs; state Exp;
branches;
next 1.68;
1.68
date 2004.06.24.12.57.06; author cs; state Exp;
branches;
next 1.67;
1.67
date 2004.05.10.18.30.19; author rse; state Exp;
branches;
next 1.66;
1.66
date 2004.05.05.17.51.18; author rse; state Exp;
branches;
next 1.65;
1.65
date 2004.04.15.17.49.50; author rse; state Exp;
branches;
next 1.64;
1.64
date 2004.03.30.08.44.04; author ms; state Exp;
branches;
next 1.63;
1.63
date 2004.02.07.17.54.45; author rse; state Exp;
branches;
next 1.62;
1.62
date 2004.02.03.20.01.04; author rse; state Exp;
branches;
next 1.61;
1.61
date 2004.01.23.13.08.37; author rse; state Exp;
branches;
next 1.60;
1.60
date 2003.12.03.15.41.07; author ms; state Exp;
branches;
next 1.59;
1.59
date 2003.10.21.16.37.22; author ms; state Exp;
branches;
next 1.58;
1.58
date 2003.09.23.08.18.02; author ms; state Exp;
branches;
next 1.57;
1.57
date 2003.09.18.15.38.11; author rse; state Exp;
branches;
next 1.56;
1.56
date 2003.08.18.18.09.11; author rse; state Exp;
branches;
next 1.55;
1.55
date 2003.08.18.10.46.05; author mlelstv; state Exp;
branches;
next 1.54;
1.54
date 2003.08.14.21.10.40; author rse; state Exp;
branches;
next 1.53;
1.53
date 2003.07.23.13.45.25; author thl; state Exp;
branches;
next 1.52;
1.52
date 2003.07.23.13.31.50; author rse; state Exp;
branches;
next 1.51;
1.51
date 2003.07.22.14.35.00; author mlelstv; state Exp;
branches;
next 1.50;
1.50
date 2003.07.22.08.10.46; author rse; state Exp;
branches;
next 1.49;
1.49
date 2003.07.21.08.12.31; author thl; state Exp;
branches;
next 1.48;
1.48
date 2003.07.19.17.05.53; author rse; state Exp;
branches;
next 1.47;
1.47
date 2003.07.17.18.29.51; author thl; state Exp;
branches;
next 1.46;
1.46
date 2003.07.17.15.32.38; author thl; state Exp;
branches;
next 1.45;
1.45
date 2003.07.14.14.25.56; author thl; state Exp;
branches;
next 1.44;
1.44
date 2003.07.10.07.50.25; author rse; state Exp;
branches;
next 1.43;
1.43
date 2003.07.09.10.10.12; author mlelstv; state Exp;
branches;
next 1.42;
1.42
date 2003.07.08.14.39.26; author rse; state Exp;
branches;
next 1.41;
1.41
date 2003.07.08.14.25.03; author rse; state Exp;
branches;
next 1.40;
1.40
date 2003.07.08.13.02.52; author thl; state Exp;
branches;
next 1.39;
1.39
date 2003.07.07.10.14.24; author mlelstv; state Exp;
branches;
next 1.38;
1.38
date 2003.06.24.15.59.38; author mlelstv; state Exp;
branches;
next 1.37;
1.37
date 2003.05.15.06.43.13; author mlelstv; state Exp;
branches;
next 1.36;
1.36
date 2003.03.12.15.39.25; author thl; state Exp;
branches;
next 1.35;
1.35
date 2003.01.03.10.51.50; author rse; state Exp;
branches;
next 1.34;
1.34
date 2002.12.30.22.03.45; author rse; state Exp;
branches;
next 1.33;
1.33
date 2002.12.30.21.04.06; author rse; state Exp;
branches;
next 1.32;
1.32
date 2002.12.20.19.30.55; author rse; state Exp;
branches;
next 1.31;
1.31
date 2002.12.19.07.50.30; author thl; state Exp;
branches;
next 1.30;
1.30
date 2002.12.11.20.52.15; author rse; state Exp;
branches;
next 1.29;
1.29
date 2002.10.22.13.49.46; author ms; state Exp;
branches;
next 1.28;
1.28
date 2002.10.14.19.11.07; author ms; state Exp;
branches;
next 1.27;
1.27
date 2002.08.13.12.47.55; author rse; state Exp;
branches;
next 1.26;
1.26
date 2002.08.12.15.39.04; author ms; state Exp;
branches;
next 1.25;
1.25
date 2002.07.22.18.55.18; author rse; state Exp;
branches;
next 1.24;
1.24
date 2002.06.22.19.54.48; author rse; state Exp;
branches;
next 1.23;
1.23
date 2002.05.29.19.59.51; author rse; state Exp;
branches;
next 1.22;
1.22
date 2002.03.06.14.22.41; author rse; state Exp;
branches;
next 1.21;
1.21
date 2002.02.08.10.49.33; author rse; state Exp;
branches;
next 1.20;
1.20
date 2002.02.07.14.20.56; author rse; state Exp;
branches;
next 1.19;
1.19
date 2001.12.31.14.59.19; author rse; state Exp;
branches;
next 1.18;
1.18
date 2001.12.27.14.59.29; author rse; state Exp;
branches;
next 1.17;
1.17
date 2001.12.21.09.52.54; author rse; state Exp;
branches;
next 1.16;
1.16
date 2001.11.30.22.20.47; author rse; state Exp;
branches;
next 1.15;
1.15
date 2001.11.30.20.11.43; author rse; state Exp;
branches;
next 1.14;
1.14
date 2001.11.30.14.26.42; author rse; state Exp;
branches;
next 1.13;
1.13
date 2001.11.29.12.34.22; author rse; state Exp;
branches;
next 1.12;
1.12
date 2001.11.26.16.33.08; author rse; state Exp;
branches;
next 1.11;
1.11
date 2001.11.26.15.19.01; author rse; state Exp;
branches;
next 1.10;
1.10
date 2001.11.23.21.18.53; author rse; state Exp;
branches;
next 1.9;
1.9
date 2001.11.21.09.20.41; author rse; state Exp;
branches;
next 1.8;
1.8
date 2001.11.02.11.30.40; author rse; state Exp;
branches;
next 1.7;
1.7
date 2001.10.30.17.46.57; author rse; state Exp;
branches;
next 1.6;
1.6
date 2001.10.25.09.22.34; author rse; state Exp;
branches;
next 1.5;
1.5
date 2001.10.24.18.15.20; author rse; state Exp;
branches;
next 1.4;
1.4
date 2001.10.23.11.22.56; author rse; state Exp;
branches;
next 1.3;
1.3
date 2001.10.17.15.07.22; author rse; state Exp;
branches;
next 1.2;
1.2
date 2001.10.12.13.45.44; author cs; state Exp;
branches;
next 1.1;
1.1
date 2001.10.12.08.59.26; author rse; state Exp;
branches;
next ;
1.98.2.1
date 2006.06.20.15.16.36; author rse; state Exp;
branches;
next 1.98.2.2;
commitid P9b9BoNafLYTTKBr;
1.98.2.2
date 2006.10.16.14.49.52; author rse; state Exp;
branches;
next 1.98.2.3;
commitid iZxwRSmmWscPXUQr;
1.98.2.3
date 2006.12.22.21.09.15; author thl; state Exp;
branches;
next 1.98.2.4;
commitid qoLOSlAgyATgXyZr;
1.98.2.4
date 2007.01.26.17.00.47; author thl; state Exp;
branches;
next ;
commitid RajVR207jGKgs24s;
1.92.2.1
date 2005.10.11.12.49.51; author rse; state Exp;
branches;
next ;
1.86.2.1
date 2005.06.15.18.59.10; author rse; state Exp;
branches;
next 1.86.2.2;
1.86.2.2
date 2005.09.05.13.22.24; author rse; state Exp;
branches;
next ;
1.83.2.1
date 2005.02.21.17.06.41; author rse; state Exp;
branches;
next 1.83.2.2;
1.83.2.2
date 2005.09.05.13.23.38; author rse; state Exp;
branches;
next ;
1.75.2.1
date 2004.10.11.18.54.54; author rse; state Exp;
branches;
next ;
1.70.2.1
date 2004.07.02.15.24.44; author rse; state Exp;
branches;
next ;
desc
@@
1.120
log
@upgrading package: exim 4.69 -> 4.70
@
text
@##
## exim.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: exim
Summary: Exim Mail Transfer Agent
URL: http://www.exim.org/
Vendor: Philip Hazel
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: PLUS
Group: Mail
License: GPL
Version: 4.70
Release: 20091115
# package options
%option with_auth_cram_md5 no
%option with_auth_dovecot no
%option with_auth_plaintext no
%option with_auth_sasl no
%option with_content_scan no
%option with_dlfunc no
%option with_dsearch no
%option with_ipv6 no
%option with_maildir no
%option with_mailstore no
%option with_mbx no
%option with_mysql no
%option with_pgsql no
%option with_spf no
%option with_sqlite no
%option with_ssl no
%option with_wrap no
# list of sources
Source0: ftp://gd.tuwien.ac.at/infosys/mail/exim/exim/exim4/exim-%{version}.tar.bz2
Source1: rc.exim
Source2: exim.conf
Source3: aliases
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823, make, perl, gzip
PreReq: OpenPKG, openpkg >= 20060823, perl, gzip
BuildPreReq: db >= 4.1.24, libiconv
PreReq: db >= 4.1.24, libiconv
%if "%{with_auth_sasl}" == "yes"
BuildPreReq: sasl
PreReq: sasl
%endif
%if "%{with_dlfunc}" == "yes" || "%{with_spf}" == "yes"
BuildPreReq: gcc
%endif
%if "%{with_mysql}" == "yes"
BuildPreReq: mysql, zlib
PreReq: mysql, zlib
%endif
%if "%{with_pgsql}" == "yes"
BuildPreReq: postgresql, openssl
PreReq: postgresql, openssl
%endif
%if "%{with_spf}" == "yes"
BuildPreReq: libspf2
PreReq: libspf2
%endif
%if "%{with_sqlite}" == "yes"
BuildPreReq: sqlite
PreReq: sqlite
%endif
%if "%{with_ssl}" == "yes"
BuildPreReq: openssl
PreReq: openssl
%endif
%if "%{with_wrap}" == "yes"
BuildPreReq: tcpwrappers
PreReq: tcpwrappers
%endif
AutoReq: no
AutoReqProv: no
Provides: MTA
Conflicts: postfix, sendmail, ssmtp
%description
Exim is a message transfer agent (MTA) developed at the University
of Cambridge for use on Unix systems connected to the Internet.
In style it is similar to Smail 3, but its facilities are more
extensive, and in particular it has some defences against mail
bombs and unsolicited junk mail in the form of options for refusing
messages from particular hosts, networks, or senders. It can be
installed in place of sendmail, although the configuration of Exim
is quite different to that of Sendmail.
%track
prog exim = {
version = %{version}
url = ftp://gd.tuwien.ac.at/infosys/mail/exim/exim/exim4/
regex = exim-(__VER__)\.tar\.bz2
}
%prep
%setup -q
%{l_shtool} subst \
-e 's;STRING_UNKNOWN;"unknown";g' \
src/smtp_in.c
%{l_shtool} subst \
-e 's;\(if \[ $name = exim${EXE}\)\( \]\; then\);\1 -a ".$DESTDIR" = . \2;' \
scripts/exim_install
%build
# correctly specify missing realtime functions library
EXTRALIBS="%{l_ldflags} -liconv"
case "%{l_platform -t}" in
*-sunos* ) EXTRALIBS="$EXTRALIBS -lrt" ;;
esac
%if "%{with_dlfunc}" == "yes"
EXTRALIBS="$EXTRALIBS -export-dynamic -shared"
%endif
# create local compile-time configuration
( cat src/EDITME
echo 'CC=%{l_cc}'
echo 'INCLUDE=%{l_cppflags}'
echo 'CFLAGS=%{l_cflags -O}'
echo 'LDFLAGS=%{l_ldflags}'
echo "EXTRALIBS+=$EXTRALIBS"
echo "EXTRALIBS_EXIM+=$EXTRALIBS"
# user/group settings
echo 'EXIM_USER=%{l_rusr}'
echo 'EXIM_GROUP=%{l_rgrp}'
echo 'FIXED_NEVER_USERS=%{l_susr}'
# directory layout
echo 'BIN_DIRECTORY=%{l_prefix}/sbin'
echo 'CONFIGURE_FILE=%{l_prefix}/etc/exim/exim.conf'
echo 'SYSTEM_ALIASES_FILE=%{l_prefix}/etc/exim/aliases'
echo 'LOG_FILE_PATH=%{l_prefix}/var/exim/log/%s.log'
echo 'PID_FILE_PATH=%{l_prefix}/var/exim/run/exim.pid'
echo 'SPOOL_DIRECTORY=%{l_prefix}/var/exim/spool'
# dynamically loading support
%if "%{with_dlfunc}" == "yes"
echo 'EXPAND_DLFUNC=yes'
%endif
# content scanning support
%if "%{with_content_scan}" == "yes"
echo 'WITH_CONTENT_SCAN=yes'
%endif
# helper applications
echo 'PERL_COMMAND=%{l_prefix}/bin/perl'
echo 'COMPRESS_COMMAND=%{l_prefix}/bin/gzip'
echo 'ZCAT_COMMAND=%{l_prefix}/bin/zcat'
# don't build exim monitor
echo 'EXIM_MONITOR='
# character code conversions used by $header_xxx expansion and
# Sieve filter
echo 'HAVE_ICONV=YES'
echo 'HEADERS_CHARSET=ISO-8859-1'
# use Berkeley DB in native mode as DBM library
echo 'USE_DB=yes'
echo 'DBMLIB=%{l_ldflags} -ldb'
# LMTP support
echo 'TRANSPORT_LMTP=yes'
# move frozen mails out of the main spool directory
echo 'SUPPORT_MOVE_FROZEN_MESSAGES=yes'
# support for external AUTH mechanisms
%if "%{with_auth_dovecot}" == "yes"
echo 'AUTH_DOVECOT=yes'
%endif
%if "%{with_auth_sasl}" == "yes"
echo 'AUTH_CYRUS_SASL=yes'
echo 'AUTH_LIBS=%{l_ldflags} -lsasl2'
%endif
# AUTH extensions of the SMTP as defined by RFC 2554
%if "%{with_auth_cram_md5}" == "yes"
echo 'AUTH_CRAM_MD5=yes'
%endif
%if "%{with_auth_plaintext}" == "yes"
echo 'AUTH_PLAINTEXT=yes'
%endif
# IPv6 support
%if "%{with_ipv6}" == "yes"
echo 'HAVE_IPV6=YES'
%endif
# support for dsearch lookups
%if "%{with_dsearch}" == "yes"
echo 'LOOKUP_DSEARCH=yes'
%endif
# support for MySQL lookups
%if "%{with_mysql}" == "yes"
echo 'LOOKUP_MYSQL=yes'
echo 'LOOKUP_INCLUDE+=%{l_cppflags mysql}'
echo 'LOOKUP_LIBS+=%{l_ldflags mysql} -lmysqlclient -lz -lm'
%endif
# support for PostgreSQL lookups
%if "%{with_pgsql}" == "yes"
echo 'LOOKUP_PGSQL=yes'
echo 'LOOKUP_INCLUDE+=%{l_cppflags postgresql}'
echo 'LOOKUP_LIBS+=%{l_ldflags} -lpq -lssl -lcrypto -lcrypt'
%endif
# support for SQLite lookups
%if "%{with_sqlite}" == "yes"
echo 'LOOKUP_SQLITE=yes'
echo 'LOOKUP_LIBS+=%{l_ldflags} -lsqlite3'
%endif
# support for Transport layer security using SSL
%if "%{with_ssl}" == "yes"
echo 'SUPPORT_TLS=yes'
echo 'TLS_INCLUDE=%{l_cppflags}'
echo 'TLS_LIBS=%{l_ldflags} -lssl -lcrypto'
%endif
# TCP wrapper support
%if "%{with_wrap}" == "yes"
echo 'USE_TCP_WRAPPERS=yes'
echo 'EXTRALIBS_EXIM+=%{l_ldflags} -lwrap'
%endif
# support for various appendfile transports
%if "%{with_maildir}" == "yes"
echo 'SUPPORT_MAILDIR=yes'
%endif
%if "%{with_mailstore}" == "yes"
echo 'SUPPORT_MAILSTORE=yes'
%endif
%if "%{with_mbx}" == "yes"
echo 'SUPPORT_MBX=yes'
%endif
# experimental extensions
%if "%{with_spf}" == "yes"
echo 'EXPERIMENTAL_SPF=yes'
echo 'CFLAGS+=-DSPF'
echo 'EXTRALIBS_EXIM+=-lspf2 -pthread'
%endif
) >Local/Makefile
case "%{l_platform -t}" in
*-freebsd* )
%{l_shtool} subst \
-e 's;^\.if \([^ ]*\) == \([^ ]*\) *$;ifeq (\1,\2);' \
-e 's;^\.endif.*$;endif;' \
OS/Makefile-FreeBSD
;;
esac
%{l_make} %{l_mflags} makefile
%{l_make} %{l_mflags}
%install
rm -rf $RPM_BUILD_ROOT
# create directories
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/etc/exim \
$RPM_BUILD_ROOT%{l_prefix}/man/man8 \
$RPM_BUILD_ROOT%{l_prefix}/sbin \
$RPM_BUILD_ROOT%{l_prefix}/var/exim/log \
$RPM_BUILD_ROOT%{l_prefix}/var/exim/run
# install default configuration which must be done before the
# installation of exim
%{l_shtool} install -c -m 640 %{l_value -s -a} \
%{SOURCE exim.conf} \
%{SOURCE aliases} \
$RPM_BUILD_ROOT%{l_prefix}/etc/exim/
# install exim
%{l_make} install DESTDIR="$RPM_BUILD_ROOT" INSTALL_ARG="-no_chown"
# install man pages
%{l_shtool} install -c -m 644 \
doc/exim.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
# provide backward compatibility
for i in mailq newaliases rmail rsmtp runq sendmail; do
ln -s exim $RPM_BUILD_ROOT%{l_prefix}/sbin/$i
ln -s exim.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/$i.8
done
for i in mailq newaliases rmail; do
ln -s ../sbin/exim $RPM_BUILD_ROOT%{l_prefix}/bin/$i
done
# install run-command script
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE rc.exim} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
# strip installation
rm -f $RPM_BUILD_ROOT%{l_prefix}/sbin/exicyclog
strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* >/dev/null 2>&1 || true
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%dir %attr(0750,%{l_susr},%{l_rgrp}) %{l_prefix}/etc/exim' \
'%config %attr(0640,%{l_susr},%{l_rgrp}) %{l_prefix}/etc/exim/*' \
' %attr(4711,%{l_susr},%{l_sgrp}) %{l_prefix}/sbin/exim' \
'%dir %attr(0755,%{l_susr},%{l_sgrp}) %{l_prefix}/var/exim' \
'%dir %attr(0770,%{l_susr},%{l_rgrp}) %{l_prefix}/var/exim/log' \
'%dir %attr(0755,%{l_susr},%{l_sgrp}) %{l_prefix}/var/exim/run'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
%post
# after upgrade, restart service
[ $1 -eq 2 ] || exit 0
eval `%{l_rc} exim status 2>/dev/null`
[ ".$exim_active" = .yes ] && %{l_rc} exim restart
exit 0
%preun
# before erase, stop service and remove log files
[ $1 -eq 0 ] || exit 0
%{l_rc} exim stop 2>/dev/null
rm -f $RPM_INSTALL_PREFIX/var/exim/* >/dev/null 2>&1 || true
exit 0
@
1.119
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version: 4.69
Release: 20080411
d57 1
a57 1
Source0: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/exim-%{version}.tar.bz2
d118 1
a118 1
url = ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/
@
1.118
log
@fix build of SPF (Sender Policy Framework) support
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.117
log
@add optional support for dsearch lookups
@
text
@d35 1
a35 1
Release: 20080327
d73 1
a73 1
%if "%{with_dlfunc}" == "yes"
d270 2
a271 1
echo 'LDFLAGS+=-lspf2'
@
1.116
log
@add optional support for the Dovecot authenticator
@
text
@d35 1
a35 1
Release: 20080226
d44 1
d218 5
@
1.115
log
@upgrading package: exim 4.68 -> 4.69
@
text
@d35 1
a35 1
Release: 20080111
d39 1
d196 3
@
1.114
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d34 2
a35 2
Version: 4.68
Release: 20080101
@
1.113
log
@add support for external authentication mechanisms using the Cyrus SASL library
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20071010
@
1.112
log
@upgrading package: exim 4.67 -> 4.68
@
text
@d36 1
a36 1
Release: 20070830
d41 1
d68 4
d195 6
@
1.111
log
@code redundancy and cosmetics
@
text
@d35 2
a36 2
Version: 4.67
Release: 20070724
@
1.110
log
@upgrading package: exim 4.66 -> 4.67
@
text
@d36 1
a36 1
Release: 20070417
@
1.109
log
@sort options
@
text
@d35 2
a36 2
Version: 4.66
Release: 20070413
a58 1
Patch0: exim.patch
a117 1
%patch -p0
@
1.108
log
@fixed build against OpenSSL 0.9.8e
@
text
@d41 1
a52 1
%option with_content_scan no
@
1.107
log
@experimental Sender Policy Framework (SPF) support
@
text
@d59 1
d119 1
@
1.106
log
@weekly maintenance for Exim's hint databases using exim_tidydb
@
text
@d36 1
a36 1
Release: 20070112
d48 1
d78 4
d246 6
@
1.105
log
@upgrading package: exim 4.65 -> 4.66
@
text
@d36 1
a36 1
Release: 20070109
@
1.104
log
@upgrading package: exim 4.64 -> 4.65
@
text
@d35 2
a36 2
Version: 4.65
Release: 20070102
@
1.103
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version: 4.64
Release: 20061220
@
1.102
log
@upgrading package: exim 4.63 -> 4.64
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.101
log
@new world order for "Packager" and "Distribution" headers
@
text
@d35 2
a36 2
Version: 4.63
Release: 20061013
@
1.100
log
@replace '@@l_prefix@@/lib/openpkg/bash @@l_prefix@@/etc/rc' in shebang with '@@l_prefix@@/bin/openpkg rc' to allow people who run the rc.xxx scripts directly (as executables) to leverage from the Set-UID functionality
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20060825
@
1.99
log
@upgrading package: exim 4.62 -> 4.63
@
text
@d36 1
a36 1
Release: 20060801
d62 2
a63 2
BuildPreReq: OpenPKG, openpkg >= 20040130, make, perl, gzip
PreReq: OpenPKG, openpkg >= 20040130, perl, gzip
@
1.98
log
@modifying package: exim-4.62 20060502 -> 20060522
@
text
@d35 2
a36 2
Version: 4.62
Release: 20060522
@
1.98.2.1
log
@bump release numbers for OpenPKG 2.20060622 in advance
@
text
@d36 1
a36 1
Release: 2.20060622
d62 2
a63 2
BuildPreReq: OpenPKG, openpkg >= 2.20060622, make, perl, gzip
PreReq: OpenPKG, openpkg >= 2.20060622, perl, gzip
@
1.98.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@d30 2
a31 2
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
d35 2
a36 2
Version: 4.63
Release: 2.20061018
d62 2
a63 2
BuildPreReq: OpenPKG, openpkg >= 2.20061018, make, perl, gzip
PreReq: OpenPKG, openpkg >= 2.20061018, perl, gzip
@
1.98.2.3
log
@MFC: make up leeway for 2_STABLE by virtue of build-time results
@
text
@d35 2
a36 2
Version: 4.64
Release: 2.20061222
@
1.98.2.4
log
@MFC: make up leeway for 2_STABLE by virtue of build-time results
@
text
@d3 2
a4 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 2
a36 2
Version: 4.66
Release: 2.20070126
@
1.97
log
@upgrading package: exim 4.61 -> 4.62
@
text
@d36 1
a36 1
Release: 20060502
@
1.96
log
@upgrading package: exim 4.60 -> 4.61
@
text
@d35 2
a36 2
Version: 4.61
Release: 20060411
a124 1
*-freebsd* ) EXTRALIBS="$EXTRALIBS -lutil" ;;
@
1.95
log
@added option to enable content scanning hooks in ACLs
@
text
@d35 2
a36 2
Version: 4.60
Release: 20060209
d125 1
@
1.94
log
@adjust copyrights for new year 2006
@
text
@d36 1
a36 1
Release: 20051129
d51 1
d157 5
@
1.93
log
@upgrading package: exim 4.54 -> 4.60
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.92
log
@upgrading package: exim 4.53 -> 4.54
@
text
@d35 2
a36 2
Version: 4.54
Release: 20051004
@
1.92.2.1
log
@bump release numbers for OpenPKG 2.5
@
text
@d36 1
a36 1
Release: 2.5.0
d61 2
a62 2
BuildPreReq: OpenPKG, openpkg >= 2.5.0, make, perl, gzip
PreReq: OpenPKG, openpkg >= 2.5.0, perl, gzip
@
1.91
log
@modifying package: exim-4.53 20050926 -> 20050927
@
text
@d35 2
a36 2
Version: 4.53
Release: 20050927
a104 1
comment = "cs: remove 4.53-specific fix in %patch section when 4.54 is released"
a118 5
# typo in 4.53
%{l_shtool} subst \
-e 's;^pcre_globals\.:;pcre_globals.o:;' \
src/pcre/Makefile
@
1.90
log
@upgrade and add support for its new SQLite lookup method
@
text
@d36 1
a36 1
Release: 20050926
d105 1
d120 5
@
1.89
log
@fix quoting
@
text
@d35 2
a36 2
Version: 4.52
Release: 20050913
d48 1
a56 1
Patch0: exim.patch
d76 4
a111 1
%patch -p0
d206 6
@
1.88
log
@apply Security Fix (CAN-2005-2491)
@
text
@d36 1
a36 1
Release: 20050905
d65 1
a65 1
%if "%{with_dlfunc}" == yes
@
1.87
log
@upgrading package: exim 4.51 -> 4.52
@
text
@d36 1
a36 1
Release: 20050701
d56 1
d108 1
@
1.86
log
@new expansion item for dynamically loading and calling a locally-written C function is now provided
@
text
@d35 2
a36 2
Version: 4.51
Release: 20050506
@
1.86.2.1
log
@bump release numbers for OpenPKG 2.4
@
text
@d36 1
a36 1
Release: 2.4.0
d60 2
a61 2
BuildPreReq: OpenPKG, openpkg >= 2.4.0, make, perl, gzip
PreReq: OpenPKG, openpkg >= 2.4.0, perl, gzip
@
1.86.2.2
log
@apply Security Fix (CAN-2005-2491)
@
text
@d36 1
a36 1
Release: 2.4.1
a55 1
Patch0: exim.patch
a106 1
%patch -p0
@
1.85
log
@upgrading package: exim 4.50 -> 4.51
@
text
@d41 1
d61 1
a61 1
PreReq: OpenPKG, openpkg >= 20040130, make, perl, gzip
d64 3
d120 3
d146 5
@
1.84
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d35 2
a36 2
Version: 4.50
Release: 20050218
@
1.83
log
@upgrading package: exim 4.44 -> 4.50
@
text
@d2 3
a4 4
## exim.spec -- OpenPKG RPM Specification
## Copyright (c) 2000-2005 The OpenPKG Project
## Copyright (c) 2000-2005 Ralf S. Engelschall
## Copyright (c) 2000-2005 Cable & Wireless
d30 1
a30 1
Packager: The OpenPKG Project
@
1.83.2.1
log
@bump release numbers for OpenPKG 2.3
@
text
@d37 1
a37 1
Release: 2.3.0
d60 2
a61 2
BuildPreReq: OpenPKG, openpkg >= 2.3.0, make, perl, gzip
PreReq: OpenPKG, openpkg >= 2.3.0, make, perl, gzip
@
1.83.2.2
log
@apply Security Fix (CAN-2005-2491)
@
text
@d37 1
a37 1
Release: 2.3.1
a55 1
Patch0: exim.patch
a103 1
%patch -p0
@
1.82
log
@upgrading package: exim 4.43 -> 4.44
@
text
@d36 2
a37 2
Version: 4.44
Release: 20050115
@
1.81
log
@additional appendfile transports
@
text
@d36 2
a37 2
Version: 4.43
Release: 20050107
a55 1
Patch0: exim.patch
a103 1
%patch -p1
@
1.80
log
@build fixes, primarily Solaris related
@
text
@d43 3
d204 11
@
1.79
log
@fixed two security issues and typo in config
@
text
@d63 2
a64 2
BuildPreReq: mysql
PreReq: mysql
d123 2
a150 1
echo "EXTRALIBS_EXIM+=$EXTRALIBS"
d199 1
a199 1
echo "EXTRALIBS_EXIM+=%{l_ldflags} -lwrap"
@
1.78
log
@Happy New Year 2005
@
text
@d37 1
a37 1
Release: 20041209
d53 1
d102 1
@
1.77
log
@remove leading blank line
@
text
@d3 3
a5 3
## Copyright (c) 2000-2004 The OpenPKG Project
## Copyright (c) 2000-2004 Ralf S. Engelschall
## Copyright (c) 2000-2004 Cable & Wireless
@
1.76
log
@conditionally specify missing realtime functions library
@
text
@a108 1
@
1.75
log
@upgrading package: exim 4.42 -> 4.43
@
text
@d37 1
a37 1
Release: 20041006
d109 7
d148 1
a148 1
echo 'EXTRALIBS_EXIM+=%{l_ldflags} -liconv'
@
1.75.2.1
log
@bump release numbers for OpenPKG 2.2
@
text
@d37 1
a37 1
Release: 2.2.0
d57 2
a58 2
BuildPreReq: OpenPKG, openpkg >= 2.2.0, make, perl, gzip
PreReq: OpenPKG, openpkg >= 2.2.0, make, perl, gzip
@
1.74
log
@remove lonely logfile rotation comment in rc files
@
text
@d36 2
a37 2
Version: 4.42
Release: 20040920
@
1.73
log
@upgrading package: exim 4.41 -> 4.42
@
text
@d37 1
a37 1
Release: 20040827
@
1.72
log
@upgrading package: exim 4.40 -> 4.41
@
text
@d36 2
a37 2
Version: 4.41
Release: 20040722
@
1.71
log
@upgrading package: exim 4.34 -> 4.40
@
text
@d36 2
a37 2
Version: 4.40
Release: 20040715
@
1.70
log
@added support for MySQL and PostgreSQL
@
text
@d36 2
a37 2
Version: 4.34
Release: 20040702
@
1.70.2.1
log
@bump release numbers for OpenPKG 2.1
@
text
@d37 1
a37 1
Release: 2.1.0
d57 2
a58 2
BuildPreReq: OpenPKG, openpkg >= 2.1.0, make, perl, gzip
PreReq: OpenPKG, openpkg >= 2.1.0, make, perl, gzip
@
1.69
log
@modifying package: exim-4.34 20040624 -> 20040702
@
text
@d43 2
d59 10
a68 2
BuildPreReq: openssl, db >= 4.1.24, libiconv
PreReq: openssl, db >= 4.1.24, libiconv
d166 14
@
1.68
log
@Exim is back :-) upgrade to EVAL
@
text
@d33 1
a33 1
Class: EVAL
d37 1
a37 1
Release: 20040624
d55 2
a56 2
BuildPreReq: OpenPKG, openpkg >= 20040130, perl, gzip
PreReq: OpenPKG, openpkg >= 20040130, perl, gzip
a130 1
echo 'LIBS+=-liconv'
@
1.67
log
@upgrading package: exim 4.33 -> 4.34
@
text
@a25 2
# FIXME: mlelstv -- problems with config and permissions
d33 1
a33 1
Class: JUNK
d37 1
a37 1
Release: 20040510
d40 5
a44 1
%option with_fsl yes
d48 3
a50 3
Source1: exim-man.tar.gz
Source2: rc.exim
Source3: fsl.exim
d59 7
a65 3
%if "%{with_fsl}" == "yes"
BuildPreReq: fsl >= 1.3.0
PreReq: fsl >= 1.3.0
d91 6
a96 1
%{l_gzip} -d -c %{SOURCE exim-man.tar.gz} | %{l_tar} xvf -
d99 4
a102 2
cp src/EDITME Local/Makefile
( echo 'CC=%{l_cc}'
d104 11
a114 6
echo 'LDFLAGS=%{l_fsl_ldflags}'
echo 'LIBS+=%{l_ldflags} %{l_fsl_libs} -liconv'
echo 'EXIM_UID=%{l_muid}'
echo 'EXIM_GID=%{l_mgid}'
echo 'EXIM_USER=%{l_nusr}'
echo 'EXIM_GROUP=%{l_ngrp}'
d116 1
a116 1
echo 'PID_FILE_PATH=%{l_prefix}/var/exim/run/%s.pid'
d118 24
a141 1
echo 'INFO_DIRECTORY=%{l_prefix}/info'
d143 16
d162 8
a169 18
echo 'TRANSPORT_LMTP=yes'
echo 'INCLUDE=%{l_cppflags}'
echo 'DBMLIB=%{l_ldflags} -ldb'
echo 'USE_DB=yes'
echo 'PERL_COMMAND=%{l_prefix}/bin/perl'
echo 'CHOWN_COMMAND=true'
echo 'NO_SYMLINK=yes'
) >>Local/Makefile
%{l_shtool} subst \
-e 's;^\(BIN_DIRECTORY=\).*;\1%{l_prefix}/bin;' \
-e 's;^\(COMPRESS_COMMAND=\).*;\1%{l_prefix}/bin/gzip;' \
-e 's;^\(ZCAT_COMMAND=\).*;\1%{l_prefix}/bin/zcat;' \
-e 's;^\(CONFIGURE_FILE=\).*;\1%{l_prefix}/etc/exim/exim.conf;' \
-e 's;^\(EXIM_MONITOR=.*\);#\1;' \
Local/Makefile
%{l_shtool} subst \
-e 's;^\(CHOWN_COMMAND=\).*;\1true;' \
OS/Makefile-`uname`
a170 2
make="%{l_make}"
mflags="%{l_mflags}"
d172 6
a177 1
*-freebsd* ) make="make"; mflags=""; PATH="/usr/bin:$PATH" ;;
d179 3
a181 2
$make $mflags makefile
$make $mflags
d186 1
a187 1
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
d189 2
a191 3
$RPM_BUILD_ROOT%{l_prefix}/etc/exim \
$RPM_BUILD_ROOT%{l_prefix}/var/exim \
$RPM_BUILD_ROOT%{l_prefix}/var/exim/run \
d193 1
a193 1
$RPM_BUILD_ROOT%{l_prefix}/man/man8
d195 11
d207 1
a207 12
exim-man/*.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
INST_CHOWN=true; export INST_CHOWN
INST_BIN_DIRECTORY=$RPM_BUILD_ROOT%{l_prefix}/bin; export INST_BIN_DIRECTORY
INST_CONFIGURE_FILE=$RPM_BUILD_ROOT%{l_prefix}/etc/exim/exim.conf; export INST_CONFIGURE_FILE
INST_INFO_DIRECTORY=$RPM_BUILD_ROOT%{l_prefix}/info; export INST_INFO_DIRECTORY
make="%{l_make}"
mflags="%{l_mflags}"
case "%{l_platform -t}" in
*-freebsd* ) make="make"; mflags=""; PATH="/usr/bin:$PATH" ;;
esac
$make $mflags install
d209 8
a216 14
mv $RPM_BUILD_ROOT%{l_prefix}/bin/exim-%{version}* \
$RPM_BUILD_ROOT%{l_prefix}/bin/exim
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
( cd $RPM_BUILD_ROOT%{l_prefix}/sbin
ln -s ../bin/exim sendmail
ln -s ../bin/exim mailq
ln -s ../bin/exim rmail
) || exit $?
( echo "#!/bin/sh"
echo "%{l_prefix}/sbin/sendmail -bi"
) >$RPM_BUILD_ROOT%{l_prefix}/sbin/newaliases
chmod 755 $RPM_BUILD_ROOT%{l_prefix}/sbin/newaliases
d224 3
a226 5
# install OSSP fsl configuration
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/fsl
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE fsl.exim} \
$RPM_BUILD_ROOT%{l_prefix}/etc/fsl/
d231 6
a236 3
'%not %dir %{l_prefix}/etc/fsl' \
'%config %{l_prefix}/etc/fsl/fsl.exim' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/exim'
@
1.66
log
@upgrading package: exim 4.32 -> 4.33
@
text
@d38 2
a39 2
Version: 4.33
Release: 20040505
@
1.65
log
@upgrading package: exim 4.31 -> 4.32
@
text
@d38 2
a39 2
Version: 4.32
Release: 20040415
@
1.64
log
@upgrading package: exim 4.30 -> 4.31
@
text
@d38 2
a39 2
Version: 4.31
Release: 20040330
@
1.63
log
@Mass Commit:
reduce redundancy within .spec files by referencing
macros defining vendor source versions whenever possible.
This was half-way automated and half-way manually edited.
As a result the PMOD activity in 95% of all cases
just means editing the version in one single place, only.
@
text
@d38 2
a39 2
Version: 4.30
Release: 20040207
@
1.62
log
@Mass-Commit:
- split "Distribution" header into "Distribution" (old) and "Class"
(new) headers by moving the attached class information.
- embed the vendor version tracking configuration through the
new "%track" section.
- bump up the OpenPKG bootstrap dependency, because the "Class" header
and "%track" section are only supported by our latest bootstrap version.
@
text
@d39 1
a39 1
Release: 20040203
d78 1
a78 1
version = 4.30
@
1.61
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d34 2
a35 1
Distribution: OpenPKG [JUNK]
d39 1
a39 1
Release: 20031203
d53 2
a54 2
BuildPreReq: OpenPKG, openpkg >= 20030909, perl, gzip
PreReq: OpenPKG, openpkg >= 20030909, perl, gzip
d75 7
@
1.60
log
@upgrading package: exim 4.24 -> 4.30
@
text
@d3 3
a5 3
## Copyright (c) 2000-2003 The OpenPKG Project
## Copyright (c) 2000-2003 Ralf S. Engelschall
## Copyright (c) 2000-2003 Cable & Wireless
@
1.59
log
@Implement features in #202, with exception to (non existent) exim config files
@
text
@d37 2
a38 2
Version: 4.24
Release: 20031021
@
1.58
log
@upgrading package: exim 4.22 -> 4.24
@
text
@d38 1
a38 1
Release: 20030923
d57 2
a58 2
BuildPreReq: fsl >= 1.2.0
PreReq: fsl >= 1.2.0
d189 14
@
1.57
log
@convert to new %{l_platform} world order
@
text
@d37 2
a38 2
Version: 4.22
Release: 20030918
@
1.56
log
@upgrading package: exim 4.21 -> 4.22
@
text
@d38 1
a38 1
Release: 20030818
d52 2
a53 2
BuildPreReq: OpenPKG, openpkg >= 20030718, perl, gzip
PreReq: OpenPKG, openpkg >= 20030718, perl, gzip
d118 1
a118 1
case "%{l_target}" in
d146 1
a146 1
case "%{l_target}" in
@
1.55
log
@requires libiconv
@
text
@d37 1
a37 1
Version: 4.21
@
1.54
log
@blind update, because is JUNK anyway
@
text
@d38 1
a38 1
Release: 20030814
d54 2
a55 2
BuildPreReq: openssl, db >= 4.1.24
PreReq: openssl, db >= 4.1.24
d84 1
a84 1
echo 'LIBS+=%{l_fsl_libs}'
@
1.53
log
@sort conflict for MTA providers
@
text
@d37 2
a38 2
Version: 4.20
Release: 20030723
d52 1
a52 1
BuildPreReq: OpenPKG, openpkg >= 20030718, perl, gzip, tar
@
1.52
log
@achieve robust subshell handling by consistently using '(...) || exit 0' constructs to make sure the scripts fail if a subshell fails
@
text
@d63 1
a63 1
Conflicts: sendmail, postfix, ssmtp
@
1.51
log
@downgrade to junk, no config, permission problems
@
text
@d38 1
a38 1
Release: 20030722
d159 1
a159 1
)
@
1.50
log
@cleanup the priority: move 200 to 500 and because 500 is default just ommit it; fix DNS/NTP/etc. dependencies
@
text
@d26 2
d34 1
a34 1
Distribution: OpenPKG [EVAL]
@
1.49
log
@PR#210: shtool options space before argument
@
text
@d36 1
a36 1
Release: 20030721
@
1.48
log
@replace opXXXX with rcXXXX (PR#207)
@
text
@d36 1
a36 1
Release: 20030719
@
1.47
log
@fix PR#205, use variable %{l_susr} not constant root
@
text
@d36 1
a36 1
Release: 20030717
d50 2
a51 2
BuildPreReq: OpenPKG, openpkg >= 20030717, perl, gzip, tar
PreReq: OpenPKG, openpkg >= 20030717, perl, gzip
@
1.46
log
@fix PR#204, use new %{l_value -s ...}
@
text
@d181 1
a181 1
'%attr(4755,root,%{l_mgrp}) %{l_prefix}/bin/exim'
@
1.45
log
@fix PR#182 append option for l2_channel_file now default and deprecated in fsl >= 1.2.0
@
text
@d36 1
a36 1
Release: 20030714
d50 2
a51 2
BuildPreReq: OpenPKG, openpkg >= 20030710, perl, gzip, tar
PreReq: OpenPKG, openpkg >= 20030710, perl, gzip
d167 1
a167 5
%{l_shtool} install -c -m 755 \
-e 's;@@l_prefix@@;%{l_prefix};g' \
-e 's;@@l_susr@@;%{l_susr};g' \
-e 's;@@l_rusr@@;%{l_rusr};g' \
-e 's;@@l_rgrp@@;%{l_rgrp};g' \
d172 1
a172 2
%{l_shtool} install -c -m 644 \
-e 's;@@l_prefix@@;%{l_prefix};g' \
@
1.44
log
@use new openpkg_rc_def variable in run-command scripts for allowing the admin to change the global default for xxx_enable
@
text
@d36 1
a36 1
Release: 20030710
d55 2
a56 2
BuildPreReq: fsl
PreReq: fsl
@
1.43
log
@do not clobber platform-specific LIBS
@
text
@d36 1
a36 1
Release: 20030709
d50 2
a51 2
BuildPreReq: OpenPKG, openpkg >= 20030708, perl, gzip, tar
PreReq: OpenPKG, openpkg >= 20030708, perl, gzip
@
1.42
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d36 1
a36 1
Release: 20030708
d79 23
a101 23
( echo "CC=%{l_cc}"
echo "CFLAGS=%{l_cflags -O}"
echo "LDFLAGS=%{l_fsl_ldflags}"
echo "LIBS=%{l_fsl_libs}"
echo "EXIM_UID=%{l_muid}"
echo "EXIM_GID=%{l_mgid}"
echo "EXIM_USER=%{l_nusr}"
echo "EXIM_GROUP=%{l_ngrp}"
echo "LOG_FILE_PATH=%{l_prefix}/var/exim/log/%s.log"
echo "PID_FILE_PATH=%{l_prefix}/var/exim/run/%s.pid"
echo "SPOOL_DIRECTORY=%{l_prefix}/var/exim/spool"
echo "INFO_DIRECTORY=%{l_prefix}/info"
echo "SUPPORT_MOVE_FROZEN_MESSAGES=yes"
echo "SUPPORT_TLS=yes"
echo "TLS_INCLUDE=%{l_cppflags}"
echo "TLS_LIBS=%{l_ldflags} -lssl -lcrypto"
echo "TRANSPORT_LMTP=yes"
echo "INCLUDE=%{l_cppflags}"
echo "DBMLIB=%{l_ldflags} -ldb"
echo "USE_DB=yes"
echo "PERL_COMMAND=%{l_prefix}/bin/perl"
echo "CHOWN_COMMAND=true"
echo "NO_SYMLINK=yes"
@
1.41
log
@finish modernization of build flags through %{l_ldflags} and %{l_cppflags}
@
text
@a2 1
## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@
1.40
log
@add fsl support; package was previously was and still is broken
@
text
@d50 2
a51 2
BuildPreReq: OpenPKG, openpkg >= 20030415, perl, gzip, tar
PreReq: OpenPKG, openpkg >= 20030415, perl, gzip
d93 2
a94 2
echo "TLS_INCLUDE=-I%{l_prefix}/include"
echo "TLS_LIBS=-L%{l_prefix}/lib -lssl -lcrypto"
d96 2
a97 2
echo "INCLUDE=-I%{l_prefix}/include"
echo "DBMLIB=-L%{l_prefix}/lib -ldb"
@
1.39
log
@add libraries to PreReq
@
text
@d36 4
a39 1
Release: 20030707
d45 1
d50 2
a51 2
BuildPreReq: OpenPKG, openpkg >= 20020206, perl, gzip, tar
PreReq: OpenPKG, openpkg >= 20020206, perl, gzip
d54 4
d81 2
d130 1
d164 3
d168 1
d170 7
d178 2
a179 1
%{SOURCE rc.exim} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
d181 1
d183 3
a185 1
%{l_files_std} \
@
1.38
log
@fix rc script
@
text
@d36 1
a36 1
Release: 20030624
d46 1
a46 1
BuildPreReq: OpenPKG, openpkg >= 20020206, perl, gzip, openssl, db >= 4.1.24, tar
d48 2
@
1.37
log
@upgrading package: exim 4.14 -> 4.20
@
text
@d36 1
a36 1
Release: 20030515
d152 1
@
1.36
log
@upgrading package: exim 4.12 -> 4.14
@
text
@d35 2
a36 2
Version: 4.14
Release: 20030312
@
1.35
log
@remove '%options' hack, it will be replaced soon with a more elegant solution based on RPM 'Provides' headers
@
text
@d35 2
a36 2
Version: 4.12
Release: 20021219
@
1.34
log
@bump of Copyright messages for forthcoming years 2003
@
text
@a62 2
%options
@
1.33
log
@switch to %option(s), but intentionally WITHOUT dep increase and WITHOUT FTP server updates
@
text
@d3 3
a5 3
## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2002 The OpenPKG Project
## Copyright (c) 2000-2002 Ralf S. Engelschall
@
1.32
log
@consistently use 'Options: none' to indicate no options to 'openpkg build'
@
text
@d63 1
a63 1
Options: none
@
1.31
log
@upgrading package: exim 4.11 -> 4.12
@
text
@d63 2
@
1.30
log
@upgrading package: exim 4.10 -> 4.11
@
text
@d35 2
a36 2
Version: 4.11
Release: 20021211
@
1.29
log
@Be more exact about db version requirement.
@
text
@d35 2
a36 2
Version: 4.10
Release: 20021022
a41 1
Patch0: exim-db4.patch
a64 1
%patch0 -p1
@
1.28
log
@Repair exim build process to conform to new Berkeley db 4.1.24 transactional API.
@
text
@d36 1
a36 1
Release: 20021014
d47 1
a47 1
BuildPreReq: OpenPKG, openpkg >= 20020206, perl, gzip, openssl, db, tar
@
1.27
log
@Woohhooo: apply the new package classification system.
(CORE, BASE, PLUS, PRIV, EVAL, JUNK). A description of
them follows on the website soon.
@
text
@d36 1
a36 1
Release: 20020722
d42 1
d66 1
@
1.26
log
@Added conflict indicator to other MTAs.
@
text
@d32 1
a32 1
Distribution: OpenPKG [EXP]
@
1.25
log
@upgrading package: exim 4.05 -> 4.10
@
text
@d51 1
@
1.24
log
@upgrading package: exim 3.35 -> 4.05
@
text
@d35 2
a36 2
Version: 4.05
Release: 20020622
@
1.23
log
@strip trailing whitespaces
@
text
@d35 2
a36 2
Version: 3.35
Release: 20020306
d39 1
a39 1
Source0: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim3/exim-%{version}.tar.bz2
a66 1
mkdir Local
d72 2
d88 1
d100 1
d104 1
a104 1
*-freebsd* ) make="/usr/bin/make"; mflags="" ;;
d111 1
a111 8
%{l_shtool} subst -s \
-e "s;^\\(BIN_DIRECTORY=*\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
-e "s;^\\(CONFIGURE_FILE=\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
-e "s;^\\(SPOOL_DIRECTORY=\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
-e "s;^\\(INFO_DIRECTORY=\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
-e "s;^\\(LOG_FILE_PATH=\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
-e "s;^\\(PID_FILE_PATH=\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
Local/Makefile
d120 8
d131 1
a131 1
*-freebsd* ) make="/usr/bin/make"; mflags="" ;;
a132 1
INST_CHOWN=true; export INST_CHOWN
d134 3
a136 2
%{l_shtool} install -c -m 644 \
exim-man/*.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
d138 1
d144 1
d149 1
d153 1
@
1.22
log
@upgrade to exim 3.35
@
text
@d23 2
a24 2
## SUCH DAMAGE.
##
d78 1
a78 1
echo "SUPPORT_TLS=yes"
d104 1
a104 1
$make $mflags
@
1.21
log
@Because our latest GNU shtool 1.6.0 (as used in openpkg >= 20020206)
provides a full-featured "shtool subst" command, we finally switch from
our old "rpmtool subst cmd cmd ... -- file ..." to "shtool subst -e cmd
-e cmd ... file ...". Please do no longer use "rpmtool subst" because
its "subst" command will be removed soon, too.
@
text
@d35 2
a36 2
Version: 3.34
Release: 20020206
@
1.20
log
@Switch to l_{s,m,r,n}{usr,grp}.
@
text
@d88 10
a97 10
%{l_rpmtool} subst \
's;^\(BIN_DIRECTORY=\).*;\1%{l_prefix}/bin;' \
's;^\(COMPRESS_COMMAND=\).*;\1%{l_prefix}/bin/gzip;' \
's;^\(ZCAT_COMMAND=\).*;\1%{l_prefix}/bin/zcat;' \
's;^\(CONFIGURE_FILE=\).*;\1%{l_prefix}/etc/exim/exim.conf;' \
's;^\(EXIM_MONITOR=.*\);#\1;' \
-- Local/Makefile
%{l_rpmtool} subst \
's;^\(CHOWN_COMMAND=\).*;\1true;' \
-- OS/Makefile-`uname`
d108 8
a115 8
%{l_rpmtool} subst -s \
"s;^\\(BIN_DIRECTORY=*\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
"s;^\\(CONFIGURE_FILE=\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
"s;^\\(SPOOL_DIRECTORY=\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
"s;^\\(INFO_DIRECTORY=\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
"s;^\\(LOG_FILE_PATH=\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
"s;^\\(PID_FILE_PATH=\\).*\\(%{l_prefix}/.*\\)$;\\1$RPM_BUILD_ROOT\\2;" \
-- Local/Makefile
@
1.19
log
@bump copyright years
@
text
@d36 1
a36 1
Release: 20011221
d46 2
a47 2
BuildPreReq: OpenPKG, openpkg >= 20011227, perl, gzip, openssl, db, tar
PreReq: OpenPKG, openpkg >= 20011227, perl, gzip
d71 2
a72 2
echo "EXIM_UID=%{l_fsuid}"
echo "EXIM_GID=%{l_fsgid}"
d148 1
a148 1
'%attr(4755,root,%{l_fsgrp}) %{l_prefix}/bin/exim'
@
1.18
log
@fix dependencies in -CURRENT now that we have the new scheme
@
text
@d3 3
a5 3
## Copyright (c) 2000-2001 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2001 The OpenPKG Project
## Copyright (c) 2000-2001 Ralf S. Engelschall
@
1.17
log
@upgrade to Exim 3.34
@
text
@d46 2
a47 2
BuildPreReq: OpenPKG, openpkg >= 20011126.0, perl, gzip, openssl, db, tar
PreReq: OpenPKG, openpkg >= 20011126.0, perl, gzip
@
1.16
log
@remove trailing zero to conform with new scheme
@
text
@d35 2
a36 2
Version: 3.33
Release: 20011201
@
1.15
log
@reduce to experimental because it was never tested in detail
@
text
@d36 1
a36 1
Release: 20011201.0
@
1.14
log
@adjust distribution and release
@
text
@d32 1
a32 1
Distribution: OpenPKG [REL]
@
1.13
log
@distfile moved on master site
@
text
@d32 1
a32 1
Distribution: OpenPKG [EXP]
d36 1
a36 1
Release: 20011126.0
@
1.12
log
@Bump releases.
@
text
@d39 1
a39 1
Source0: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim-%{version}.tar.bz2
@
1.11
log
@add OpenPKG to copyright lines
@
text
@d36 1
a36 1
Release: 20011124.0
d46 2
a47 2
BuildPreReq: OpenPKG, openpkg >= 0.9-20011025.0, perl, gzip, openssl, db, tar
PreReq: OpenPKG, openpkg >= 0.9-20011025.0, perl, gzip
@
1.10
log
@make sure exim finds the db library
@
text
@d4 1
d36 1
a36 1
Release: 20011123.0
@
1.9
log
@Hmmmm.... goodbye good thought out but in practice unusable %{l_branch}
variable. We have to use a static value here (implies manual editing again),
because else source and binary RPM filenames won't match if binary is built
one or more days after the source was rolled.
@
text
@d35 1
a35 1
Release: 20011121.0
d82 1
a82 1
echo "DBMLIB=-ldb"
@
1.8
log
@workaround subst problem (rpmtool uses internally %-char for separator)
@
text
@d35 1
a35 1
Release: %{l_branch}.0
@
1.7
log
@make rmail command available
@
text
@d108 6
a113 6
"s;^\\(BIN_DIRECTORY=\\).*;\\1$RPM_BUILD_ROOT%{l_prefix}/bin;" \
"s;^\\(CONFIGURE_FILE=\\).*;\\1$RPM_BUILD_ROOT%{l_prefix}/etc/exim/exim.conf;" \
"s;^\\(SPOOL_DIRECTORY=\\).*;\\1$RPM_BUILD_ROOT%{l_prefix}/var/exim/spool;" \
"s;^\\(INFO_DIRECTORY=\\).*;\\1$RPM_BUILD_ROOT%{l_prefix}/info;" \
"s;^\\(LOG_FILE_PATH=\\).*;\\1$RPM_BUILD_ROOT%{l_prefix}/var/exim/log/\\%s.log;" \
"s;^\\(PID_FILE_PATH=\\).*;\\1$RPM_BUILD_ROOT%{l_prefix}/var/exim/run/\\%s.pid;" \
@
1.6
log
@bump to the correct 0.9-20011025.0
@
text
@d136 1
@
1.5
log
@upgrade dependencies because of l_branch usage
@
text
@d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 20011023.0, perl, gzip, openssl, db, tar
PreReq: OpenPKG, openpkg >= 20011023.0, perl, gzip
@
1.4
log
@Switch to using "YYYYMMDD.X" as Release for -CURRENT packages.
@
text
@d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 0.9-33, perl, gzip, openssl, db, tar
PreReq: OpenPKG, openpkg >= 0.9-33, perl, gzip
@
1.3
log
@provide new born MTA variables
@
text
@d35 1
a35 1
Release: 2
@
1.2
log
@addes "Provides: MTA"
@
text
@d35 1
a35 1
Release: 1
@
1.1
log
@New package dedicated to Christoph Schug: Exim MTA 3.33
@
text
@d35 1
a35 1
Release: 0
d49 1
@