Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article How do I patch a Debian package:


Re: How do I patch a Debian package
Posted by Antras (85.206.xx.xx) on Wed 26 Apr 2006 at 19:58
Hello,

I'm using Debian Testing and trying to install OpenTSA(open timestamp) patch(about 350Kb of code), but have some difficults with it...
I'm doing as you say:

cd /home
apt-get source openssl
cp ts-20060225-0_9_8a-patch openssl-0.9.8a/
cd openssl-0.9.8a
patch -p1 < ts-20060225-0_9_8a-patch
patching file Configure
Hunk #1 succeeded at 1186 (offset 40 lines).
patching file Makefile
Hunk #1 FAILED at 11.
Hunk #2 FAILED at 59.
Hunk #5 FAILED at 137.
3 out of 5 hunks FAILED -- saving rejects to file Makefile.rej
patching file Makefile.org
patching file apps/CA.pl
patching file apps/Makefile
patching file apps/openssl.cnf
patching file apps/progs.h
patching file apps/ts.c
patching file apps/tsget
patching file crypto/cpt_err.c
patching file crypto/crypto.h
patching file crypto/opensslconf.h
Reversed (or previously applied) patch detected! Assume -R? [n]

and more... but with errors :(

If i patch the openssl-0.9.8a.orig.tar.gz with that patch it works perfect, but i need new version of debian package openssl with that patch.
How can i do it?


Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search