[521] | 1 | Summary: Courier-IMAP IMAP server |
---|
| 2 | Name: courier-imap |
---|
[11086] | 3 | Version: 4.17.3 |
---|
[521] | 4 | Release: 1%{?_dist_release} |
---|
[9924] | 5 | License: GPLv3 |
---|
[521] | 6 | Group: System Environment/Daemons |
---|
| 7 | Source: http://prdownloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2 |
---|
[8136] | 8 | Patch0: courier-imap-4.15_startconf.patch |
---|
[521] | 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 10 | Requires: /sbin/chkconfig |
---|
| 11 | Requires: courier-authlib |
---|
| 12 | BuildRequires: openssl-devel gdbm-devel pam-devel |
---|
| 13 | BuildRequires: courier-authlib-devel |
---|
| 14 | BuildRequires: libidn-devel |
---|
[9417] | 15 | BuildRequires: courier-unicode-devel |
---|
[521] | 16 | |
---|
[3277] | 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | Packager: iwaim |
---|
| 20 | |
---|
[521] | 21 | %description |
---|
| 22 | Courier-IMAP is an IMAP server for Maildir mailboxes. This package contains |
---|
| 23 | the standalone version of the IMAP server that's included in the Courier |
---|
| 24 | mail server package. This package is a standalone version for use with |
---|
| 25 | other mail servers. Do not install this package if you intend to install the |
---|
| 26 | full Courier mail server. Install the Courier package instead. |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q |
---|
[8136] | 31 | %patch0 -p1 -b .orig |
---|
[521] | 32 | |
---|
[8136] | 33 | %{__cp} libs/imap/README README.imap |
---|
| 34 | %{__cp} libs/imap/README.proxy* . |
---|
| 35 | %{__cp} libs/maildir/README.maildirquota.txt README.maildirquota |
---|
| 36 | %{__cp} libs/maildir/README.sharedfolders.txt README.sharedfolders |
---|
[521] | 37 | |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | %configure \ |
---|
| 41 | --bindir=%{_sbindir} \ |
---|
| 42 | --sysconfdir=%{_sysconfdir}/%{name} \ |
---|
| 43 | --libexecdir=%{_libexecdir}/%{name} \ |
---|
| 44 | --datadir=%{_datadir}/%{name} \ |
---|
| 45 | --localstatedir=/var/run \ |
---|
| 46 | --enable-unicode \ |
---|
| 47 | --with-redhat |
---|
| 48 | #--with-authdaemonvar=/var/run/authdaemon.%{name} \ |
---|
| 49 | #--without-authldap \ |
---|
| 50 | #--without-authmysql \ |
---|
| 51 | #--without-authpgsql \ |
---|
| 52 | |
---|
| 53 | make |
---|
| 54 | make check |
---|
| 55 | |
---|
| 56 | %install |
---|
| 57 | rm -rf %{buildroot} |
---|
| 58 | mkdir -p %{buildroot}/etc/pam.d |
---|
[9924] | 59 | make install DESTDIR=%{buildroot} |
---|
[521] | 60 | |
---|
| 61 | mkdir -p %{buildroot}/%{_initdir} |
---|
[7216] | 62 | install -m 755 packaging/systemd/courier-imap.sysvinit %{buildroot}%{_initdir}/courier-imap |
---|
[521] | 63 | |
---|
| 64 | |
---|
| 65 | cd %{buildroot}/%{_sysconfdir}/%{name} |
---|
| 66 | for dist in *.dist; do |
---|
| 67 | mv $dist ${dist%.dist} |
---|
| 68 | done |
---|
| 69 | cd - |
---|
| 70 | |
---|
| 71 | touch %{buildroot}/var/run/imapd.pid |
---|
| 72 | touch %{buildroot}/var/run/imapd-ssl.pid |
---|
| 73 | touch %{buildroot}/var/run/imapd.pid.lock |
---|
| 74 | touch %{buildroot}/var/run/imapd-ssl.pid.lock |
---|
| 75 | |
---|
| 76 | touch %{buildroot}/var/run/pop3d.pid |
---|
| 77 | touch %{buildroot}/var/run/pop3d-ssl.pid |
---|
| 78 | touch %{buildroot}/var/run/pop3d.pid.lock |
---|
| 79 | touch %{buildroot}/var/run/pop3d-ssl.pid.lock |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | %clean |
---|
| 83 | rm -rf $RPM_BUILD_ROOT |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | %post |
---|
| 87 | /sbin/chkconfig --del courier-imap |
---|
| 88 | /sbin/chkconfig --add courier-imap |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | %preun |
---|
| 92 | if test "$1" = "0" |
---|
| 93 | then |
---|
| 94 | rm -f /var/run/couriersslcache |
---|
| 95 | /sbin/chkconfig --del courier-imap |
---|
| 96 | fi |
---|
| 97 | |
---|
| 98 | %{_libexecdir}/%{name}/imapd.rc stop |
---|
| 99 | %{_libexecdir}/%{name}/imapd-ssl.rc stop |
---|
| 100 | %{_libexecdir}/%{name}/pop3d.rc stop |
---|
| 101 | %{_libexecdir}/%{name}/pop3d-ssl.rc stop |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | %files |
---|
| 106 | %defattr(-,root,root) |
---|
[8136] | 107 | %doc NEWS AUTHORS COPYING libs/imap/BUGS README README.imap README.maildirquota |
---|
[521] | 108 | %doc README.sharedfolders |
---|
| 109 | %doc README.proxy* |
---|
| 110 | %dir %{_sysconfdir}/%{name} |
---|
[3338] | 111 | %config(noreplace) %{_sysconfdir}/%{name}/* |
---|
| 112 | %config(noreplace) %{_sysconfdir}/pam.d/imap |
---|
| 113 | %config(noreplace) %{_sysconfdir}/pam.d/pop3 |
---|
[521] | 114 | %{_initdir}/courier-imap |
---|
| 115 | %{_libexecdir}/courier-imap/ |
---|
| 116 | %{_sbindir}/* |
---|
| 117 | %{_datadir}/courier-imap/ |
---|
| 118 | %{_mandir}/man*/* |
---|
| 119 | %ghost /var/run/*.pid |
---|
| 120 | %ghost /var/run/*.lock |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | %changelog |
---|
[11086] | 124 | * Mon Jan 30 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 4.17.3-1 |
---|
| 125 | - update to 4.17.3 |
---|
| 126 | |
---|
[10866] | 127 | * Thu Dec 29 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 4.17.2-1 |
---|
| 128 | - update to 4.17.2 |
---|
| 129 | |
---|
[10252] | 130 | * Fri May 6 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 4.17.0-1 |
---|
| 131 | - update to 4.17.0 |
---|
| 132 | |
---|
[9924] | 133 | * Tue Dec 29 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 4.16.2-1 |
---|
| 134 | - update to 4.16.2 |
---|
| 135 | - update License tag |
---|
| 136 | |
---|
[9417] | 137 | * Wed Jan 7 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 4.16.0-1 |
---|
| 138 | - update to 4.16.0 |
---|
| 139 | - add BuildRequires: courier-unicode-devel |
---|
| 140 | |
---|
[8136] | 141 | * Sat Jan 4 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 4.15-1 |
---|
| 142 | - update to 4.15 |
---|
| 143 | - update startconf patch (Patch0) |
---|
| 144 | - default start: imap-ssl, pop3-ssl |
---|
| 145 | - update document files path |
---|
| 146 | |
---|
[7391] | 147 | * Thu Jan 17 2013 IWAI, Masaharu <iwai@alib.jp> 4.12.0-1 |
---|
[7216] | 148 | - new upstream release |
---|
| 149 | |
---|
[7391] | 150 | * Wed Dec 5 2012 IWAI, Masaharu <iwai@alib.jp> 4.11.0-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[4050] | 153 | * Tue May 31 2011 IWAI, Masaharu <iwai@alib.jp> 4.9.3-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
[3486] | 156 | * Fri Apr 15 2011 IWAI, Masaharu <iwai@alib.jp> 4.9.1-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
[3338] | 159 | * Thu Apr 7 2011 IWAI, Masaharu <iwai@alib.jp> 4.9.0-1 |
---|
| 160 | - new upstream release |
---|
| 161 | - noreplace config files |
---|
| 162 | |
---|
[3277] | 163 | * Sun Apr 3 2011 IWAI, Masaharu <iwai@alib.jp> 4.8.1-1 |
---|
| 164 | - new upstream release |
---|
| 165 | - drop APOP patch (Patch2) |
---|
| 166 | - add Packager tag |
---|
| 167 | - add Vendor and Distribution tags |
---|
| 168 | |
---|
[521] | 169 | * Sun Feb 07 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.7.0-1 |
---|
| 170 | - new upstream release. |
---|
| 171 | - added "BR: libidn-devel". |
---|
| 172 | |
---|
| 173 | * Sun Nov 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.0-1 |
---|
| 174 | - new upstream release. |
---|
| 175 | - updated APOP patch. |
---|
| 176 | |
---|
| 177 | * Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 4.0.3-1vl5 |
---|
| 178 | - applied new versioning policy |
---|
| 179 | |
---|
| 180 | * Sun May 22 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.3-0vl2 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
| 183 | * Mon Mar 21 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.2-0vl2 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
| 186 | * Wed Jan 12 2005 UECHI Yasumasa <uechi@potaway.net> 4.0.1-0vl3 |
---|
| 187 | - new upstream release |
---|
| 188 | - authentication library is separated from this package |
---|
| 189 | - add README.proxy* to %doc |
---|
| 190 | - revise apop patch |
---|
| 191 | |
---|
| 192 | * Mon Sep 20 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.8-0vl1 |
---|
| 193 | - new upstream version |
---|
| 194 | |
---|
| 195 | * Mon Jun 15 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.5-0vl1 |
---|
| 196 | - new upstream version |
---|
| 197 | |
---|
| 198 | * Sat May 22 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.4-0vl1 |
---|
| 199 | - new upstream version |
---|
| 200 | - revise apop patch |
---|
| 201 | |
---|
| 202 | * Thu Apr 01 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.3-0vl1 |
---|
| 203 | - new upstream version |
---|
| 204 | |
---|
| 205 | * Sun Mar 28 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.2-0vl2 |
---|
| 206 | - build with openssl-0.9.7d |
---|
| 207 | |
---|
| 208 | * Sat Mar 27 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.2-0vl1 |
---|
| 209 | - new upstream version |
---|
| 210 | |
---|
| 211 | * Fri Mar 12 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.1-0vl1 |
---|
| 212 | - new upstream version |
---|
| 213 | |
---|
| 214 | * Tue Mar 09 2004 UECHI Yasumasa <uechi@potaway.net> 3.0.0-0vl1 |
---|
| 215 | - new upstream version |
---|
| 216 | - revise courier-imap-startconf.patch |
---|
| 217 | - use wildcard in files section (%{_sbindir}, %{_sysconfig}/%{name}) |
---|
| 218 | |
---|
| 219 | * Fri Nov 28 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.2.1-0vl1 |
---|
| 220 | - new upstream version |
---|
| 221 | - add --with-redhat option to configure script |
---|
| 222 | |
---|
| 223 | * Fri Oct 31 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.2.0-0vl1 |
---|
| 224 | - new upstream version |
---|
| 225 | |
---|
| 226 | * Tue Sep 30 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.1.2-0vl1 |
---|
| 227 | - new upstream version |
---|
| 228 | |
---|
| 229 | * Mon Aug 18 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.1.0-0vl1 |
---|
| 230 | - new upstream version |
---|
| 231 | |
---|
| 232 | * Sat May 17 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 1.7.3-0vl1 |
---|
| 233 | - new upstream version |
---|
| 234 | - fix apop patch for 1.7.3 |
---|
| 235 | |
---|
| 236 | * Tue Apr 22 2003 HOTTA Michihide <hotta@net-newbie.com> 1.7.1-0vl2 |
---|
| 237 | - add apop patch |
---|
| 238 | |
---|
| 239 | * Wed Mar 26 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 1.7.1-0vl1 |
---|
| 240 | - new upstream version |
---|
| 241 | |
---|
| 242 | * Tue Dec 31 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.2-0vl1 |
---|
| 243 | - new upstream version |
---|
| 244 | |
---|
| 245 | * Sun Dec 01 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.1-0vl2 |
---|
| 246 | - use --enable-unicode in configure script |
---|
| 247 | |
---|
| 248 | * Tue Nov 12 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.1-0vl1 |
---|
| 249 | - new upstream release |
---|
| 250 | |
---|
| 251 | * Sat Oct 26 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.6.0-0vl1 |
---|
| 252 | - new upstream releas |
---|
| 253 | - /usr/bin/* moved to /usr/sbin/ |
---|
| 254 | |
---|
| 255 | * Fri Aug 9 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.5.3-0vl1 |
---|
| 256 | - version up to 1.5.3 |
---|
| 257 | |
---|
| 258 | * Wed Mar 20 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 1.4.3-0vl1 |
---|
| 259 | - initial release |
---|