[521] | 1 | #%define build_mysql %{?_with_mysql:1}%{!?_with_mysql:0} |
---|
| 2 | #%define build_pgsql %{?_with_pgsql:1}%{!?_with_pgsql:0} |
---|
| 3 | |
---|
| 4 | %define build_mysql 1 |
---|
| 5 | %define build_pgsql 1 |
---|
| 6 | |
---|
| 7 | %define _sysconfdir /etc |
---|
| 8 | %define _data_dir %{_var}/lib/postfix |
---|
| 9 | |
---|
[7209] | 10 | # postfix user/group |
---|
| 11 | # changed since 2.9.4-3 |
---|
| 12 | %define postfix_uid 89 |
---|
| 13 | %define postfix_user postfix |
---|
| 14 | %define postfix_gid 89 |
---|
| 15 | %define postfix_group postfix |
---|
| 16 | %define maildrop_group postdrop |
---|
| 17 | %define maildrop_gid 90 |
---|
| 18 | |
---|
| 19 | # install dirs |
---|
| 20 | %define postfix_config_dir %{_sysconfdir}/postfix |
---|
[9781] | 21 | %define postfix_shlib_dir %{_libdir}/postfix |
---|
[7209] | 22 | %define postfix_daemon_dir %{_libdir}/postfix |
---|
| 23 | %define postfix_command_dir %{_sbindir} |
---|
| 24 | %define postfix_queue_dir %{_var}/spool/postfix |
---|
| 25 | %define postfix_data_dir %{_var}/lib/postfix |
---|
| 26 | %define postfix_doc_dir %{_docdir}/%{name}-%{version} |
---|
| 27 | %define postfix_sample_dir %{postfix_doc_dir}/samples |
---|
| 28 | %define postfix_readme_dir %{postfix_doc_dir}/README_FILES |
---|
| 29 | |
---|
| 30 | |
---|
[10323] | 31 | %define origversion 3.1.1 |
---|
[521] | 32 | |
---|
| 33 | Summary: Postfix Mail Transport Agent |
---|
| 34 | Summary(ja): Postfix メールトランスポートエージェント |
---|
| 35 | Name: postfix |
---|
| 36 | Version: %{origversion} |
---|
[10073] | 37 | Release: 1%{?_dist_release} |
---|
[521] | 38 | URL: http://www.postfix.org/ |
---|
| 39 | License: Distributable - IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER |
---|
| 40 | Group: System Environment/Daemons |
---|
| 41 | |
---|
| 42 | Source0: ftp://postfix.cloud9.net/official/%{name}-%{version}.tar.gz |
---|
| 43 | Source1: postfix.aliases |
---|
| 44 | Source2: postfix.cron |
---|
| 45 | Source3: postfix.init |
---|
| 46 | |
---|
[7153] | 47 | Patch0: postfix-2.9.1-vine.patch |
---|
[521] | 48 | |
---|
| 49 | # patches 200-299 are imported from rh/fedora |
---|
[9781] | 50 | Patch200: postfix-3.0.0-large-fs.patch |
---|
[521] | 51 | |
---|
| 52 | Provides: smtpdaemon |
---|
| 53 | Conflicts: sendmail |
---|
[8849] | 54 | |
---|
| 55 | BuildRequires: pam-devel |
---|
[521] | 56 | BuildRequires: cyrus-sasl-devel >= 2 |
---|
| 57 | BuildRequires: openldap-devel, openssl-devel |
---|
[9781] | 58 | BuildRequires: libicu-devel, pcre-devel |
---|
[8555] | 59 | |
---|
[8849] | 60 | %if "%{_dist_release}" >= "vl7" |
---|
| 61 | BuildRequires: libdb-devel >= 5.3 |
---|
| 62 | Requires(post): libdb |
---|
| 63 | %else |
---|
| 64 | BuildRequires: db4-devel >= 4.6.21 |
---|
| 65 | Requires(post): db4 |
---|
| 66 | %endif |
---|
| 67 | |
---|
[521] | 68 | %if %build_mysql |
---|
[8555] | 69 | %if "%{_dist_release}" >= "vl7" |
---|
| 70 | BuildRequires: libmysqlclient-devel |
---|
| 71 | %else |
---|
[521] | 72 | BuildRequires: MySQL-devel |
---|
| 73 | %endif |
---|
[8555] | 74 | %endif |
---|
| 75 | |
---|
[521] | 76 | %if %build_pgsql |
---|
[8555] | 77 | %if "%{_dist_release}" >= "vl7" |
---|
| 78 | BuildRequires: libpq-devel |
---|
| 79 | %else |
---|
[521] | 80 | BuildRequires: postgresql-devel |
---|
| 81 | %endif |
---|
[8555] | 82 | %endif |
---|
| 83 | |
---|
[7153] | 84 | BuildRequires: sqlite3-devel |
---|
[521] | 85 | |
---|
[8849] | 86 | Requires(pre): chkconfig |
---|
[521] | 87 | Requires: cyrus-sasl >= 2, cyrus-sasl-md5, cyrus-sasl-plain |
---|
[8849] | 88 | Requires: pam |
---|
[521] | 89 | Obsoletes: postfix-beta |
---|
| 90 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 91 | |
---|
| 92 | Vendor: Project Vine |
---|
| 93 | Distribution: Vine Linux |
---|
[3427] | 94 | Packager: daisuke |
---|
[521] | 95 | |
---|
| 96 | |
---|
| 97 | %description |
---|
| 98 | Postfix aims to be an alternative to the widely-used sendmail |
---|
| 99 | program. Sendmail is responsible for 70 percent of all e-mail delivered |
---|
| 100 | on the Internet. With an estimated 100 million users, that's an |
---|
| 101 | estimated 10 billion (10^10) messages daily. A stunning number. |
---|
| 102 | |
---|
| 103 | Although IBM supported the Postfix development, it abstains from |
---|
| 104 | control over its evolution. The goal is to have Postfix installed |
---|
| 105 | on as many systems as possible. To this end, the software is given |
---|
| 106 | away with no strings attached to it, so that it can evolve with |
---|
| 107 | input from and under control by its users. |
---|
| 108 | |
---|
| 109 | #' |
---|
| 110 | %description -l ja |
---|
| 111 | Postfix は現在広く使われている sendmail を置き換える目的で |
---|
| 112 | 開発されています。sendmail は約 70% の E-mail サーバで使用 |
---|
| 113 | されています。また、その使用者は 100万人にもおよび、およそ |
---|
| 114 | 一日 1 千万通ものメールを処理しています。 |
---|
| 115 | |
---|
| 116 | Postfix の開発は IBM によってサポートされており、全世界の |
---|
| 117 | 全てのシステムを postfix にすることを目標としています。 |
---|
| 118 | |
---|
[7153] | 119 | %package sqlite |
---|
| 120 | Summary: SQLite3 map support for Postfix |
---|
| 121 | Group: System Environment/Daemons |
---|
| 122 | Requires(pre): postfix = %{version}-%{release} |
---|
| 123 | %description sqlite |
---|
| 124 | This package contains shared lib module which support |
---|
| 125 | SQLite map on Postfix. |
---|
| 126 | %description -l ja sqlite |
---|
| 127 | このパッケージには、Postfix で SQLite map を使うのに |
---|
| 128 | 必要なライブラリが納められています。 |
---|
| 129 | |
---|
[521] | 130 | %if %build_pgsql |
---|
| 131 | %package pgsql |
---|
| 132 | Summary: PGSQL map support for Postfix |
---|
| 133 | Group: System Environment/Daemons |
---|
| 134 | Requires(pre): postfix = %{version}-%{release} |
---|
| 135 | %description pgsql |
---|
| 136 | This package contains shared lib module which support |
---|
| 137 | PostgreSQL map on Postfix. |
---|
| 138 | %description -l ja pgsql |
---|
| 139 | このパッケージには、Postfix で PostgreSQL を使うのに必要な |
---|
| 140 | ライブラリが納められています。 |
---|
| 141 | %endif |
---|
| 142 | |
---|
| 143 | %if %build_mysql |
---|
| 144 | %package mysql |
---|
| 145 | Summary: MySQL map support for Postfix |
---|
| 146 | Group: System Environment/Daemons |
---|
| 147 | Requires(pre): postfix = %{version}-%{release} |
---|
| 148 | %description mysql |
---|
| 149 | This package contains shared lib module which support |
---|
| 150 | MySQL map on Postfix. |
---|
| 151 | %description -l ja mysql |
---|
| 152 | このパッケージには、Postfix で MySQL を使うのに必要な |
---|
| 153 | ライブラリが納められています。 |
---|
| 154 | %endif |
---|
| 155 | |
---|
| 156 | %package ldap |
---|
| 157 | Summary: LDAP map support for Postfix |
---|
| 158 | Group: System Environment/Daemons |
---|
| 159 | Requires(pre): postfix = %{version}-%{release} |
---|
| 160 | %description ldap |
---|
| 161 | This package contains shared lib module which support |
---|
| 162 | OpenLDAP map on Postfix. |
---|
| 163 | %description -l ja ldap |
---|
| 164 | このパッケージには、Postfix で OpenLDAP を使うのに必要な |
---|
| 165 | ライブラリが納められています。 |
---|
| 166 | |
---|
| 167 | %package pcre |
---|
| 168 | Summary: PCRE map support for Postfix |
---|
| 169 | Group: System Environment/Daemons |
---|
| 170 | Requires(pre): postfix = %{version}-%{release} |
---|
| 171 | %description pcre |
---|
| 172 | This package contains shared lib module which support |
---|
| 173 | PCRE map on Postfix. |
---|
| 174 | %description -l ja pcre |
---|
| 175 | このパッケージには、Postfix で PCRE マップを使うのに必要な |
---|
| 176 | ライブラリが納められています。 |
---|
| 177 | |
---|
| 178 | %prep |
---|
| 179 | # japanese documant for 2.4.x is not ready. |
---|
| 180 | # %setup -q -a 10 -a 20 -a 30 -a 40 |
---|
| 181 | %setup -q |
---|
| 182 | |
---|
| 183 | %patch0 -p1 -b .vine |
---|
| 184 | |
---|
| 185 | %ifarch x86_64 |
---|
[7153] | 186 | sed -i -e 's|/usr/lib/postfix|/usr/lib64/postfix|g' conf/main.cf |
---|
[521] | 187 | %endif |
---|
| 188 | |
---|
| 189 | %patch200 -p1 -b .large-fs |
---|
| 190 | |
---|
[9781] | 191 | # Change DEF_SHLIB_DIR according to build host |
---|
| 192 | sed -i \ |
---|
| 193 | 's|^\(\s*#define\s\+DEF_SHLIB_DIR\s\+\)"/usr/lib/postfix"|\1"%{_libdir}/postfix" |' \ |
---|
| 194 | src/global/mail_params.h |
---|
[521] | 195 | |
---|
| 196 | %build |
---|
[9781] | 197 | |
---|
[9782] | 198 | unset AUXLIBS_MYSQL AUXLIBS_PGSQL |
---|
| 199 | |
---|
[9781] | 200 | CCARGS="-DMAX_DYNAMIC_MAPS \ |
---|
| 201 | -DUSE_SASL_AUTH -I/usr/include/sasl \ |
---|
| 202 | -DUSE_CYRUS_SASL \ |
---|
| 203 | -DHAS_LDAP \ |
---|
| 204 | -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL \ |
---|
| 205 | -DHAS_SSL -I/usr/include/openssl \ |
---|
| 206 | -DHAS_PCRE -I/usr/include/pcre \ |
---|
| 207 | -DHAS_SQLITE \ |
---|
| 208 | `pkg-config --cflags sqlite3` \ |
---|
| 209 | -DUSE_TLS" |
---|
| 210 | |
---|
[9782] | 211 | AUXLIBS="-lsasl2 -lssl -lcrypto" |
---|
[9781] | 212 | |
---|
[9782] | 213 | AUXLIBS_LDAP="-lldap -llber" |
---|
| 214 | AUXLIBS_PCRE="-lpcre" |
---|
| 215 | AUXLIBS_SQLITE="`pkg-config --libs sqlite3`" |
---|
| 216 | |
---|
[521] | 217 | %if %build_mysql |
---|
[9782] | 218 | CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql" |
---|
| 219 | AUXLIBS_MYSQL="-L%{_libdir}/mysql -lmysqlclient -lm" |
---|
[521] | 220 | %endif |
---|
| 221 | %if %build_pgsql |
---|
[9781] | 222 | CCARGS="${CCARGS} -DHAS_PGSQL -I/usr/include/pgsql" |
---|
[9782] | 223 | AUXLIBS_PGSQL="-lpq" |
---|
[521] | 224 | %endif |
---|
[9781] | 225 | |
---|
| 226 | make -f Makefile.init makefiles \ |
---|
| 227 | shared=yes dynamicmaps=yes \ |
---|
| 228 | CCARGS="${CCARGS}" \ |
---|
| 229 | AUXLIBS="${AUXLIBS}" \ |
---|
[9782] | 230 | AUXLIBS_LDAP="${AUXLIBS_LDAP}" AUXLIBS_PCRE="${AUXLIBS_PCRE}" \ |
---|
| 231 | AUXLIBS_MYSQL="${AUXLIBS_MYSQL}" AUXLIBS_PGSQL="${AUXLIBS_PGSQL}" \ |
---|
| 232 | AUXLIBS_SQLITE="${AUXLIBS_SQLITE}" \ |
---|
[9781] | 233 | SHLIB_RPATH="-Wl,-rpath,%{postfix_shlib_dir}" \ |
---|
[521] | 234 | OPT="$RPM_OPT_FLAGS" DEBUG="" |
---|
| 235 | |
---|
| 236 | # make %{?_smp_mflags} DEBUG="" OPT="$RPM_OPT_FLAGS" \ |
---|
| 237 | # LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH} |
---|
| 238 | |
---|
| 239 | # using _smp_mflags makes build error. why? (2008.10.11) |
---|
[9781] | 240 | #make DEBUG="" OPT="$RPM_OPT_FLAGS" \ |
---|
| 241 | # LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH} CDBSO="" |
---|
[521] | 242 | |
---|
[9781] | 243 | make %{?_smp_mflags} |
---|
| 244 | |
---|
[521] | 245 | %install |
---|
| 246 | rm -rf $RPM_BUILD_ROOT |
---|
| 247 | rm -f html/Makefile.in |
---|
| 248 | rm -f README_FILES/*.* |
---|
| 249 | |
---|
| 250 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily |
---|
| 251 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/postfix |
---|
| 252 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d |
---|
| 253 | install -d $RPM_BUILD_ROOT%{_bindir} |
---|
| 254 | install -d $RPM_BUILD_ROOT%{_libdir}/postfix |
---|
| 255 | install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8} |
---|
| 256 | install -d $RPM_BUILD_ROOT%{_mandir}/ja/man{1,5,8} |
---|
| 257 | install -d $RPM_BUILD_ROOT%{_sbindir} |
---|
| 258 | install -d $RPM_BUILD_ROOT%{_var}/spool/postfix |
---|
| 259 | install -d $RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,incoming,pid,public} |
---|
| 260 | install -d $RPM_BUILD_ROOT%{_var}/spool/postfix/{bounce,defer,flush,maildrop,private,saved} |
---|
| 261 | |
---|
[7209] | 262 | LD_LIBRARY_PATH=./lib \ |
---|
| 263 | sh postfix-install -non-interactive \ |
---|
| 264 | install_root=$RPM_BUILD_ROOT \ |
---|
| 265 | config_directory=%{postfix_config_dir} \ |
---|
[9781] | 266 | meta_directory=%{postfix_config_dir} \ |
---|
| 267 | shlib_directory=%{postfix_shlib_dir} \ |
---|
[7209] | 268 | daemon_directory=%{postfix_daemon_dir} \ |
---|
| 269 | command_directory=%{postfix_command_dir} \ |
---|
| 270 | queue_directory=%{postfix_queue_dir} \ |
---|
| 271 | data_directory=%{postfix_data_dir} \ |
---|
| 272 | sendmail_path=%{postfix_command_dir}/sendmail \ |
---|
| 273 | newaliases_path=%{_bindir}/newaliases \ |
---|
| 274 | mailq_path=%{_bindir}/mailq \ |
---|
| 275 | mail_owner=%{postfix_user} \ |
---|
| 276 | setgid_group=%{maildrop_group} \ |
---|
| 277 | manpage_directory=%{_mandir} \ |
---|
| 278 | sample_directory=%{postfix_sample_dir} \ |
---|
| 279 | readme_directory=%{postfix_readme_dir} || exit 1 |
---|
| 280 | |
---|
| 281 | install -m644 conf/postfix-files $RPM_BUILD_ROOT%{_sysconfdir}/postfix |
---|
[521] | 282 | for i in post-install postfix-script |
---|
| 283 | do |
---|
| 284 | install -m755 conf/$i $RPM_BUILD_ROOT%{_sysconfdir}/postfix |
---|
| 285 | done |
---|
| 286 | |
---|
[7209] | 287 | # install performance benchmark tools by hand |
---|
| 288 | for i in smtp-sink smtp-source qmqp-sink qmqp-source; do |
---|
| 289 | install -c -m 755 bin/$i $RPM_BUILD_ROOT%{postfix_command_dir}/ |
---|
| 290 | install -c -m 755 man/man1/$i.1 $RPM_BUILD_ROOT%{_mandir}/man1/ |
---|
| 291 | done |
---|
[521] | 292 | |
---|
| 293 | install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/aliases |
---|
| 294 | install -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/postfix |
---|
| 295 | install -m755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/postfix |
---|
| 296 | |
---|
| 297 | ln -sf postfix/aliases $RPM_BUILD_ROOT%{_sysconfdir}/aliases |
---|
| 298 | ln -sf postfix/aliases.db $RPM_BUILD_ROOT%{_sysconfdir}/aliases.db |
---|
| 299 | |
---|
[9781] | 300 | # helper for splitting content of dynamicmaps.cf and postfix-files |
---|
| 301 | function split_file |
---|
| 302 | { |
---|
| 303 | # "|| :" to silently skip non existent records |
---|
| 304 | grep "$1" "$3" >> "$3.d/$2" || : |
---|
| 305 | sed -i "\|$1| d" "$3" || : |
---|
| 306 | } |
---|
| 307 | |
---|
| 308 | # split global dynamic maps configuration to individual sub-packages |
---|
| 309 | pushd $RPM_BUILD_ROOT%{postfix_config_dir} |
---|
| 310 | for map in sqlite ldap pcre \ |
---|
| 311 | %{?build_mysql:mysql} %{?build_pgsql:pgsql}; do |
---|
| 312 | rm -f dynamicmaps.cf.d/"$map" "postfix-files.d/$map" |
---|
| 313 | split_file "^\s*$map\b" "$map" dynamicmaps.cf |
---|
| 314 | sed -i "s|postfix-$map\\.so|%{postfix_shlib_dir}/\\0|" "dynamicmaps.cf.d/$map" |
---|
| 315 | |
---|
| 316 | split_file "^\$shlib_directory/postfix-$map\\.so:" "$map" postfix-files |
---|
| 317 | split_file "^\$manpage_directory/man5/${map}_table\\.5" "$map" postfix-files |
---|
| 318 | map_upper=`echo $map | tr '[:lower:]' '[:upper:]'` |
---|
| 319 | split_file "^\$readme_directory/${map_upper}_README:" "$map" postfix-files |
---|
| 320 | done |
---|
| 321 | popd |
---|
| 322 | |
---|
[7209] | 323 | #( cd $RPM_BUILD_ROOT%{_bindir} |
---|
| 324 | # ln -sf ../sbin/sendmail mailq |
---|
| 325 | # ln -sf ../sbin/sendmail newaliases |
---|
| 326 | #) |
---|
[521] | 327 | ( cd $RPM_BUILD_ROOT%{_libdir} |
---|
| 328 | ln -sf ../sbin/sendmail sendmail |
---|
| 329 | ) |
---|
| 330 | |
---|
| 331 | # data dir |
---|
| 332 | install -d $RPM_BUILD_ROOT%{_data_dir} |
---|
| 333 | |
---|
[7209] | 334 | # remove unneeded files |
---|
| 335 | rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/{TLS_,}LICENSE |
---|
[9781] | 336 | rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/{main,master}.cf.proto |
---|
| 337 | rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/makedefs.out |
---|
[7209] | 338 | |
---|
[521] | 339 | %pre |
---|
[7209] | 340 | # Add user and groups if necessary |
---|
| 341 | %{_sbindir}/groupadd -g %{maildrop_gid} -r %{maildrop_group} 2>/dev/null |
---|
| 342 | %{_sbindir}/groupadd -g %{postfix_gid} -r %{postfix_group} 2>/dev/null |
---|
| 343 | %{_sbindir}/groupadd -g 12 -r mail 2>/dev/null |
---|
| 344 | %{_sbindir}/useradd -d %{postfix_queue_dir} -s /sbin/nologin -g %{postfix_group} -G mail -M -r -u %{postfix_uid} %{postfix_user} 2>/dev/null |
---|
| 345 | exit 0 |
---|
[521] | 346 | |
---|
| 347 | |
---|
| 348 | %post |
---|
| 349 | /sbin/ldconfig |
---|
[7209] | 350 | # upgrade configuration files if necessary |
---|
| 351 | %{_sbindir}/postfix set-permissions upgrade-configuration \ |
---|
| 352 | daemon_directory=%{postfix_daemon_dir} \ |
---|
| 353 | command_directory=%{postfix_command_dir} \ |
---|
| 354 | mail_owner=%{postfix_user} \ |
---|
| 355 | setgid_group=%{maildrop_group} \ |
---|
| 356 | manpage_directory=%{_mandir} \ |
---|
| 357 | sample_directory=%{postfix_sample_dir} \ |
---|
| 358 | readme_directory=%{postfix_readme_dir} &> /dev/null |
---|
[9781] | 359 | |
---|
[521] | 360 | /sbin/chkconfig --add postfix |
---|
| 361 | if [ ! -f %{_sysconfdir}/postfix/aliases.db ]; then |
---|
[7209] | 362 | %{_sbindir}/postalias %{_sysconfdir}/postfix/aliases |
---|
[521] | 363 | fi |
---|
| 364 | %{_sbindir}/postalias %{_sysconfdir}/postfix/aliases ||: |
---|
| 365 | if [ ! -e %{_libdir}/sendmail ]; then |
---|
| 366 | ln -sf %{_sbindir}/sendmail %{_libdir}/sendmail |
---|
| 367 | fi |
---|
| 368 | /sbin/chkconfig --del sendmail &> /dev/null ||: |
---|
| 369 | %{_sbindir}/postfix check >/dev/null 2>&1 ||: |
---|
| 370 | |
---|
| 371 | |
---|
| 372 | %preun |
---|
[10249] | 373 | if [ $1 -eq 0 ]; then |
---|
[521] | 374 | if [ -f %{_var}/lock/subsys/postfix -a -f %{_sysconfdir}/rc.d/init.d/postfix ]; then |
---|
| 375 | %{_sysconfdir}/rc.d/init.d/postfix stop |
---|
| 376 | fi |
---|
| 377 | /sbin/chkconfig --del postfix |
---|
| 378 | fi |
---|
| 379 | |
---|
| 380 | |
---|
| 381 | %postun |
---|
| 382 | /sbin/ldconfig |
---|
[10249] | 383 | if [ -f %{_var}/lock/subsys/postfix ]; then |
---|
| 384 | if [ $1 -eq 0 ]; then |
---|
[521] | 385 | rm -rf %{_var}/lock/subsys/postfix |
---|
[10249] | 386 | else |
---|
| 387 | %{_sysconfdir}/rc.d/init.d/postfix restart |
---|
[521] | 388 | fi |
---|
| 389 | fi |
---|
| 390 | |
---|
[10249] | 391 | %triggerpostun -- postfix < 3.1.0 |
---|
| 392 | if [ -f %{_var}/lock/subsys/postfix ]; then |
---|
| 393 | if [ $2 -gt 0 ]; then |
---|
| 394 | %{_sysconfdir}/rc.d/init.d/postfix restart |
---|
| 395 | fi |
---|
| 396 | fi |
---|
| 397 | |
---|
| 398 | |
---|
[521] | 399 | %clean |
---|
| 400 | rm -rf $RPM_BUILD_ROOT |
---|
| 401 | |
---|
| 402 | |
---|
| 403 | %files |
---|
| 404 | %defattr(-,root,root) |
---|
[7209] | 405 | %doc COMPATIBILITY COPYRIGHT HISTORY TLS_LICENSE LICENSE INSTALL PORTING RELEASE_NOTES |
---|
[521] | 406 | # japanese documant for 2.4.x is not ready. |
---|
| 407 | # %doc conf.ja |
---|
| 408 | # %doc html html.ja |
---|
| 409 | # %doc README_FILES README_FILES.ja |
---|
| 410 | %doc README_FILES |
---|
| 411 | # %doc man-%{jmanversion}/readme_ja.txt |
---|
| 412 | %{_sysconfdir}/aliases |
---|
| 413 | %{_sysconfdir}/aliases.db |
---|
| 414 | %config %{_sysconfdir}/cron.daily/postfix |
---|
| 415 | %dir %{_sysconfdir}/postfix |
---|
| 416 | %config %{_sysconfdir}/postfix/main.cf.default |
---|
| 417 | %config %{_sysconfdir}/postfix/master.cf |
---|
[7209] | 418 | %config %{_sysconfdir}/postfix/bounce.cf.default |
---|
[9781] | 419 | %dir %{_sysconfdir}/postfix/dynamicmaps.cf.d |
---|
| 420 | %dir %{_sysconfdir}/postfix/postfix-files.d |
---|
[521] | 421 | %config(noreplace) %{_sysconfdir}/postfix/aliases |
---|
| 422 | %config(noreplace) %{_sysconfdir}/postfix/access |
---|
| 423 | %config(noreplace) %{_sysconfdir}/postfix/canonical |
---|
[7209] | 424 | %config(noreplace) %{_sysconfdir}/postfix/generic |
---|
[521] | 425 | %config(noreplace) %{_sysconfdir}/postfix/header_checks |
---|
| 426 | %config(noreplace) %{_sysconfdir}/postfix/main.cf |
---|
| 427 | %config(noreplace) %{_sysconfdir}/postfix/relocated |
---|
| 428 | %config(noreplace) %{_sysconfdir}/postfix/transport |
---|
| 429 | %config(noreplace) %{_sysconfdir}/postfix/virtual |
---|
| 430 | %config(noreplace) %{_sysconfdir}/postfix/dynamicmaps.cf |
---|
| 431 | %config %{_sysconfdir}/postfix/postfix-files |
---|
| 432 | %config %{_sysconfdir}/postfix/post-install |
---|
| 433 | %config %{_sysconfdir}/postfix/postfix-script |
---|
| 434 | %config %{_sysconfdir}/rc.d/init.d/postfix |
---|
| 435 | %{_bindir}/* |
---|
| 436 | %dir %{_libdir}/postfix |
---|
| 437 | %{_libdir}/postfix/* |
---|
| 438 | |
---|
| 439 | %if %{build_pgsql} |
---|
[9781] | 440 | %exclude %{_libdir}/postfix/postfix-pgsql.so |
---|
[521] | 441 | %endif |
---|
| 442 | %if %{build_mysql} |
---|
[9781] | 443 | %exclude %{_libdir}/postfix/postfix-mysql.so |
---|
[521] | 444 | %endif |
---|
| 445 | |
---|
[9781] | 446 | %exclude %{_libdir}/postfix/postfix-sqlite.so |
---|
| 447 | %exclude %{_libdir}/postfix/postfix-ldap.so |
---|
| 448 | %exclude %{_libdir}/postfix/postfix-pcre.so |
---|
| 449 | %exclude %{_sysconfdir}/postfix/dynamicmaps.cf.d/* |
---|
| 450 | %exclude %{_sysconfdir}/postfix/postfix-files.d/* |
---|
[521] | 451 | %{_sbindir}/postalias |
---|
| 452 | %{_sbindir}/postcat |
---|
| 453 | %{_sbindir}/postconf |
---|
| 454 | %attr(2755,root,postdrop) %{_sbindir}/postdrop |
---|
| 455 | %{_sbindir}/postfix |
---|
| 456 | %{_sbindir}/postkick |
---|
| 457 | %{_sbindir}/postlock |
---|
| 458 | %{_sbindir}/postlog |
---|
| 459 | %{_sbindir}/postmap |
---|
| 460 | %{_sbindir}/postmulti |
---|
| 461 | %attr(2755,root,postdrop) %{_sbindir}/postqueue |
---|
| 462 | %{_sbindir}/postsuper |
---|
| 463 | %{_sbindir}/qmqp-sink |
---|
| 464 | %{_sbindir}/qmqp-source |
---|
| 465 | %{_sbindir}/sendmail |
---|
| 466 | %{_sbindir}/smtp-sink |
---|
| 467 | %{_sbindir}/smtp-source |
---|
| 468 | %attr(-,root,man) %{_mandir}/man*/* |
---|
| 469 | # %attr(-,root,man) %{_mandir}/ja/man*/* |
---|
| 470 | %dir %{_var}/spool/postfix |
---|
| 471 | %attr(0750,postfix,root) %dir %{_data_dir} |
---|
| 472 | %attr(1733,postfix,postdrop) %dir %{_var}/spool/postfix/maildrop |
---|
| 473 | %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/active |
---|
| 474 | %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/corrupt |
---|
| 475 | %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/deferred |
---|
| 476 | %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/incoming |
---|
| 477 | %attr(0755,root,root) %dir %{_var}/spool/postfix/pid |
---|
| 478 | %attr(0710,postfix,postdrop) %dir %{_var}/spool/postfix/public |
---|
| 479 | %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/bounce |
---|
| 480 | %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/defer |
---|
| 481 | %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/flush |
---|
| 482 | %attr(0710,postfix,postfix) %dir %{_var}/spool/postfix/private |
---|
| 483 | %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/saved |
---|
| 484 | %{_libdir}/sendmail |
---|
| 485 | |
---|
[7153] | 486 | %files sqlite |
---|
| 487 | %defattr(-,root,root) |
---|
[9781] | 488 | %{_libdir}/postfix/postfix-sqlite.so |
---|
| 489 | %{_sysconfdir}/postfix/dynamicmaps.cf.d/sqlite |
---|
| 490 | %{_sysconfdir}/postfix/postfix-files.d/sqlite |
---|
[7153] | 491 | |
---|
[521] | 492 | %if %build_pgsql |
---|
| 493 | %files pgsql |
---|
| 494 | %defattr(-,root,root) |
---|
[9781] | 495 | %{_libdir}/postfix/postfix-pgsql.so |
---|
| 496 | %{_sysconfdir}/postfix/dynamicmaps.cf.d/pgsql |
---|
| 497 | %{_sysconfdir}/postfix/postfix-files.d/pgsql |
---|
[521] | 498 | %endif |
---|
| 499 | |
---|
| 500 | %if %build_mysql |
---|
| 501 | %files mysql |
---|
| 502 | %defattr(-,root,root) |
---|
[9781] | 503 | %{_libdir}/postfix/postfix-mysql.so |
---|
| 504 | %{_sysconfdir}/postfix/dynamicmaps.cf.d/mysql |
---|
| 505 | %{_sysconfdir}/postfix/postfix-files.d/mysql |
---|
[521] | 506 | %endif |
---|
| 507 | |
---|
| 508 | %files ldap |
---|
| 509 | %defattr(-,root,root) |
---|
[9781] | 510 | %{_libdir}/postfix/postfix-ldap.so |
---|
| 511 | %{_sysconfdir}/postfix/dynamicmaps.cf.d/ldap |
---|
| 512 | %{_sysconfdir}/postfix/postfix-files.d/ldap |
---|
[521] | 513 | |
---|
| 514 | %files pcre |
---|
| 515 | %defattr(-,root,root) |
---|
[9781] | 516 | %{_libdir}/postfix/postfix-pcre.so |
---|
| 517 | %{_sysconfdir}/postfix/dynamicmaps.cf.d/pcre |
---|
| 518 | %{_sysconfdir}/postfix/postfix-files.d/pcre |
---|
[521] | 519 | |
---|
| 520 | %changelog |
---|
[10323] | 521 | * Sun May 22 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.1-1 |
---|
| 522 | - new upstream release. |
---|
| 523 | |
---|
[10249] | 524 | * Sun May 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.0-1 |
---|
| 525 | - new upstream release. |
---|
| 526 | |
---|
[10073] | 527 | * Mon Mar 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.4-1 |
---|
| 528 | - new upstream release. |
---|
| 529 | |
---|
[10066] | 530 | * Thu Mar 10 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.3-4 |
---|
| 531 | - rebuilt with openssl 1.0.2g |
---|
| 532 | |
---|
[9791] | 533 | * Thu Nov 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-3 |
---|
| 534 | - rebuild with icu-56.1 |
---|
| 535 | |
---|
[9782] | 536 | * Mon Nov 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-2 |
---|
| 537 | - fixed dependency. |
---|
| 538 | |
---|
[9781] | 539 | * Sun Nov 1 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-1 |
---|
| 540 | - new upstream release. |
---|
| 541 | - updated patch200. |
---|
| 542 | - dropped patch100 and 101. |
---|
| 543 | |
---|
[9740] | 544 | * Sat Sep 5 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11.6-1 |
---|
| 545 | - new upstream release. |
---|
| 546 | |
---|
[8849] | 547 | * Sun Jul 20 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-2 |
---|
| 548 | - fix BR/R for current environment |
---|
| 549 | |
---|
[8555] | 550 | * Sun Jun 15 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-1 |
---|
| 551 | - update to 2.11.1 |
---|
| 552 | - build with libpq-devel and libmysqlclient-devel (vl7) |
---|
| 553 | |
---|
[8200] | 554 | * Sat Jan 18 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.10.3-1 |
---|
| 555 | - new upstream release. |
---|
| 556 | |
---|
[7942] | 557 | * Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.2-1 |
---|
| 558 | - update to 2.10.2 |
---|
| 559 | |
---|
[7209] | 560 | * Sun Dec 09 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-3 |
---|
| 561 | - add -DHAS_DLOPEN to CCARGS instead of patch102. |
---|
| 562 | - use postfix-install in %%install (to prepare main.cf) |
---|
| 563 | - change postfix uid/gid to fixed id. (89 for postfix, 90 for postdrop) |
---|
| 564 | - run postalias on %%post |
---|
| 565 | |
---|
[7190] | 566 | * Fri Nov 30 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.4-2 |
---|
| 567 | - added patch102. |
---|
| 568 | |
---|
[7153] | 569 | * Sun Nov 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-1 |
---|
| 570 | - update to 2.9.4 |
---|
| 571 | - update dynamicmaps patches |
---|
| 572 | - add sqite3 map support, add postfix-sqlite subpackage. |
---|
| 573 | - drop unneeded patches |
---|
| 574 | |
---|
[6999] | 575 | * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.12-1 |
---|
| 576 | - update to 2.8.12 |
---|
| 577 | - rebuild with pcre-8.31 |
---|
| 578 | |
---|
[6110] | 579 | * Tue May 01 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.10-1 |
---|
| 580 | - update to 2.8.10 |
---|
| 581 | |
---|
[5823] | 582 | * Sun Mar 04 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.9-1 |
---|
| 583 | - update to 2.8.9 |
---|
| 584 | |
---|
[3842] | 585 | * Thu May 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.3-1 |
---|
| 586 | - update to 2.8.3 |
---|
| 587 | |
---|
[3427] | 588 | * Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-1 |
---|
| 589 | - update to 2.8.2 |
---|
[3842] | 590 | - update dynamicmaps patch |
---|
[3427] | 591 | |
---|
[3418] | 592 | * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.6.8-5 |
---|
| 593 | - rebuilt with postgresql-9.0.3 |
---|
| 594 | |
---|
[2475] | 595 | * Sun Jan 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.8-4 |
---|
| 596 | - rebuilt with openssl 1.0.0c |
---|
| 597 | - fix changelog typo.. |
---|
| 598 | |
---|
| 599 | * Wed Dec 01 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.8-3 |
---|
[2260] | 600 | - new upstream release. |
---|
| 601 | - updated %%patch100 and %%patch210. |
---|
| 602 | |
---|
[521] | 603 | * Sat Feb 20 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.5-2 |
---|
| 604 | - removed MySQL-shared from "Requires:" and "BuildRequires:". |
---|
| 605 | - replaced "Prereq:" with "Requires(pre):". |
---|
| 606 | - replaced "BuildPrereq:" with "BuildRequires:". |
---|
| 607 | |
---|
| 608 | * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.5-1 |
---|
| 609 | - new upstream release |
---|
| 610 | - rebuild with db4-4.8.0 |
---|
| 611 | |
---|
| 612 | * Sun Aug 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-2 |
---|
| 613 | - change /var/spool/postfix/pid owner and permission |
---|
| 614 | (0700,postfix,postfix -> 0755,root,root) |
---|
| 615 | |
---|
| 616 | * Mon Aug 3 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.3-1 |
---|
| 617 | - new upstream release |
---|
| 618 | |
---|
| 619 | * Sat Jun 6 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.2-1 |
---|
| 620 | - new upstream release. |
---|
| 621 | |
---|
| 622 | * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-2 |
---|
| 623 | - added a missing file. |
---|
| 624 | |
---|
| 625 | * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-1 |
---|
| 626 | - new upstream release. |
---|
| 627 | - updated dynamicmaps patch. |
---|
| 628 | |
---|
| 629 | * Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.7-2 |
---|
| 630 | - made to build -mysql and -pgsql as default. |
---|
| 631 | - rebuilt with MySQL-5.1.34. |
---|
| 632 | |
---|
| 633 | * Wed May 13 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.7-1 |
---|
| 634 | - new upstream release |
---|
| 635 | - update Patch200 from fc10 |
---|
| 636 | |
---|
| 637 | * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.6-2 |
---|
| 638 | - rebuilt with openldap-2.4.11 |
---|
| 639 | |
---|
| 640 | * Mon Jan 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.6-1 |
---|
| 641 | - new upstream release |
---|
| 642 | |
---|
| 643 | * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-4 |
---|
| 644 | - add patch200/patch210 from fedora |
---|
| 645 | |
---|
| 646 | * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-3 |
---|
| 647 | - add Requires cyrus-sasl-md5, cyrus-sasl-plain for smtp auth |
---|
| 648 | - add Japanese description into sub packages |
---|
| 649 | |
---|
| 650 | * Sat Oct 11 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-2 |
---|
| 651 | - update patch100/101 to fix libxsasl build issue |
---|
| 652 | - remove smp flag in build section to solve build error |
---|
| 653 | - add _data_dir |
---|
| 654 | |
---|
| 655 | * Fri Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-1 |
---|
| 656 | - new upstream release |
---|
| 657 | - update patch100/101 to fit 2.5.5 (from suse) |
---|
| 658 | - add %exclude dict_{my,pg}sql.so to %%files to avoid unneeded dependancy |
---|
| 659 | when option "--with XXsql" is specified. (from Vine 4.x update package) |
---|
| 660 | - remove HAS_DLOPEN macro. |
---|
| 661 | |
---|
| 662 | * Sat Sep 06 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.9-1 |
---|
| 663 | - new upstream release with security fix |
---|
| 664 | |
---|
| 665 | * Sat Aug 30 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-2 |
---|
| 666 | - add %%if %%build_mysql and %%if %%mysql from BuildRequires section again |
---|
| 667 | - remove unnessary dependency |
---|
| 668 | |
---|
| 669 | * Thu Aug 28 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-1 |
---|
| 670 | - new upstream release with security fix |
---|
| 671 | |
---|
| 672 | * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.7-4 |
---|
| 673 | - spec in UTF-8 |
---|
| 674 | |
---|
| 675 | * Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.7-3 |
---|
| 676 | - rebuilt against db4-4.6.21 |
---|
| 677 | |
---|
| 678 | * Tue Apr 15 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.4.7-2 |
---|
| 679 | - add HAS_DLOPEN macro. |
---|
| 680 | - add USE_CYRUS_SASL macro. |
---|
| 681 | - modify dynamicmaps.cf (/usr/lib -> %%{_libdir}). |
---|
| 682 | |
---|
[7942] | 683 | * Tue Mar 25 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.7-1 |
---|
[521] | 684 | - new upstream release |
---|
| 685 | - update patch100 (it is based from mdk 2008.0) |
---|
| 686 | - add smp_mflags in make section |
---|
| 687 | - build under new versioning policy |
---|
| 688 | |
---|
| 689 | * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-0vl10 |
---|
| 690 | - rebuilt with postgresql-devel 8.2.5 |
---|
| 691 | - updated Source20, 30 and 40 |
---|
| 692 | |
---|
| 693 | * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl9 |
---|
| 694 | - rebuild with new openssl |
---|
| 695 | |
---|
| 696 | * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.10-0vl8 |
---|
| 697 | - rebuilt with new toolchain and db4-4.3.x |
---|
| 698 | |
---|
| 699 | * Fri Apr 13 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.2.10-0vl7 |
---|
| 700 | - <BTS:493> fix typo in %%if statement for %%files mysql section. |
---|
| 701 | - remove %%if %%build_mysql and %%if %%mysql from BuildRequires section, |
---|
| 702 | (Patch100 always builds dict_mysql.o and dict_pgsql.o) |
---|
| 703 | |
---|
| 704 | * Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl6 |
---|
| 705 | - disable MySQL, PostgreSQL support by default. |
---|
| 706 | use "--with {mysql|pgsql}" to build them. |
---|
| 707 | |
---|
| 708 | * Mon Sep 18 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl5 |
---|
| 709 | - add lib64 patch to correct daemon_directory on x86_64 architecture |
---|
| 710 | |
---|
| 711 | * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl4 |
---|
| 712 | - remove duplicated entry from aliases. (<BTS:170>) |
---|
| 713 | |
---|
| 714 | * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl3 |
---|
| 715 | - add some pseudo accounts to aliases. (<BTS:170>) |
---|
| 716 | - add BuildPreReq: MySQL-shared |
---|
| 717 | |
---|
| 718 | * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl2 |
---|
| 719 | - rebuilt with openldap-2.3.27-0vl1 |
---|
| 720 | |
---|
| 721 | * Sun Apr 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl1 |
---|
| 722 | - new upstream release |
---|
| 723 | |
---|
| 724 | * Thu Jan 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8-0vl1 |
---|
| 725 | - new upstream release |
---|
| 726 | |
---|
| 727 | * Fri Sep 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.5-0vl1 |
---|
| 728 | - new upstream release |
---|
| 729 | - update to 2.2.5 |
---|
| 730 | - update dynamicmaps from debian package |
---|
| 731 | - update Japaese manpages and jconf |
---|
| 732 | - add jhtml and jreadme |
---|
| 733 | - enable TLS/SSL |
---|
| 734 | |
---|
| 735 | * Mon Jan 31 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1 |
---|
| 736 | - new upstream release |
---|
| 737 | - update all patches |
---|
| 738 | - link sasl2 instead of sasl1 |
---|
| 739 | |
---|
| 740 | * Mon Jan 24 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.0.20-0vl6 |
---|
| 741 | - enable cyrus-sasl. |
---|
| 742 | - add TLS/IPv6 patch. |
---|
| 743 | - modify main.cf to disable IPv6 as default. |
---|
| 744 | |
---|
[7942] | 745 | * Thu Oct 28 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl5 |
---|
[521] | 746 | - add PreReq: db4 >= 4.2.52 |
---|
| 747 | (to avoid errors when upgrading from db40-linked version) |
---|
| 748 | |
---|
| 749 | * Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl4 |
---|
| 750 | - rebuilt with db4-4.2.52 |
---|
| 751 | |
---|
| 752 | * Tue Jun 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl3 |
---|
| 753 | - fix first installation time bugs... |
---|
| 754 | - remove aliases.db from %%files again |
---|
| 755 | - add 'touch aliases.db' in %%post script |
---|
| 756 | - update default main.cf to use /etc/postfix/aliases as default alias_database |
---|
| 757 | |
---|
| 758 | * Mon Jun 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl2 |
---|
| 759 | - add /etc/postfix/aliases.db to %%files |
---|
| 760 | |
---|
| 761 | * Sat May 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl1 |
---|
| 762 | - new upstream release |
---|
| 763 | |
---|
| 764 | * Tue Apr 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.19-0vl1 |
---|
| 765 | - new upstream release |
---|
| 766 | - build with new postgresql |
---|
| 767 | |
---|
| 768 | * Fri Sep 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.16-0vl1 |
---|
| 769 | - new upstream release |
---|
| 770 | - update jconf/jman/jhtml |
---|
| 771 | |
---|
| 772 | * Fri Jul 4 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.13-0vl1 |
---|
| 773 | - new upstream release |
---|
| 774 | - update jman/jhtml/jreadme |
---|
| 775 | |
---|
| 776 | * Mon Jun 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.12-0vl1 |
---|
| 777 | - new upstream release |
---|
| 778 | - update jconf/jman/jhtml/jreadme |
---|
| 779 | |
---|
| 780 | * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.10-0vl1 |
---|
| 781 | - new upstream release |
---|
| 782 | |
---|
| 783 | * Fri May 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.9-0vl5 |
---|
| 784 | - rebuild by new cyrus-sasl(2.1.13-3vl1) |
---|
| 785 | |
---|
| 786 | * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl4 |
---|
| 787 | - add more BuildPreReq, Requires |
---|
| 788 | - fix some typo |
---|
| 789 | - add missing files to %%files. |
---|
| 790 | |
---|
| 791 | * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl3 |
---|
| 792 | - rebuild |
---|
| 793 | |
---|
| 794 | * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl2 |
---|
| 795 | - add debian's dynamic map patch. |
---|
| 796 | some additional feature is divided to sub package. |
---|
| 797 | - postfix-ldap, postfix-mysql, postfix-pgsql, postfix-pcre |
---|
| 798 | - split common postfix libraries as shared libs. |
---|
| 799 | - libpostfix-{master,global,util,dns}.so.1 |
---|
| 800 | - use cyrus-sasl for SMTP-AUTH |
---|
| 801 | |
---|
| 802 | * Wed Apr 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl1 |
---|
| 803 | - new upstream release 2.0.9 |
---|
| 804 | - update jman/jhtml/jconf to 2.0.8 |
---|
| 805 | |
---|
| 806 | * Wed Apr 9 2003 IWAI Masaharu <iwai@alib.jp> 2.0.7-0vl1 |
---|
| 807 | - new upstream version |
---|
| 808 | - update documents |
---|
| 809 | - jman (source4) |
---|
| 810 | - jconf (Source5) |
---|
| 811 | - faq.html (Source6) |
---|
| 812 | - INSTALL.jp (Source7) |
---|
| 813 | - jhtml (Source12) |
---|
| 814 | |
---|
| 815 | * Sun Jan 19 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.12-0vl3 |
---|
| 816 | - rebuilt against db4 |
---|
| 817 | |
---|
| 818 | * Wed Dec 18 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl2 |
---|
| 819 | - rebuild to remove unnecessary dependancy. |
---|
| 820 | |
---|
| 821 | * Sat Nov 23 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl1 |
---|
| 822 | - new upstream version |
---|
| 823 | - modified /etc/init.d/postfix |
---|
| 824 | |
---|
| 825 | * Sun Oct 06 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl3 |
---|
| 826 | - fixed brainless mistakes... |
---|
| 827 | update main.cf again. |
---|
| 828 | |
---|
| 829 | * Thu Oct 03 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl2 |
---|
| 830 | - update main.cf patch |
---|
| 831 | - do not use procmail for local mailer. |
---|
| 832 | - do not show version and OS name for smtpd greeting banner. |
---|
| 833 | |
---|
[7942] | 834 | * Tue Jun 04 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl1 |
---|
[521] | 835 | - new upstream release |
---|
| 836 | - update jman, jconf, jhtml |
---|
| 837 | |
---|
| 838 | * Tue May 28 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl2 |
---|
| 839 | - updated main.cf patch ( Patch0 ) |
---|
| 840 | undefine myhostname |
---|
| 841 | |
---|
| 842 | * Fri May 24 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl1 |
---|
| 843 | - changed %%{_var}/spool/postfix/private directory permission (0700 -> 0710) |
---|
| 844 | Thanks Mr. Daisuke SUZUKI ([VineSeed:06454]) |
---|
| 845 | |
---|
| 846 | * Thu May 23 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl0 |
---|
| 847 | - upstream release |
---|
| 848 | - updated japanese documents Source4-9 |
---|
| 849 | ( and the unofficial Japanese Web Site moved. ) |
---|
| 850 | - added japanese documents Source10-12 |
---|
| 851 | - updated main.cf patch ( Patch0 ) |
---|
| 852 | - added postdrop group |
---|
| 853 | - added some directories in %%{_var}/spool/postfix/ |
---|
| 854 | active, corrupt, deferred, incoming, pid, public, bounce, |
---|
| 855 | defer,flush,private and saved directories |
---|
| 856 | |
---|
| 857 | * Mon Feb 18 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl3 |
---|
| 858 | - not stop in %%pre |
---|
| 859 | - not start but restart in %%post |
---|
| 860 | |
---|
| 861 | * Mon Dec 31 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl2 |
---|
| 862 | - added BuildPreReq: db3-devel |
---|
| 863 | |
---|
| 864 | * Sat Nov 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl08-0vl1 |
---|
| 865 | - updated to 20010228-pl08 |
---|
| 866 | |
---|
| 867 | * Fri Nov 9 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl06-0vl1 |
---|
| 868 | - updated to 20010228-pl06 |
---|
| 869 | |
---|
| 870 | * Sun Sep 23 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl05-0vl1 |
---|
| 871 | - updated to 20010228-pl05 |
---|
| 872 | |
---|
| 873 | * Wed Aug 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl04-0vl1 |
---|
| 874 | - updated to 20010228-pl04 |
---|
| 875 | |
---|
| 876 | * Wed Jun 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl2 |
---|
| 877 | - update Japanese documents and manpages |
---|
| 878 | |
---|
| 879 | * Sun May 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl1 |
---|
| 880 | - updated to 20010228-pl03 |
---|
| 881 | |
---|
| 882 | * Mon May 21 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> |
---|
| 883 | - 0.0.20010228pl02-0vl3 |
---|
| 884 | - modified %%preun script again |
---|
| 885 | (to check whether %%{_sysconfidir}/rc.d/init.d/postfix already exists) |
---|
| 886 | |
---|
| 887 | * Wed May 02 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> |
---|
| 888 | - 0.0.20010228pl02-0vl2 |
---|
| 889 | - fixed incorrect %%preun script :-P |
---|
| 890 | |
---|
| 891 | * Tue May 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl02-0vl1 |
---|
| 892 | - updated to 20010228-pl02 |
---|
| 893 | |
---|
| 894 | * Wed Apr 11 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl4 |
---|
| 895 | - add {pcre,regexp}_table to %files |
---|
| 896 | - don't replace config files |
---|
| 897 | - start postfix after install/upgrade |
---|
| 898 | |
---|
| 899 | * Mon Apr 09 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl2 |
---|
| 900 | - updated jman pages and translations. |
---|
| 901 | - added japanese sample config files. |
---|
| 902 | |
---|
| 903 | * Sat Mar 31 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl1 |
---|
| 904 | - updated to 20010228-pl01 |
---|
| 905 | |
---|
| 906 | * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl2 |
---|
| 907 | - fixed file location |
---|
| 908 | |
---|
| 909 | * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl1 |
---|
| 910 | - updated to 20010228 |
---|
| 911 | |
---|
| 912 | * Tue Dec 26 2000 Tomoya TAKA <tomoya@olive.plala.or.jp> 0.0.199912310pl13-0vl2 |
---|
| 913 | - fixed about mandir |
---|
| 914 | |
---|
| 915 | * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl13-0vl1 |
---|
| 916 | - updated to 19991231-pl13 |
---|
| 917 | - use rpm macros in spec |
---|
| 918 | |
---|
| 919 | * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl11-0vl1 |
---|
| 920 | - updated to 19991231-pl11 |
---|
| 921 | |
---|
| 922 | * Thu Nov 9 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl10-0vl1 |
---|
| 923 | - updated to 19991231-pl10 |
---|
| 924 | |
---|
| 925 | * Thu Oct 12 2000 Yoshihiro Kajiki <kajiki@ylug.org> |
---|
| 926 | - fix newaliases problem by adding slink |
---|
| 927 | |
---|
[7942] | 928 | * Mon Oct 2 2000 Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
[521] | 929 | - add japanese man pages |
---|
| 930 | |
---|
| 931 | * Sun Oct 1 2000 Jun Nishii <jun@vinelinux.org> |
---|
| 932 | - updates to 19991231-pl09-0vl2 |
---|
| 933 | - fixed Group |
---|
| 934 | |
---|
[7942] | 935 | * Fri Sep 22 2000 Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
[521] | 936 | - updates to 19991231-pl09 |
---|
| 937 | |
---|
| 938 | * Wed Aug 09 2000 MACHINO, Satoshi <mac@netfort.gr.jp> |
---|
| 939 | - %build, removed bzip2 -9 and strip |
---|
| 940 | - fixed %files section to handle compressed man page |
---|
| 941 | |
---|
| 942 | * Wed Jun 21 2000 Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
| 943 | - Version name changes to 0.0.version |
---|
| 944 | - updates to 19991231-pl08 |
---|
| 945 | + Major changes with postfix-19991231-pl08: |
---|
| 946 | Specify "body_checks = regexp:%{_sysconfdir}/postfix/body_checks" for a quick |
---|
| 947 | and dirty emergency content filter that looks at non-header lines |
---|
| 948 | one line at a time (including MIME headers inside the message body). |
---|
| 949 | Details in conf/sample-filter.cf. |
---|
| 950 | + Incompatible changes with postfix-19991231-pl07: |
---|
| 951 | As required by RFC 822, Postfix now inserts a generic destination |
---|
| 952 | message header when no destination header is present. The text is |
---|
| 953 | specified via the undisclosed_recipients_header configuration |
---|
| 954 | parameter (default: "To: undisclosed-recipients:;"). |
---|
| 955 | |
---|
| 956 | * Thu Apr 6 2000 Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
| 957 | - updates to 19991231-pl06 |
---|
| 958 | - added percent hack to main.cf |
---|
| 959 | |
---|
| 960 | * Sun Feb 20 2000 Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
| 961 | - adopted to Vine Linux |
---|
| 962 | |
---|
| 963 | * Mon Jan 3 2000 Jean-Michel Dault <jmdault@netrevolution.com> |
---|
| 964 | - updated to 19991231 |
---|
| 965 | - added postfix group |
---|
| 966 | - corrected aliases.db bug |
---|
| 967 | |
---|
| 968 | * Mon Dec 27 1999 Jerome Dumonteil <jd@mandrakesoft.com> |
---|
| 969 | - Add postfix check in post to create sub dirs in spool |
---|
| 970 | |
---|
| 971 | * Mon Dec 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> |
---|
| 972 | - Add -a $DOMAIN -d $LOGNAME to procmail (philippe). |
---|
| 973 | - New banner. |
---|
| 974 | |
---|
| 975 | * Wed Nov 10 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> |
---|
| 976 | - fix if conflicts with sendmail. |
---|
| 977 | |
---|
| 978 | * Sat Jun 5 1999 Axalon Bloodstone <axalon@linux-mandrake.com> |
---|
| 979 | - install bins from libexec/ |
---|
| 980 | |
---|
| 981 | * Sat Jun 5 1999 Bernhard Rosenkr舅zer <bero@mandrakesoft.com> |
---|
| 982 | - 19990601 |
---|
| 983 | - .spec cleanup for easier updates |
---|
| 984 | |
---|
| 985 | * Wed May 26 1999 Axalon Bloodstone <axalon@linux-mandrake.com> |
---|
| 986 | - created link from %{_sbindir}/sendmail to %{_libdir}/sendmail |
---|
| 987 | so it doesn't bug out when i rpm -e sendmail |
---|
| 988 | - Now removes %{_var}/lock/subsys/postfix like a good little prog |
---|
| 989 | upon rpm -e |
---|
| 990 | |
---|
| 991 | * Fri Apr 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> |
---|
| 992 | |
---|
| 993 | - Mandrake adptations. |
---|
| 994 | |
---|
| 995 | * Tue Apr 13 1999 Arne Coucheron <arneco@online.no> |
---|
| 996 | [19990317-pl04-1] |
---|
| 997 | |
---|
| 998 | * Tue Mar 30 1999 Arne Coucheron <arneco@online.no> |
---|
| 999 | [19990317-pl03-2] |
---|
| 1000 | - Castro, Castro, pay attention my friend. You're making it very hard |
---|
| 1001 | maintaining the package if you don't follow the flow of the releases |
---|
| 1002 | |
---|
| 1003 | * Thu Mar 25 1999 Arne Coucheron <arneco@online.no> |
---|
| 1004 | [19990317-pl02-1] |
---|
| 1005 | |
---|
| 1006 | * Tue Mar 23 1999 Arne Coucheron <arneco@online.no> |
---|
| 1007 | [19990317-3] |
---|
| 1008 | - added bugfix patch01 |
---|
| 1009 | |
---|
| 1010 | * Sat Mar 20 1999 Arne Coucheron <arneco@online.no> |
---|
| 1011 | [19990317-2] |
---|
| 1012 | - removed the mynetworks line in main.cf, let postfix figure it out |
---|
| 1013 | - striping of the files in %{_sbindir} |
---|
| 1014 | - alias database moved to %{_sysconfdir}/postfix and made a symlink to it in %{_sysconfdir} |
---|
| 1015 | - enabled procmail support in main.cf and added it to Requires: |
---|
| 1016 | - check status on master instead of postfix in the init script |
---|
| 1017 | - obsoletes postfix-beta |
---|
| 1018 | - had to move some of my latest changelog entries up here since Edgard Castro |
---|
| 1019 | didn't follow my releases |
---|
| 1020 | |
---|
| 1021 | * Thu Mar 18 1999 Edgard Castro <castro@usmatrix.net> |
---|
| 1022 | [19990317] |
---|
| 1023 | |
---|
| 1024 | * Tue Mar 16 1999 Edgard Castro <castro@usmatrix.net> |
---|
| 1025 | [alpha-19990315] |
---|
| 1026 | |
---|
| 1027 | * Tue Mar 9 1999 Edgard Castro <castro@usmatrix.net> |
---|
| 1028 | [19990122-pl01-2] |
---|
| 1029 | - shell and gecho information changed to complie with Red Hat stardand |
---|
| 1030 | - changed the name of the rpm package to postfix, instead of postfix-beta |
---|
| 1031 | |
---|
| 1032 | * Tue Feb 16 1999 Edgard Castro <castro@usmatrix.net> |
---|
| 1033 | [19990122-pl01-1] |
---|
| 1034 | |
---|
| 1035 | * Sun Jan 24 1999 Arne Coucheron <arneco@online.no> |
---|
| 1036 | [19990122-1] |
---|
| 1037 | - shell for postfix user changed to /bin/true to avoid logins to the account |
---|
| 1038 | - files in %{_libdir}exec/postfix moved to %{_libdir}/postfix since this complies |
---|
| 1039 | more with the Red Hat standard |
---|
| 1040 | |
---|
| 1041 | * Wed Jan 06 1999 Arne Coucheron <arneco@online.no> |
---|
| 1042 | [19981230-2] |
---|
| 1043 | - added URL for the source |
---|
| 1044 | - added a cron job for daily check of errors |
---|
| 1045 | - sample config files moved from /etc/postfix/sample to the docdir |
---|
| 1046 | - dropped making of symlinks in %{_sbindir} and instead installing the real |
---|
| 1047 | files there |
---|
| 1048 | - because of the previous they're not needed anymore in %{_libdir}exec/postfix, |
---|
| 1049 | so they are removed from that place |
---|
| 1050 | |
---|
| 1051 | * Fri Jan 01 1999 Arne Coucheron <arneco@online.no> |
---|
| 1052 | [19981230-1] |
---|
| 1053 | |
---|
| 1054 | * Tue Dec 29 1998 Arne Coucheron <arneco@online.no> |
---|
| 1055 | [19981222-1] |
---|
| 1056 | - first build of rpm version |
---|