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