/[smeserver]/rpms/maildrop/sme10/maildrop.spec
ViewVC logotype

Annotation of /rpms/maildrop/sme10/maildrop.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Apr 25 05:41:05 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: maildrop-2_8_4-1_el7_nux
Initial import

1 jpp 1.1 %global _hardened_build 1
2    
3     Summary: Mail delivery agent with filtering abilities
4     Name: maildrop
5     Version: 2.8.4
6     Release: 1%{?dist}
7     # Exception is explicit permission to link to OpenSSL
8     License: GPLv2 with exceptions
9     Group: System Environment/Daemons
10     URL: http://www.courier-mta.org/maildrop/
11     Source0: http://prdownloads.sourceforge.net/courier/%{name}/%{version}/%{name}-%{version}.tar.bz2
12     Source1: http://prdownloads.sourceforge.net/courier/%{name}/%{version}/%{name}-%{version}.tar.bz2.sig
13     Source2: pubkey.maildrop
14    
15     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
16     Requires: courier-unicode >= 1.1
17     BuildRequires: automake, libtool, autoconf
18     BuildRequires: gcc-c++, gdbm-devel, db4-devel, pcre-devel
19     BuildRequires: gawk
20     BuildRequires: gnupg
21     BuildRequires: courier-unicode-devel >= 1.1
22     #Once this is available uncomment and rebuild
23     #BuildRequires: courier-authlib-devel
24    
25     %description
26     maildrop is the mail filter/mail delivery agent that's used by the
27     Courier Mail Server. This is a standalone build of the maildrop mail
28     filter that can be used with other mail servers.
29    
30     maildrop is a replacement for your local mail delivery agent. maildrop
31     reads a mail message from standard input, then delivers the message to
32     your mailbox. maildrop knows how to deliver mail to mbox-style
33     mailboxes, and maildirs.
34    
35     maildrop optionally reads instructions from a file, which describe how
36     to filter incoming mail. These instructions can direct maildrop to
37     deliver the message to an alternate mailbox, or forward it somewhere
38     else. Unlike procmail, maildrop uses a structured filtering language.
39    
40     maildrop is written in C++, and is significantly larger than
41     procmail. However, it uses resources much more efficiently. Unlike
42     procmail, maildrop will not read a 10 megabyte mail message into
43     memory. Large messages are saved in a temporary file, and are filtered
44     from the temporary file. If the standard input to maildrop is a file,
45     and not a pipe, a temporary file will not be necessary.
46    
47     maildrop checks the mail delivery instruction syntax from the filter
48     file, before attempting to deliver a message. Unlike procmail, if the
49     filter file contains syntax errors, maildrop terminates without
50     delivering the message. The user can fix the typo without causing any
51     mail to be lost.
52    
53     %prep
54     %setup -q
55     gpg --import %{SOURCE2}
56     gpg --verify %{SOURCE1} %{SOURCE0}
57    
58     %build
59     %configure --disable-shared \
60     --enable-use-flock=1 --with-locking-method=fcntl \
61     --enable-use-dotlock=1 \
62     --enable-syslog=1 \
63     --enable-sendmail=%{_sbindir}/sendmail
64     # prevent 'install: will not overwrite just-created' error
65     notification sent to courier-maildrop@lists.sourceforge.net on 2009/09/04
66     #sed -i 's|DELIVERQUOTAMAN = maildirquota.7 deliverquota.8|DELIVERQUOTAMAN =|' Makefile
67     make
68    
69     %install
70     rm -rf %{buildroot}
71     make install DESTDIR=%{buildroot} htmldir=%{_defaultdocdir}/%{name}
72     cp -pr COPYING COPYING.GPL AUTHORS %{buildroot}%{_defaultdocdir}/%{name}
73     cp -pr README README.postfix ChangeLog UPGRADE %{buildroot}%{_defaultdocdir}/%{name}
74    
75     %clean
76     rm -rf %{buildroot}
77    
78     %files
79     %defattr(-,root,root,-)
80     %doc %{_defaultdocdir}/%{name}
81     %attr(6755,root,mail) %{_bindir}/maildrop
82     %attr(6755,root,mail) %{_bindir}/lockmail
83     %{_bindir}/deliverquota
84     %{_bindir}/mailbot
85     %{_bindir}/maildirmake
86     %{_bindir}/makemime
87     %{_bindir}/reformail
88     %{_bindir}/reformime
89     %{_bindir}/makedat
90     %{_bindir}/makedatprog
91     %{_mandir}/man1/*.1*
92     %{_mandir}/man5/*.5*
93     %{_mandir}/man7/*.7*
94     %{_mandir}/man8/*.8*
95    
96     %changelog
97     * Wed Sep 07 2016 Nux <rpm@li.nux.ro> - 2.8.4-1
98     - update to 2.8.4
99    
100     * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.1-3
101     - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
102    
103     * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.8.1-2
104     - Rebuilt for GCC 5 C++11 ABI change
105    
106     * Tue Feb 17 2015 Brian C. Lane <bcl@redhat.com> 2.8.1-1
107     - Update to 2.8.1
108     - Add courier-unicode requirement
109    
110     * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.1-3
111     - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
112    
113     * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.1-2
114     - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
115    
116     * Fri Jan 10 2014 Brian C. Lane <bcl@redhat.com> 2.7.1-1
117     - Update to 2.7.1
118    
119     * Thu Sep 26 2013 Brian C. Lane <bcl@redhat.com> 2.6.0-4
120     - Remove version from the doc directory name (#993910)
121    
122     * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-3
123     - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
124    
125     * Sat May 25 2013 Bruno Wolff III <bruno@wolff.to> 2.6.0-2
126     - Build with global hardening as maildrop has setuid binaries and reads untrusted input
127    
128     * Sat Mar 16 2013 Brian C. Lane <bcl@redhat.com> 2.6.0-1
129     - Update to 2.6.0
130    
131     * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-18
132     - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
133    
134     * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-17
135     - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
136    
137     * Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2.5.0-16
138     - Rebuild against PCRE 8.30
139    
140     * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-15
141     - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
142    
143     * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-14
144     - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
145    
146     * Mon Jul 5 2010 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.5.0-13
147     - Update to 2.5.0.
148    
149     * Sun Feb 14 2010 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.4.0-12
150     - Update to 2.4.0.
151     - Fixes CVE-2010-0301.
152    
153     * Fri Sep 4 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 2.0.4-11
154     - Fix FTBFS: prevent 'install: will not overwrite just-created' error
155    
156     * Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.4-7
157     - fix license tag
158    
159     * Sat Mar 8 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.0.4-6
160     - Try a better license tag.
161     - Remove all devel parts - this is not upstream-ready yet.
162     - Make the build verbose.
163    
164     * Sun Jan 13 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.0.4-5
165     - Go static.
166    
167     * Wed Oct 24 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.0.4-4
168     - Add gawk to build dependencies.
169    
170     * Sat Aug 4 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.0.4-3
171     - Update to 2.0.4.
172    
173     * Sun Mar 25 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.0.3-2
174     - Initial build.
175    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed