Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad:branches
ezmlm-idx
ezmlm-idx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ezmlm-idx.spec of Package ezmlm-idx
# # spec file for package ezmlm-idx # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: ezmlm-idx Version: 7.1.1 Release: 1 Summary: Easy Mailing List Manager for qmail + IDX patches Buildroot: %_tmppath/%name-%version-root License: GPL Group: Productivity/Networking/Email/Mailinglists Source0: http://untroubled.org/ezmlm/archive/%{version}/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM conrad@quisquis.de Patch: ezmlm-man.patch # PATCH-FIX-UPSTREAM conrad@quisquis.de Patch1: useless-libs.patch URL: http://untroubled.org/ezmlm/ Provides: ezmlm BuildRequires: mysql-devel postgresql-devel %if 0%{?suse_version} > 1020 BuildRequires: fdupes %endif %if 0%{?suse_version} >= 1100 && 0%{?suse_version} < 1150 Requires: licenses BuildRequires: licenses %endif BuildRequires: sqlite3-devel %define DEFAULT_LANGUAGE en_US %if 0%{?suse_version} %define ezcgi /srv/www/cgi-bin %define rcdir %{_sysconfdir}/ezmlm %else %ifos linux %define ezcgi /var/www/cgi-bin %define rcdir %{_sysconfdir}/ezmlm %else %define ezcgi /usr/local/apache/cgi-bin %define rcdir /usr/local/etc/ezmlm %endif %endif %description ezmlm lets users set up their own mailing lists within qmail's address hierarchy. A user, Joe, types ezmlm-make ~/SOS ~/.qmail-sos joe-sos isp.net and instantly has a functioning mailing list, joe-sos@isp.net, with all relevant information stored in a new ~/SOS directory. ezmlm sets up joe-sos-subscribe and joe-sos-unsubscribe for automatic processing of subscription and unsubscription requests. Any message to joe-sos-subscribe will work; Joe doesn't have to explain any tricky command formats. ezmlm will send back instructions if a subscriber sends a message to joe-sos-request or joe-sos-help. ezmlm automatically archives new messages. Messages are labelled with sequence numbers; a subscriber can fetch message 123 by sending mail to joe-sos-get.123. The archive format supports fast message retrieval even when there are thousands of messages. ezmlm takes advantage of qmail's VERPs to reliably determine the recipient address and message number for every incoming bounce message. It waits ten days and then sends the subscriber a list of message numbers that bounced. If that warning bounces, ezmlm sends a probe; if the probe bounces, ezmlm automatically removes the subscriber from the mailing list. ezmlm is easy for users to control. Joe can edit ~/SOS/text/* to change any of the administrative messages sent to subscribers. He can remove ~/SOS/public and ~/SOS/archived to disable automatic subscription and archiving. He can put his own address into ~/SOS/editor to set up a moderated mailing list. He can edit ~/SOS/{headeradd,headerremove} to control outgoing headers. ezmlm has several utilities to manually inspect and manage mailing lists. ezmlm uses Delivered-To to stop forwarding loops, Mailing-List to protect other mailing lists against false subscription requests, and real cryptographic cookies to protect normal users against false subscription requests. ezmlm can also be used for a sublist, redistributing messages from another list. ezmlm is reliable, even in the face of system crashes. It writes each new subscription and each new message safely to disk before it reports success to qmail. ezmlm doesn't mind huge mailing lists. Lists don't even have to fit into memory. ezmlm hashes the subscription list into a set of independent files so that it can handle subscription requests quickly. ezmlm uses qmail for blazingly fast parallel SMTP deliveries. The IDX patches add: Indexing, (Remote) Moderation, digest, make patches, multi-language, MIME, global interface, SQL database support. # Authors: # -------- Fred Lindberg <lindberg@id.wustl.edu> Fred B. Ringel <fredr@rivertown.net> Bruce Guenter <bruce@untroubled.org> And many others Project Homepage: http://untroubled.org/ezmlm/ %package mysql Summary: MySQL support module for ezmlm-idx Group: Productivity/Networking/Email/Mailinglists Requires: ezmlm-idx = %{version} %description mysql MySQL support module for ezmlm-idx. A detailed explanation can be found here: http://www.ezmlm.org/faq/ezmlm-support-for-SQL-databases.html %package pgsql Summary: PostgreSQL support module for ezmlm-idx Group: Productivity/Networking/Email/Mailinglists Requires: ezmlm-idx = %{version} %description pgsql PostgreSQL support module for ezmlm-idx. A detailed explanation can be found here: http://www.ezmlm.org/faq/ezmlm-support-for-SQL-databases.html %package sqlite Summary: SQLite support module for ezmlm-idx Group: Productivity/Networking/Email/Mailinglists Requires: ezmlm-idx = %{version} %description sqlite SQLite support module for ezmlm-idx. A detailed explanation can be found here: http://www.ezmlm.org/faq/ezmlm-support-for-SQL-databases.html %package cgi Prefix: %ezcgi Summary: WWW archiver for %name Group: Productivity/Networking/Email/Mailinglists Requires: ezmlm-idx = %{version} %description cgi www archiver for %name. After installation change the SUID permission as follows: > chmod 4755 %{ezcgi}/ezmlm-cgi %prep %setup -q %patch -p1 %patch1 -p1 %build echo %{rcdir} > conf-etc echo %{_bindir} > conf-bin echo %{_mandir} > conf-man echo %{_libdir}/%{name} > conf-lib echo /var/lib/qmail > conf-qmail echo "gcc %optflags -I%{_includedir}/mysql -I%{_includedir}/pgsql" > conf-cc echo "gcc %optflags -L%{_libdir}/mysql" > conf-ld %{__make} clean %{__make} it installer mysql pgsql sqlite3 # Do not create cat subdirs on Linux %ifos Linux sed '/cat/d' MAN > MAN.tmp mv MAN.tmp MAN %endif # Create INSTALL file for how to set up ezcgi echo "The script ezmlm-cgi is installed as %ezcgi/ezmlm-cgi with permissions 0444. In order to use it, you need to make it SUID root. So do chmod 4755 %ezcgi/ezmlm-cgi Please see INSTALL 16-22) in this package's doc directory and the man page ezmlm-cgi.1 for more details on setting up and using ezmlm-cgi. " > INSTALL.cgi lic="`md5sum LICENSE | cut -d' ' -f 1`" if [ -r "/usr/share/doc/licenses/md5/$lic" ]; then %__ln_s -f /usr/share/doc/licenses/md5/"$lic" LICENSE fi %install %{__mkdir_p} %{buildroot}/%{_bindir} %{__mkdir_p} %{buildroot}/%{_libdir}/ezmlm %{__mkdir_p} %{buildroot}/%{rcdir} %{__mkdir_p} %{buildroot}/%{ezcgi} %{__mkdir_p} %{buildroot}/%{_defaultdocdir}/%{name} %{__mkdir_p} %{buildroot}/%{_defaultdocdir}/%{name}-cgi ./installer %{buildroot}/%{rcdir} < ETC ./installer %{buildroot}/%{_bindir} < BIN ./installer %{buildroot}/%{_mandir} < MAN ./installer %{buildroot}/%{_libdir}/%{name} < LIB ln -s `head -n 1 conf-lang` %{buildroot}/%{rcdir}/default %{__install} -m0644 ezmlm-cgi %{buildroot}/%{ezcgi}/ # create file list for man pages (without ezmlm-cgi.1) find %buildroot/%_mandir -type f | sed -e "s}%buildroot}}" -e "s}$}*}" > man-list cp ezmlm-cgi.1 %{buildroot}/%_mandir/man1 chmod 644 %{buildroot}/%_mandir/man1/ezmlm-cgi.1 %if 0%{?suse_version} > 1020 %fdupes -s %{buildroot}/%{rcdir} %endif %clean [ -d %{buildroot} ] && %{__rm} -rf %{buildroot} %files -f man-list %defattr(-,root,root,0755) %doc BLURB CHANGES* FAQ INSTALL README README.std ChangeLog %doc THANKS TODO UPGRADE DOWNGRADE ezmlmrc.template LICENSE %{_bindir}/* %dir %{rcdir} %config(noreplace) %{rcdir}/* %dir %{_libdir}/%{name} %{_libdir}/%{name}/sub-std.so %files cgi %defattr(0644,root,root,0755) %doc INSTALL.cgi ezcgirc ezcgi.css %{_mandir}/man1/ezmlm-cgi.1* %attr(0444,root,root) %{ezcgi}/* %files mysql %defattr(0644,root,root,0755) %doc README.mysql %{_libdir}/%{name}/sub-mysql.so %files pgsql %defattr(0644,root,root,0755) %doc README.pgsql %{_libdir}/%{name}/sub-pgsql.so %files sqlite %defattr(0644,root,root,0755) %{_libdir}/%{name}/sub-sqlite3.so %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