[521] | 1 | Summary: Courier authentication library. |
---|
| 2 | Summary(ja): Courier 認証ライブラリ |
---|
| 3 | Name: courier-authlib |
---|
[9923] | 4 | Version: 0.66.4 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv3 |
---|
[521] | 7 | Group: System Environment/Daemons |
---|
| 8 | URL: http://www.courier-mta.org |
---|
| 9 | Source0: %{name}-%{version}.tar.bz2 |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: libtool |
---|
[8135] | 12 | BuildRequires: libtool-ltdl-devel |
---|
[521] | 13 | BuildRequires: openldap-devel |
---|
[8747] | 14 | BuildRequires: libmysqlclient-devel zlib-devel |
---|
| 15 | BuildRequires: libpq-devel |
---|
[521] | 16 | BuildRequires: gdbm-devel |
---|
| 17 | BuildRequires: pam-devel |
---|
| 18 | BuildRequires: expect |
---|
[9923] | 19 | BuildRequires: courier-unicode-devel > 1.2 |
---|
[521] | 20 | |
---|
| 21 | Requires(post): /sbin/chkconfig |
---|
| 22 | Requires(preun): /sbin/chkconfig |
---|
| 23 | |
---|
[3282] | 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
[9923] | 26 | Packager: tomop, iwaim |
---|
[3282] | 27 | |
---|
[521] | 28 | %description |
---|
| 29 | The Courier authentication library provides authentication services for |
---|
| 30 | other Courier applications. |
---|
| 31 | |
---|
| 32 | %description -l ja |
---|
| 33 | Courier 認証ライブラリは他の Courier アプリケーションへ認証サービスを |
---|
| 34 | 提供します。 |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %package devel |
---|
| 38 | Summary: Development libraries for the Courier authentication library. |
---|
| 39 | Summary(ja): Courier 認証ライブラリの開発ライブラリ |
---|
| 40 | Group: Development/Libraries |
---|
| 41 | Requires: courier-authlib = %{version}-%{release} |
---|
| 42 | |
---|
| 43 | %description devel |
---|
| 44 | This package contains the development libraries and files needed to compile |
---|
| 45 | Courier packages that use this authentication library. Install this |
---|
| 46 | package in order to build the rest of the Courier packages. After they are |
---|
| 47 | built and installed this package can be removed. Files in this package |
---|
| 48 | are not needed at runtime. |
---|
| 49 | |
---|
| 50 | %description -l ja devel |
---|
| 51 | 認証ライブラリを必要とする Courier パッケージのコンパイルに必要な開発 |
---|
| 52 | ライブラリです。他の Courier パッケージを作成するならインストールして |
---|
| 53 | ください。作成したパッケージのインストール後は不要ですので削除しても構 |
---|
| 54 | いません。このパッケージに含まれるファイルは実行時には必要ありません。 |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %package ldap |
---|
| 58 | Summary: LDAP support for the Courier authentication library. |
---|
| 59 | Summary(ja): Courier 認証ライブラリの LDAP サポート |
---|
| 60 | Group: System Environment/Daemons |
---|
| 61 | Requires: courier-authlib = %{version}-%{release} |
---|
| 62 | Requires: openldap |
---|
| 63 | |
---|
| 64 | %description ldap |
---|
| 65 | This package installs LDAP support for the Courier authentication library. |
---|
| 66 | Install this package in order to be able to authenticate using LDAP. |
---|
| 67 | |
---|
| 68 | %description -l ja ldap |
---|
| 69 | Courier 認証ライブラリの LDAP サポートパッケージです。LDAP を使った認証を |
---|
| 70 | 行なう場合にインストールしてください。 |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %package pgsql |
---|
| 74 | Summary: PostgreSQL support for the Courier authentication library. |
---|
| 75 | Summary(ja): Courier 認証ライブラリの PostgreSQL サポート |
---|
| 76 | Group: System Environment/Daemons |
---|
| 77 | Requires: courier-authlib = %{version}-%{release} |
---|
| 78 | |
---|
| 79 | %description pgsql |
---|
| 80 | This package installs PostgreSQL support for the Courier authentication |
---|
| 81 | library. |
---|
| 82 | Install this package in order to be able to authenticate using PostgreSQL. |
---|
| 83 | |
---|
| 84 | %description -l ja pgsql |
---|
| 85 | Courier 認証ライブラリの PostgreSQL サポートパッケージです。PostgreSQL を |
---|
| 86 | 使った認証を行なう場合にインストールしてください。 |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %package mysql |
---|
| 90 | Summary: MySQL support for the Courier authentication library. |
---|
| 91 | Summary(ja): Courier 認証ライブラリの MySQL サポート |
---|
| 92 | Group: System Environment/Daemons |
---|
| 93 | Requires: courier-authlib = %{version}-%{release} |
---|
| 94 | |
---|
| 95 | %description mysql |
---|
| 96 | This package installs MySQL support for the Courier authentication library. |
---|
| 97 | Install this package in order to be able to authenticate using MySQL. |
---|
| 98 | |
---|
| 99 | %description -l ja mysql |
---|
| 100 | Courier 認証ライブラリの MySQL サポートパッケージです。MySQL を使った認証を |
---|
| 101 | 行なう場合にインストールしてください。 |
---|
| 102 | |
---|
| 103 | %prep |
---|
| 104 | %setup -q |
---|
| 105 | |
---|
| 106 | %build |
---|
| 107 | #%configure --without-authldap --without-authpgsql |
---|
| 108 | %configure |
---|
| 109 | make |
---|
| 110 | |
---|
| 111 | %install |
---|
| 112 | rm -rf %{buildroot} |
---|
| 113 | make install DESTDIR=%{buildroot} |
---|
| 114 | rm -f %{buildroot}/%{_libdir}/%{name}/*.a |
---|
| 115 | install -m 555 sysconftool %{buildroot}/%{_libexecdir}/%{name} |
---|
| 116 | install -m 555 authmigrate %{buildroot}/%{_libexecdir}/%{name} |
---|
| 117 | |
---|
| 118 | #./courierauthconfig --configfiles >configtmp |
---|
| 119 | #. configtmp |
---|
| 120 | |
---|
| 121 | ./authmksock %{buildroot}/%{_localstatedir}/spool/authdaemon/socket || exit 1 |
---|
| 122 | touch %{buildroot}/%{_localstatedir}/spool/authdaemon/pid.lock || exit 1 |
---|
| 123 | touch %{buildroot}/%{_localstatedir}/spool/authdaemon/pid || exit 1 |
---|
| 124 | chmod 777 %{buildroot}/%{_localstatedir}/spool/authdaemon/socket || exit 1 |
---|
| 125 | |
---|
| 126 | mkdir -p %{buildroot}/%{_initdir} |
---|
| 127 | install -m 555 courier-authlib.sysvinit %{buildroot}/%{_initdir}/courier-authlib |
---|
| 128 | |
---|
| 129 | %post |
---|
| 130 | %{_libexecdir}/%{name}/authmigrate >/dev/null |
---|
| 131 | %{_libexecdir}/%{name}/sysconftool %{_sysconfdir}/authlib/*.dist >/dev/null |
---|
| 132 | |
---|
| 133 | /sbin/chkconfig --del courier-authlib |
---|
| 134 | /sbin/chkconfig --add courier-authlib |
---|
| 135 | |
---|
| 136 | %preun |
---|
| 137 | if test -x %{_sbindir}/authdaemond |
---|
| 138 | then |
---|
| 139 | %{_sbindir}/authdaemond >/dev/null 2>&1 || /bin/true |
---|
| 140 | fi |
---|
| 141 | |
---|
| 142 | if test "$1" = "0" |
---|
| 143 | then |
---|
| 144 | /sbin/chkconfig --del courier-authlib |
---|
| 145 | fi |
---|
| 146 | |
---|
| 147 | %clean |
---|
| 148 | rm -rf %{buildroot} |
---|
| 149 | |
---|
| 150 | %files |
---|
| 151 | %defattr(-,root,root) |
---|
| 152 | %doc README README*html README.authmysql.myownquery README.ldap |
---|
| 153 | %doc NEWS COPYING* AUTHORS ChangeLog authldap.schema |
---|
| 154 | /etc/rc.d/init.d/* |
---|
| 155 | %ghost %attr(600,root,root) %{_localstatedir}/spool/authdaemon/pid.lock |
---|
| 156 | %ghost %attr(644,root,root) %{_localstatedir}/spool/authdaemon/pid |
---|
| 157 | %ghost %attr(-,root,root) %{_localstatedir}/spool/authdaemon/socket |
---|
| 158 | %{_mandir}/man1/* |
---|
| 159 | %{_mandir}/man8/* |
---|
| 160 | %defattr(-,daemon,daemon) |
---|
| 161 | %dir %{_sysconfdir}/authlib |
---|
| 162 | %{_sysconfdir}/authlib/authdaemonrc.dist |
---|
| 163 | %{_libexecdir}/%{name} |
---|
| 164 | %dir %{_libdir}/%{name} |
---|
| 165 | %{_libdir}/%{name}/libauthcustom* |
---|
| 166 | %{_libdir}/%{name}/libauthpam* |
---|
| 167 | %{_libdir}/%{name}/libauthpipe* |
---|
| 168 | %{_libdir}/%{name}/libauthuser* |
---|
| 169 | %{_libdir}/%{name}/libcourierauth* |
---|
| 170 | %dir %attr(750,daemon,daemon) %{_localstatedir}/spool/authdaemon |
---|
| 171 | %{_sbindir}/* |
---|
| 172 | |
---|
| 173 | %files devel |
---|
| 174 | %defattr(-,root,root) |
---|
| 175 | %{_bindir}/courierauthconfig |
---|
| 176 | %{_includedir}/* |
---|
| 177 | %{_mandir}/man3/* |
---|
| 178 | %doc authlib.html auth_*.html |
---|
| 179 | |
---|
| 180 | %files ldap |
---|
| 181 | %defattr(-,root,root) |
---|
| 182 | %{_sysconfdir}/authlib/authldaprc.dist |
---|
| 183 | %{_libdir}/%{name}/libauthldap* |
---|
| 184 | |
---|
| 185 | %files pgsql |
---|
| 186 | %defattr(-,root,root) |
---|
| 187 | %{_sysconfdir}/authlib/authpgsqlrc.dist |
---|
| 188 | %{_libdir}/%{name}/libauthpgsql* |
---|
| 189 | |
---|
| 190 | %files mysql |
---|
| 191 | %defattr(-,root,root) |
---|
| 192 | %{_sysconfdir}/authlib/authmysqlrc.dist |
---|
| 193 | %{_libdir}/%{name}/libauthmysql* |
---|
| 194 | |
---|
| 195 | |
---|
| 196 | %changelog |
---|
[9923] | 197 | * Tue Dec 29 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 0.66.4-1 |
---|
| 198 | - update to 0.66.4 |
---|
| 199 | - add BuildRequires: courier-unicode-devel > 1.2 |
---|
| 200 | - update License tag |
---|
| 201 | - add Packager: iwaim |
---|
| 202 | |
---|
[8747] | 203 | * Sun Jul 6 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.66.1-2 |
---|
| 204 | - rebuilt with current environment. |
---|
| 205 | - replaced BR:MySQL-devel to BR:libmysqlclient-devel. |
---|
| 206 | - replaced BR:postgresql-devel to BR:libpq-devel. |
---|
| 207 | - dropped R:postgresql-libs (detected by autoreq). |
---|
| 208 | - dropped R:postgresql. |
---|
| 209 | |
---|
[8135] | 210 | * Sat Jan 4 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.66.1-1 |
---|
| 211 | - update to 0.66.1 |
---|
| 212 | - drop APOP patch (Patch0) |
---|
| 213 | - add BuildRequires: libtool-ltdl-devel |
---|
| 214 | |
---|
[3282] | 215 | * Sun Apr 03 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.63.0-2 |
---|
| 216 | - Rebuilt with new toolchain. |
---|
| 217 | |
---|
[521] | 218 | * Sun Feb 07 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.63.0-1 |
---|
| 219 | - new upstream release. |
---|
| 220 | - replaced "BuildPreReq:" with "BuilldRequires:". |
---|
| 221 | |
---|
| 222 | * Sun Nov 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.62.4-1 |
---|
| 223 | - new upstream release. |
---|
| 224 | - removed "Requires: MySQL-shared". |
---|
| 225 | - updated APOP patch. |
---|
| 226 | |
---|
| 227 | * Thu May 21 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.59.3-2 |
---|
| 228 | - rebuilt with MySQL-shared-5.1.34. |
---|
| 229 | |
---|
| 230 | * Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 0.59.3-1vl5 |
---|
| 231 | - applied new versioning policy, and spec in utf-8 |
---|
| 232 | - rebuilt with postgresql-8.3.3 |
---|
| 233 | |
---|
| 234 | * Sun Jan 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.59.3-0vl3 |
---|
| 235 | - rebuilt |
---|
| 236 | |
---|
| 237 | * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.59.3-0vl2 |
---|
| 238 | - rebuilt with postgresql-8.2.6 |
---|
| 239 | |
---|
| 240 | * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.59.3-0vl1 |
---|
| 241 | - new upstream release |
---|
| 242 | - rebuilt with postgresql 8.2.5 |
---|
| 243 | |
---|
| 244 | * Sat Nov 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.56-0vl4 |
---|
| 245 | - rebuilt with MySQL 5.0.27 |
---|
| 246 | - included /usr/lib/courier-authlib/libauthpipe.* |
---|
| 247 | |
---|
| 248 | * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 0.56-0vl3 |
---|
| 249 | - rebuilt with openldap-2.3.27-0vl1 |
---|
| 250 | |
---|
| 251 | * Sun May 22 2005 UECHI Yasumasa <uechi@potaway.net> 0.56-0vl2 |
---|
| 252 | - new upstream release |
---|
| 253 | |
---|
| 254 | * Mon Mar 28 2005 UECHI Yasumasa <uechi@potaway.net> 0.55-0vl4 |
---|
| 255 | - add ldap, postgresql, mysql packages |
---|
| 256 | |
---|
| 257 | * Thu Mar 17 2005 UECHI Yasumasa <uechi@potaway.net> 0.55-0vl1 |
---|
| 258 | - new upstream release |
---|
| 259 | |
---|
| 260 | * Thu Feb 17 2005 UECHI Yasumasa <uechi@potaway.net> 0.54-0vl1 |
---|
| 261 | - new upstream release |
---|
| 262 | |
---|
| 263 | * Wed Jan 12 2005 UECHI Yasumasa <uechi@potaway.net> 0.53-0vl1 |
---|
| 264 | - new upstream release |
---|
| 265 | |
---|
| 266 | * Wed Jan 12 2005 UECHI Yasumasa <uechi@potaway.net> 0.52-0vl1 |
---|
| 267 | - simplify a spec for Vine |
---|
| 268 | - add apop patch |
---|
| 269 | |
---|
| 270 | * Sun Oct 3 2004 Mr. Sam <sam@email-scan.com> - 0.50-1 |
---|
| 271 | - Initial build. |
---|