commit 9d2968c9a574555b045b38af8fe09204a78efbe4 Author: Adrian Schröter Date: Mon Oct 14 14:07:26 2024 +0200 Sync from SUSE:ALP:Source:Standard:1.0 debianutils revision 7a2d6985a5ceb41f73a7dd15a06ff557 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/debianutils.changes b/debianutils.changes new file mode 100644 index 0000000..f5d1bf0 --- /dev/null +++ b/debianutils.changes @@ -0,0 +1,22 @@ +------------------------------------------------------------------- +Tue Mar 14 20:58:02 UTC 2023 - Björn Bidar + +- Move run-parts to /usr/bin, Run-parts runs just fast as regular user. + +------------------------------------------------------------------- +Fri Sep 10 13:07:28 UTC 2021 - Danilo Spinella + +- Update to 5.4: + * Added update-shells + * Dropped tempfile + * Various improvements + +------------------------------------------------------------------- +Wed Aug 18 07:52:47 UTC 2021 - Danilo Spinella + +- Move system executables into /usr/sbin + +------------------------------------------------------------------- +Tue Aug 3 10:09:13 UTC 2021 - Danilo Spinella + +- Initial package diff --git a/debianutils.spec b/debianutils.spec new file mode 100644 index 0000000..ec2b350 --- /dev/null +++ b/debianutils.spec @@ -0,0 +1,68 @@ +# +# spec file for package debianutils +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: debianutils +Version: 5.4 +Release: 0 +Summary: Miscellaneous utilities specific to Debian +License: GPL-2.0-only +Group: System/Shells +URL: https://packages.debian.org/%{name} +Source: http://ftp.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.orig.tar.xz + +%description +* add-shell: add a shell to /etc/shells +* ischroot: etects if it is currently running in a chroot +* run-parts: run scripts or programs in a directory +* remove-shell: remove a shell to /etc/shells +* update-shells: update the list of valid login shells + +%prep +%autosetup + +%build +%configure +%make_build + +%install +# savelog is under SMAIL license, don't install +install -Dt %{buildroot}%{_bindir} ischroot +install -Dt %{buildroot}%{_sbindir} add-shell +install -Dt %{buildroot}%{_sbindir} remove-shell +install -Dt %{buildroot}%{_bindir} run-parts +install -Dt %{buildroot}%{_sbindir} update-shells + +install -m 0644 -Dt %{buildroot}%{_mandir}/man1 ischroot.1 +install -m 0644 -Dt %{buildroot}%{_mandir}/man8 add-shell.8 +install -m 0644 -Dt %{buildroot}%{_mandir}/man8 remove-shell.8 +install -m 0644 -Dt %{buildroot}%{_mandir}/man8 run-parts.8 +install -m 0644 -Dt %{buildroot}%{_mandir}/man8 update-shells.8 + +%files +%{_bindir}/ischroot +%{_sbindir}/add-shell +%{_sbindir}/remove-shell +%{_bindir}/run-parts +%{_sbindir}/update-shells +%{_mandir}/man1/ischroot.1%{?ext_man} +%{_mandir}/man8/add-shell.8%{?ext_man} +%{_mandir}/man8/remove-shell.8%{?ext_man} +%{_mandir}/man8/run-parts.8%{?ext_man} +%{_mandir}/man8/update-shells.8%{?ext_man} + +%changelog diff --git a/debianutils_5.4.orig.tar.xz b/debianutils_5.4.orig.tar.xz new file mode 100644 index 0000000..9dc468d --- /dev/null +++ b/debianutils_5.4.orig.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:611b1268bee9d183886c94e5f34920e4b5b67ff45202aef3f6f2ba8f4a205163 +size 103640