* Mark Parr wrote on Thu, Jul 08, 2010 at 13:42 -0500: > I then loaded the openssl-fips-1.2.tar.gz file into a different > directory and attempted to create a RPM install for it as well but > have hit some issues. First off, rpmbuild complained that it could > not find the openssl-0.9.8f.tar.gz file in /usr/src/packages/SOURCES. > I found and changed the version information in the .spec file to > version 0.9.8o since that tar.gz file was in the given directory.
that means, you wrote a SPEC file for it? Based on the one from some openssl.src.rpm? > error: Installed (but unpackaged) file(s) > found: > /usr/lib/engines/lib4758cca.so > /usr/lib/engines/libaep.so > /usr/lib/engines/libatalla.so [...] > Can the FIPS compliant OpenSSL be built as a RPM? If so, what am I > missing to complete it properly? Not sure what you mean... Technically, of course you can include any binary data to an RPM if you want. Seems you wrote a SPEC file which does not mention those files (/usr/lib/engines/lib4758cca.so etc), so they would not be included in the RPM, althrough the srcdist installed them (probably indicating that they should be in the RPM). Of course you can simply disable this error by adding to the .SPEC file something like: # avoid "error: Installed (but unpackaged) file(s) found:" # (see http://www.rpm.org/hintskinks/unpackaged/) %define _unpackaged_files_terminate_build 0 which technically works but probably logically is wrong, or you list all those files in a `%files' section to make them go into the RPM package, maybe something like: %files %defattr(-,root,root) /usr/lib/engines /usr/lib/pkgconfig or maybe better (safer) list each file individually. Was this your question? oki, Steffen --[end of message]------------------------------------------------->8======= About Ingenico: Ingenico is a leading provider of payment solutions, with over 15 million terminals deployed in more than 125 countries. Its 2,850 employees worldwide support retailers, banks and service providers to optimize and secure their electronic payments solutions, develop their offer of services and increase their point of sales revenue. More information on http://www.ingenico.com/. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. P Please consider the environment before printing this e-mail ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org