Bug 2244729 - Review Request: aespipe - AES encrypting or decrypting pipe
Summary: Review Request: aespipe - AES encrypting or decrypting pipe
Keywords:
Status: POST
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL: http://loop-aes.sourceforge.net/
Whiteboard: Unretirement
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-17 23:40 UTC by Jiri Hladky
Modified: 2023-11-02 16:15 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 6540710 to 6559462 (1.20 KB, patch)
2023-10-23 23:43 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 6559462 to 6563212 (420 bytes, patch)
2023-10-25 02:32 UTC, Fedora Review Service
no flags Details | Diff

Description Jiri Hladky 2023-10-17 23:40:20 UTC
Spec URL: https://jhladky.fedorapeople.org/aespipe.spec
SRPM URL: https://jhladky.fedorapeople.org/aespipe-2.4f-2.fc40.src.rpm
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.

Fedora Account System Username: jhladky

References:
[releng] Issue #11720: Unretire rpms/aespipe
https://bugzilla.redhat.com/show_bug.cgi?id=2243029 - Please unretire rpms/aespipe

Comment 1 Jiri Hladky 2023-10-17 23:44:08 UTC
Please note that this related to request to unretire rpms/aespipe.

Aespipe was included in Fedora upto version 33. 
https://src.fedoraproject.org/rpms/aespipe#

In Fedora-34, build process got broken because of GCC bug.
https://koji.fedoraproject.org/koji/packageinfo?packageID=10847

Now the GCC bug was identified and WA was added to the SPEC file. I would like to revive the aespipe package.

Comment 2 Fedora Review Service 2023-10-17 23:46:08 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6540710
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2244729-aespipe/fedora-rawhide-x86_64/06540710-aespipe/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Jiri Hladky 2023-10-23 23:37:55 UTC
Spec URL: https://jhladky.fedorapeople.org/aespipe.spec
SRPM URL: https://jhladky.fedorapeople.org/aespipe-2.4g-1.fc40.src.rpm

I have contacted the author and he has updated the sources to automatically add -fno-strict-aliasing compiler flag to WA GCC bug. 

I have updated tyhe SPEC file to use the latest sources and removed the WA from the spec file.

Comment 4 Fedora Review Service 2023-10-23 23:43:11 UTC
Created attachment 1995245 [details]
The .spec file difference from Copr build 6540710 to 6559462

Comment 5 Fedora Review Service 2023-10-23 23:43:14 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6559462
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2244729-aespipe/fedora-rawhide-x86_64/06559462-aespipe/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 6 Jiri Hladky 2023-10-24 13:13:35 UTC
Spec URL: https://jhladky.fedorapeople.org/aespipe.spec
SRPM URL: https://jhladky.fedorapeople.org/aespipe-2.4g-1.fc40.src.rpm

I have updated the License field in the spec file.

Comment 7 Fedora Review Service 2023-10-25 02:32:23 UTC
Created attachment 1995348 [details]
The .spec file difference from Copr build 6559462 to 6563212

Comment 8 Fedora Review Service 2023-10-25 02:32:26 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6563212
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2244729-aespipe/fedora-rawhide-x86_64/06563212-aespipe/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 9 Neal Gompa 2023-10-26 15:01:49 UTC
Taking this review.

Comment 10 Neal Gompa 2023-10-26 15:06:01 UTC
Initial spec review:

> Source:         http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2

This can be simplified to "%{url}/aespipe/aespipe-v%{version}.tar.bz2"

> BuildRequires:  gcc

You also need a "BuildRequires:  make" line too.

> %setup -q -n %{name}-v%{version}

You could use "%autosetup -p1 -n %{name}-v%{version}" instead, which may be useful if you will want patches to auto-apply in the future. 

> %{_mandir}/man1/*

This is too greedy, please use "%{_mandir}/man1/aespipe.1*" instead.

Comment 11 Jiri Hladky 2023-10-26 15:58:12 UTC
Thanks for the review and tips! 

I have updated the SPEC file accordingly. The package builds fine:

https://koji.fedoraproject.org/koji/taskinfo?taskID=108139072

Updated SPEC and SRPMs files:
Spec URL: https://jhladky.fedorapeople.org/aespipe.spec
SRPM URL: https://jhladky.fedorapeople.org/aespipe-2.4g-1.fc40.src.rpm

Comment 12 Fedora Review Service 2023-10-26 16:03:48 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6567935
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2244729-aespipe/fedora-rawhide-x86_64/06567935-aespipe/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 13 Jiri Hladky 2023-11-01 19:37:53 UTC
Hi Neal,

could you please review the updated SPEC file? I have incorporated the proposed improvements - see the comments above. 

Thanks
Jirka

Comment 14 Neal Gompa 2023-11-02 12:26:53 UTC
Review notes:

* Package follows Fedora Packaging Guidelines
* Package builds and installs
* Package licensing is correctly handled
* No serious issues from rpmlint

PACKAGE APPROVED.

Comment 15 Jiri Hladky 2023-11-02 16:15:55 UTC
Neal, THANK YOU for the review!


Note You need to log in before you can comment on or make changes to this bug.