LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-26-2003, 06:40 PM   #1
ewlnxnewB
Member
 
Registered: Oct 2003
Location: Honolulu, HI
Distribution: redhat 9, Fedora, Enterprise
Posts: 39

Rep: Reputation: 15
ucspi-tcp patch problem (rh9) for qmail install


Hello all I have been trying to create a mail server with qmail. I am running rh9 and I know it needs some patching. I have downloaded:

daemontools-0.70-3.src.rpm,
supervise-scripts-3.5-1.src.rpm,
ucspi-tcp-0.88-1.src.rpm,
djbdns-1.05-1.src.rpm,
djbdns-run-1.05-6.src.rpm and
ucspi-rss.diff.

I ran the rpm (rpm -ivh ucspi-tcp-0.88-1.src.rpm) for ucspi but when I try to patch the
/usr/src/redhat/SPECS/ucspi-tcp.spec
I keep getting errors. I have tried moving the patch to several dirctories around the file. The documentation I am looking at is at
http://docs.ag-it.com/AGITS-Secure-S...ion-Guide.pdf.

According to this I should have the patch in /usr/src/redhat/SOURCES and running
patch < ucspi-tcp.spec.diff from the /usr/src/redhat/SPECS dir. I keep getting an error that this is not a file or directory. I have attempted this as a bianary install previously with just as much success. My frustration is mounting. I keep finding other ways of duing this but none of them have been successful. Am I missing something. Has any one run across this problem. Please help.
 
Old 11-26-2003, 09:52 PM   #2
ewlnxnewB
Member
 
Registered: Oct 2003
Location: Honolulu, HI
Distribution: redhat 9, Fedora, Enterprise
Posts: 39

Original Poster
Rep: Reputation: 15
I have tried building the ucspi-tcp.spec.rh9.diff file from the info listed and using the command but I keep getting an error;

[root@edblnxsrv SPECS]# patch < ucspi-tcp.spec.rh9.diff
patching file ucspi-tcp.spec
patch: **** malformed patch at line 4: Source: /usr/local/ucspi-tcp-0.88.tar.gz

I have tried to comment them out and to change them as you can see. The original line was;
Source: /usr/local/ucspi-tcp-%{version}.tar.gz

I get the same error. If I remove them I get an error on line 6;

patching file ucspi-tcp.spec
patch: **** malformed patch at line 6: BuildRoot: /tmp/ucspi-tcp

I am about to try just adding the new info to ucspi-tcp.spec but I really dont think that is what I am suppose to do. Does any one know what could be causing this.
 
Old 11-27-2003, 12:40 AM   #3
ewlnxnewB
Member
 
Registered: Oct 2003
Location: Honolulu, HI
Distribution: redhat 9, Fedora, Enterprise
Posts: 39

Original Poster
Rep: Reputation: 15
Here is the patch I am trying to run;

--- ucspi-tcp.spec 2000-03-21 02:41:42.000000000 +0700
+++ ucspi-tcp.spec.new 2003-06-25 10:12:11.000000000 +0700
@@ -7,6 +7,8 @@
Source: http://cr.yp.to/ucspi-tcp/ucspi-tcp-%{version}.tar.gz
Source1: maketcprules
Source2: ucspi-tcp-docs.tar.gz
+Patch1: ucspi-rss.diff
+Patch2: ucspi-tcp-0.88.errno.patch
BuildRoot: /tmp/ucspi-tcp
URL: http://pobox.com/djb/ucspi-tcp.html
Packager: Bruce Guenter <bruceg@em.ca>
@@ -64,6 +66,8 @@
%prep
%setup
tar -xzf %{SOURCE2}
+%patch1 -p1
+%patch2 -p1
echo /usr >conf-home
echo gcc $RPM_OPT_FLAGS >conf-cc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't 'Make' Qmail Patch ServerStorm Linux - Software 2 01-11-2005 09:46 AM
Qmail badrcptto patch DrNeil Linux - Networking 8 09-10-2004 12:51 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
ucspi patching issues rh9 ewlnxnewB Programming 0 11-27-2003 02:44 AM
How do I install qmail-queue patch post install of qmail? cmisip Linux - Software 0 04-28-2003 11:10 PM


All times are GMT -5. The time now is 09:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration