diff --git a/.gitignore b/.gitignore index e69de29..9d396d2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,10 @@ +/aespipe-v2.4b.tar.bz2 +/aespipe-v2.4c.tar.bz2 +/aespipe-v2.4d.tar.bz2 +/aespipe-v2.4e.tar.bz2 +/aespipe.spec +/aespipe-v2.4e-link.patch +/aespipe-v2.4e-underline.patch +/aespipe-v2.4e-configure.patch +/aespipe-v2.4f.tar.bz2 +/aespipe-v2.4g.tar.bz2 diff --git a/aespipe.spec b/aespipe.spec new file mode 100644 index 0000000..dc7a452 --- /dev/null +++ b/aespipe.spec @@ -0,0 +1,60 @@ +Summary: AES-based encryption tool for tar/cpio and loop-aes imagemore +Name: aespipe +Version: 2.4g +Release: 2%{?dist} +License: GPL-2.0-or-later +URL: http://loop-aes.sourceforge.net/ +Source: %{url}/aespipe/aespipe-v%{version}.tar.bz2 +BuildRequires: gcc +BuildRequires: gpg +BuildRequires: make +Requires: gpg + +%description +aespipe is an encryption tool that reads from standard input and +writes to standard output. It uses the AES (Rijndael) cipher. + +It can be used as an encryption filter, to create and restore +encrypted tar/cpio backup archives and to read/write and convert +loop-AES compatible encrypted images. + +aespipe can be used for non-destructive in-place encryption of +existing disk partitions for use with the loop-AES encrypted loop-back +kernel module. + +%prep +%autosetup -p1 -n %{name}-v%{version} + +%build +%set_build_flags +%configure LDFLAGS="${CFLAGS}" + +%global make_target %{nil} +%ifarch x86_64 +%global make_target amd64 +%endif +%ifarch %{ix86} +%global make_target x86 +%endif +make %{?_smp_mflags} %{make_target} + +%check +make tests + +%install +mkdir -p %{buildroot}%{_defaultdocdir}/%{name}/examples +cp -p ChangeLog README %{buildroot}%{_defaultdocdir}/%{name} +install -Dp -m0644 bz2aespipe %{buildroot}%{_defaultdocdir}/%{name}/examples +install -Dp -m0644 aespipe.1 %{buildroot}%{_mandir}/man1/aespipe.1 +install -Dp -m0755 aespipe %{buildroot}%{_bindir}/aespipe + + +%files +%dir %{_defaultdocdir}/%{name} +%{_defaultdocdir}/%{name}/* +%{_mandir}/man1/aespipe.1* +%{_bindir}/aespipe + +%changelog +* Mon Jun 16 2025 Jirka Hladky - 2.4g-2.el10_1 +- Initial build for EPEL 10 diff --git a/sources b/sources index e69de29..afeb4f8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (aespipe-v2.4g.tar.bz2) = e1a82bb68f9e337a714d8f230745f4de16b7ab637e257f9342b81193a9f5cf7f347ade76302ae0dabfb1d64d895635efa527a093ce92f12d059add38032f9057