Protected RPM package

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Protected RPM package
# 1  
Old 02-20-2014
Protected RPM package

Is there a way to create a protected RPM package without giving up your source code?
# 2  
Old 02-20-2014
Do you mean the source used to create the RPM (i.e. ~/rpmbuild/*) or the source used to create the binaries in the RPM? I didn't know that either was part of a standard .rpm package (as distinguished from an .srpm, as built also using the rpmbuild tool).
# 3  
Old 02-20-2014
The tarball and the spec file is sure part of at least the src.rpm.
Just as idea, you could encrypt the tarball, but then again, the specfile would need args to 'automaticly' decrypt it, while generating the rpm package.

I havent made rpm's containing binaries yet, but i would assume that you only use the compiled bin's rather then the codefiles (eg: *.c/*.h).
A rpm containing binaries only, would never contain source code of the binary, unless you pack the complete project folder, which IMHO seems wrong anyway, as it would include several obect-, temp-, devel- & whatnot-files.

Depending on how 'safe' you want to be, either dont include the source code of binary at all, or delete the regarding folders within the %install of the specfile.
EDIT: That way you could transfer the project.src.rpm in-house with ease, and everyone has all required data to generate and replicte the bins and rpm, but shipping only the project.rpm out-house would contain only the binaries you want to ship.

If its all scripted, then no chance anyway Smilie

Hope this helps

Last edited by sea; 02-20-2014 at 04:51 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Does not appear to be a RPM package

Hi Guys I got this error when I try to install perl-5.24.0-1.aix6.1.ppc.rpm package rpm -ivh perl-5.24.0-1.aix6.1.ppc.rpm error: perl-5.24.0-1.aix6.1.ppc.rpm does not appear to be a RPM package (4 Replies)
Discussion started by: khaled_ly84
4 Replies

2. Red Hat

Issue with rpm package

Hello I have Storage foundation 6.0 version to install in redhat 6.0, so while trying to install one of the application it say to install some dependencies packages so when i try to install the dependencies again it ask for the dependencies so its a lengthy process i say. so now can i get the... (1 Reply)
Discussion started by: cyrus.ranjith
1 Replies

3. Red Hat

Build Rpm package

Hi Everybody, I would like to know how to build an RPM package. Could you please let me know how to do it with the procedure. Regards, Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies

4. Red Hat

I can't remove rpm package

Hello!, I can't remove a rpm package with rpm -e net-snmp Nothing happened, and the process returns D status when i see with ps aux | grep rpm. When i say "Nothing Happened", the terminal don't return any message, and not remove the package. What can I do to remove? Ps: I work with Red... (1 Reply)
Discussion started by: Douglas Ramalho
1 Replies

5. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

6. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

7. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

8. UNIX for Dummies Questions & Answers

RPM Package - Rollback

Is it possible to rollback a package in Redhat ?I don't want to delete any packages. I have upgraded a package using rpm -Uvh & now i decided to use the old package, is it possible to revert it back to the original package ? (3 Replies)
Discussion started by: sydney2008
3 Replies

9. Ubuntu

Rpm package

Hi All, I just recently installed UBUNTU 2.6.24-16 and i installed my phone software which is a RPM package (it's a similiar package with MSN). The software called MXIE. I managed to install it successfully but i can't run the software. When i try to run it, i received... (8 Replies)
Discussion started by: c00kie88
8 Replies

10. Linux

how to restore original package after uninstalling the upgraded package using rpm

have following package installed rpm -qa |grep ADMIN It will give the following package installed: ADMIN- Now I will upgrade the ADMIN package using the following command. rpm --upgrade ADMIN- It will upgrade the ADMIN packagge to ADMIN- Now I want that... (0 Replies)
Discussion started by: amitpansuria
0 Replies
Login or Register to Ask a Question