gnutls
      ------
      gnutls
      ------



links
distros
compile
gnutls-3.5.2
gnutls-3.6.0



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



    -----
#   links
    -----

Home: https://gnutls.org/



gnutls depends on nettle *
                  gmp    *

nettle depends on gmp    *

gnutls optionally depends on libtasn1 *




-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



    -------
#   distros
    -------


I have been compiling in a few puppy distros.



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



    -------
#   compile
    -------



https://gitlab.com/version2013/puppylinux/tree/master/gnutls/compile_gnutls
- Put 'compile_gnutls' in '/mnt/home/compile'
- Give the file execute permission.
  # chmod a+x compile_gnutls

This script is geared toward my puppy linux frugal installs.
It is partially automated.
gnutls is compiled in the directory '/opt'
gnutls .pet files are copied to the directory '/mnt/home/compile'
gnutls dev and doc files are copied to the directory '/mnt/home/compile/temp' for later hash (checksum) compare.



gnutls source files
https://www.gnupg.org/ftp/gcrypt/gnutls/
- Extract contents of file and place in '/mnt/home/compile'



dir2pet

splitpkg.sh



using 'compile_gnutls' on command line: ./compile_gnutls ${1} ${2}
replace variables, ${1} ${2}, with appropriate version numbers.
${1} = gnutls version
${2} = puppy distro version
valid puppy distro versions: 3.1, 4.1
example command: ./compile_gnutls 3.6.0 3.1



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



    ------------
#   gnutls-3.5.2
    ------------

gnutls mirrors

gnutls-3.5.2_v1.1.pet       puppy 431   stripped=true
gnutls-3.5.2_v1.2.pet       puppy 431   stripped=false
gnutls_DEV-3.5.2.pet        puppy 431
gnutls_DOC-3.5.2.pet        puppy 431
gnutls_NLS-3.5.2.pet        puppy 431



---------
puppy 431
---------

I installed the following files before compiling.
Support for these files (dependencies) are compiled into gnutls.
The files are not included in the gnutls .pet.
They still need to be installed in puppy for gnutls to use their features.
The dev files are only needed when compiling.

[mirrors]
gmp/6.1.1/gmp-6.1.1-i486_v1.2.pet
gmp/6.1.1/gmp_DEV-6.1.1-i486_v1.2.pet

[mirrors]
libtasn1/4.8/libtasn1-4.8-i486_v1.2.pet
libtasn1/4.8/libtasn1_DEV-4.8-i486_v1.2.pet

[mirrors]
nettle/3.2/nettle-3.2_v1.2.pet
nettle/3.2/nettle_DEV-3.2_v1.2.pet

--------------------------------------------

v1.1
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib CFLAGS="-O2" --disable-dependency-tracking --enable-manpages --enable-openssl-compatibility --enable-seccomp-tests --enable-self-checks --without-p11-kit --disable-libdane --disable-valgrind-tests --without-idn --disable-guile --without-tpm

v1.2
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib CFLAGS="-g -O0 -fno-optimize-sibling-calls -fno-omit-frame-pointer -fno-inline" --disable-dependency-tracking --enable-manpages --enable-openssl-compatibility --enable-seccomp-tests --enable-self-checks --without-p11-kit --disable-libdane --disable-valgrind-tests --without-idn --disable-guile --without-tpm



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



    ------------
#   gnutls-3.6.0
    ------------

gnutls mirrors

gnutls-3.6.0_v3.1.pet     tahrpup 6.0.5 PAE   stripped=true

gnutls64-3.6.0_v4.1.pet   tahrpup64 6.0.5     stripped=true

gnutls_DEV-3.6.0.pet
gnutls_DOC-3.6.0.pet
gnutls_NLS-3.6.0.pet
    


-----------------
tahrpup 6.0.5 PAE
-----------------

I installed the following files before compiling.
Support for these files (dependencies) are compiled into gnutls.
The files are not included in the gnutls .pet.
They still need to be installed in puppy for gnutls to use their features.
The dev files are only needed when compiling.

[mirrors]
gmp/6.2.0/gmp-6.2.0_v3.1.pet
gmp/6.2.0/gmp_DEV-6.2.0.pet

[mirrors]
nettle/3.4/nettle-3.4_v3.1.pet
nettle/3.4/nettle_DEV-3.4.pet

--------------------------------------------

v3.1
# configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var ABI=32 CC="gcc -m32" CFLAGS="-O2 -march=i486 -mtune=i686" --with-included-libtasn1 --enable-dependency-tracking --enable-manpages --enable-openssl-compatibility --enable-seccomp-tests --enable-sha1-support --without-p11-kit --disable-libdane --disable-valgrind-tests --without-idn --disable-guile --without-tpm



------------
tahr64-6.0.5
------------

I installed the following files before compiling.
Support for these files (dependencies) are compiled into nettle.
The files are not included in the nettle .pet.
They still need to be installed in puppy for nettle to use their features.
The dev files are only needed when compiling.

[mirrors]
gmp/6.2.0/gmp64-6.2.0_v4.1.pet
gmp/6.2.0/gmp_DEV-6.2.0.pet

[mirrors]
nettle/3.4/nettle64-3.4_v4.1.pet
nettle/3.4/nettle_DEV-3.4.pet

--------------------------------------------

v4.1
# configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var ABI=64 CFLAGS="-O2" --with-included-libtasn1 --enable-dependency-tracking --enable-manpages --enable-openssl-compatibility --enable-seccomp-tests --enable-sha1-support --without-p11-kit --disable-libdane --disable-valgrind-tests --without-idn --disable-guile --without-tpm



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------

















------------------
Edited 2020 Dec 05
------------------