Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,214
» Latest member: topupaman
» Forum threads: 4,029
» Forum posts: 16,404
Full Statistics
|
Online Users |
There are currently 228 online users. » 0 Member(s) | 225 Guest(s) Bing, Google, Yandex
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 410
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 85,813
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 40,038
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,860
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,328
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 41,330
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 115,892
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 53,775
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 44,082
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 41,778
|
|
|
makes your own rpms |
Posted by: hijinks - 2004-11-15, 10:13 PM - Forum: Redhat
- Replies (5)
|
 |
So where I work we have around 100 or so RH9 servers. Most of these are cranking 24/7 and its the general rule of thumb around here that if something isn't broke.. lets not fix it. So as you may know RH9 isn't supported anymore. So if a new openssh problem is released.. there is no offical RH patch for 9. So what can you do?
Well you have two options..
1) remove the openssh rpms and install from source (yuck!)
2) grab a nice.. say core3 source rpm and rebuild it (yes!)
well I guess you know which one i like. For me to rebuild the source on all machines would take awhile. If i build a rpm made for RH9 it will work on the rest of my servers. So I have a dedicated apt server that hosts all the RH9 rpms and updates. Once i place an update there others will find it and install the update.. then i'm done.
So here are some simple instructions for building your own rpm.. the easy way.
So lets grab and install the core2 openssh source rpm
Code: rpm -ivh http://ayo.freshrpms.net/fedora/linux/2/i386/SRPMS.core/openssh-3.6.1p2-34.src.rpm
now lets try to build the rpm
Code: rpmbuild -ba /usr/src/redhat/SPECS/openssh.spec
we now see we get something like this (probably anyway)
Code: [root@monitor root]# rpmbuild -ba /usr/src/redhat/SPECS/openssh.spec
error: Failed build dependencies:
sharutils is needed by openssh-3.6.1p2-34
gnome-libs-devel is needed by openssh-3.6.1p2-34
[root@monitor root]#
so we have some depandancy issues. DAMN! the good thing is they can easily be worked out. . so both of these packages are avaliable for RH9 so we can either install them or work around it. Installing them is staight forward. My goal is to teach you how to work around these.. so lets so that.
so edit the file /usr/src/redhat/SPECS/openssh.spec
look for the following line. (line #123 on my file)
Code: BuildPreReq: openssl-devel, perl, sharutils, tcp_wrappers, zlib-devel
change it to
Code: BuildPreReq: openssl-devel, perl, tcp_wrappers, zlib-devel
now lets run it again
Code: [root@monitor root]# rpmbuild -ba /usr/src/redhat/SPECS/openssh.spec
error: Failed build dependencies:
gnome-libs-devel is needed by openssh-3.6.1p2-34
[root@monitor root]#
great.. down to the gnome library devel package. so now lets ax that out
so look for this line
line #16 for me
Code: %define no_gnome_askpass 0
and change it to
Code: %define no_gnome_askpass 1
now lets run rpmbuild command again
NOTE: on my system.. i don't place the path to kerberos in my path. I need kerberos auth on my system. if you don't want it.. look for %define kerberos5 1 and make it a 0
Code: rpmbuild -ba /usr/src/redhat/SPECS/openssh.spec
now thats all my depandancies.. you may have more that you will need to install rpms for to get it to compile.. this is just a gernal doc on how to keep a system upgraded by working with a fedora source rpm. It makes my life 10x easier :)
now i see it made this
Code: Wrote: /usr/src/redhat/SRPMS/openssh-3.6.1p2-34.src.rpm
Wrote: /usr/src/redhat/RPMS/i386/openssh-3.6.1p2-34.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/openssh-clients-3.6.1p2-34.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/openssh-server-3.6.1p2-34.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/openssh-debuginfo-3.6.1p2-34.i386.rpm
there's my new rpms i can dist out to all other RH9 servers.. so openssh will continue to be secure
J to the Y strikes again!
|
|
|
I`v got 2 problems, help me please. |
Posted by: Noid - 2004-11-14, 12:24 PM - Forum: How Do I?
- Replies (1)
|
 |
Hello, I`v got 2 problems.
Problems number one: "1"
So, when i intsall rpm file:
rpm -ivh bcm4400-1.0.2-1.src.rpm
warning: cannot create % sourcedir/usr/src/redhat/SOURCES
Problem number two: "2"
#make
gcc- DMODULE -D__KERNEL__ - DDBG=0 -Wall -Wstrict -prototype -06
-I/usr/src/linux/include -c -o b44um.o b44um.c
make: gcc:Command not found
make: ***[b44um.o]warning 127
What should I do ?? Any help...
|
|
|
Installing lm sensors in redhat 9? |
Posted by: DR_K13 - 2004-11-14, 07:07 AM - Forum: Redhat
- Replies (4)
|
 |
ok I tryed to install lm sensors for redhat 9 via rpm. I tryed rpms made for Rh9 but nothing works.
Is there a lm sensors kernel out there? I tryrf to install a kernel for it. but my OS froze up and I had to reboot. please help
|
|
|
dual monitor config in mandrake? |
Posted by: crowyguy - 2004-11-13, 05:58 PM - Forum: How Do I?
- No Replies
|
 |
I have an ATI Radeon 7500 64mb video card with dual outputs, and i want to know how to get a configuration for dual heads to use them without having both monitors mirrored. Think someone can help me out?
I would really appreciate the help
|
|
|
what do you think of Fedora Core release 3 |
Posted by: anyweb - 2004-11-12, 09:57 PM - Forum: Polls
- Replies (5)
|
 |
well FCR3 is out now, most of us have already installed it, so what do you think ? are they getting better with these releases ? got any gripes ? (i do, the new xchat sux, the color scheme is so wrong, and changing it is a nightmare.... - small gripe i know)
let us know
cheers
anyweb
|
|
|
|