Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad
fastforward
fastforward.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fastforward.spec of Package fastforward
# # spec file for package fastforward # # Copyright (c) 2012-2013 Peter Conrad <obs@quisquis.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ Summary: Mail forwarder Name: fastforward Version: 0.51 Release: 1 License: SUSE-Public-Domain URL: http://cr.yp.to/fastforward.html Group: Productivity/Networking/Email/Servers Source: http://cr.yp.to/software/fastforward-0.51.tar.gz # selfmade patches Patch: prototypes.patch Patch1: alloc_byte_repl.patch Patch2: unused-vars.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: netqmail %description fastforward handles qmail forwarding according to a cdb database. It can create forwarding databases from a sendmail-style /etc/aliases or from user-oriented virtual-domain tables. fastforward supports external mailing lists, stored in a binary format for fast access. It has a tool to convert sendmail-style include files into binary lists. fastforward does not support program deliveries from include files; you can use qmail's secure built-in mechanisms instead. fastforward does support program deliveries from /etc/aliases. %prep %setup -q %patch -p1 %patch1 -p1 %patch2 -p1 echo "Public Domain since 2008-06-01, see http://cr.yp.to/distributors.html" >LICENSE %build echo /var/lib/qmail >conf-qmail echo gcc -D_GNU_SOURCE -include /usr/include/errno.h -include /usr/include/string.h -include /usr/include/stdio.h -include /usr/include/sys/socket.h -include /usr/include/unistd.h -include /usr/include/stdlib.h -include /usr/include/sys/stat.h %{optflags} >conf-cc echo '#include <unistd.h>' >readwrite.h echo gcc %{optflags} >conf-ld %__mv auto-str.c{,.orig} %__sed 's= puts= my_puts=g' <auto-str.c.orig >auto-str.c %__mv alloc.c{,.orig} %__sed 's=^extern .*==g' <alloc.c.orig >alloc.c %__make %{?_smp_mflags} prog %install %__mkdir_p "%{buildroot}%{_sbindir}" %__install -m 0755 $(grep ' c.*bin' hier.c | cut -d, -f 3 | sed 's="==g') "%{buildroot}%{_sbindir}" %__mkdir_p "%{buildroot}%{_mandir}/man1" %__install -m 0644 $(grep ' c.*man/man1' hier.c | cut -d, -f 3 | sed 's="==g') "%{buildroot}%{_mandir}/man1" %__debug_install_post %clean [ "%{buildroot}" = "/" ] || rm -rf "%{buildroot}" %files %defattr(-,root,root,-) %doc ALIASES BLURB CHANGES INSTALL LICENSE README THANKS VERSION %{_mandir}/man1/fastforward.1%{ext_man} %{_mandir}/man1/printforward.1%{ext_man} %{_mandir}/man1/setforward.1%{ext_man} %{_mandir}/man1/newaliases.1%{ext_man} %{_mandir}/man1/printmaillist.1%{ext_man} %{_mandir}/man1/setmaillist.1%{ext_man} %{_mandir}/man1/newinclude.1%{ext_man} %{_sbindir}/fastforward %{_sbindir}/printforward %{_sbindir}/setforward %{_sbindir}/newaliases %{_sbindir}/printmaillist %{_sbindir}/setmaillist %{_sbindir}/newinclude %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor