public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin-apps@cygwin.com
Subject: [ITA] gnutls
Date: Wed, 21 Feb 2024 21:09:39 +0900	[thread overview]
Message-ID: <20240221210939.079e268257787025851561ff@nifty.ne.jp> (raw)

[-- Attachment #1: Type: text/plain, Size: 83 bytes --]

I would like to adopt gnutls package.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

[-- Attachment #2: 3.5.11-testsuite.patch --]
[-- Type: text/plain, Size: 537 bytes --]

--- origsrc/gnutls-3.5.11/tests/Makefile.am	2017-04-07 00:52:07.000000000 -0500
+++ src/gnutls-3.5.11/tests/Makefile.am	2017-05-02 16:32:16.729518900 -0500
@@ -57,8 +57,9 @@ COMMON_GNUTLS_LDADD = ../lib/libgnutls.l
 COMMON_DEPS_LDADD = $(LIBSOCKET) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSECCOMP)
 COMMON_LDADD = $(COMMON_GNUTLS_LDADD) $(COMMON_DEPS_LDADD)
 
-LDADD = $(COMMON_GNUTLS_LDADD) \
+LDADD = \
 	libutils.la \
+	$(COMMON_GNUTLS_LDADD) \
 	$(COMMON_DEPS_LDADD)
 
 dane_LDADD = $(LDADD) ../libdane/libgnutls-dane.la

[-- Attachment #3: gnutls.cygport --]
[-- Type: text/plain, Size: 2341 bytes --]

inherit gnome2

NAME="gnutls"
VERSION=3.8.3
RELEASE=1
LICENSE="LGPL-2.1-or-later"
CATEGORY="Libs"
SUMMARY="Library implementing TLS protocols"
DESCRIPTION="GnuTLS is a secure communications library implementing the SSL,
TLS and DTLS protocols and technologies around them. It provides a simple C
language application programming interface (API) to access the secure
communications protocols as well as APIs to parse and write X.509, PKCS#12,
OpenPGP and other required structures."
HOMEPAGE="https://gnutls.org/"
SRC_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v${VERSION%.*}/gnutls-${VERSION}.tar.xz"
PATCH_URI="
	3.5.11-testsuite.patch
"

PKG_NAMES="${NAME} lib${NAME}30 lib${NAME}-dane0 lib${NAME}xx30 lib${NAME}-devel lib${NAME}-doc" # guile-${NAME}
gnutls_SUMMARY="${SUMMARY} (utilities)"
gnutls_CONTENTS="
	--exclude=usr/share/doc/${NAME}/${NAME}.*
	usr/bin/*.exe
	usr/share/doc/
	usr/share/locale/
	usr/share/man/man1/
"
libgnutls30_SUMMARY="${SUMMARY} (runtime)"
libgnutls30_REQUIRES="ca-certificates crypto-policies"
libgnutls30_CONTENTS="usr/bin/cyggnutls-30.dll"
libgnutls_dane0_SUMMARY="${SUMMARY} (DANE)"
libgnutls_dane0_CONTENTS="usr/bin/cyggnutls-dane-0.dll"
libgnutlsxx30_SUMMARY="${SUMMARY} (C++ bindings)"
libgnutlsxx30_CONTENTS="usr/bin/cyggnutlsxx-30.dll"
libgnutls_devel_SUMMARY="${SUMMARY} (development)"
libgnutls_devel_CONTENTS="
	usr/include/gnutls/
	usr/lib/lib*
	usr/lib/pkgconfig/*
"
libgnutls_doc_SUMMARY="${SUMMARY}(documentation)"
libgnutls_doc_CONTENTS="
	usr/share/doc/${NAME}/${NAME}.*
	usr/share/gtk-doc/
	usr/share/info/
	usr/share/man/man3/*
"

DIFF_EXCLUDES="gnutls.info* m4 stamp-vti version.texi"

CYGCONF_ARGS="
  --enable-gtk-doc
  --enable-gtk-doc-html
  --enable-cxx
  --enable-libdane
  --disable-hardware-acceleration
  --enable-heartbeat-support
  --disable-non-suiteb-curves
  --disable-openssl-compatibility
  --with-system-priority-file=/etc/crypto-policies/back-ends/gnutls.config
  --with-default-priority-string=@SYSTEM
  --with-default-trust-store-pkcs11=pkcs11:
  --with-unbound-root-key-file=/var/lib/unbound/root.key
"

src_install() {
	cd ${B}
	cyginstall

	rm -f ${D}/usr/{bin,lib}/*.def
}

DOCS="doc/gnutls.html doc/gnutls.pdf doc/README.* doc/TODO"

BUILD_REQUIRES="gtk-doc libnettle-devel libunbound-devel"

             reply	other threads:[~2024-02-21 12:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-21 12:09 Takashi Yano [this message]
2024-02-22  5:37 ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240221210939.079e268257787025851561ff@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).