clean way to package 3rd party software



Hi all,

in our scientific collaboration we are currently using a big pile of
software which comes bundled with its own installer (pacman). Since
doing a full repackage, of all subcomponents is currently out of the
question I would like to package this into a binary only .deb. I somehow
succeeded, but would like to receive a hint from experts.

I usually use a clean pbuilder/cowbuilder environment to install this
huge package under /opt/mypackage. Most of its files are living there so
no big problem, albeit one variant adds some changes to /etc. My questions:

(1) Is there a standard way to detect which files have been added to the
system? Right now I'm doing a full find of the whole "system" before and
after and extract the changed files.

(2) Right now I then manually move all the changed files into a
temporary directory, create a DEBIAN directory along with the necessary
files (md5sum, control, ..) and call dpkg -b and go for a coffee.

However, especially this second step is rather tedious when it has to be
done multiple times. Is there a better way of doing it?

Thanks for a new insight

Cheers

Carsten

--
Dr. Carsten Aulbert - Max Planck Institute for Gravitational Physics
Callinstrasse 38, 30167 Hannover, Germany
Phone/Fax: +49 511 762-17185 / -17193
http://www.top500.org/system/9234 | http://www.top500.org/connfam/6/list/31


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • RE: lenny wont boot after re-install
    ... I used my ubuntu intrepid livecd and installed it on ty problem system. ... Don't know what was going wrong with the lenny installer that it couldn't install properly, but I will try it again another day. ... If the latter then it's most likely the hardware: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Install bootstrap hangs
    ... > I managed to get the installer boostrapped via a diskette boot which turned ... the Fedora Core system installer - please wait ... ... > floppy, cdrom reader ... > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • Re: Still cannot install the nvidia driver-SOLVED-ADDITIONAL
    ... > - the installer said that there's no kernel ... Try the all-new Yahoo! ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
    (Debian-User)
  • Re: unable to install on adaptec sata raid system
    ... the kernel already but it is not in Debian's kernel, ... In every case installation fails when the installer cannot ... the RAID array works fine under Knoppix and Ubuntu. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Grub serial console question
    ... The /boot/grub directory as installed by the current installer does not ... HOWTOs for serial console all suggest that this is the right place to put ... # Example how to put a getty on a serial line ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)