initial commit of file from CVS for smeserver-phplist on Sat Sep 7 20:52:04 AEST 2024
This commit is contained in:
111
smeserver-phplist.spec
Normal file
111
smeserver-phplist.spec
Normal file
@@ -0,0 +1,111 @@
|
||||
Summary: sme server integration of phplist
|
||||
Name: smeserver-phplist
|
||||
Version: 0.2.1
|
||||
Release: 4%{?dist}
|
||||
License: GNU GPL version 2
|
||||
URL: http://www.phplist.com
|
||||
Group: SMEserver/addon
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
|
||||
BuildArchitectures: noarch
|
||||
BuildRequires: e-smith-devtools
|
||||
BuildRoot: /var/tmp/%{name}-%{version}
|
||||
Requires: e-smith-release >= 10.0
|
||||
Requires: e-smith-apache >= 2.6.0-19
|
||||
Requires: phplist >= 3.6.8
|
||||
Requires: smeserver-webapps-common
|
||||
Requires: php80-php php80-php-mysqli php80-php-mysqlnd php80-php-pecl-mysql php80-php-curl php80-php-gd php80-php-gettext php80-php-iconv php80-php-imap php80-php-mbstring php80-php-mysqli php80-php-session php80-php-xml php80-php-zlib php80-php-mbstring php80-php-gd
|
||||
#php80-php-pear-HTTP_Request
|
||||
AutoReqProv: no
|
||||
|
||||
%description
|
||||
This rpm provides all the needed templates to get phplist
|
||||
running on SME Server
|
||||
|
||||
%changelog
|
||||
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 0.2.1-4.sme
|
||||
- Roll up patches and move to git repo [SME: 12338]
|
||||
|
||||
* Sat Sep 07 2024 BogusDateBot
|
||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||
by assuming the date is correct and changing the weekday.
|
||||
|
||||
* Wed Aug 03 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.1-3.sme
|
||||
- make http auth not the default.
|
||||
|
||||
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.1-2.sme
|
||||
- ported to SME10
|
||||
|
||||
* Wed Mar 18 2020 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
|
||||
- new package built with tito
|
||||
|
||||
* Wed Jul 30 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1
|
||||
- Nearly complete rewrite
|
||||
- Change the way bounces are processed
|
||||
- Add a daemon to process the queue and the bounces
|
||||
- Requires phplist 3.0.6
|
||||
|
||||
* Fri Dec 31 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-3
|
||||
- Fix typo in BouncesPassword prop name
|
||||
|
||||
* Thu Dec 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-2
|
||||
- Change the way mysql permissions are applied
|
||||
- Rewrite URL to force SSL for /lists/admin
|
||||
- Add LemonLDAP auth support (disable basic auth)
|
||||
- Add AdminUsers prop (only for basic auth)
|
||||
|
||||
* Mon Dec 20 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-1
|
||||
- Minor templates cleanup
|
||||
|
||||
* Mon Dec 20 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta9
|
||||
- patch to restrict admin interface with SSL + login
|
||||
- Separation of the main Alias for Apache in two parts, Admin and Subscibe part
|
||||
|
||||
* Mon Dec 20 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta8
|
||||
- patch for force SSL connection and add access variable in DB configuration
|
||||
|
||||
* Thu Dec 09 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta2
|
||||
- patch some forgotten parameters in configuration files and add DB configuration
|
||||
|
||||
* Wed Dec 08 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta0
|
||||
- initial release
|
||||
|
||||
|
||||
%prep
|
||||
%setup
|
||||
rm -rf root/var/service/
|
||||
|
||||
%build
|
||||
perl ./createlinks
|
||||
%{__mkdir_p} root/var/lib/php/phplist/{tmp,opcache,session}
|
||||
%{__mkdir_p} root/var/log/phplist
|
||||
%{__mkdir_p} root/var/log/php/phplist
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||
rm -f %{name}-%{version}-filelist
|
||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||||
--dir /var/lib/phplist 'attr(0750,www,www)' \
|
||||
--dir /var/log/phplist 'attr(0750,smelog,smelog)' \
|
||||
--file /var/lib/phplist/bounces.mbox 'config(noreplace) %attr(0640,www,www)' \
|
||||
--file /usr/sbin/e-smith/systemd/phplist 'attr(0750,root,root)' \
|
||||
--dir /var/lib/php/phplist 'attr(0755,www,www)' \
|
||||
--dir /var/lib/php/phplist/tmp 'attr(0755,www,www)' \
|
||||
--dir /var/lib/php/phplist/opcache 'attr(0755,www,www)' \
|
||||
--dir /var/lib/php/phplist/session 'attr(0755,www,www)' \
|
||||
--ignoredir /var/qmail/alias --ignoredir /var/lib/phplist \
|
||||
--file /usr/local/bin/phplist 'attr(0750,root,www)' \
|
||||
> %{name}-%{version}-filelist
|
||||
|
||||
%files -f %{name}-%{version}-filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%postun
|
||||
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user