Compare commits
28 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a476e8990d | ||
|
|
f5bd6a873d | ||
|
|
a81639dc4e | ||
|
|
2a82b655e1 | ||
|
|
0eb683f555 | ||
|
|
c3050717fe | ||
|
|
5d145534b5 | ||
|
|
310f4bc004 | ||
|
|
4f0ccc36c3 | ||
|
|
1cfcda870d | ||
|
|
da71523d43 | ||
|
|
3e34b32631 | ||
|
|
1af60d26ae | ||
|
|
9f7e9615ed | ||
|
|
61a9764dda | ||
|
|
47c99b175b | ||
|
|
29393ab3f7 | ||
|
|
c1150678db | ||
|
|
489e8b927a | ||
|
|
0bbfdd6b6d | ||
|
|
6ee706ada0 | ||
|
|
aa41d4ac69 | ||
|
|
4ac7ad3ddd | ||
|
|
26c1a4ccd4 | ||
|
|
d6e6ac61e8 | ||
|
|
7904b57be3 | ||
|
|
718aa9bd74 | ||
|
|
bc58c61121 |
3 changed files with 106 additions and 25 deletions
12
pads-1.2-extra-libs.patch
Normal file
12
pads-1.2-extra-libs.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -ur pads-1.2.orig/src/Makefile.am pads-1.2/src/Makefile.am
|
||||
--- pads-1.2.orig/src/Makefile.am 2019-02-11 16:48:47.516302720 -0500
|
||||
+++ pads-1.2/src/Makefile.am 2019-02-11 17:49:51.772909507 -0500
|
||||
@@ -12,7 +12,7 @@
|
||||
util.c util.h \
|
||||
global.h
|
||||
pads_LDFLAGS = -pthread
|
||||
-pads_LDADD = $(top_srcdir)/lib/bstring/libbstring.a output/liboutput.a
|
||||
+pads_LDADD = $(top_srcdir)/lib/bstring/libbstring.a output/liboutput.a $(EXTRA_LIBS)
|
||||
bin_SCRIPTS = pads-report
|
||||
|
||||
EXTRA_DIST = pads-report.pl
|
||||
|
|
@ -1,11 +1,20 @@
|
|||
[Unit]
|
||||
Description=Passive Asset Detection System
|
||||
After=network.target
|
||||
Documentation=man:pads(8)
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/pads.pid
|
||||
ExecStart=/usr/bin/pads -D -c /etc/pads.conf
|
||||
|
||||
### Security Settings ###
|
||||
MemoryDenyWriteExecute=true
|
||||
LockPersonality=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
110
pads.spec
110
pads.spec
|
|
@ -1,10 +1,9 @@
|
|||
%define _default_patch_fuzz 2
|
||||
Name: pads
|
||||
Version: 1.2
|
||||
Release: 24%{?dist}
|
||||
Release: 43%{?dist}
|
||||
Summary: Passive Asset Detection System
|
||||
Group: Applications/System
|
||||
License: GPLv2+
|
||||
License: GPL-2.0-or-later
|
||||
URL: http://passive.sourceforge.net/
|
||||
Source0: http://prdownloads.sourceforge.net/passive/%{name}-%{version}.tar.gz
|
||||
Source1: pads.service
|
||||
|
|
@ -28,6 +27,9 @@ Patch16: pads-1.2-daemon.patch
|
|||
Patch17: pads-1.2-pthreads.patch
|
||||
Patch18: pads-aarch64.patch
|
||||
Patch19: pads-1.2-inline-cleanup.patch
|
||||
Patch20: pads-1.2-extra-libs.patch
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: automake autoconf
|
||||
BuildRequires: pcre-devel libpcap-devel
|
||||
BuildRequires: perl-generators
|
||||
|
|
@ -43,25 +45,26 @@ detect network assets.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
%patch17 -p1
|
||||
%patch18 -p1
|
||||
%patch19 -p1
|
||||
%patch 1 -p1
|
||||
%patch 2 -p1
|
||||
%patch 3 -p1
|
||||
%patch 4 -p1
|
||||
%patch 5 -p1
|
||||
%patch 6 -p1
|
||||
%patch 7 -p1
|
||||
%patch 8 -p1
|
||||
%patch 9 -p1
|
||||
%patch 10 -p1
|
||||
%patch 11 -p1
|
||||
%patch 12 -p1
|
||||
%patch 13 -p1
|
||||
%patch 14 -p1
|
||||
%patch 15 -p1
|
||||
%patch 16 -p1
|
||||
%patch 17 -p1
|
||||
%patch 18 -p1
|
||||
%patch 19 -p1
|
||||
%patch 20 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fv --install
|
||||
|
|
@ -79,16 +82,15 @@ install -m 640 %SOURCE2 %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
|||
rm -rf $RPM_BUILD_ROOT/usr/share/pads/
|
||||
|
||||
%post
|
||||
%systemd_post auditd.service
|
||||
%systemd_post pads.service
|
||||
|
||||
%preun
|
||||
%systemd_preun auditd.service
|
||||
%systemd_preun pads.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart pads.service
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/AUTHORS doc/COPYING doc/README doc/ChangeLog
|
||||
%{_sysconfdir}/pads-ether-codes
|
||||
%{_sysconfdir}/pads-signature-list
|
||||
|
|
@ -100,6 +102,64 @@ rm -rf $RPM_BUILD_ROOT/usr/share/pads/
|
|||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-43
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-42
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-41
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-39
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Tue Nov 14 2023 Steve Grubb <sgrubb@redhat.com> - 1.2-38
|
||||
- Fix patching and improve security settings in service file
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-37
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Dec 22 2022 Steve Grubb <sgrubb@redhat.com> - 1.2-35
|
||||
- SPDX Migration
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-34
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-33
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-32
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2-31
|
||||
- Rebuilt for updated systemd-rpm-macros
|
||||
See https://pagure.io/fesco/issue/2583.
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue