initial commit of file from CVS for phplist on Thu Oct 9 11:53:02 AEDT 2025
This commit is contained in:
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
*.rpm
|
||||||
|
*.log
|
||||||
|
*spec-20*
|
21
Makefile
Normal file
21
Makefile
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Makefile for source rpm: phplist
|
||||||
|
# $Id: Makefile,v 1.1 2022/08/02 07:10:49 jpp Exp $
|
||||||
|
NAME := phplist
|
||||||
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
|
define find-makefile-common
|
||||||
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_COMMON),)
|
||||||
|
# attept a checkout
|
||||||
|
define checkout-makefile-common
|
||||||
|
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(MAKEFILE_COMMON)
|
@@ -1,3 +1,9 @@
|
|||||||
# phplist
|
# phplist
|
||||||
|
|
||||||
3rd Party (Maintained by Koozali) git repo for phplist smecontribs
|
3rd Party (Maintained by Koozali) git repo for phplist smecontribs
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||||
|
*Once it has been checked, then this comment will be deleted*
|
||||||
|
<br />
|
||||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@@ -0,0 +1 @@
|
|||||||
|
contribs10
|
17
httpd.conf
Normal file
17
httpd.conf
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
Alias /phplist /usr/share/phplist/public_html/lists
|
||||||
|
<Directory /usr/share/phplist/public_html/lists>
|
||||||
|
Options None
|
||||||
|
Options +Includes
|
||||||
|
AllowOverride Options
|
||||||
|
AddType application/x-httpd-php .php
|
||||||
|
php_admin_value open_basedir /usr/share/phplist:/var/lib/phplist:/etc/phplist:/tmp
|
||||||
|
php_admin_flag file_uploads on
|
||||||
|
php_admin_value upload_max_filesize 5M
|
||||||
|
php_admin_value post_max_size 5M
|
||||||
|
php_admin_value memory_limit 128M
|
||||||
|
php_admin_value session.save_path /var/lib/phplist/tmp
|
||||||
|
php_admin_value upload_tmp_dir /var/lib/phplist/tmp
|
||||||
|
order deny,allow
|
||||||
|
deny from all
|
||||||
|
allow from 127.0.0.1
|
||||||
|
</Directory>
|
12
phplist-3.6.8-manage_admins_with_external_auth.patch
Normal file
12
phplist-3.6.8-manage_admins_with_external_auth.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
diff -Nur --no-dereference phplist-3.6.8.old/public_html/lists/admin/admins.php phplist-3.6.8/public_html/lists/admin/admins.php
|
||||||
|
--- phplist-3.6.8.old/public_html/lists/admin/admins.php 2022-05-27 05:23:57.000000000 -0400
|
||||||
|
+++ phplist-3.6.8/public_html/lists/admin/admins.php 2022-08-02 15:12:19.045000000 -0400
|
||||||
|
@@ -7,7 +7,7 @@
|
||||||
|
$remember_find = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
-$external = $require_login && !is_a($GLOBALS['admin_auth'], 'phpListAdminAuthentication');
|
||||||
|
+$external = !$require_login;
|
||||||
|
$start = isset($_GET['start']) ? sprintf('%d', $_GET['start']) : 0;
|
||||||
|
$listid = isset($_GET['id']) ? sprintf('%d', $_GET['id']) : 0;
|
||||||
|
$find = isset($_REQUEST['find']) ? $_REQUEST['find'] : '';
|
BIN
phplist-3.6.8.tgz
(Stored with Git LFS)
Normal file
BIN
phplist-3.6.8.tgz
(Stored with Git LFS)
Normal file
Binary file not shown.
112
phplist.spec
Normal file
112
phplist.spec
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
%define name phplist
|
||||||
|
%define version 3.6.8
|
||||||
|
%define release 2
|
||||||
|
%define httpuser apache
|
||||||
|
|
||||||
|
Summary: newsletter manager
|
||||||
|
Name: %{name}
|
||||||
|
Version: %{version}
|
||||||
|
Release: %{release}%{?dist}
|
||||||
|
License: GNU GPL
|
||||||
|
URL: http://www.phplist.org
|
||||||
|
Group: application/internet
|
||||||
|
Source: %{name}-%{version}.tgz
|
||||||
|
Source1: httpd.conf
|
||||||
|
Patch0: phplist-3.6.8-manage_admins_with_external_auth.patch
|
||||||
|
#phplist-3.2.4-manage_admins_with_external_auth.patch
|
||||||
|
Packager: Daniel B. <daniel@firewall-services.com>
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: /var/tmp/%{name}-%{version}
|
||||||
|
|
||||||
|
Requires: php
|
||||||
|
Requires: php-mysql
|
||||||
|
Requires: php-imap
|
||||||
|
Requires: httpd
|
||||||
|
#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-pear-HTTP_Request php80-php-session php80-php-xml php80-php-zlib php80-php-mbstring php80-php-gd
|
||||||
|
|
||||||
|
%description
|
||||||
|
phplist is the world's most popular open source email campaign manager.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
#%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
# empty build
|
||||||
|
|
||||||
|
%install
|
||||||
|
|
||||||
|
%{__rm} -rf %{buildroot}
|
||||||
|
%{__mkdir} -p %{buildroot}/%{_datadir}/%{name}
|
||||||
|
%{__mkdir} -p %{buildroot}/%{_sysconfdir}/
|
||||||
|
%{__mkdir} -p %{buildroot}/%{_localstatedir}/lib/%{name}/{tmp,images}
|
||||||
|
%{__cp} -r bin %{buildroot}/%{_datadir}/%{name}
|
||||||
|
%{__mv} public_html/lists/config %{buildroot}/%{_sysconfdir}/%{name}
|
||||||
|
%{__rm} -f %{buildroot}/%{_sysconfdir}/%{name}/.htaccess
|
||||||
|
%{__cp} -r public_html/lists %{buildroot}/%{_datadir}/%{name}/www
|
||||||
|
ln -s %{_sysconfdir}/%{name} %{buildroot}/%{_datadir}/%{name}/www/config
|
||||||
|
ln -s %{_localstatedir}/lib/%{name}/images %{buildroot}/%{_datadir}/%{name}/www/uploadimages
|
||||||
|
sed -i -e "s|/home/website/public_html/lists/|%{_datadir}/%{name}/www/|g" \
|
||||||
|
%{buildroot}/%{_datadir}/%{name}/bin/phplist
|
||||||
|
|
||||||
|
%{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d/
|
||||||
|
%{__install} -m 0640 %{SOURCE1} %{buildroot}/%{_sysconfdir}/httpd/conf.d/%{name}.conf
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
%postun
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
%doc CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING INSTALL LICENSE PEOPLE README.md TODO UPGRADE VERSION
|
||||||
|
%attr(0755,root,root) %{_datadir}/%{name}/bin/phplist
|
||||||
|
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/
|
||||||
|
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/tmp
|
||||||
|
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/images
|
||||||
|
%dir %attr(770,root,%{httpuser}) %{_datadir}/%{name}/www/admin/plugins
|
||||||
|
#%dir %attr(770,root,%{httpuser}) %{_sysconfdir}/%{name}
|
||||||
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/config.php
|
||||||
|
%{_sysconfdir}/%{name}/config_extended.php
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Oct 09 2025 BogusDateBot
|
||||||
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||||
|
by assuming the date is correct and changing the weekday.
|
||||||
|
|
||||||
|
* Thu Aug 04 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.6.8-2.sme
|
||||||
|
- disable auth patch
|
||||||
|
|
||||||
|
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.6.8-1
|
||||||
|
- Update to 3.6.8
|
||||||
|
|
||||||
|
* Mon Feb 22 2016 Daniel Berteaud <daniel@firewall-services.com> 3.2.4-1
|
||||||
|
- Update to 3.2.4
|
||||||
|
|
||||||
|
* Mon Sep 7 2015 Daniel B. <daniel@firewall-services.com> 3.0.12-1
|
||||||
|
- Update to 3.0.12
|
||||||
|
|
||||||
|
* Thu Jan 29 2015 Daniel B. <daniel@firewall-services.com> 3.0.11-1
|
||||||
|
- Update to 3.0.11
|
||||||
|
|
||||||
|
* Wed Oct 22 2014 Daniel B. <daniel@firewall-services.com> 3.0.10-1
|
||||||
|
- Update to 3.0.10
|
||||||
|
|
||||||
|
* Thu Sep 11 2014 Daniel B. <daniel@firewall-services.com> 3.0.8-1
|
||||||
|
- Update to 3.0.8
|
||||||
|
|
||||||
|
* Wed Jul 30 2014 Daniel B. <daniel@firewall-services.com> 3.0.6-1
|
||||||
|
- Update to 3.0.6
|
||||||
|
|
||||||
|
* Fri Oct 11 2013 Daniel B. <daniel@firewall-services.com> 3.0.5-1
|
||||||
|
- upgrade to 3.0.5
|
||||||
|
|
||||||
|
* Tue Dec 7 2010 Pierre B. <pierre@firewall-services.com> 2.10.12-0
|
||||||
|
- initial release
|
Reference in New Issue
Block a user