How to apply Ubuntu patch for rpcbind?
Posted
by
Linda
on Stack Overflow
See other posts from Stack Overflow
or by Linda
Published on 2012-09-20T21:16:03Z
Indexed on
2012/09/20
21:37 UTC
Read the original article
Hit count: 342
I am currently running Ubuntu 12.04.1 Desktop and would like to apply this patch:
https://launchpad.net/ubuntu/+source/rpcbind/0.2.0-7ubuntu1.2
My current rpcbind version is here:
# aptitude show rpcbind
Package: rpcbind
State: installed
Automatically installed: yes
Version: 0.2.0-7ubuntu1.1
As you can see on the patch page, I'd like to patch to this version:
Version: 0.2.0-7ubuntu1.2
However, based on the downloadable files on the patch page, I'm not sure where to start.
(directory structure of the original rpcbind source)
# find rpcbind-0.2.0 -type d
rpcbind-0.2.0
rpcbind-0.2.0/src
rpcbind-0.2.0/man
(directory structure of the patch download)
# find debian -type d
debian
debian/patches
debian/source
[EDIT] I've figured out how to apply the individual patches in the patches directory:
# patch -p1 < ../debian/patches/01-usage-fix.patch
patching file src/rpcbind.c
(and so on for each patch file)
... but I'm not sure what do with the patch-related files in the root debian folder.
Any help here?
Thanks in advance,
Linda
© Stack Overflow or respective owner