On 21/08/2014, Tom H <tomh0...@gmail.com> wrote: > 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 > > > --
Ah, it used to be so much easier to install and run Skype, before Microsoft got hold of it, and sabotaged it ... Oh, and, it used to work... -- Bret Busby Armadale West Australia .............. "So once you do know what the question actually is, you'll know what the answer means." - Deep Thought, Chapter 28 of Book 1 of "The Hitchhiker's Guide to the Galaxy: A Trilogy In Four Parts", written by Douglas Adams, published by Pan Books, 1992 .................................................... -- 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/CACX6j8PECqmTiiDtX0d_J=fcej1zbd1hr9snun3242vmytb...@mail.gmail.com