cf22ae9
Summary:   NSS library for MySQL
cf22ae9
Name:      libnss-mysql
cf22ae9
Version:   1.5
533e32b
Release:   37%{?dist}
cf22ae9
Source0:   http://prdownloads.sourceforge.net/libnss-mysql/libnss-mysql-%{version}.tar.gz
cf22ae9
Patch1:    libnss-mysql-multiarch.patch
Jan ONDREJ (SAL) 3c797a0
Patch2:    libnss-mysql-mariadb10.2.patch
cf22ae9
URL:       http://libnss-mysql.sourceforge.net
cf22ae9
License:   GPLv2+
cf22ae9
Jan ONDREJ (SAL) 7963798
BuildRequires: mariadb-devel, libtool, autoconf, automake
2725c11
BuildRequires: make
cf22ae9
cf22ae9
%description
cf22ae9
Store your UNIX user accounts in MySQL. "libnss-mysql" enables the following:
cf22ae9
cf22ae9
* System-wide authentication and name service using a MySQL database.
cf22ae9
  Applications do not need to be MySQL-aware or modified in any way.
cf22ae9
cf22ae9
* Storing authentication information in a database instead of text files.
cf22ae9
cf22ae9
* Creation of a single authentication database for multiple servers.
cf22ae9
  This is often referred to as the "Single Sign-on" problem.
cf22ae9
cf22ae9
* Writing data-modification routines (IE self-management web interface).
cf22ae9
cf22ae9
libnss-mysql is similar to NIS or LDAP. It provides the same centralized
cf22ae9
authentication service through a database. What does this mean? Username,
cf22ae9
uid, gid, password, etc comes from a MySQL database instead of
cf22ae9
/etc/password, /etc/shadow, and /etc/group. A user configured in MySQL will
cf22ae9
look and behave just like a user configured in /etc/passwd. Your
cf22ae9
applications such as ls, finger, sendmail, qmail, exim, postfix, proftpd,
cf22ae9
X, sshd, etc. will all 'see' these users!
cf22ae9
cf22ae9
%prep
cf22ae9
%setup -q -a 0
cf22ae9
%patch1 -p1
Jan ONDREJ (SAL) 3c797a0
%patch2 -p1
cf22ae9
cf22ae9
%build
1bbd212
libtoolize -f
Jan ONDREJ (SAL) 1abf2c1
autoreconf -f -i
cf22ae9
%configure
cf22ae9
make %{?_smp_mflags}
cf22ae9
# remove non linux samples
cf22ae9
rm -rf sample/freebsd sample/solaris
cf22ae9
cf22ae9
%install
cf22ae9
rm -rf $RPM_BUILD_ROOT
cf22ae9
mkdir -p $RPM_BUILD_ROOT/{etc,lib}
cf22ae9
make DESTDIR=$RPM_BUILD_ROOT install
cf22ae9
5bc277e
%ldconfig_scriptlets
cf22ae9
cf22ae9
%files
cf22ae9
%exclude %{_libdir}/libnss_mysql.la
cf22ae9
%exclude %{_libdir}/*.so
cf22ae9
%{_libdir}/*.so.*
cf22ae9
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/libnss-mysql.cfg
cf22ae9
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/libnss-mysql-root.cfg
cf22ae9
%doc README ChangeLog AUTHORS THANKS NEWS COPYING FAQ DEBUGGING UPGRADING TODO
cf22ae9
%doc sample
cf22ae9
cf22ae9
%changelog
533e32b
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-37
533e32b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
533e32b
a11293e
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-36
a11293e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a11293e
Jan ONDREJ (SAL) 7963798
* Fri Aug 30 2019 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-35
Jan ONDREJ (SAL) 7963798
- Change mariadb-connector-c-devel to mariadb-devel (RHBZ#1495998)
Jan ONDREJ (SAL) 7963798
1915a21
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-34
1915a21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1915a21
b202290
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-33
b202290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b202290
3147c3a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-32
3147c3a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3147c3a
d8882b8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-31
d8882b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d8882b8
Jan ONDREJ (SAL) 0f433c5
* Fri Sep 22 2017 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-30
Jan ONDREJ (SAL) 0f433c5
- Rebuild against mariadb-connector-c (rhbz#1493631)
Jan ONDREJ (SAL) 0f433c5
f0b348a
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-29
f0b348a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f0b348a
ea1261b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-28
ea1261b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ea1261b
Jan ONDREJ (SAL) 3c797a0
* Thu Jul 20 2017 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-27
Jan ONDREJ (SAL) 3c797a0
- Updated for MariaDB 10.2 (rhbz#1470133)
Jan ONDREJ (SAL) 3c797a0
011f99c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-26
011f99c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
011f99c
5b6aabe
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-25
5b6aabe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5b6aabe
3d54f64
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-24
3d54f64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3d54f64
1106edc
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-23
1106edc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1106edc
Jan ONDREJ (SAL) 1abf2c1
* Sat Jun 07 2014 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-22
Jan ONDREJ (SAL) 1abf2c1
- Install autoconf missing files.
Jan ONDREJ (SAL) 1abf2c1
fe709e0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-21
fe709e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fe709e0
6e43042
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-20
6e43042
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6e43042
Jan ONDREJ (SAL) d741605
* Sat Mar 23 2013 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-19
Jan ONDREJ (SAL) d741605
- added autoreconf to prep section (bz#925827)
Jan ONDREJ (SAL) d741605
0a8878d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-18
0a8878d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0a8878d
373ead0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-17
373ead0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
373ead0
cd70c40
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-16
cd70c40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cd70c40
fba3af6
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 1.5-15
fba3af6
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
fba3af6
Jan ONDREJ (SAL) fe5edb2
* Wed Mar 23 2011 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-14
Jan ONDREJ (SAL) fe5edb2
- Rebuild agains new mysql
Jan ONDREJ (SAL) fe5edb2
73d300a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-13
73d300a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
73d300a
89b406e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-12
89b406e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
89b406e
b40094a
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-11
b40094a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b40094a
c905d49
* Fri Jan 23 2009 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-10
1bbd212
- added libtoolize -f and readded autoreconf -f
1bbd212
1bbd212
* Fri Jan 23 2009 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-9
59b581f
- build fails with autoreconf, removed
59b581f
5ade0c2
* Fri Jan 23 2009 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-8
7e69581
- rebuild against new mysql
7e69581
30cafe7
* Sat Feb 9 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-7
30cafe7
- rebuild against gcc4.3
30cafe7
cf22ae9
* Tue Nov 27 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-6
cf22ae9
- updated buildroot according to packaging guidelines
cf22ae9
- removed comment before ldconfig
cf22ae9
- removed provides libnss_mysql (compatibility with my old packages)
cf22ae9
- autoreconf used
cf22ae9
- description bullets updated
cf22ae9
cf22ae9
* Sun Nov 18 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-5
cf22ae9
- added a patch to build on x86_64 and may be other
cf22ae9
- regenerated autoconf to use added patch
cf22ae9
- provides cleanup
cf22ae9
cf22ae9
* Sun Nov 18 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-4
cf22ae9
- buildroot changed
cf22ae9
cf22ae9
* Sat Nov 17 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-3
cf22ae9
- removed devel files
cf22ae9
- removed non-linux documentation
cf22ae9
- added buildrequires
cf22ae9
cf22ae9
* Fri Aug 31 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-2
cf22ae9
- Fedora updates
cf22ae9
cf22ae9
* Sat Sep 3 2005 Ben Goodwin <cinergi@users.sourceforge.net> - 1.5-1
cf22ae9
- Update to 1.4
cf22ae9
cf22ae9
* Sat Apr 10 2004 Ben Goodwin <cinergi@users.sourceforge.net> - 1.4-1
cf22ae9
- Update to 1.4
cf22ae9
cf22ae9
* Sat Apr 10 2004 Ben Goodwin <cinergi@users.sourceforge.net> - 1.3-1
cf22ae9
- Update to 1.3
cf22ae9
- Remove manual static re-link (1.3 relieves the need for this)
cf22ae9
- doc += TODO
cf22ae9
cf22ae9
* Sun Mar 28 2004 Ben Goodwin <cinergi@users.sourceforge.net> - 1.2-1
cf22ae9
- Update to 1.2
cf22ae9
cf22ae9
* Tue Mar 02 2004 Ben Goodwin <cinergi@users.sourceforge.net> - 1.1-1
cf22ae9
- s#exports.linux#.libs/libnss_mysql.ver#
cf22ae9
- Oops, libs/*.o not *.lo
cf22ae9
cf22ae9
* Sat Jul 12 2003 Ben Goodwin <cinergi@users.sourceforge.net> - 1.0-2
cf22ae9
- Link with version script
cf22ae9
cf22ae9
* Sat Jul 12 2003 Ben Goodwin <cinergi@users.sourceforge.net> - 1.0-1
cf22ae9
- Update to 1.0
cf22ae9
- Use *.lo instead of individual .lo names in re-link
cf22ae9
- Removed -Bgroup and --allow-shlib-undefined linker options
cf22ae9
cf22ae9
* Thu Jun 19 2003 Ben Goodwin <cinergi@users.sourceforge.net> - 0.9-2
cf22ae9
- Added ugly hack to relink some libraries static.  It will probably
cf22ae9
  break rpm builds on some hosts ...
cf22ae9
cf22ae9
* Wed Jun 18 2003 Ben Goodwin <cinergi@users.sourceforge.net> - 0.9-1
cf22ae9
- Update to 0.9
cf22ae9
cf22ae9
* Sun Dec 29 2002 Ben Goodwin <cinergi@users.sourceforge.net> - 0.8-1
cf22ae9
- Initial version