:: Re: [Dng] The basic of building pac…
Top Page
Delete this message
Reply to this message
Author: Ángel Ramírez Isea
Date:  
To: dng
Subject: Re: [Dng] The basic of building package
Hi, Anto.

These are some steps I follow when packaging from uncompressed and
modified package files: (packages are made for both i386 and amd64, thus
the subdirectory names)

1.- Calculate md5sums for the modified files:
        sudo su
          cd ./i386_SSL
          md5sum `find . -type f | grep -v ^/` > md5sums
          mv md5sums ./DEBIAN/
          cd ..
          sed -i /'DEBIAN'/d ./i386_SSL/DEBIAN/md5sums



          cd ./amd64_SSL
          md5sum `find . -type f | grep -v ^/` > md5sums
          mv md5sums ./DEBIAN/
          cd ..
          sed -i /'DEBIAN'/d ./amd64_SSL/DEBIAN/md5sums
        exit


2.- Calculate used space and update control file:
         sudo du ./i386_SSL
         sudo geany ./i386_SSL/DEBIAN/control


         sudo du ./amd64_SSL
         sudo geany ./amd64_SSL/DEBIAN/control


3.-  Package:
         sudo dpkg -b ./i386_SSL packagenamei386_version.deb


         sudo dpkg -b ./amd64_SSL packagenameamd64_version.deb


After that I check them with lintian.

Hope it helps.

El 2015-05-20 12:15, Anto escribió:
> Hello Everybody,
>
> I am sorry to ask a basic question, ...
> Anto
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


--
Saludos cordiales,

Ángel Ramírez Isea.
Usuario de Devuan y Canaima GNU / Linux # 460737.

Coordinador General.
Cooperativa Simón Rodríguez para el Conocimiento Libre, RS.
www.simonrodriguez.org.ve
(261) 524.55.93 -:- (426) 369.57.18
J-40294137-4