Outils pour utilisateurs

Outils du site


tech:notes_gostcrypt_package_deb

Notes GostCrypt package deb

Voir :

GostCrypt_1.3 sur Debian Wheezy

Ouverture du paquage Debian

wget http://www.gostcrypt.org/download/1.3/Linux/Deb/GostCrypt_1.3_Debian.x86_64.deb
mkdir ~/GostCrypt_1.3_Debian_Wheezy
cd ~/GostCrypt_1.3_Debian_Wheezy/
ar x ../GostCrypt_1.3_Debian.x86_64.deb
tar --same-owner xvf data.tar.xz
mkdir DEBIAN
cd DEBIAN
tar xvf ../control.tar.gz
rm control.tar.gz  data.tar.xz  debian-binary

Compilation

https://www.gostcrypt.org/wiki/doku.php?id=compilation_installation:compilation:linux:ubuntu

Install des dépendances

sudo apt-get install libfuse-dev libwxgtk2.8-dev pkg-config
wget http://www.gostcrypt.org/download/1.3/Linux/Sources/GostCrypt_1.3_Linux.tar.gz
tar xvf GostCrypt_1.3_Linux.tar.gz
 
make NOGUI=1

L'éxecutable est ici :
./Main/gostcrypt.cli

Modification du paquage

rm -f ~/GostCrypt_1.3_Debian_Wheezy/usr/bin/gostcrypt.cli ~/GostCrypt_1.3_Debian_Wheezy/usr/bin/gostcrypt
cp -p Main/gostcrypt.cli ~/GostCrypt_1.3_Debian_Wheezy/usr/bin
cd  ~/GostCrypt_1.3_Debian_Wheezy
rm -rf usr/share/applications/ usr/share/Gostcrypt/
$ cat DEBIAN/control
- Depends: libc6, libfuse2, libgcc1, libstdc++6, libwxbase3.0-dev , libwxgtk3.0-dev
+ Depends: libc6, libfuse2, libgcc1, libstdc++6, libwxbase2.8-dev
- Version: 1.3
+ Version: 1.3~Jb
cd /usr/bin
ln -s gostcrypt.cli gostcrypt

Reconstruction du paquet

cd ~/GostCrypt_1.3_Debian_Wheezy
md5sum $(find . -not -wholename "./DEBIAN/*" -type f -not -name "debian-binary" )> DEBIAN/md5sums
cd ~
dpkg-deb --build GostCrypt_1.3_Debian_Wheezy

Installation

dpkg -i GostCrypt_1.3_Debian_Wheezy.deb

FIXME

tech/notes_gostcrypt_package_deb.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki