Bug 487067 (autopsy)
Summary: | Review Request: autopsy - Graphical front end for The Sleuth Kit Forensics software | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Miller <maxamillion> |
Component: | Package Review | Assignee: | Till Maas <opensource> |
Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora-package-review, mail, notting, opensource, pahan, suravee.suthikulpanit |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-04-13 13:41:45 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 563471 |
Description
Adam Miller
2009-02-23 23:19:32 UTC
This is an unofficial review. - rpmlint -iv /root/rpmbuild/RPMS/noarch/autopsy-2.21-1.fc10.noarch.rpm autopsy.noarch: I: checking autopsy.noarch: W: log-files-without-logrotate /var/log/autopsy This package contains files in /var/log/ without adding logrotate configuration for them. autopsy.noarch: E: file-in-usr-marked-as-conffile /usr/share/autopsy/conf.pl A file in /usr is marked as being a configuration file. Store your conf files in /etc/ instead. autopsy.noarch: E: file-in-usr-marked-as-conffile /usr/share/autopsy/lib/define.pl A file in /usr is marked as being a configuration file. Store your conf files in /etc/ instead. 1 packages and 0 specfiles checked; 2 errors, 1 warnings. - Source0 has typo. Original http://download.sourceforge.net/autopsy/%{name}-%{version}.tar.gz Should be http://downloads.sourceforge.net/autopsy/%{name}-%{version}.tar.gz - Build has warning: warning: File listed twice: /usr/share/autopsy/conf.pl warning: File listed twice: /usr/share/autopsy/lib/define.pl - Installation failed rpm -Uvh ~/rpmbuild/RPMS/noarch/autopsy-2.21-1.fc10.noarch.rpm error: Failed dependencies: perl(Main) is needed by autopsy-2.21-1.fc10.noarch perl(conf.pl) is needed by autopsy-2.21-1.fc10.noarch perl(define.pl) is needed by autopsy-2.21-1.fc10.noarch perl(lib::define.pl) is needed by autopsy-2.21-1.fc10.noarch perl(search.pl) is needed by autopsy-2.21-1.fc10.noarch RECOMMENDS: - Please see http://fedoraproject.org/wiki/Packaging/Perl - Typo at the end of %description ("documentatio.n") - In %install, instead of install -d %{buildroot}%{_sbindir} install -m0755 autopsy %{buildroot}%{_sbindir}/autopsy uses install -D -m0755 autopsy %{buildroot}%{_sbindir}/autopsy - In %files, may I suggest the following: %defattr(-,root,root,-) %doc CHANGES.txt COPYING docs/*.txt INSTALL.txt README-LIVE.txt README.txt TODO.txt %dir %{_datadir}/autopsy %{_datadir}/autopsy/* %{_sbindir}/autopsy %{_sbindir}/make-live-cd %dir /var/log/autopsy %dir %{_localstatedir}/lib/morgue %{_mandir}/man1/* OKAYS: - Match latest upstream code 835938086e4ebec628408faa624c48927f261b7df4eeb2b041a293867ba79f5f autopsy-2.21.tar.gz 835938086e4ebec628408faa624c48927f261b7df4eeb2b041a293867ba79f5f /root/rpmbuild/SOURCES/autopsy-2.21.tar.gz (In reply to comment #1) > - Installation failed > rpm -Uvh ~/rpmbuild/RPMS/noarch/autopsy-2.21-1.fc10.noarch.rpm > error: Failed dependencies: > perl(Main) is needed by autopsy-2.21-1.fc10.noarch > perl(conf.pl) is needed by autopsy-2.21-1.fc10.noarch > perl(define.pl) is needed by autopsy-2.21-1.fc10.noarch > perl(lib::define.pl) is needed by autopsy-2.21-1.fc10.noarch > perl(search.pl) is needed by autopsy-2.21-1.fc10.noarch Suravee, please use "yum install" when testing if packages can be installed. "rpm -Uvh" might lead to false conclusions due to the fact that it does not try to pull in dependencies from the repositories. Spec URL: http://maxamillion.fedorapeople.org/autopsy.spec SRPM URL: http://maxamillion.fedorapeople.org/autopsy-2.21-2.fc10.src.rpm I have fixed that which was commented on. Thank you for your review, looking forward to further critique. (In reply to comment #2) > (In reply to comment #1) > > > - Installation failed > > rpm -Uvh ~/rpmbuild/RPMS/noarch/autopsy-2.21-1.fc10.noarch.rpm > > error: Failed dependencies: > > perl(Main) is needed by autopsy-2.21-1.fc10.noarch > > perl(conf.pl) is needed by autopsy-2.21-1.fc10.noarch > > perl(define.pl) is needed by autopsy-2.21-1.fc10.noarch > > perl(lib::define.pl) is needed by autopsy-2.21-1.fc10.noarch > > perl(search.pl) is needed by autopsy-2.21-1.fc10.noarch > > Suravee, please use "yum install" when testing if packages can be installed. > "rpm -Uvh" might lead to false conclusions due to the fact that it does not > try to pull in dependencies from the repositories. In this case, these are false provides/requires of private perl files from autopsys, that should not be provided/required by rpm: https://fedoraproject.org/wiki/Packaging/Perl#Filtering_Requires:_and_Provides This needs to be fixed. Here is a list of problematic files and the requires/provides: http://fpaste.org/paste/7441 Another issue is, that "-p" is not used with install to preserve timestamps. Spec URL: http://maxamillion.fedorapeople.org/autopsy.spec SRPM URL: http://maxamillion.fedorapeople.org/autopsy-2.21-3.fc10.src.rpm I have fixed the -p and added the scripts to fix the requires/provides issue. Thank you for your comments, looking forward to more. You have to adjust the filter scripts to the autopsy package, i.e. instead of literally writing "sed -e '/perl(unwanted_require)/d'", you have to add one sed command for each unwanted provides/requires entry, e.g. sed -e '/perl(Main)/d' -d '/perl(conf.pl)/d' and so on. Also it is better to prefix the filter scripts with the name of the package, i.e. autopsy: Source98: autopsy-filter-provides.sh Or you use the prefered way and create the filter scripts in %prep, as there is suggested in the Perl Packaging Guidelines. Also is sleuthkit really required at buildtime? It seems to build without any problems if it is not present. I have unfortunately hit the reality that I would do this package no justice as I have far too little experience with the source of the upstream project. I'm closing this package review as I would not be a good maintainer. I would like to thank the package reviewers for their time and apologize for having wasted it. -Adam |