/[smeserver]/rpms/qmail-workaround/sme7/qmail-workaround.spec
ViewVC logotype

Contents of /rpms/qmail-workaround/sme7/qmail-workaround.spec

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


Revision 1.2 - (show annotations) (download)
Wed Apr 9 13:51:55 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -0 lines
Add Id to top of spec

1 # $Id$
2
3 Summary: Shared library to work around qmail 0.0.0.0 bug
4 Name: qmail-workaround
5 Version: 0.0.1
6 Release: 4%{?dist}
7 License: Public Domain
8 Group: System/Library
9 Source: qmail-workaround-0.0.1.tar.gz
10 Patch0: qmail-workaround-0.0.1-tidy.patch
11 Patch1: qmail-workaround-0.0.1-path.patch
12 Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
13 Prefix: %{_prefix}
14 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
15
16 %description
17 This package contains a shared library which blocks connect calls
18 with destination of 0.0.0.0. This blocks a mail looping problem with
19 qmail, which doesn't recognize that 0.0.0.0 is a local address.
20 Spammers not infrequently use 0.0.0.0 in MX records.
21
22 %prep
23 %setup -q
24 %patch0 -p1
25 %patch1 -p1
26
27 %build
28 gcc -Wall -O2 -fpic -shared -ldl -o no_connect_zero.so no_connect_zero.c
29
30 %install
31 mkdir -p $RPM_BUILD_ROOT/var/service/qmail
32 cp no_connect_zero.so $RPM_BUILD_ROOT/var/service/qmail
33
34 %clean
35 test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(-, root, root)
39 %doc
40 /var/service/qmail/*
41
42 %changelog
43 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
44 - Clean up spec so package can be built by koji/plague
45
46 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
47 - Update to new release naming. No functional changes.
48 - Make Packager generic
49
50 * Thu Apr 13 2006 Charlie Brady <charlie_brady@mitel.com> 0.0.1-03
51 - Allow dlopen to use search path to find libc. [SME: 1248]
52 - Fix error reporting.
53
54 * Wed Apr 12 2006 Charlie Brady <charlie_brady@mitel.com> 0.0.1-02
55 - Prefix error message with Z so logs are complete. [SME: 1116]
56
57 * Thu Mar 23 2006 Charlie Brady <charlie_brady@mitel.com> 0.0.1-01
58 - Initial [SME: 1116]
59

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