Builds for Fedora 39
This commit is contained in:
@@ -6,13 +6,16 @@ Summary: Crowdsec - An open-source, lightweight agent to detect and respo
|
|||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://crowdsec.net
|
URL: https://crowdsec.net
|
||||||
Source0: https://github.com/crowdsecurity/%{name}/archive/v%{version}.tar.gz
|
Source0: %{name}.tar.gz
|
||||||
Source1: 80-%{name}.preset
|
Source1: 80-%{name}.preset
|
||||||
Patch0: crowdsec.unit.patch
|
Patch0: crowdsec.unit.patch
|
||||||
Patch1: user.patch
|
Patch1: user.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
|
BuildRequires: git
|
||||||
|
BuildRequires: re2-devel
|
||||||
|
BuildRequires: golang >= 1.21
|
||||||
Requires: crontabs
|
Requires: crontabs
|
||||||
%{?fc33:BuildRequires: systemd-rpm-macros}
|
%{?fc33:BuildRequires: systemd-rpm-macros}
|
||||||
%{?fc34:BuildRequires: systemd-rpm-macros}
|
%{?fc34:BuildRequires: systemd-rpm-macros}
|
||||||
@@ -28,12 +31,16 @@ Requires: crontabs
|
|||||||
%global __mangle_shebangs_exclude_from /usr/bin/env
|
%global __mangle_shebangs_exclude_from /usr/bin/env
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -T -b 0
|
%setup -n %{name}
|
||||||
|
cd ..
|
||||||
|
rm -rf %{name}
|
||||||
|
git clone https://github.com/crowdsecurity/crowdsec
|
||||||
|
cd %{name}
|
||||||
%patch -P 0
|
%patch -P 0
|
||||||
%patch -P 1
|
%patch -P 1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
make BUILD_VERSION=v%{version} build
|
||||||
sed -i "s#/usr/local/lib/crowdsec/plugins/#%{_libdir}/%{name}/plugins/#g" config/config.yaml
|
sed -i "s#/usr/local/lib/crowdsec/plugins/#%{_libdir}/%{name}/plugins/#g" config/config.yaml
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -74,7 +81,6 @@ install -m 600 cmd/notification-splunk/splunk.yaml %{buildroot}%{_sysconfdir}/cr
|
|||||||
install -m 600 cmd/notification-email/email.yaml %{buildroot}%{_sysconfdir}/crowdsec/notifications/
|
install -m 600 cmd/notification-email/email.yaml %{buildroot}%{_sysconfdir}/crowdsec/notifications/
|
||||||
install -m 600 cmd/notification-sentinel/sentinel.yaml %{buildroot}%{_sysconfdir}/crowdsec/notifications/
|
install -m 600 cmd/notification-sentinel/sentinel.yaml %{buildroot}%{_sysconfdir}/crowdsec/notifications/
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
%define navidrome_user navidrome
|
%define navidrome_user navidrome
|
||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
Name: navidrome
|
Name: navidrome
|
||||||
Version: 0.49.3
|
Version: 0.50.1
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Navidrome is a self-hosted, open source music server and streamer
|
Summary: Navidrome is a self-hosted, open source music server and streamer
|
||||||
|
|
||||||
Group: System
|
Group: System
|
||||||
@@ -100,6 +100,9 @@ fi
|
|||||||
%{_systemd_util_dir}/system/%{name}.service
|
%{_systemd_util_dir}/system/%{name}.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 23 2023 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||||
|
- Update to 0.50.1.
|
||||||
|
|
||||||
* Thu Feb 23 2023 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
* Thu Feb 23 2023 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||||
- Update to 0.49.3.
|
- Update to 0.49.3.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
Name: sshpiper
|
Name: sshpiper
|
||||||
Version: 1.2.3
|
Version: 1.2.3
|
||||||
Release: 1git%{?dist}
|
Release: 3git%{?dist}
|
||||||
Summary: Reverse proxy for sshd.
|
Summary: Reverse proxy for sshd.
|
||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
%define _build_id_links none
|
%define _build_id_links none
|
||||||
|
|||||||
Reference in New Issue
Block a user