From 8ccaa26f529c614478d64b381a894ba2c53009a6 Mon Sep 17 00:00:00 2001 From: "K. de Jong" Date: Fri, 24 Jul 2020 16:39:54 +0200 Subject: New spec/srpm files --- .pre-commit-config.yaml | 8 +++++ SPECS/dnf-plugin-rkhunter.spec | 17 +++++---- SPECS/enroot.spec | 51 +++++++++++++++++++++++++++ SPECS/pyxis.spec | 43 ++++++++++++++++++++++ SRPMS/charliecloud-0.15-1.fc31.src.rpm | Bin 0 -> 513927 bytes SRPMS/charliecloud-0.15-1.fc32.src.rpm | Bin 0 -> 516426 bytes SRPMS/dnf-plugin-rkhunter-1.0-1.fc32.src.rpm | Bin 16732 -> 0 bytes SRPMS/dnf-plugin-rkhunter-1.1-1.fc32.src.rpm | Bin 0 -> 17489 bytes SRPMS/enroot-3.0.2-1.fc31.src.rpm | Bin 0 -> 1228867 bytes SRPMS/enroot-3.0.2-1.fc32.src.rpm | Bin 0 -> 1228867 bytes SRPMS/enroot-hardened-3.0.2-1.fc31.src.rpm | Bin 0 -> 71255 bytes SRPMS/pyxis-0.6.0-1.fc31.src.rpm | Bin 0 -> 30618 bytes SRPMS/pyxis-0.6.0-1.fc32.src.rpm | Bin 0 -> 30796 bytes SRPMS/pyxis-0.7.0-1.fc32.src.rpm | Bin 0 -> 31471 bytes 14 files changed, 113 insertions(+), 6 deletions(-) create mode 100644 .pre-commit-config.yaml create mode 100644 SPECS/enroot.spec create mode 100644 SPECS/pyxis.spec create mode 100644 SRPMS/charliecloud-0.15-1.fc31.src.rpm create mode 100644 SRPMS/charliecloud-0.15-1.fc32.src.rpm delete mode 100644 SRPMS/dnf-plugin-rkhunter-1.0-1.fc32.src.rpm create mode 100644 SRPMS/dnf-plugin-rkhunter-1.1-1.fc32.src.rpm create mode 100644 SRPMS/enroot-3.0.2-1.fc31.src.rpm create mode 100644 SRPMS/enroot-3.0.2-1.fc32.src.rpm create mode 100644 SRPMS/enroot-hardened-3.0.2-1.fc31.src.rpm create mode 100644 SRPMS/pyxis-0.6.0-1.fc31.src.rpm create mode 100644 SRPMS/pyxis-0.6.0-1.fc32.src.rpm create mode 100644 SRPMS/pyxis-0.7.0-1.fc32.src.rpm diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..86c830f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,8 @@ +repos: +- repo: local + hooks: + - id: rpmlint + name: rpmlint + entry: rpmlint + language: system + types: [file, spec] diff --git a/SPECS/dnf-plugin-rkhunter.spec b/SPECS/dnf-plugin-rkhunter.spec index 376f6dc..b837d1e 100644 --- a/SPECS/dnf-plugin-rkhunter.spec +++ b/SPECS/dnf-plugin-rkhunter.spec @@ -1,7 +1,7 @@ %{!?dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.23} Name: dnf-plugin-rkhunter -Version: 1.0 +Version: 1.1 Release: 1%{?dist} Summary: Automatic updates of rkhunter property files after DNF transactions @@ -14,7 +14,6 @@ BuildRequires: python3-devel Requires: rkhunter -%{?python_provide:%python_provide python3-%{name}} Provides: python3-%{name} = %{version}-%{release} %description @@ -26,18 +25,24 @@ property files after each DNF transaction. %install mkdir -p %{buildroot}%{python3_sitelib}/dnf-plugins/ -mkdir -p %{buildroot}%_sysconfdir/dnf/plugins/ +mkdir -p %{buildroot}%{_sysconfdir}/dnf/plugins/ +mkdir -p %{buildroot}%{_defaultdocdir}/%{name}/ +mkdir -p %{buildroot}%{_defaultlicensedir}/%{name}/ mkdir -p %{buildroot}%{_mandir}/man8/ install -m 644 plugin/rkhunter.py %{buildroot}/%{python3_sitelib}/dnf-plugins/rkhunter.py -install -m 644 etc/rkhunter.conf %{buildroot}%_sysconfdir/dnf/plugins/rkhunter.conf +install -m 644 etc/rkhunter.conf %{buildroot}%{_sysconfdir}/dnf/plugins/rkhunter.conf +install -m 644 README.md %{buildroot}%{_defaultdocdir}/%{name}/README.md +install -m 644 LICENSE %{buildroot}%{_defaultlicensedir}/%{name}/LICENSE install -m 644 man/dnf-plugin-rkhunter.8 %{buildroot}%{_mandir}/man8/%{name}.8 %files %{python3_sitelib}/dnf-plugins/rkhunter.py %{python3_sitelib}/dnf-plugins/__pycache__/rkhunter.* -%_sysconfdir/dnf/plugins/rkhunter.conf +%{_sysconfdir}/dnf/plugins/rkhunter.conf +%{_defaultdocdir}/%{name}/README.md +%{_defaultlicensedir}/%{name}/LICENSE %{_mandir}/man8/%{name}.8* %changelog -* Wed Jul 22 2020 K. de Jong - 1.0-1 +* Wed Jul 22 2020 K. de Jong - 1.1-1 - Initial package diff --git a/SPECS/enroot.spec b/SPECS/enroot.spec new file mode 100644 index 0000000..babaaf7 --- /dev/null +++ b/SPECS/enroot.spec @@ -0,0 +1,51 @@ +Name: enroot +Version: 3.1.0 +Release: 1%{?dist} +License: ASL 2.0 +URL: https://github.com/NVIDIA/%{name}/ +Source0: https://github.com/NVIDIA/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz + +BuildRequires: git-core gcc make libcap libtool automake + +Summary: Unprivileged container sandboxing utility +#Conflicts: enroot +Requires: bash >= 4.2, curl, gawk, jq >= 1.5, parallel, shadow-utils, squashfs-tools +Requires: coreutils, grep, findutils, gzip, glibc-common, sed, tar, util-linux, zstd +#Recommends: pigz, ncurses +#Suggests: libnvidia-container-tools, squashfuse, fuse-overlayfs +%description +A simple yet powerful tool to turn traditional container/OS images into +unprivileged sandboxes. + +This package provides the main utility, its set of helper binaries and +standard configuration files. + +%prep +%setup -q + +%build +%make_build prefix=%{_prefix} exec_prefix=%{_exec_prefix} libdir=%{_libdir} datarootdir=%{_datarootdir} + +%install +%make_install prefix=%{_prefix} exec_prefix=%{_exec_prefix} libdir=%{_libdir} datarootdir=%{_datarootdir} + +%files +%license LICENSE +%config(noreplace) %{_sysconfdir}/* +%{_libdir}/* +%{_bindir}/* +%{_datadir}/* + +%package -n %{name}+caps +Summary: Unprivileged container sandboxing utility (extra capabilities) +Requires: %{name}%{?_isa} = %{version}-%{release}, libcap +%description -n %{name}+caps +A simple yet powerful tool to turn traditional container/OS images into +unprivileged sandboxes. + +This dependency package grants extra capabilities to unprivileged users which +allows them to import and convert container images directly. + +%changelog +* Tue Apr 28 2020 K. de Jong - 0.6.0-1 +- rebuilt diff --git a/SPECS/pyxis.spec b/SPECS/pyxis.spec new file mode 100644 index 0000000..c5f890f --- /dev/null +++ b/SPECS/pyxis.spec @@ -0,0 +1,43 @@ +%global debug_package %{nil} + +Name: pyxis +Version: 0.7.0 +Release: 1%{?dist} +Summary: Pyxis is a SPANK plugin for the SLURM workload manager + +License: Apache License 2.0 +URL: https://github.com/NVIDIA/%{name}/ +Source0: https://github.com/NVIDIA/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: slurm-devel +Requires: enroot >= 3.1.0 + +%description +Pyxis is a SPANK plugin for the SLURM Workload Manager. It allows unprivileged +cluster users to run containerized tasks through the srun command. + +%prep +%setup -q +sed -i '/.*AUDIT_ARCH_AARCH64.*/d' seccomp_filter.h # seccomp_filter.h:28:38: error: 'AUDIT_ARCH_AARCH64' undeclared here (not in a function) + +%build +make %{?_smp_mflags} + +%install +make install prefix=%{_prefix} libdir=%{_libdir} DESTDIR=%{buildroot} + +%files +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc README.md +%{_libdir}/slurm/* +%{_datadir}/%{name}/%{name}.conf + +%changelog +* Wed Jul 15 2020 K. de Jong - 0.7.0-1 +- new version + +* Mon May 11 2020 K. de Jong - 0.6.0-1 +- Initial package + diff --git a/SRPMS/charliecloud-0.15-1.fc31.src.rpm b/SRPMS/charliecloud-0.15-1.fc31.src.rpm new file mode 100644 index 0000000..0b7aa0b Binary files /dev/null and b/SRPMS/charliecloud-0.15-1.fc31.src.rpm differ diff --git a/SRPMS/charliecloud-0.15-1.fc32.src.rpm b/SRPMS/charliecloud-0.15-1.fc32.src.rpm new file mode 100644 index 0000000..c889e4b Binary files /dev/null and b/SRPMS/charliecloud-0.15-1.fc32.src.rpm differ diff --git a/SRPMS/dnf-plugin-rkhunter-1.0-1.fc32.src.rpm b/SRPMS/dnf-plugin-rkhunter-1.0-1.fc32.src.rpm deleted file mode 100644 index 23d41e7..0000000 Binary files a/SRPMS/dnf-plugin-rkhunter-1.0-1.fc32.src.rpm and /dev/null differ diff --git a/SRPMS/dnf-plugin-rkhunter-1.1-1.fc32.src.rpm b/SRPMS/dnf-plugin-rkhunter-1.1-1.fc32.src.rpm new file mode 100644 index 0000000..9d7f548 Binary files /dev/null and b/SRPMS/dnf-plugin-rkhunter-1.1-1.fc32.src.rpm differ diff --git a/SRPMS/enroot-3.0.2-1.fc31.src.rpm b/SRPMS/enroot-3.0.2-1.fc31.src.rpm new file mode 100644 index 0000000..01a2e0d Binary files /dev/null and b/SRPMS/enroot-3.0.2-1.fc31.src.rpm differ diff --git a/SRPMS/enroot-3.0.2-1.fc32.src.rpm b/SRPMS/enroot-3.0.2-1.fc32.src.rpm new file mode 100644 index 0000000..27d4157 Binary files /dev/null and b/SRPMS/enroot-3.0.2-1.fc32.src.rpm differ diff --git a/SRPMS/enroot-hardened-3.0.2-1.fc31.src.rpm b/SRPMS/enroot-hardened-3.0.2-1.fc31.src.rpm new file mode 100644 index 0000000..47abae7 Binary files /dev/null and b/SRPMS/enroot-hardened-3.0.2-1.fc31.src.rpm differ diff --git a/SRPMS/pyxis-0.6.0-1.fc31.src.rpm b/SRPMS/pyxis-0.6.0-1.fc31.src.rpm new file mode 100644 index 0000000..0e09a2e Binary files /dev/null and b/SRPMS/pyxis-0.6.0-1.fc31.src.rpm differ diff --git a/SRPMS/pyxis-0.6.0-1.fc32.src.rpm b/SRPMS/pyxis-0.6.0-1.fc32.src.rpm new file mode 100644 index 0000000..76eb58d Binary files /dev/null and b/SRPMS/pyxis-0.6.0-1.fc32.src.rpm differ diff --git a/SRPMS/pyxis-0.7.0-1.fc32.src.rpm b/SRPMS/pyxis-0.7.0-1.fc32.src.rpm new file mode 100644 index 0000000..724bd42 Binary files /dev/null and b/SRPMS/pyxis-0.7.0-1.fc32.src.rpm differ -- cgit