Recompile openssh and build an rpm


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Recompile openssh and build an rpm
# 1  
Old 07-14-2009
Recompile openssh and build an rpm

I am needing to recompile openssh to hide the ssh banner which I found I can do in the version.h. I know.. I know, but its a requirement of some dumb security company so the company I work for can get their blessing.

Anyway. I am going to upgrade in the process and have downloaded the source code. Now I need to make an rpm out of it and install it out on my all my Linux boxes. I have never rolled my own RPM from source. Can someone point me in the right direction. Is this a one step process do go from a directory with src code and build an rpm out of it.
# 2  
Old 07-15-2009
Depending on your Distribution, try to get a Source RPM from them. Building RPMs from scratch requires writing .spec files that rpmbuild uses to configure/make/pack the code, and that can be a pain in the a^H backside.
# 3  
Old 07-15-2009
ok I will download the src rpm today. Then what?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Rpm issue with autoconf-2.63-1.AIX6.1.noarch.rpm

dears i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message . P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm error: failed dependencies: m4 is needed by autoconf-2.63-1 P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies

2. 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

3. Shell Programming and Scripting

build rpm with SPEC file for packaging .jar and some .sh files..

Good day people, Hereby wish to have your advise for below: I have some .jar files, some script files (install.sh, action.sh) , and a libaes.so file. Basically, the .jar files compute the operation of my system and define the working directory for my system. My current scenario: i trigger... (1 Reply)
Discussion started by: cielle
1 Replies

4. Linux

rpm build errors pls help

i am trying to create rpm pacakage from hello world source code. after running rpmbuild -bs test.spec file i am successfully getting test-1-1.src.rpm package inside the /usr/src/redhat/SRPMS But after running rpmbuild -ba test.spec i am not getting test-1-1.i386.rpm binary package ... (1 Reply)
Discussion started by: anand121
1 Replies

5. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

6. Red Hat

RPM and dependencies OPENSSH

Hello Sorry, I am not to well versed in RHE and I am having some issues. I have doen a cursury look around and could not find an answer. I have 2 RHE4 servers. Both have old versions of OPENSSH along with , server, askpass, askpass-gnome, etc. I cannot upgrade to our new pkg release of... (8 Replies)
Discussion started by: mhenryj
8 Replies

7. Linux

licensed linux needs recompile?

hi all if you have the latest licensed SLES or red hat. the online update needs no more recompile, sometimes it just need reboot or nothing at all. is it better to recompile the kernel for optimum performance after any patch? or is it really just a ritual so that you can feel that you are... (1 Reply)
Discussion started by: itik
1 Replies

8. UNIX for Advanced & Expert Users

Help needed to build an RPM?

I use Fedora Core 6. ->Our application has a Binary file and few .SO files. So i would like to build an RPM FILE for this with .SPEC file. ->Even i need to set some Envirnoment variables. Can any one give me the steps to Build an RPM?(A bit more clearly please as I am very new to... (1 Reply)
Discussion started by: platso
1 Replies

9. UNIX for Dummies Questions & Answers

Recompile sendmail

Can anyone give me a quick and dirty way to recompile sendmail and then stop ans start sendmail with the new config? (1 Reply)
Discussion started by: hshapiro
1 Replies

10. UNIX for Advanced & Expert Users

Apache recompile...?

Hai friends I have compiled the apache source and installed it in /wwwroot. I have changed the User and Group value as root in httpd.conf file and started apache.. But it throwed an error message and asked to recompile the apache with -DBIG_SECURITY_HOLE compile time value... I have tried the... (1 Reply)
Discussion started by: collins
1 Replies
Login or Register to Ask a Question