Compare commits
No commits in common. 'synced/git-annex' and 'master' have entirely different histories.
synced/git
...
master
11 changed files with 139 additions and 4 deletions
@ -0,0 +1,3 @@ |
|||||||
|
the .tito/packages directory contains metadata files |
||||||
|
named after their packages. Each file has the latest tagged |
||||||
|
version and the project's relative directory. |
@ -0,0 +1 @@ |
|||||||
|
5.0.0beta-0.beta2 ./ |
@ -0,0 +1 @@ |
|||||||
|
../../tito_libs/releasers.conf |
@ -0,0 +1,6 @@ |
|||||||
|
[buildconfig] |
||||||
|
builder = tito.builder.GitAnnexBuilder |
||||||
|
tagger = tito.tagger.ReleaseTagger |
||||||
|
changelog_do_not_remove_cherrypick = 0 |
||||||
|
changelog_format = %s (%ae) |
||||||
|
lib_dir = ../tito_libs/ |
@ -1,2 +0,0 @@ |
|||||||
1518950744.600117398s 1 00000000-0000-0000-0000-000000000001 |
|
||||||
1518950744.604673293s 1 027e3e2b-e225-43b4-87c3-26249bb657a3 |
|
@ -1 +0,0 @@ |
|||||||
1518950744.597873439s 1 https://github.com/e2guardian/e2guardian/archive/v5.0.0beta.tar.gz |
|
@ -0,0 +1 @@ |
|||||||
|
.git/annex/objects/vv/6v/SHA256E-s843259--0a5f3deb5b672300cd22816a3306146b06ac6d855918515a3cff28e7dbf0e940.tar.gz/SHA256E-s843259--0a5f3deb5b672300cd22816a3306146b06ac6d855918515a3cff28e7dbf0e940.tar.gz |
@ -0,0 +1,10 @@ |
|||||||
|
/var/log/e2guardian/access.log { |
||||||
|
rotate 4 |
||||||
|
weekly |
||||||
|
sharedscripts |
||||||
|
|
||||||
|
postrotate |
||||||
|
systemctl restart e2guardian |
||||||
|
endscript |
||||||
|
} |
||||||
|
|
@ -0,0 +1,15 @@ |
|||||||
|
[Unit] |
||||||
|
Description=E2guardian Web filtering |
||||||
|
After=network.target |
||||||
|
|
||||||
|
[Service] |
||||||
|
LimitNOFILE=65535 |
||||||
|
Type=simple |
||||||
|
IgnoreSIGPIPE=no |
||||||
|
ExecStart=/usr/sbin/e2guardian -N |
||||||
|
ExecReload=/usr/sbin/e2guardian -r |
||||||
|
Restart=always |
||||||
|
|
||||||
|
[Install] |
||||||
|
WantedBy=multi-user.target |
||||||
|
|
@ -0,0 +1,102 @@ |
|||||||
|
Name: e2guardian |
||||||
|
Version: 5.0.0beta |
||||||
|
Release: 0.beta2%{?dist} |
||||||
|
Summary: Web content filter |
||||||
|
License: GPLv2 |
||||||
|
URL: http://e2guardian.org/ |
||||||
|
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz |
||||||
|
Source1: %{name}.service |
||||||
|
Source2: %{name}.logrotate |
||||||
|
|
||||||
|
BuildRequires: automake |
||||||
|
BuildRequires: openssl-devel |
||||||
|
BuildRequires: pcre-devel |
||||||
|
BuildRequires: zlib-devel |
||||||
|
BuildRequires: systemd |
||||||
|
Requires(pre): shadow-utils |
||||||
|
%{?systemd_requires} |
||||||
|
|
||||||
|
%description |
||||||
|
E2guardian is an Open Source web content filter, It filters the actual content |
||||||
|
of pages based on many methods including phrase matching, request header and |
||||||
|
URL filtering, etc. It does not purely filter based on a banned list of sites. |
||||||
|
|
||||||
|
%prep |
||||||
|
%setup -q |
||||||
|
chmod -x COPYING LICENSE ChangeLog README.md UPGRADING |
||||||
|
|
||||||
|
%build |
||||||
|
./autogen.sh |
||||||
|
%configure --with-proxyuser=%{name} --with-proxygroup=%{name} \ |
||||||
|
--enable-clamd \ |
||||||
|
--enable-icap \ |
||||||
|
--enable-commandline \ |
||||||
|
--enable-trickledm \ |
||||||
|
--enable-ntlm \ |
||||||
|
--enable-sslmitm \ |
||||||
|
--enable-dnsauth \ |
||||||
|
--enable-email |
||||||
|
# --enable-avastd \ |
||||||
|
# --enable-kavd \ |
||||||
|
|
||||||
|
%make_build |
||||||
|
|
||||||
|
|
||||||
|
%install |
||||||
|
%make_install |
||||||
|
mkdir -p %{buildroot}%{_unitdir} |
||||||
|
cp -p %SOURCE1 %{buildroot}%{_unitdir}/%{name}.service |
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d |
||||||
|
cp -p %SOURCE2 %{buildroot}%{_sysconfdir}/logrotate.d/%{name} |
||||||
|
chmod -x %{buildroot}%{_docdir}/%{name}/* |
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/certs/generatedcerts |
||||||
|
|
||||||
|
%pre |
||||||
|
getent group %{name} >/dev/null || groupadd -r %{name} |
||||||
|
getent passwd %{name} >/dev/null || \ |
||||||
|
useradd -r -g %{name} -d /var/log/%{name} -s /sbin/nologin \ |
||||||
|
-c "e2guardian service" %{name} |
||||||
|
exit 0 |
||||||
|
|
||||||
|
%post |
||||||
|
%systemd_post %{name}.service |
||||||
|
|
||||||
|
%preun |
||||||
|
%systemd_preun %{name}.service |
||||||
|
|
||||||
|
%postun |
||||||
|
%systemd_postun_with_restart %{name}.service |
||||||
|
|
||||||
|
|
||||||
|
%files |
||||||
|
%license COPYING LICENSE |
||||||
|
%doc ChangeLog README.md UPGRADING |
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/ |
||||||
|
%attr(0700,%name,%name) %{_sysconfdir}/%{name}/certs/generatedcerts |
||||||
|
%config %{_sysconfdir}/logrotate.d/%{name} |
||||||
|
%{_sbindir}/e2guardian |
||||||
|
%{_docdir}/%{name}/ |
||||||
|
%{_datadir}/%{name}/ |
||||||
|
%{_mandir}/man8/e2guardian.8* |
||||||
|
%{_unitdir}/%{name}.service |
||||||
|
%attr(-,%name,%name) %{_var}/log/%{name} |
||||||
|
|
||||||
|
|
||||||
|
%changelog |
||||||
|
* Sun Feb 18 2018 Daniel Berteaud <daniel@firewall-services.com> 5.0.0beta-0.beta2 |
||||||
|
- Add service and logrotate files (daniel@firewall-services.com) |
||||||
|
|
||||||
|
* Sun Feb 18 2018 Daniel Berteaud <daniel@firewall-services.com> 5.0.0beta-0.beta1 |
||||||
|
- new package built with tito |
||||||
|
|
||||||
|
* Sun Feb 18 2018 Daniel Berteaud <daniel@firewall-services.com> - 5.0.0beta-1 |
||||||
|
- Update to 5.0.0beta |
||||||
|
|
||||||
|
* Wed Oct 18 2017 Orion Poplawski <orion@cora.nwra.com> - 4.1.3-1 |
||||||
|
- Update to 4.1.3 |
||||||
|
|
||||||
|
* Thu Aug 3 2017 Orion Poplawski <orion@cora.nwra.com> - 4.1.2-2 |
||||||
|
- Own certs directories |
||||||
|
|
||||||
|
* Fri Jul 14 2017 Orion Poplawski <orion@cora.nwra.com> - 4.1.2-1 |
||||||
|
- Initial package |
Loading…
Reference in new issue