[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]



This is an attempt to make pam_mysql more uptodate.
Basically, the one shipped in extras now won't work with crypted md5
password, and I need to load some /etc/shadow file into mysql - that
was the reason I've touched it.

This needs cleanup - removing patch0, adding Epoch: 1 maybe (upstream
versioning did change) but I think this will be useful.

Paul P 'Stingray' Komkoff Jr // http://stingr.net/key <- my pgp key
 This message represents the official view of the voices in my head
--- /home/stingray/rpmbuild/SPECS/pam_mysql.spec	2005-04-07 02:12:42.000000000 +0400
+++ pam_mysql.spec.new	2005-06-23 18:46:06.000000000 +0400
@@ -1,14 +1,14 @@
 Summary:	PAM module for auth UNIX users using MySQL data base
 Name:		pam_mysql
-Version:	0.50
-Release:	6
+Version:	0.6.0
+Release:	1
 License:	GPL
 Group:		Base
-Source0:	http://dl.sf.net/pam-mysql/pam_mysql-0.5.tar.gz
+Source0:	http://dl.sf.net/pam-mysql/pam_mysql-0.6.0.tar.gz
 Patch:		pam_mysql-0.5-vars.patch
 URL:		http://sf.net/projects/pam-mysql/
-BuildRequires:	pam-devel mysql-devel zlib-devel
+BuildRequires:	pam-devel mysql-devel zlib-devel openssl-devel cyrus-sasl-devel
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root-%(id -u -n)
@@ -16,22 +16,26 @@
 users against an MySQL database.
-%setup -q -n %{name}
-%patch -p 1 -b .vars
+%setup -q
+#%patch -p 1 -b .vars
-make LIBDIR=%{_libdir}
+%configure --enable-static=no --with-openssl --with-cyrus-sasl2 --libdir=/%{_lib}
+#make LIBDIR=%{_libdir}
-install -D -m 755 pam_mysql.so $RPM_BUILD_ROOT/%{_lib}/security/pam_mysql.so
+rm $RPM_BUILD_ROOT/%{_lib}/security/pam_mysql.la
+#install -D -m 755 pam_mysql.so $RPM_BUILD_ROOT/%{_lib}/security/pam_mysql.so
-%doc Readme Changelog
+%doc README ChangeLog

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]