rpms/libnss-mysql/EL-5 libnss-mysql-multiarch.patch, NONE, 1.1 libnss-mysql.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Ján ONDREJ (ondrejj)
fedora-extras-commits at redhat.com
Wed Nov 28 06:10:44 UTC 2007
- Previous message (by thread): rpms/libnss-mysql/EL-4 libnss-mysql-multiarch.patch, NONE, 1.1 libnss-mysql.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/hotwire/devel .cvsignore, 1.10, 1.11 hotwire.spec, 1.13, 1.14 sources, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ondrejj
Update of /cvs/pkgs/rpms/libnss-mysql/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17414/EL-5
Modified Files:
.cvsignore sources
Added Files:
libnss-mysql-multiarch.patch libnss-mysql.spec
Log Message:
Initial commit for libnss-mysql.
libnss-mysql-multiarch.patch:
--- NEW FILE libnss-mysql-multiarch.patch ---
diff -urN libnss-mysql-1.5/acinclude.m4 libnss-mysql-1.5.sal/acinclude.m4
--- libnss-mysql-1.5/acinclude.m4 2004-04-10 05:55:37.000000000 +0200
+++ libnss-mysql-1.5.sal/acinclude.m4 2007-11-18 09:39:01.000000000 +0100
@@ -80,6 +80,18 @@
fi
done
+dnl Test also $libdir path
+if test -f "$libdir/libmysqlclient.so"
+then
+ MYSQL_LIB_DIR="$libdir"
+ break
+fi
+if test -f "$libdir/mysql/libmysqlclient.so"
+then
+ MYSQL_LIB_DIR="$libdir/mysql"
+ break
+fi
+
if test -n "$MYSQL_LIB_DIR"
then
AC_MSG_RESULT([$MYSQL_LIB_DIR])
--- NEW FILE libnss-mysql.spec ---
Summary: NSS library for MySQL
Name: libnss-mysql
Version: 1.5
Release: 6%{?dist}
Source0: http://prdownloads.sourceforge.net/libnss-mysql/libnss-mysql-%{version}.tar.gz
Patch1: libnss-mysql-multiarch.patch
URL: http://libnss-mysql.sourceforge.net
License: GPLv2+
Group: System Environment/Base
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mysql-devel, libtool, autoconf, automake
%description
Store your UNIX user accounts in MySQL. "libnss-mysql" enables the following:
* System-wide authentication and name service using a MySQL database.
Applications do not need to be MySQL-aware or modified in any way.
* Storing authentication information in a database instead of text files.
* Creation of a single authentication database for multiple servers.
This is often referred to as the "Single Sign-on" problem.
* Writing data-modification routines (IE self-management web interface).
libnss-mysql is similar to NIS or LDAP. It provides the same centralized
authentication service through a database. What does this mean? Username,
uid, gid, password, etc comes from a MySQL database instead of
/etc/password, /etc/shadow, and /etc/group. A user configured in MySQL will
look and behave just like a user configured in /etc/passwd. Your
applications such as ls, finger, sendmail, qmail, exim, postfix, proftpd,
X, sshd, etc. will all 'see' these users!
%prep
%setup -q -a 0
%patch1 -p1
%build
autoreconf
%configure
make %{?_smp_mflags}
# remove non linux samples
rm -rf sample/freebsd sample/solaris
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/{etc,lib}
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%exclude %{_libdir}/libnss_mysql.la
%exclude %{_libdir}/*.so
%{_libdir}/*.so.*
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/libnss-mysql.cfg
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/libnss-mysql-root.cfg
%doc README ChangeLog AUTHORS THANKS NEWS COPYING FAQ DEBUGGING UPGRADING TODO
%doc sample
%changelog
* Tue Nov 27 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-6
- updated buildroot according to packaging guidelines
- removed comment before ldconfig
- removed provides libnss_mysql (compatibility with my old packages)
- autoreconf used
- description bullets updated
* Sun Nov 18 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-5
- added a patch to build on x86_64 and may be other
- regenerated autoconf to use added patch
- provides cleanup
* Sun Nov 18 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-4
- buildroot changed
* Sat Nov 17 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-3
- removed devel files
- removed non-linux documentation
- added buildrequires
* Fri Aug 31 2007 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.5-2
- Fedora updates
* Sat Sep 3 2005 Ben Goodwin <cinergi at users.sourceforge.net> - 1.5-1
- Update to 1.4
* Sat Apr 10 2004 Ben Goodwin <cinergi at users.sourceforge.net> - 1.4-1
- Update to 1.4
* Sat Apr 10 2004 Ben Goodwin <cinergi at users.sourceforge.net> - 1.3-1
- Update to 1.3
- Remove manual static re-link (1.3 relieves the need for this)
- doc += TODO
* Sun Mar 28 2004 Ben Goodwin <cinergi at users.sourceforge.net> - 1.2-1
- Update to 1.2
* Tue Mar 02 2004 Ben Goodwin <cinergi at users.sourceforge.net> - 1.1-1
- s#exports.linux#.libs/libnss_mysql.ver#
- Oops, libs/*.o not *.lo
* Sat Jul 12 2003 Ben Goodwin <cinergi at users.sourceforge.net> - 1.0-2
- Link with version script
* Sat Jul 12 2003 Ben Goodwin <cinergi at users.sourceforge.net> - 1.0-1
- Update to 1.0
- Use *.lo instead of individual .lo names in re-link
- Removed -Bgroup and --allow-shlib-undefined linker options
* Thu Jun 19 2003 Ben Goodwin <cinergi at users.sourceforge.net> - 0.9-2
- Added ugly hack to relink some libraries static. It will probably
break rpm builds on some hosts ...
* Wed Jun 18 2003 Ben Goodwin <cinergi at users.sourceforge.net> - 0.9-1
- Update to 0.9
* Sun Dec 29 2002 Ben Goodwin <cinergi at users.sourceforge.net> - 0.8-1
- Initial version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libnss-mysql/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 27 Nov 2007 19:46:45 -0000 1.1
+++ .cvsignore 28 Nov 2007 06:10:10 -0000 1.2
@@ -0,0 +1 @@
+libnss-mysql-1.5.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libnss-mysql/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 Nov 2007 19:46:45 -0000 1.1
+++ sources 28 Nov 2007 06:10:10 -0000 1.2
@@ -0,0 +1 @@
+a34d41a38e426ba26ffde07d03beef8e libnss-mysql-1.5.tar.gz
- Previous message (by thread): rpms/libnss-mysql/EL-4 libnss-mysql-multiarch.patch, NONE, 1.1 libnss-mysql.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/hotwire/devel .cvsignore, 1.10, 1.11 hotwire.spec, 1.13, 1.14 sources, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list