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