summaryrefslogtreecommitdiff
path: root/libs/nettle
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /libs/nettle
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'libs/nettle')
-rw-r--r--libs/nettle/.footprint91
-rw-r--r--libs/nettle/.signature6
-rw-r--r--libs/nettle/MAKEPKG31
3 files changed, 128 insertions, 0 deletions
diff --git a/libs/nettle/.footprint b/libs/nettle/.footprint
new file mode 100644
index 0000000..c463361
--- /dev/null
+++ b/libs/nettle/.footprint
@@ -0,0 +1,91 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/nettle-hash
+-rwxr-xr-x root/root usr/bin/nettle-lfib-stream
+-rwxr-xr-x root/root usr/bin/nettle-pbkdf2
+-rwxr-xr-x root/root usr/bin/pkcs1-conv
+-rwxr-xr-x root/root usr/bin/sexp-conv
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/nettle/
+-rw-r--r-- root/root usr/include/nettle/aes.h
+-rw-r--r-- root/root usr/include/nettle/arcfour.h
+-rw-r--r-- root/root usr/include/nettle/arctwo.h
+-rw-r--r-- root/root usr/include/nettle/asn1.h
+-rw-r--r-- root/root usr/include/nettle/balloon.h
+-rw-r--r-- root/root usr/include/nettle/base16.h
+-rw-r--r-- root/root usr/include/nettle/base64.h
+-rw-r--r-- root/root usr/include/nettle/bignum.h
+-rw-r--r-- root/root usr/include/nettle/blowfish.h
+-rw-r--r-- root/root usr/include/nettle/buffer.h
+-rw-r--r-- root/root usr/include/nettle/camellia.h
+-rw-r--r-- root/root usr/include/nettle/cast128.h
+-rw-r--r-- root/root usr/include/nettle/cbc.h
+-rw-r--r-- root/root usr/include/nettle/ccm.h
+-rw-r--r-- root/root usr/include/nettle/cfb.h
+-rw-r--r-- root/root usr/include/nettle/chacha-poly1305.h
+-rw-r--r-- root/root usr/include/nettle/chacha.h
+-rw-r--r-- root/root usr/include/nettle/cmac.h
+-rw-r--r-- root/root usr/include/nettle/ctr.h
+-rw-r--r-- root/root usr/include/nettle/curve25519.h
+-rw-r--r-- root/root usr/include/nettle/curve448.h
+-rw-r--r-- root/root usr/include/nettle/des.h
+-rw-r--r-- root/root usr/include/nettle/drbg-ctr.h
+-rw-r--r-- root/root usr/include/nettle/dsa.h
+-rw-r--r-- root/root usr/include/nettle/eax.h
+-rw-r--r-- root/root usr/include/nettle/ecc-curve.h
+-rw-r--r-- root/root usr/include/nettle/ecc.h
+-rw-r--r-- root/root usr/include/nettle/ecdsa.h
+-rw-r--r-- root/root usr/include/nettle/eddsa.h
+-rw-r--r-- root/root usr/include/nettle/gcm.h
+-rw-r--r-- root/root usr/include/nettle/gostdsa.h
+-rw-r--r-- root/root usr/include/nettle/gosthash94.h
+-rw-r--r-- root/root usr/include/nettle/hkdf.h
+-rw-r--r-- root/root usr/include/nettle/hmac.h
+-rw-r--r-- root/root usr/include/nettle/knuth-lfib.h
+-rw-r--r-- root/root usr/include/nettle/macros.h
+-rw-r--r-- root/root usr/include/nettle/md2.h
+-rw-r--r-- root/root usr/include/nettle/md4.h
+-rw-r--r-- root/root usr/include/nettle/md5.h
+-rw-r--r-- root/root usr/include/nettle/memops.h
+-rw-r--r-- root/root usr/include/nettle/memxor.h
+-rw-r--r-- root/root usr/include/nettle/nettle-meta.h
+-rw-r--r-- root/root usr/include/nettle/nettle-types.h
+-rw-r--r-- root/root usr/include/nettle/nist-keywrap.h
+-rw-r--r-- root/root usr/include/nettle/ocb.h
+-rw-r--r-- root/root usr/include/nettle/pbkdf2.h
+-rw-r--r-- root/root usr/include/nettle/pkcs1.h
+-rw-r--r-- root/root usr/include/nettle/poly1305.h
+-rw-r--r-- root/root usr/include/nettle/pss-mgf1.h
+-rw-r--r-- root/root usr/include/nettle/pss.h
+-rw-r--r-- root/root usr/include/nettle/realloc.h
+-rw-r--r-- root/root usr/include/nettle/ripemd160.h
+-rw-r--r-- root/root usr/include/nettle/rsa.h
+-rw-r--r-- root/root usr/include/nettle/salsa20.h
+-rw-r--r-- root/root usr/include/nettle/serpent.h
+-rw-r--r-- root/root usr/include/nettle/sexp.h
+-rw-r--r-- root/root usr/include/nettle/sha1.h
+-rw-r--r-- root/root usr/include/nettle/sha2.h
+-rw-r--r-- root/root usr/include/nettle/sha3.h
+-rw-r--r-- root/root usr/include/nettle/siv-cmac.h
+-rw-r--r-- root/root usr/include/nettle/siv-gcm.h
+-rw-r--r-- root/root usr/include/nettle/slh-dsa.h
+-rw-r--r-- root/root usr/include/nettle/sm3.h
+-rw-r--r-- root/root usr/include/nettle/sm4.h
+-rw-r--r-- root/root usr/include/nettle/streebog.h
+-rw-r--r-- root/root usr/include/nettle/twofish.h
+-rw-r--r-- root/root usr/include/nettle/umac.h
+-rw-r--r-- root/root usr/include/nettle/version.h
+-rw-r--r-- root/root usr/include/nettle/xts.h
+-rw-r--r-- root/root usr/include/nettle/yarrow.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libhogweed.a
+-rw-r--r-- root/root usr/lib/libhogweed.so.7.0
+-rw-r--r-- root/root usr/lib/libnettle.a
+-rw-r--r-- root/root usr/lib/libnettle.so.9.0
+lrwxrwxrwx root/root usr/lib/libhogweed.so -> libhogweed.so.7.0
+lrwxrwxrwx root/root usr/lib/libhogweed.so.7 -> libhogweed.so.7.0
+lrwxrwxrwx root/root usr/lib/libnettle.so -> libnettle.so.9.0
+lrwxrwxrwx root/root usr/lib/libnettle.so.9 -> libnettle.so.9.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/hogweed.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/nettle.pc
diff --git a/libs/nettle/.signature b/libs/nettle/.signature
new file mode 100644
index 0000000..70726eb
--- /dev/null
+++ b/libs/nettle/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mDpoO7GiHx6sYqgo1QOPhHeHe82D9Dd+ScBZQ6JFBP3x94/5oHX2kIAaP+Jw3We6QvVLVqHAIvXJOxY6NB2B2gs=
+
+SHA256 (MAKEPKG) = f46051f83e3d2bdc2acba51234ff5c16dcf4a3a6ed7ca76e01b514548bd20ef5
+SHA256 (.footprint) = 7ebb554af4872cc9675bb1ea6eaf770d84ba6bb9f9713d77702012f8df8a66fd
+SHA256 (nettle-4.0.tar.gz) = 3addbc00da01846b232fb3bc453538ea5468da43033f21bb345cb1e9073f5094
+SHA256 (nettle#4.0-1.pkg.tar.gz) = 648bfd81752e6902cb3c4bdd83f596fc730aa95f4aa5a414ae69e29df4ebee63
diff --git a/libs/nettle/MAKEPKG b/libs/nettle/MAKEPKG
new file mode 100644
index 0000000..b5f3223
--- /dev/null
+++ b/libs/nettle/MAKEPKG
@@ -0,0 +1,31 @@
+#!/bin/mkpkg
+# description: Low-level cryptographic library
+# url: https://www.lysator.liu.se/~nisse/nettle/
+
+name=nettle
+version=4.0
+release=1
+depends=(gmp)
+source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+
+sha256sums=(
+ "3addbc00da01846b232fb3bc453538ea5468da43033f21bb345cb1e9073f5094"
+)
+
+build() {
+ cd $name-$version
+
+ ./configure \
+ --prefix=/usr \
+ --disable-documentation
+
+ make
+ make DESTDIR=$PKG install
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh