Merge branch 'master' of ssh://dev.dsteiner.ch:/srv/gitea/public/rpms
This commit is contained in:
67
centos/SPECS/cjose.spec
Normal file
67
centos/SPECS/cjose.spec
Normal file
@@ -0,0 +1,67 @@
|
||||
Name: cjose
|
||||
Version: 0.6.1
|
||||
Release: 3%{?dist}
|
||||
Summary: C library implementing the Javascript Object Signing and Encryption (JOSE)
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/cisco/cjose
|
||||
Source0: https://github.com/cisco/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch1: concatkdf.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: jansson-devel
|
||||
BuildRequires: check-devel
|
||||
|
||||
%description
|
||||
Implementation of JOSE for C/C++
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%check
|
||||
make check || (cat test/test-suite.log; exit 1)
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md README.md
|
||||
%doc /usr/share/doc/cjose
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/cjose.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Sep 5 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- First initial build.
|
||||
|
||||
@@ -82,6 +82,6 @@ EOF
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Sep 29 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sun Sep 29 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- First build for CentOS 8.
|
||||
|
||||
|
||||
@@ -82,46 +82,46 @@ getent passwd gitea > /dev/null || \
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 6 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Fri Dec 6 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.10.1.
|
||||
|
||||
* Fri Nov 22 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Fri Nov 22 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.10.0.
|
||||
|
||||
* Fri Oct 18 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Fri Oct 18 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.9.4.
|
||||
|
||||
* Sat Sep 21 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sat Sep 21 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.9.3.
|
||||
|
||||
* Fri Aug 16 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Fri Aug 16 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.9.1.
|
||||
|
||||
* Fri Aug 2 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Fri Aug 2 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.9.0.
|
||||
|
||||
* Mon Jun 3 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Mon Jun 3 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.8.2.
|
||||
|
||||
* Sat May 11 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sat May 11 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.8.1.
|
||||
|
||||
* Sun Apr 28 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sun Apr 28 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.8.0.
|
||||
|
||||
* Sun Apr 7 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sun Apr 7 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.7.5.
|
||||
|
||||
* Fri Mar 15 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Fri Mar 15 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.7.4.
|
||||
|
||||
* Wed Feb 27 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Wed Feb 27 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.7.3.
|
||||
|
||||
* Sat Feb 16 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sat Feb 16 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.7.2.
|
||||
|
||||
* Wed Jan 30 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Wed Jan 30 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to version 1.7.0.
|
||||
|
||||
* Fri Jan 18 2019 Daniel Steiner <daniel.steiner@greenmail.ch>
|
||||
|
||||
111
centos/SPECS/mod_auth_openidc.spec
Normal file
111
centos/SPECS/mod_auth_openidc.spec
Normal file
@@ -0,0 +1,111 @@
|
||||
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo 0-0)}}
|
||||
%{!?_httpd_moddir: %{expand: %%global _httpd_moddir %%{_libdir}/httpd/modules}}
|
||||
%{!?_httpd_confdir: %{expand: %%global _httpd_confdir %{_sysconfdir}/httpd/conf.d}}
|
||||
|
||||
# Optionally build with hiredis if --with hiredis is passed
|
||||
%{!?_with_hiredis: %{!?_without_hiredis: %global _without_hiredis --without-hiredis}}
|
||||
# It is an error if both or neither required options exist.
|
||||
%{?_with_hiredis: %{?_without_hiredis: %{error: both _with_hiredis and _without_hiredis}}}
|
||||
%{!?_with_hiredis: %{!?_without_hiredis: %{error: neither _with_hiredis nor _without_hiredis}}}
|
||||
|
||||
# /etc/httpd/conf.d with httpd < 2.4 and defined as /etc/httpd/conf.modules.d with httpd >= 2.4
|
||||
%{!?_httpd_modconfdir: %{expand: %%global _httpd_modconfdir %%{_sysconfdir}/httpd/conf.d}}
|
||||
|
||||
%global httpd_pkg_cache_dir /var/cache/httpd/mod_auth_openidc
|
||||
|
||||
Name: mod_auth_openidc
|
||||
Version: 2.4.5
|
||||
Release: 1%{?dist}
|
||||
Summary: OpenID Connect auth module for Apache HTTP Server
|
||||
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/zmartzone/mod_auth_openidc
|
||||
Source0: https://github.com/zmartzone/mod_auth_openidc/releases/download/v%{version}/mod_auth_openidc-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: httpd-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: curl-devel
|
||||
BuildRequires: jansson-devel
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: cjose-devel
|
||||
#BuildRequires: jq-devel
|
||||
BuildRequires: jq
|
||||
%{?_with_hiredis:BuildRequires: hiredis-devel}
|
||||
Requires: httpd-mmn = %{_httpd_mmn}
|
||||
|
||||
%description
|
||||
This module enables an Apache 2.x web server to operate as
|
||||
an OpenID Connect Relying Party and/or OAuth 2.0 Resource Server.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# workaround rpm-buildroot-usage
|
||||
export MODULES_DIR=%{_httpd_moddir}
|
||||
export APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}'
|
||||
autoreconf
|
||||
%configure \
|
||||
--with-jq=/usr/lib64/ \
|
||||
%{?_with_hiredis} \
|
||||
%{?_without_hiredis}
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
export MODULES_DIR=%{_httpd_moddir}
|
||||
export APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}'
|
||||
make test
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT%{_httpd_moddir}
|
||||
make install MODULES_DIR=$RPM_BUILD_ROOT%{_httpd_moddir}
|
||||
|
||||
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_modconfdir}
|
||||
echo 'LoadModule auth_openidc_module modules/mod_auth_openidc.so' > \
|
||||
$RPM_BUILD_ROOT%{_httpd_modconfdir}/10-auth_openidc.conf
|
||||
|
||||
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_confdir}
|
||||
install -m 644 auth_openidc.conf $RPM_BUILD_ROOT%{_httpd_confdir}
|
||||
# Adjust httpd cache location in install config file
|
||||
sed -i 's!/var/cache/apache2/!/var/cache/httpd/!' $RPM_BUILD_ROOT%{_httpd_confdir}/auth_openidc.conf
|
||||
install -m 700 -d $RPM_BUILD_ROOT%{httpd_pkg_cache_dir}
|
||||
install -m 700 -d $RPM_BUILD_ROOT%{httpd_pkg_cache_dir}/metadata
|
||||
install -m 700 -d $RPM_BUILD_ROOT%{httpd_pkg_cache_dir}/cache
|
||||
|
||||
|
||||
%files
|
||||
%if 0%{?rhel} && 0%{?rhel} < 7
|
||||
%doc LICENSE.txt
|
||||
%else
|
||||
%license LICENSE.txt
|
||||
%endif
|
||||
%doc ChangeLog
|
||||
%doc AUTHORS
|
||||
%doc README.md
|
||||
%{_httpd_moddir}/mod_auth_openidc.so
|
||||
%config(noreplace) %{_httpd_modconfdir}/10-auth_openidc.conf
|
||||
%config(noreplace) %{_httpd_confdir}/auth_openidc.conf
|
||||
%dir %attr(0700, apache, apache) %{httpd_pkg_cache_dir}
|
||||
%dir %attr(0700, apache, apache) %{httpd_pkg_cache_dir}/metadata
|
||||
%dir %attr(0700, apache, apache) %{httpd_pkg_cache_dir}/cache
|
||||
|
||||
%changelog
|
||||
* Sun Nov 29 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to 2.4.5.
|
||||
|
||||
* Sat Sep 5 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to 2.4.4.1.
|
||||
|
||||
* Mon Jul 6 2020 Daniel Steiner <daniel.steiner@threema.ch>
|
||||
- Update to 2.4.3.
|
||||
|
||||
* Thu Feb 13 2020 Daniel Steiner <daniel.steiner@threema.ch>
|
||||
- Update to 2.4.1.
|
||||
|
||||
* Thu Dec 19 2019 Daniel Steiner <daniel.steiner@threema.ch>
|
||||
- First initial build.
|
||||
|
||||
74
centos/SPECS/mod_tile.spec
Normal file
74
centos/SPECS/mod_tile.spec
Normal file
@@ -0,0 +1,74 @@
|
||||
Name: mod_tile
|
||||
Version: 0.5
|
||||
Release: 2%{?dist}
|
||||
Summary: A program to efficiently render and serve map tiles for www.openstreetmap.org map using Apache and Mapnik.
|
||||
|
||||
License: GPLv2
|
||||
URL: https://github.com/openstreetmap/mod_tile
|
||||
Source0: %{name}-%{version}.tgz
|
||||
Source1: 10-tile.conf
|
||||
|
||||
BuildRequires: httpd-devel, apr
|
||||
BuildRequires: mapnik-devel
|
||||
|
||||
%description
|
||||
The rendering is implemented in a multithreaded process
|
||||
called renderd which opens either a unix or tcp socket
|
||||
and listens for requests to render tiles. It uses Mapnik
|
||||
to render tiles using the rendering rules defined in
|
||||
the configuration file /etc/renderd.conf. Its configuration
|
||||
also allows to specify the number of rendering
|
||||
threads.
|
||||
|
||||
The render daemon implements a queuing mechanism with multiple
|
||||
priority levels to provide an as up-to-date viewing experience
|
||||
given the available rendering resources. The highest priority
|
||||
is for on the fly rendering of tiles not yet in the tile cache,
|
||||
two priority levels for re-rendering out of date tiles on the fly
|
||||
and two background batch rendering queues. The on the fly rendering
|
||||
queues are limited to a short 32 metatile size to minimize latency.
|
||||
The size of the main background queue is determined
|
||||
at compile time, see: render_config.h
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--with-apxs \
|
||||
--with-libmapnik
|
||||
%{__make}
|
||||
|
||||
%install
|
||||
%{__make} install DESTDIR=%{buildroot}
|
||||
%{__make} install-%{name} DESTDIR=%{buildroot}
|
||||
%{__install} -D %{S:1} %{buildroot}%{_sysconfdir}/httpd/conf.modules.d/10-tile.conf
|
||||
|
||||
%post
|
||||
if [ $1 -eq 1 ]; then
|
||||
/usr/bin/systemctl reload httpd.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 1 ]; then
|
||||
/usr/bin/systemctl reload httpd.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
|
||||
[ "%{_builddir}" != "/" ] && [ -d "%{_builddir}" ] && rm -rf %{_builddir}/*
|
||||
|
||||
%files
|
||||
%doc COPYING mod_tile.conf
|
||||
%config(noreplace) %{_sysconfdir}/renderd.conf
|
||||
%config %{_sysconfdir}/httpd/conf.modules.d/10-tile.conf
|
||||
%{_bindir}/render*
|
||||
%{_libdir}/httpd/modules/%{name}.so
|
||||
%{_libdir}/libiniparser*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Sat Jul 11 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- First build on CentOS 8.
|
||||
|
||||
@@ -4,7 +4,7 @@ Release: 3%{?dist}
|
||||
Summary: A beautiful and useful prompt generator for Bash, ZSH, Fish, and tcsh
|
||||
|
||||
License: MIT
|
||||
URL: https://dev.daniel-steiner.org/dani/powerline-shell-enhanced#segment-configuration
|
||||
URL: https://dev.dsteiner.ch/dani/powerline-shell-enhanced#segment-configuration
|
||||
Source0: powerline_shell.tar.gz
|
||||
|
||||
%define debug_package %{nil}
|
||||
@@ -72,12 +72,12 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Dependency added for python-setuptools rpm.
|
||||
|
||||
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Dependency added for pythonX-argparse rpm.
|
||||
|
||||
* Sat Feb 2 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sat Feb 2 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- First build.
|
||||
|
||||
|
||||
@@ -54,6 +54,6 @@ PYTHONPATH=../ %{__python} test_%{oname}.py
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- First build, it's required by powerline_shell package.
|
||||
|
||||
|
||||
@@ -55,6 +55,6 @@ rm -rf %{buildroot}%{python3_sitelib}/__pycache__
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- First build, it's required by powerline_shell package.
|
||||
|
||||
|
||||
39
centos/SPECS/sockstat.spec
Normal file
39
centos/SPECS/sockstat.spec
Normal file
@@ -0,0 +1,39 @@
|
||||
Name: sockstat
|
||||
Version: 0.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: View detailed information about open connections
|
||||
|
||||
License: BSD-3
|
||||
URL: https://github.com/alteholz/sockstat/
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
# disable debug:
|
||||
%global debug_package %{nil}
|
||||
|
||||
|
||||
%description
|
||||
View detailed information about open connections
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
%{__install} -D %{name} %{buildroot}%{_bindir}/%{name}
|
||||
%{__install} -D %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
|
||||
%files
|
||||
%doc LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1.gz
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Apr 9 2020 Daniel Steiner <daniel.steiner@dsteiner.org>
|
||||
- Initial version for CentOS 8 (0.4.1).
|
||||
|
||||
@@ -69,9 +69,9 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/tmux.conf
|
||||
|
||||
%changelog
|
||||
* Sun Sep 29 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Sun Sep 29 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Default tmux config added.
|
||||
|
||||
* Fri Aug 16 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
* Fri Aug 16 2019 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Initial to version 3.0 for CentOS.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user