about that real install I was talking when I spoken about backend
cleanup, if the files are not found in the mentioned place, vpopmail
will complain that no backend is installed, of course there may be a
workaround like qmail fake install..
Regards
Lucian
On 28.07.2010 17:38, Aleksander Podsiadły wrote:
Dnia 2010-07-28, śro o godzinie 12:44 +0300, Lucian Cristian pisze:
+mkdir -p %{buildroot}%{mylibdir}
+mkdir -p %{buildroot}%{vdir}/etc/vpopmail
+make DESTDIR=%{buildroot} install
+make install
+
+rm -f %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule
+ln -s %{mylibdir}/vmysql.so
%{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule
Oh thanks. :)
IMO vmysql.so is installed in %{vdir}/lib so should be:
mkdir -p %{buildroot}%{vdir}/lib
and
ln -s %{vdir}/lib/vmysql.so
%{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule
and in section %files something like:
%attr(0755,vpopmail,vchkpw) %dir %{vdir}/lib
%attr(0751,vpopmail,vchkpw) %{vdir}/lib/*.so
You shouldn't use configure option "prefix". Using this option implicate
in this version non standard vpopmail directories.
One "make install" line in your patch is danger. It causes installation
of files in real directories, not in buildroot directory!
I attached my patch, not all tested!
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com