On Wed, Aug 20, 2014 at 4:53 AM, Hans <hans.ullr...@loop.de> wrote: > > just another thing relating to this. I would like to repack the debian package > and would like to change these in the package: > > - changelog > - skype binary > > I tried dpkg-deb -x and also with -e, but I guess, this is wrong, as it did > not work (or I did not understand the manual correctly). > > The repackage is needed for my own purposes, as I added skype in my Germanized > version of my own KALI-Linux build (see: http://www.ccpeine.de/?p=1152). > > Of course, I can figure it out for myself after some time, but a little help > would be nice. > > Is repacking correcting all gpg keys to the new version (check at unpack???), > or do only repo masters verify complete packages?
Download the skype deb. (This is just thinking it through without testing it...) Expand it with ar (rather than with dpkg). mkdir -p build/DEBIAN tar -xzf control.tar.gz -C build/DEBIAN tar -xzf data.tar.gz -C build (it could be .bz or .xz) Edit build/share/doc/skype<possibly_something>/changelog.Debian.gz to add an entry and bump up the version. Edit build/DEBIAN/control and bump up "Version: <version>" (or create a "Version" line of it doesn't exist because dpkg-deb needs it but dpkg-buildpackage doesn't so it might not be there). find build -type d -exec chmod 0755 + If they exist: chmod 0775 build/DEBIAN/post{inst,rm} Make your changes to "debian/usr/bin/skype" or whatever other changes you'd like to make. Recreate "build/DEBIAN/md5sums". fakeroot dpkg-deb -b build skype<...something...>.deb -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=sxct3s9x8+c1sccqhkkoowjducp__rpxr8nfhseb9y...@mail.gmail.com