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