patch


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers patch
# 1  
Old 07-22-2003
patch

Dear All ,

I have Sun Solaries 7 sparc server ... am runing perl , CGI , MD5 ... etc for new web mail am setting up .

now i have to install the patch ( xyz.pl.patch ) against a perl file for ex. xxx.pl

what exact command i have to use ,,, also i do not want to make damage for my system and my new webmail !!

thanks
# 2  
Old 07-22-2003
Hi,

Please explain; are you trie-ing to install a Solaris patch or are you trie-ing to install a Perl module ?

Installing the perl module is described in the attached README-file, this file also warns you for depencies, etc. Installing a Solaris patch cannot harm the use of Perl. It's easy done by f.e. the "patchadd" command.

Regs David
# 3  
Old 07-22-2003
Hi ,,

well it is not solaries patch .

it is patch related to the web mail i installed ,,, but i think it is related to perl since the patch file name is like this :

xyz.pl.patch

i do not think i can use patchadd for it .
i need the exact format of command to install this patch against a file !!
# 4  
Old 07-22-2003
Hi,

Can you please let me know the exact filename.
the output of :
file <file>
head -2 <file>


Many thanks in advance.
B.T.W. : it looks like you should just run the script doing :

chmod 555 <file>

/path/to/file [Enter]


@yourservice
David
# 5  
Old 07-22-2003
Mr. David ,

I would like to thank you for your qiuck answers Smilie

here is :

# file neomail.pl.patch
neomail.pl.patch: c program text

&

# head -2 neomail.pl.patch
--- neomail.pl Mon Aug 26 15:46:56 2002
+++ /usr/local/neomail/cgi-bin/neomail.pl Mon Aug 26 16:01:31 2002

--------------------------------------------------------------------------------

shall i apply the command you gave to me ???

the chmod 555 one ?
# 6  
Old 07-22-2003
Hi,

Huuh, not so quick anymore, was bussy.

The file command says it's a C-program, but when performing the head it shows a tar-file.

2 differences :

1) it's a c-program, so "cc <file>" or "gcc <file>" should create you an executable
2) it's a tar file containing help-files make-files etc. "tar tvf <file>" should show you the contents then. Renaming the file to .tar first is no luxury.

Going home now, tomorow I can try to help you further, sorry.

Regs David
# 7  
Old 07-23-2003
Hi ,,,

Well i tried both methods and they did not work !!

1. the "cc" or "gcc" one .
2. i do not think it is tar file !

there is a command which is :

patch -p0 neomail.pl.patch

but am not sure of it !

Thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Patch Installation

Dear All, I have some 6 RedHat Servers ( 5.4 ) tikanga connected to the Intranet. Some are Database Servers and application servers. For the past 1.5 years , we have not installed any patches.. Is there any way to find out , whether these systems needs patches and where to... (5 Replies)
Discussion started by: jegaraman
5 Replies

2. Solaris

Solaris Patch

Hi, I installed Solaris 11 and I want to upgrade. I am doing this in by the documentation for pkg update. I read about the patch for solaris. Where and how to download and install this patch? (2 Replies)
Discussion started by: PtaQ
2 Replies

3. Ubuntu

Patch Administration

Hi, I want to set upa centralised server for downloading patches from the internet and all my clients should use that central server to download patches and upgrade. Could someone please help me in doing this. Thanks, Trimu (2 Replies)
Discussion started by: ktrimu
2 Replies

4. Solaris

DST Patch

How to update DST patch. Whatat are the necessary steps that have to be taken on the servers to update this patch?. (1 Reply)
Discussion started by: sandeepkv
1 Replies

5. Solaris

Patch date

Hello everyone What command I need to use for to know the date about install some patch. For example I was looking the patch 102530-01 I use the command patchadd -p (the number of the patch) or the command pkginfo -p (the number of the patch) but what command I need to use to know about the... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

6. Solaris

Patch help?

Hello... I'm looking for latest patch for automount and what it does on Solaris8, Thanks! :confused: (2 Replies)
Discussion started by: catwomen
2 Replies

7. IP Networking

Patch-o-matic (patch for iptable) for linux2.4.08 & iptable1.2.7a

Hello friends I'm running Redhat 9.0 with linux kernel 2.4.20-8 & have iptables version 1.2.7a & encountering a problem that I narrate down. I need to apply patch to my iptable and netfilter for connection tracking and load balancing that are available in patch-o-matic distribution by netfilter.... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies

8. Shell Programming and Scripting

patch

Dear Guys , I use Linux Red Hat 9 .. i installed a patch for a web mail i use , and i think it make a damage for my web mail i cannot see it anymore . i get so many error messages . what i want to ask is there any command on linux i can use to remove the patch !!! i want to remove the... (1 Reply)
Discussion started by: tamemi
1 Replies

9. HP-UX

OS Patch

Hello, I have to apply the patch PHSS_24302 on HPUX B.11.11 os version. When i look at the /var/adm/sw/swagentd.log it mentions that "this is not a valid depot". I downloaded the patch from HP web site. Please get back to me at the earliest as I'm dead in the water. Thanks, Balaji K (3 Replies)
Discussion started by: bkrish
3 Replies
Login or Register to Ask a Question