[Pkg-sysvinit-devel] Imported new upstream sysvinit version into svn

Petter Reinholdtsen pere at hungry.com
Fri Jul 24 13:50:06 UTC 2009


[Petter Reinholdtsen]
> I suspect a good way to do it might be to disable all patches in
> 00list, and then re-introduce the ones we still need.

Started on this.

Wrote a small script to make it easier to handle patches now in the
upstream tarball.  Here is a copy in case others got time to help.

#!/bin/sh

patchname=$1

set -x

if patch -R -p1 < debian/patches/$patchname ; then
  patch -p1 < debian/patches/$patchname
  svn rm debian/patches/$patchname
  patchnameshort=$(basename $patchname .dpatch)
  grep -v $patchnameshort debian/patches/00list > foo && mv foo debian/patches/00list
  dch -t -- "- Drop patch $patchnameshort now included upstream."
else
  echo "Could not remove $patchname"
fi

Happy hacking,
-- 
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list