pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/bearssl



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Nov 27 19:52:11 UTC 2020

Modified Files:
        pkgsrc/security/bearssl: Makefile PLIST

Log Message:
Quell packaging warning by installing the shlib with ${INSTALL_LIB}.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/bearssl/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/bearssl/PLIST

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

Modified files:

Index: pkgsrc/security/bearssl/Makefile
diff -u pkgsrc/security/bearssl/Makefile:1.8 pkgsrc/security/bearssl/Makefile:1.9
--- pkgsrc/security/bearssl/Makefile:1.8        Mon Nov 16 07:43:25 2020
+++ pkgsrc/security/bearssl/Makefile    Fri Nov 27 19:52:11 2020
@@ -1,18 +1,23 @@
-# $NetBSD: Makefile,v 1.8 2020/11/16 07:43:25 schmonz Exp $
+# $NetBSD: Makefile,v 1.9 2020/11/27 19:52:11 schmonz Exp $
 
-DISTNAME=      bearssl-0.6
-PKGREVISION=   1
-CATEGORIES=    security
-MASTER_SITES=  ${HOMEPAGE}
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://bearssl.org/
-COMMENT=       Implementation of the SSL/TLS protocol (RFC 5246)
-LICENSE=       mit
+DISTNAME=              bearssl-0.6
+PKGREVISION=           1
+CATEGORIES=            security
+MASTER_SITES=          ${HOMEPAGE}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              https://bearssl.org/
+COMMENT=               Implementation of the SSL/TLS protocol (RFC 5246)
+LICENSE=               mit
 
 INSTALLATION_DIRS=     bin include lib
 
-LDFLAGS.SunOS+=        -lsocket -lnsl
+LDFLAGS.SunOS+=                -lsocket -lnsl
+
+OPSYSVARS+=            SOEXT
+SOEXT.Darwin=          dylib
+SOEXT.*=               so
+PLIST_SUBST+=          SOEXT=${SOEXT}
 
 pre-build:
        ${MKDIR} ${WRKSRC}/build/obj
@@ -23,7 +28,8 @@ do-install:
        cd ${WRKSRC}/inc && \
                ${INSTALL_DATA} *.h ${DESTDIR}${PREFIX}/include
        cd ${WRKSRC}/build && \
-               ${INSTALL_DATA} libbearssl.* ${DESTDIR}${PREFIX}/lib
+               ${INSTALL_DATA} libbearssl.a ${DESTDIR}${PREFIX}/lib && \
+               ${INSTALL_LIB} libbearssl.${SOEXT} ${DESTDIR}${PREFIX}/lib
 
 do-test:
        cd ${WRKSRC} && \

Index: pkgsrc/security/bearssl/PLIST
diff -u pkgsrc/security/bearssl/PLIST:1.4 pkgsrc/security/bearssl/PLIST:1.5
--- pkgsrc/security/bearssl/PLIST:1.4   Mon Nov 16 07:43:25 2020
+++ pkgsrc/security/bearssl/PLIST       Fri Nov 27 19:52:11 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2020/11/16 07:43:25 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/11/27 19:52:11 schmonz Exp $
 bin/brssl
 include/bearssl.h
 include/bearssl_aead.h
@@ -14,4 +14,4 @@ include/bearssl_rsa.h
 include/bearssl_ssl.h
 include/bearssl_x509.h
 lib/libbearssl.a
-lib/libbearssl.so
+lib/libbearssl.${SOEXT}



Home | Main Index | Thread Index | Old Index