nettle
      ------
      nettle
      ------



links
distros
compile
nettle-3.2
nettle-3.4



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



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

Home: https://www.lysator.liu.se/~nisse/nettle/



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/nettle/compile_nettle
- Put 'compile_nettle' in '/mnt/home/compile'
- Give the file execute permission.
  # chmod a+x compile_nettle

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



nettle source files
https://ftp.gnu.org/gnu/nettle/
- Extract contents of file and place in '/mnt/home/compile'



dir2pet

splitpkg.sh



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



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



    ----------
#   nettle-3.2
    ----------

nettle mirrors

nettle-3.2_v1.1.pet       puppy 431   stripped=true
nettle-3.2_v1.2.pet       puppy 431   stripped=false
nettle_DEV-3.2_v1.1.pet   puppy 431   stripped=true
nettle_DEV-3.2_v1.2.pet   puppy 431   stripped=false
nettle_DOC-3.2.pet        puppy 431



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

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.1.1/gmp-6.1.1-i486_v1.2.pet
gmp/6.1.1/gmp_DEV-6.1.1-i486_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 --enable-fat CFLAGS="-O2"

v1.2
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --enable-fat CFLAGS="-g -O0 -fno-optimize-sibling-calls -fno-omit-frame-pointer -fno-inline"



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



    ----------
#   nettle-3.4
    ----------

nettle mirrors

nettle-3.4_v3.1.pet   tahrpup 6.0.5 PAE   stripped=true
nettle_DEV-3.4.pet    tahrpup 6.0.5 PAE

nettle64-3.4_v4.1.pet tahrpup64 6.0.5     stripped=true
nettle64_DEV-3.4.pet  tahrpup64 6.0.5

nettle_DOC-3.4.pet



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

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/gmp-6.2.0_v3.1.pet
gmp/6.2.0/gmp_DEV-6.2.0.pet

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

v3.1
# configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var ABI=32 CC="gcc -m32" -enable-fat CFLAGS="-O2"



------------
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/gmp64_DEV-6.2.0.pet

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

v4.1
# configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var ABI=64 -enable-fat --enable-public-key=yes CFLAGS="-O2"



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

















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