public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA] gnutls
@ 2024-02-21 12:09 Takashi Yano
  2024-02-22  5:37 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Takashi Yano @ 2024-02-21 12:09 UTC (permalink / raw)
  To: cygwin-apps

[-- 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"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ITA] gnutls
  2024-02-21 12:09 [ITA] gnutls Takashi Yano
@ 2024-02-22  5:37 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2024-02-22  5:37 UTC (permalink / raw)
  To: cygwin-apps

On 21/02/2024 13:09, Takashi Yano via Cygwin-apps wrote:
> I would like to adopt gnutls package.
> 

$ git diff | grep -E "^\+|^-"
--- a/cygwin-pkg-maint
+++ b/cygwin-pkg-maint
-gnutls                                       ORPHANED (Yaakov Selkowitz)
+gnutls                                       Takashi Yano
-libssh                                       ORPHANED (Yaakov Selkowitz)
+libssh                                       Takashi Yano
+libvpl                                       Takashi Yano
-nettle                                       ORPHANED (Yaakov Selkowitz)
+nettle                                       Takashi Yano
-unbound                                      ORPHANED (Yaakov Selkowitz)
+unbound                                      Takashi Yano


Thanks
Marco


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-22  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-21 12:09 [ITA] gnutls Takashi Yano
2024-02-22  5:37 ` Marco Atzeri

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).