initial commit of file from CVS for tt-rss on Thu Oct 9 11:57:26 AEDT 2025
This commit is contained in:
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.tar.xz 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*
|
20
Makefile
Normal file
20
Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
# Makefile for source rpm: tt-rss
|
||||
NAME := tt-rss
|
||||
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 @@
|
||||
# tt-rss
|
||||
|
||||
3rd Party (Maintained by Koozali) git repo for tt-rss 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
|
3
cron
Normal file
3
cron
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
HOME=__ROOT_DIR__
|
||||
* * * * * __APACHE__ [ -f __ROOT_DIR__/update.php ] && /usr/bin/php __ROOT_DIR__/update.php -feeds > __LOG_FILE__ 2>&1
|
18
httpd.conf
Normal file
18
httpd.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
# tt-rss config
|
||||
|
||||
Alias /tt-rss __ROOT_DIR__
|
||||
|
||||
<Directory __ROOT_DIR__>
|
||||
Options None
|
||||
AddType application/x-httpd-php .php .php3 .phtml
|
||||
php_admin_value open_basedir /tmp:__ROOT_DIR__:__CACHE_DIR__:__LOCK_DIR__
|
||||
php_admin_value memory_limit 64M
|
||||
php_admin_flag allow_url_fopen on
|
||||
order deny,allow
|
||||
deny from all
|
||||
allow from localhost
|
||||
</Directory>
|
||||
|
||||
<Directory __ROOT_DIR__/schema>
|
||||
deny from all
|
||||
</Directory>
|
9
logrotate.conf
Normal file
9
logrotate.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
__LOG_DIR__ {
|
||||
missingok
|
||||
copytruncate
|
||||
rotate 12
|
||||
compress
|
||||
weekly
|
||||
create 0660 __APACHE__ __APACHE__
|
||||
}
|
||||
|
BIN
tt-rss-20211029.git9714c4fbcf.tar.xz
(Stored with Git LFS)
Normal file
BIN
tt-rss-20211029.git9714c4fbcf.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
253
tt-rss.spec
Normal file
253
tt-rss.spec
Normal file
@@ -0,0 +1,253 @@
|
||||
%define name tt-rss
|
||||
%define version 20211029.git9714c4fbcf
|
||||
%define release 1
|
||||
%define httpuser apache
|
||||
|
||||
Summary: Web based RSS reader
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: GPLv3
|
||||
URL: https://tt-rss.org/
|
||||
Group: Applications/Internet
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Source1: httpd.conf
|
||||
Source2: cron
|
||||
Source3: logrotate.conf
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||
|
||||
Requires: php-gd
|
||||
Requires: httpd
|
||||
Requires: logrotate
|
||||
|
||||
%description
|
||||
Tiny Tiny RSS is an open source web-based news feed (RSS/Atom)
|
||||
aggregator, designed to allow you to read news from any location,
|
||||
while feeling as close to a real desktop application as possible.
|
||||
|
||||
%prep
|
||||
%setup -q -n tt-rss
|
||||
|
||||
%build
|
||||
# empty build
|
||||
|
||||
%install
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
%{__mkdir} -p %{buildroot}/%{_datadir}/%{name}
|
||||
for a in $(find ./ -mindepth 1 -maxdepth 1 -type d -print); do
|
||||
cp -r $a %{buildroot}/%{_datadir}/%{name}/
|
||||
done
|
||||
#cp {*.php,*.xsl} %{buildroot}/%{_datadir}/%{name}/
|
||||
cp *.php %{buildroot}/%{_datadir}/%{name}/
|
||||
%{__rm} -rf .buildpath .gitignore .project
|
||||
|
||||
# rename icons to rssicons so it won't clash with the global icons directory
|
||||
%{__mv} %{buildroot}/%{_datadir}/%{name}/feed-icons %{buildroot}/%{_datadir}/%{name}/rssicons
|
||||
|
||||
# remove cache and lock directories
|
||||
%{__rm} -Rf %{buildroot}/%{_datadir}/%{name}/{cache,lock}
|
||||
|
||||
# And create them at the correct place
|
||||
%{__mkdir} -p %{buildroot}/%{_localstatedir}/cache/%{name}/{simplepie,images,export,js,upload,starred-images}
|
||||
%{__mkdir} -p %{buildroot}/%{_localstatedir}/lock/%{name}
|
||||
%{__mkdir} -p %{buildroot}/%{_sysconfdir}/tmpfiles.d
|
||||
/bin/echo "d %{_localstatedir}/lock/%{name} 0775 root www 0" > %{buildroot}/%{_sysconfdir}/tmpfiles.d/%{name}.conf
|
||||
|
||||
sed -e "s|\"pgsql\"|\"mysql\"|g" \
|
||||
-e "s|cache|%{_localstatedir}/cache/%{name}/|g" \
|
||||
-e "s|\"feed-icons\"|\"rssicons\"|g" \
|
||||
-e "s|'lock'|'%{_localstatedir}/lock/%{name}'|g" \
|
||||
config.php-dist \
|
||||
> %{buildroot}/%{_datadir}/%{name}/config.php
|
||||
|
||||
%{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d/
|
||||
%{__install} -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/httpd/conf.d/%{name}.conf
|
||||
sed -i -e "s|__ROOT_DIR__|%{_datadir}/%{name}|g" \
|
||||
-e "s|__CACHE_DIR__|%{_localstatedir}/cache/%{name}|g" \
|
||||
-e "s|__LOCK_DIR__|%{_localstatedir}/lock/%{name}|g" \
|
||||
%{buildroot}/%{_sysconfdir}/httpd/conf.d/%{name}.conf
|
||||
|
||||
%{__mkdir} -p %{buildroot}/%{_localstatedir}/log/
|
||||
touch %{buildroot}/%{_localstatedir}/log/%{name}.log
|
||||
|
||||
%{__mkdir} -p %{buildroot}/%{_sysconfdir}/cron.d
|
||||
%{__install} -m 0644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/cron.d/%{name}
|
||||
sed -i -e "s|__APACHE__|%{httpuser}|g" \
|
||||
-e "s|__ROOT_DIR__|%{_datadir}/%{name}|g" \
|
||||
-e "s|__LOG_FILE__|%{_localstatedir}/log/%{name}.log|g" \
|
||||
%{buildroot}/%{_sysconfdir}/cron.d/%{name}
|
||||
|
||||
%{__mkdir} -p %{buildroot}/%{_sysconfdir}/logrotate.d/
|
||||
%{__install} -m 644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name}
|
||||
sed -i -e "s|__LOG_DIR__|%{_localstatedir}/log/%{name}.log|g" \
|
||||
-e "s|__APACHE__|%{httpuser}|g" \
|
||||
%{SOURCE3} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
|
||||
%postun
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md
|
||||
%{_datadir}/%{name}
|
||||
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/cache/%{name}/simplepie
|
||||
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/cache/%{name}/images
|
||||
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/cache/%{name}/export
|
||||
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/cache/%{name}/js
|
||||
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/cache/%{name}/upload
|
||||
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/cache/%{name}/starred-images
|
||||
%dir %attr(775,root,%{httpuser}) %{_localstatedir}/lock/%{name}/
|
||||
%dir %attr(775,root,%{httpuser}) %{_datadir}/%{name}/rssicons
|
||||
%attr(660,root,%{httpuser}) %{_localstatedir}/log/%{name}.log
|
||||
%config(noreplace) %attr(660,root,%{httpuser}) %{_datadir}/%{name}/config.php
|
||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
|
||||
%config(noreplace) %{_sysconfdir}/cron.d/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf
|
||||
|
||||
|
||||
%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.
|
||||
|
||||
* Mon Nov 1 2021 Michel Begue <mab974@misouk.com> 20211029.git9714c4fbcf-1
|
||||
- first import to Sme 10
|
||||
- Declare /var/lock/tt-rss directory in tmpfiles.d to be created at boot
|
||||
|
||||
* Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 20170713.gite6d77d2b-1
|
||||
- Update to GIT e6d77d2b
|
||||
- Remove SELinux tests in spec file
|
||||
|
||||
* Tue Feb 16 2016 Daniel Berteaud <daniel@firewall-services.com> 20151028.gitd38cd412-2
|
||||
- fix item_id not being properly escaped in pref_feeds::process_category_order()
|
||||
(possible sql injection), backport a5556c2471973e292dce615fe0c77fdbbc54405b
|
||||
|
||||
* Wed Oct 28 2015 Daniel Berteaud <daniel@firewall-services.com> 20151028.gitd38cd412-1
|
||||
- Update to GIT d38cd412
|
||||
|
||||
* Wed Sep 2 2015 Daniel Berteaud <daniel@firewall-services.com> 20150902.git2606a4e3-1
|
||||
- Update to GIT 2606a4e3
|
||||
|
||||
* Mon Jun 29 2015 Daniel Berteaud <daniel@firewall-services.com> 20150629.git87c67f-1
|
||||
- Switch to the new rolling release model
|
||||
- Update to 2015-06-29
|
||||
|
||||
* Sat Dec 13 2014 Daniel Berteaud <daniel@firewall-services.com> 1.15.3-1
|
||||
- Update to 1.15.3
|
||||
|
||||
* Mon Dec 8 2014 Daniel Berteaud <daniel@firewall-services.com> 1.15-1
|
||||
- Update to 1.15
|
||||
|
||||
* Tue Oct 21 2014 Daniel Berteaud <daniel@firewall-services.com> 1.14-1
|
||||
- update to 1.14
|
||||
|
||||
* Mon Jul 21 2014 Daniel Berteaud <daniel@firewall-services.com> 1.13-1
|
||||
- update to 1.13
|
||||
|
||||
* Fri Mar 21 2014 Daniel Berteaud <daniel@firewall-services.com> 1.12-1
|
||||
- update to 1.12
|
||||
|
||||
* Wed Dec 18 2013 Daniel Berteaud <daniel@firewall-services.com> 1.11-1
|
||||
- Update to 1.11
|
||||
|
||||
* Fri Nov 15 2013 Daniel Berteaud <daniel@firewall-services.com> 1.10-3
|
||||
- Spec file cleanup
|
||||
|
||||
* Tue Sep 24 2013 Daniel Berteaud <daniel@firewall-services.com> 1.10-2
|
||||
- Create missing starred-images cache dir
|
||||
|
||||
* Mon Sep 23 2013 Daniel Berteaud <daniel@firewall-services.com> 1.10-1
|
||||
- udpate to 1.10
|
||||
|
||||
* Sun Jul 21 2013 Daniel Berteaud <daniel@firewall-services.com> 1.9-1
|
||||
- update to 1.9
|
||||
|
||||
* Wed Jun 12 2013 Daniel Berteaud <daniel@firewall-services.com> 1.8-1
|
||||
- update to 1.8
|
||||
|
||||
* Tue May 14 2013 Daniel Berteaud <daniel@firewall-services.com> 1.7.9-2
|
||||
- Add upload subdir in cache
|
||||
|
||||
* Tue May 14 2013 Daniel Berteaud <daniel@firewall-services.com> 1.7.9-1
|
||||
- upstream upgrade to 1.7.9
|
||||
|
||||
* Thu Apr 4 2013 Daniel Berteaud <daniel@firewall-services.com> 1.7.8-1
|
||||
- upstream upgrade to 1.7.8
|
||||
|
||||
* Thu Apr 4 2013 Daniel Berteaud <daniel@firewall-services.com> 1.7.7-1
|
||||
- upstream upgrade to 1.7.7
|
||||
|
||||
* Wed Apr 3 2013 Daniel Berteaud <daniel@firewall-services.com> 1.7.6-2
|
||||
- upstream upgrade to 1.7.6
|
||||
|
||||
* Sat Mar 23 2013 Daniel Berteaud <daniel@firewall-services.com> 1.7.5-2
|
||||
- Add missing js directory in /var/cache/tt-rss
|
||||
|
||||
* Sat Mar 23 2013 Daniel Berteaud <daniel@firewall-services.com> 1.7.5-1
|
||||
- upstream upgrade to 1.7.5
|
||||
|
||||
* Sun Mar 17 2013 Daniel Berteaud <daniel@firewall-services.com> 1.7.4-1
|
||||
- upstream upgrade to 1.7.4
|
||||
|
||||
* Tue Mar 5 2013 Daniel Berteaud <daniel@firewall-services.com> 1.7.1-1
|
||||
- upstream upgrade to 1.7.1
|
||||
|
||||
* Thu Dec 20 2012 Daniel B. <daniel@firewall-services.com> 1.6.2-1
|
||||
- upstream upgrade to 1.6.2
|
||||
|
||||
* Wed Nov 14 2012 Daniel B. <daniel@firewall-services.com> 1.6.1-1
|
||||
- upstream upgrade to 1.6.1
|
||||
|
||||
* Mon May 21 2012 Daniel B. <daniel@firewall-services.com> 1.5.11-12
|
||||
- upstream upgrade to 1.5.11
|
||||
|
||||
* Fri Mar 02 2012 Daniel B. <daniel@firewall-services.com> 1.5.10-11
|
||||
- upstream upgrade to 1.5.10
|
||||
|
||||
* Thu Feb 02 2012 Daniel B. <daniel@firewall-services.com> 1.5.9-11
|
||||
- upstream upgrade to 1.5.9
|
||||
|
||||
* Fri Jan 06 2012 Daniel B. <daniel@firewall-services.com> 1.5.8.1-11
|
||||
- upstream upgrade to 1.5.8.1
|
||||
|
||||
* Fri Nov 25 2011 Daniel B. <daniel@firewall-services.com> 1.5.7-10
|
||||
- upstream upgrade to 1.5.7
|
||||
|
||||
* Wed Sep 28 2011 Daniel B. <daniel@firewall-services.com> 1.5.5-8
|
||||
- Don't exit with error if SELinux is disabled
|
||||
|
||||
* Fri Jul 22 2011 Daniel B. <daniel@firewall-services.com> 1.5.5-7
|
||||
- Upstream upgrade to 1.5.5
|
||||
|
||||
* Mon Jul 04 2011 Daniel B. <daniel@firewall-services.com> 1.5.3-6
|
||||
- Don't restart apache on install/remove/upgrade
|
||||
|
||||
* Sat Jul 2 2011 Daniel B. <daniel@firewall-services.com> 1.5.3-5
|
||||
- create htmlpurifier cache directory
|
||||
|
||||
* Tue May 17 2011 Daniel B. <daniel@firewall-services.com> 1.5.3-4
|
||||
- Upstream upgrade to 1.5.3
|
||||
|
||||
* Mon Mar 21 2011 Daniel B. <daniel@firewall-services.com> 1.5.2-4
|
||||
- upstream upgrade to 1.5.2
|
||||
- Read HTTP_TTRSS_LEVEL from LemonLDAP
|
||||
|
||||
* Wed Jan 26 2011 Daniel B. <daniel@firewall-services.com> 1.5.1-3
|
||||
- Completly disable sanity checks (which are far too strict)
|
||||
|
||||
* Wed Jan 26 2011 Daniel B. <daniel@firewall-services.com> 1.5.1-2
|
||||
- Allow open_basedir restriction
|
||||
|
||||
* Wed Jan 26 2011 Daniel B. <daniel@firewall-services.com> 1.5.1-1
|
||||
- upstream upgrade to 1.5.1
|
||||
|
||||
* Mon Jan 03 2011 Daniel B. <daniel@firewall-services.com> 1.5.0-0
|
||||
- initial release
|
||||
- include patches for a better integration with LemonLDP::NG
|
Reference in New Issue
Block a user