pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/ucspi-ssl



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Thu Aug  1 11:48:16 UTC 2024

Modified Files:
        pkgsrc/net/ucspi-ssl: Makefile PLIST
Added Files:
        pkgsrc/net/ucspi-ssl: buildlink3.mk

Log Message:
ucspi-ssl: install library and header file.

>From George Matsumura in PR pkg/58460.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/net/ucspi-ssl/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/ucspi-ssl/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/net/ucspi-ssl/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/ucspi-ssl/Makefile
diff -u pkgsrc/net/ucspi-ssl/Makefile:1.63 pkgsrc/net/ucspi-ssl/Makefile:1.64
--- pkgsrc/net/ucspi-ssl/Makefile:1.63  Sat Dec  9 19:10:12 2023
+++ pkgsrc/net/ucspi-ssl/Makefile       Thu Aug  1 11:48:16 2024
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.63 2023/12/09 19:10:12 schmonz Exp $
+# $NetBSD: Makefile,v 1.64 2024/08/01 11:48:16 schmonz Exp $
 #
 
 DISTNAME=              ucspi-ssl-0.12.10
 PKGNAME=               ${DISTNAME:S/-0./-0.999./}
+PKGREVISION=           1
 CATEGORIES=            net
 MASTER_SITES=          https://www.fehcom.de/ipnet/ucspi-ssl/
 EXTRACT_SUFX=          .tgz
@@ -17,6 +18,8 @@ DJB_SLASHPACKAGE=     YES
 
 SSL_SCRIPTS=           https@ sslcat sslconnect
 SSL_PROGRAMS=          sslclient sslserver
+SSL_LIBS=              ucspissl.a
+SSL_HEADERS=           ucspissl.h
 SSL_MAN1PAGES=         ${SSL_SCRIPTS:S/$/.1/g} ${SSL_PROGRAMS:S/$/.1/g}
 SSL_MAN1PAGES+=                sslhandle.1
 SSL_MAN2PAGES=         ucspi-tls.2
@@ -44,7 +47,7 @@ DJB_CONFIG_CMDS=                                                      \
 # from `postconf -d | grep tls_medium_cipherlist`
 DEFAULT_MEDIUM_CIPHERS=        aNULL:-aNULL:HIGH:MEDIUM:+RC4:@STRENGTH
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man2 share/doc/${PKGBASE} ${EGDIR}
+INSTALLATION_DIRS=     bin include lib ${PKGMANDIR}/man1 ${PKGMANDIR}/man2 share/doc/${PKGBASE} ${EGDIR}
 
 .include "options.mk"
 
@@ -61,6 +64,14 @@ do-install: do-install-sslperl
          ${INSTALL_PROGRAM} ${WRKSRC}/command/${i} ${DESTDIR}${PREFIX}/bin
 .endfor
 
+.for i in ${SSL_LIBS}
+         ${INSTALL_DATA} ${WRKSRC}/compile/${i} ${DESTDIR}${PREFIX}/lib
+.endfor
+
+.for i in ${SSL_HEADERS}
+         ${INSTALL_DATA} ${WRKSRC}/compile/${i} ${DESTDIR}${PREFIX}/include
+.endfor
+
 .for i in ${SSL_MAN1PAGES}
          ${INSTALL_MAN} ${WRKSRC}/man/${i} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 .endfor

Index: pkgsrc/net/ucspi-ssl/PLIST
diff -u pkgsrc/net/ucspi-ssl/PLIST:1.7 pkgsrc/net/ucspi-ssl/PLIST:1.8
--- pkgsrc/net/ucspi-ssl/PLIST:1.7      Sat Dec  9 19:10:12 2023
+++ pkgsrc/net/ucspi-ssl/PLIST  Thu Aug  1 11:48:16 2024
@@ -1,10 +1,12 @@
-@comment $NetBSD: PLIST,v 1.7 2023/12/09 19:10:12 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.8 2024/08/01 11:48:16 schmonz Exp $
 bin/https@
 bin/sslcat
 bin/sslclient
 bin/sslconnect
 ${PLIST.perl}bin/sslperl
 bin/sslserver
+include/ucspissl.h
+lib/ucspissl.a
 man/man1/https@.1
 man/man1/sslcat.1
 man/man1/sslclient.1

Added files:

Index: pkgsrc/net/ucspi-ssl/buildlink3.mk
diff -u /dev/null pkgsrc/net/ucspi-ssl/buildlink3.mk:1.1
--- /dev/null   Thu Aug  1 11:48:16 2024
+++ pkgsrc/net/ucspi-ssl/buildlink3.mk  Thu Aug  1 11:48:16 2024
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2024/08/01 11:48:16 schmonz Exp $
+
+BUILDLINK_TREE+=       ucspi-ssl
+
+.if !defined(UCSPI_SSL_BUILDLINK3_MK)
+UCSPI_SSL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ucspi-ssl+=      ucspi-ssl>=0.999.12.10nb1
+BUILDLINK_PKGSRCDIR.ucspi-ssl?=                ../../net/ucspi-ssl
+BUILDLINK_DEPMETHOD.ucspi-ssl?=                build
+.endif # UCSPI_SSL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ucspi-ssl



Home | Main Index | Thread Index | Old Index