Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 312946 Details for
Bug 457161
RFE: Update dbmail to 3.0.0
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
SPEC for dbmail 2.3.3
dbmail-2.3.3-2.spec (text/plain), 12.17 KB, created by
Rajesh Krishnan
on 2008-07-29 23:04:33 UTC
(
hide
)
Description:
SPEC for dbmail 2.3.3
Filename:
MIME Type:
Creator:
Rajesh Krishnan
Created:
2008-07-29 23:04:33 UTC
Size:
12.17 KB
patch
obsolete
># Package User Registry: http://fedoraproject.org/wiki/PackageUserRegistry >%define registry_uid 38 >%define registry_name dbmail > >%define services dbmail-imapd dbmail-pop3d dbmail-lmtpd dbmail-timsieved > ># older distros don't have sqlite >%if 0%{?fedora} && "%fedora" < "4" >%define without_sqlite 1 >%endif > >Name: dbmail >Version: 2.3.3 >Release: 2%{?dist} >Summary: The DBMail mail storage system > >Group: System Environment/Daemons ># db_getopot.c is licensed MIT >License: GPLv2+ and MIT >URL: http://www.dbmail.org >Source0: http://www.dbmail.org/download/2.3/dbmail-%{version}.tar.gz >Source1: dbmail-imapd >Source2: dbmail-pop3d >Source3: dbmail-lmtpd >Source4: dbmail-timsieved >Source5: dbmail.cron >Source6: dbmail.logrotate >Source7: dbmail.README.fedora.txt > >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > >BuildRequires: fileutils, openssl >= 0.9.7a >BuildRequires: glib2-devel >= 2.8, gmime-devel >= 2.1.19 >BuildRequires: libsieve-devel >= 2.2 >BuildRequires: mysql-devel, postgresql-devel >BuildRequires: openldap-devel >BuildRequires: mhash-devel, libevent-devel >BuildRequires: sqlite-devel >= 3 > >Requires: glib2 >= 2.8, logrotate, initscripts, vixie-cron >Requires: initscripts >Requires: /usr/sbin/sendmail >Requires: mhash, libevent, libsieve >= 2.2, gmime >= 2.1.19 >Requires(pre): fedora-usermgmt >Requires(postun):fedora-usermgmt >Obsoletes: dbmail-sqlite < 2.2.5 > > >%description >Dbmail is the name of a group of programs that enable the possiblilty of >storing and retrieving mail messages from a database. > >Currently dbmail supports the following database backends: >MySQL >PostgreSQL >Sqlite > >Please see /usr/share/doc/dbmail-*/README.fedora for specific information on >installation and configuration in Fedora. > >%prep >%setup -q > ># we don't need README.solaris and we don't want it caught up in the %%doc ># README* wildcard - but we do want our shiny new README.fedora file to be ># installed >rm -f README.solaris >install -p -m 644 %SOURCE7 . > ># make a couple of changes to the default dbmail.conf file: ># 1. default driver/authdriver sqlite/sql (sqlite, if supported) ># 2. effective uid/gid to dbmail/dbmail >%if ! 0%{?without_sqlite} >sed -i 's/\(^driver\W*=\)\(\W*$\)/\1 sqlite/' dbmail.conf >%endif >sed -i -e 's,\(^db\W*=\)\(.*$\),\1 %{_localstatedir}/lib/dbmail/dbmail.db,' \ > -e 's/\(^authdriver\W*=\)\(\W*$\)/\1 sql/' \ > -e 's/\(^EFFECTIVE_USER\W*=\)\(.*$\)/\1 dbmail/' \ > -e 's/\(^EFFECTIVE_GROUP\W*=\)\(.*$\)/\1 dbmail/' dbmail.conf > ># Filter out provides of private libraries >cat << \EOF > %{name}-provides >#!/bin/sh >%{__find_provides} $* |\ > sed -e '/libauth_ldap\.so/d' \ > -e '/libauth_sql\.so/d' \ > -e '/libsort_sieve\.so/d' \ > -e '/libsqlite\.so/d' \ > -e '/libsqlite\.so/d' \ > -e '/libmysql\.so/d' \ > -e '/libpgsql\.so/d' >EOF > >%define _use_internal_dependency_generator 0 >%define __find_provides %{_builddir}/%{name}-%{version}/%{name}-provides >chmod +x %{__find_provides} > >%build >%configure --disable-rpath \ > --disable-static \ > --with-ldap \ > --with-mysql \ > --with-pgsql \ >%if ! 0%{?without_sqlite} > --with-sqlite \ >%endif > --with-sieve > >make %{?_smp_mflags} > >%install >rm -rf $RPM_BUILD_ROOT >make install DESTDIR=$RPM_BUILD_ROOT >mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man{1,5,8} >mkdir -p $RPM_BUILD_ROOT/%{_initrddir} >mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily >mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d >mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/dbmail >install -p -m 755 %SOURCE1 $RPM_BUILD_ROOT/%{_initrddir} >install -p -m 755 %SOURCE2 $RPM_BUILD_ROOT/%{_initrddir} >install -p -m 755 %SOURCE3 $RPM_BUILD_ROOT/%{_initrddir} >install -p -m 755 %SOURCE4 $RPM_BUILD_ROOT/%{_initrddir} >install -p -m 755 %SOURCE5 $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/dbmail >install -p -m 644 %SOURCE6 $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/dbmail >install -p -m 600 dbmail.conf $RPM_BUILD_ROOT/%{_sysconfdir}/ >### install -p -m 644 man/*1 $RPM_BUILD_ROOT/%{_mandir}/man1/ >### install -p -m 644 man/*5 $RPM_BUILD_ROOT/%{_mandir}/man5/ >### install -p -m 644 man/*8 $RPM_BUILD_ROOT/%{_mandir}/man8/ ># remove libtool archives and -devel type stuff (but leave loadable modules) >find $RPM_BUILD_ROOT -name \*\.la -print | xargs rm -f >rm -f $RPM_BUILD_ROOT/%{_libdir}/dbmail/libdbmail.so > >%clean >rm -rf $RPM_BUILD_ROOT > >%pre >/usr/sbin/fedora-groupadd %registry_uid -r %registry_name &> /dev/null || : >/usr/sbin/fedora-useradd %registry_uid -r -s /sbin/nologin -d / -M \ > -c "DBMail Daemon Account" -g %registry_name %registry_name \ > &> /dev/null || : > >%post >for s in %services; do > /sbin/chkconfig --add $s &> /dev/null || : >done >/sbin/ldconfig > >%preun >if [ $1 = 0 ]; then > for s in %services; do > /sbin/service $s stop &> /dev/null || : > /sbin/chkconfig --del $s &> /dev/null || : > done >fi >exit 0 > >%postun >if [ "$1" -eq "0" ]; then > /sbin/ldconfig > /usr/sbin/fedora-userdel %registry_name &> /dev/null || : > /usr/sbin/fedora-groupdel %registry_name &> /dev/null || : >elif [ "$1" -ge "1" ]; then > for s in %services; do > /sbin/service $s condrestart &> /dev/null || : > done >fi > >%files >%defattr(-,root,root,-) >%doc AUTHORS BUGS ChangeLog COPYING INSTALL README* THANKS >%{_sbindir}/* >### %{_mandir}/man1/* >### %{_mandir}/man5/* >### %{_mandir}/man8/* >%dir %{_libdir}/dbmail >%{_libdir}/dbmail/libauth_sql* >%{_libdir}/dbmail/libdbmail* >%{_libdir}/dbmail/libsort_sieve* >%config(noreplace) %{_sysconfdir}/dbmail.conf >%{_initrddir}/dbmail-* >%{_sysconfdir}/cron.daily/dbmail >%config(noreplace) %{_sysconfdir}/logrotate.d/dbmail >%doc sql/ingres/* >%doc sql/sqlite/* >%doc sql/mysql/* >%doc sql/postgresql/* >### %{_libdir}/dbmail/libsqlite* >%dir %attr(0775,root,dbmail) /var/lib/dbmail > >%package auth-ldap >Summary: The DBMail mail storage system >Group: System Environment/Daemons >Requires: dbmail = %{version}-%{release}, openldap > >%description auth-ldap >This is the auth-ldap libraries for authentication against a ldap server with >dbmail. > >%files auth-ldap >%defattr(-,root,root,-) >%attr(-,root,root) %{_libdir}/dbmail/libauth_ldap* > > >%changelog >* Thu Jul 09 2008 Rajesh Krishnan <fedora@krishnan.cc> - 2.3.3-2 >- Updated release to 2 for building on fedora-rawhide(10) > >* Thu Jul 09 2008 Rajesh Krishnan <fedora@krishnan.cc> - 2.3.3-1 >- v 2.3.3 >- added build-requires: mhash-devel, libevent-devel >- added requires: mhash, libevent > >* Thu Apr 24 2008 Bernard Johnson <bjohnson@symetrix.com> - 2.2.9-1 >- v 2.2.9 > >* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.8-2 >- Autorebuild for GCC 4.3 > >* Fri Jan 18 2008 Bernard Johnson <bjohnson@symetrix.com> - 2.2.8-1 >- 2.2.8-1 > >* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.2.7-2 > - Rebuild for deps > >* Wed Oct 31 2007 Bernard Johnson <bjohnson@symetrix.com> - 2.2.7-1 >- 2.2.7-1 >- removed unused thread references patch >- removed unused hup patch >- removed unused gmime segv patch >- license clarification >- dbmail: Initscript Review (bz #246901) > >* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.5-7 >- Rebuild for selinux ppc32 issue. > >* Tue Jul 03 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.5-6 >- patch to fix SEGV in dbmail-imapd > >* Sat Jun 23 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.5-5 >- patch to reopen logs files on -HUP >- patch to send error when thread references requested >- don't filter libdbmail.so* > >* Sat Jun 23 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.5-4 >- kill ld.so config >- filter private libraries from provides (bz#245326) > >* Wed Jun 20 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.5-3 >- assign uid from package user registry (bz#244611) > >* Tue Jun 05 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.5-2 >- fix %%setup directory > >* Tue Jun 05 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.5-1 >- 2.2.5 >- change method of restarting daemons to that suggested in dbmail bug #600 > >* Wed May 23 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.5-0.1.rc3 >- update to svn 2.2.5rc3 >- remove unneccessary patches >- make sqlite default driver for better out of the box experience > >* Thu Mar 23 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.4-4 >- actually APPLY the short write patch > >* Thu Mar 22 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.4-3 >- patch to eliminate short write messages >- use /sbin/service instead of running init scripts directly >- requires for initscripts because daemon function in initfile requires it >- modern tarballs do not require xmlto and asciidoc to build the docs >- change conditionals to give everything sqlite support unless it's built in > the fedora buildsystem and %%{fedora} < 4 > >* Tue Mar 20 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.4-2 >- patch to fix expunge bug > >* Tue Mar 13 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.4-1 >- v. 2.2.4 >- remove umask patch as it's included upstream now > >* Wed Feb 28 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.3-1 >- v. 2.2.3 >- tab removal in dbmail.conf no longer required >- libsqlite.so in not built anymore unless specified, remove fix >- libauth-ldap.so wasn't be built properly, fixed >- rework umask patch, still want a stronger umask on log files > >* Tue Feb 20 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.2-9 >- fix source0 location > >* Tue Feb 20 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.2-8 >- change /etc/dbmail.conf to mode 0600 >- remove README.solaris, create README.fedora >- add ref to README.fedora in %%desc > >* Tue Feb 20 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.2-7 >- make macro tests a little more readable >- change dbmail-database to dbmail-database-driver; more descriptive >- reduce gmime reqs to 2.1.19 >- specify sqlite req at 3 or greater > >* Sun Feb 18 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.2-6 >- remove bogus require for main package on mysql >- virtual depend with exact %%{version}-%%{release} >- remove extra mysql-devel BR >- update description to include sqlite if built with sqlite >- for mysql, 4.1.3 is required, not just 4.1 >- add requires for vixie-cron >- move database specific docs to database subpackages > >* Sun Feb 18 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.2-5 >- fix perms on man pages > >* Sat Feb 17 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.2-4 >- fix a few things in scriptlets for consistency >- send error output from logrotate HUP to /dev/null >- explicitly require initscripts since they all use the daemon function >- use explicit %%{version}-%%{release} for provides > >* Mon Feb 05 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.2-3 >- fix typo in logrotate script >- patch umask for log files to be something more reasonable > >* Sat Jan 31 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.2-2 >- add some conditionals for not building sqlite on some product releases >- substitude \t for tab in sed so that rpmlint doesn't complain about mixing > tabs and spaces > >* Sat Jan 31 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.2-1 >- add logrotate for dbmail.err >- sub packages depend on %%{version}-%%{release} >- update to 2.2.2 >- remove mailbox2dbmail patch >- translate tabs to space in dbmail.conf >- remove errno race patch > >* Sat Jan 13 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.1-7 >- revert to older fedora-usermgmt macros so rpm will work with older os > >* Fri Jan 12 2007 Bernard Johnson <bjohnson@symetrix.com> 2.2.1-6 >- add patch to fix errno race condition >- don't delete libsort_sieve.so, it's a module > >* Thu Dec 14 2006 Bernard Johnson <bjohnson@symetrix.com> 2.2.1-5 >- fix my local svn that caused x bit on init files to sneak in > >* Thu Dec 14 2006 Bernard Johnson <bjohnson@symetrix.com> 2.2.1-4 >- cleanup of spec file >- use fedora-usermgmt hooks >- split and build all database libraries >- kill modules/.libs from the module load path > >* Tue Dec 05 2006 Bernard Johnson <bjohnson@symetrix.com> 2.2.1-3 >- leave the right .so files for modules > >* Mon Nov 27 2006 Bernard Johnson <bjohnson@symetrix.com> 2.2.1-2 >- update with Fedora Extras style spec file > >* Sat Nov 18 2006 Bernard Johnson <bjohnson@symetrix.com> 2.2.1-1.sc >- version 2.2.1 > >* Mon Nov 15 2006 Bernard Johnson <bjohnson@symetrix.com> 2.2.0-4.sc >- release 2.2.0-1.sc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 457161
:
312945
| 312946