[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / ucspi-ssl

Annotation of pkgsrc/net/ucspi-ssl/Makefile, Revision 1.29

1.29    ! schmonz     1: # $NetBSD: Makefile,v 1.28 2019/01/18 18:18:38 schmonz Exp $
1.1       schmonz     2: #
                      3:
1.29    ! schmonz     4: DISTNAME=              ucspi-ssl-0.10.8
1.24      schmonz     5: PKGNAME=               ${DISTNAME:S/-0./-0.999./}
1.1       schmonz     6: CATEGORIES=            net
1.19      schmonz     7: MASTER_SITES=          https://www.fehcom.de/ipnet/ucspi-ssl/
1.15      schmonz     8: EXTRACT_SUFX=          .tgz
1.1       schmonz     9:
                     10: MAINTAINER=            schmonz@NetBSD.org
1.19      schmonz    11: HOMEPAGE=              https://www.fehcom.de/ipnet/ucspi-ssl.html
1.1       schmonz    12: COMMENT=               Command-line tools for SSL client-server applications
                     13:
1.24      schmonz    14: WRKSRC=                        ${WRKDIR}/host/superscript.com/net/${DISTNAME}
1.1       schmonz    15: DJB_SLASHPACKAGE=      YES
1.5       schmonz    16: DJB_RESTRICTED=                no
1.1       schmonz    17:
                     18: SSL_SCRIPTS=           https@ sslcat sslconnect
1.2       schmonz    19: SSL_PROGRAMS=          sslclient sslserver
1.19      schmonz    20: SSL_MAN1PAGES=         ${SSL_SCRIPTS:S/$/.1/g} ${SSL_PROGRAMS:S/$/.1/g}
                     21: SSL_MAN2PAGES=         ucspi-tls.2
1.1       schmonz    22:
1.19      schmonz    23: PKG_USERS_VARS+=       UCSPI_SSL_USER
                     24: PKG_GROUPS_VARS+=      UCSPI_SSL_GROUP
                     25: PKG_GROUPS+=           ${UCSPI_SSL_GROUP}
                     26: PKG_USERS+=            ${UCSPI_SSL_USER}:${UCSPI_SSL_GROUP}
                     27:
                     28: BUILD_DEFS+=           PKG_SYSCONFBASE
                     29: PKG_SYSCONFSUBDIR=     ${PKGBASE}
                     30:
                     31: EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
                     32: MAKE_DIRS+=            ${PKG_SYSCONFDIR}
                     33: CONF_FILES+=           ${EGDIR}/dh1024.pem ${PKG_SYSCONFDIR}/dh1024.pem
1.1       schmonz    34:
1.15      schmonz    35: DJB_CONFIG_DIR=                ${WRKSRC}
1.1       schmonz    36: DJB_CONFIG_CMDS=                                                       \
1.15      schmonz    37:        ${ECHO} ${PREFIX}/bin > conf-tcpbin;                            \
1.1       schmonz    38:        ${ECHO} > conf-ssl;                                             \
1.19      schmonz    39:        ${ECHO} ${SSLDIR}/certs > conf-cadir;                           \
1.27      schmonz    40:        ${ECHO} ${PKG_SYSCONFDIR}/dh1024.pem > conf-dhfile;             \
1.28      schmonz    41:        ${ECHO} ${DEFAULT_MEDIUM_CIPHERS} > conf-ciphers;
1.27      schmonz    42:
1.28      schmonz    43: # from `postconf -d | grep tls_medium_cipherlist`
                     44: DEFAULT_MEDIUM_CIPHERS=        aNULL:-aNULL:ALL:!EXPORT:!LOW:+RC4:@STRENGTH
1.1       schmonz    45:
                     46: .include "../../mk/bsd.prefs.mk"
                     47:
1.24      schmonz    48: CFLAGS+=               -I${PREFIX}/include/qlibs
                     49: LDFLAGS+=              -L${PREFIX}/lib/qlibs
                     50:
1.19      schmonz    51: INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man2 share/doc/${PKGBASE} ${EGDIR}
1.1       schmonz    52:
1.19      schmonz    53: do-install: do-install-sslperl
1.1       schmonz    54: .      for i in ${SSL_SCRIPTS}
1.5       schmonz    55:          ${INSTALL_SCRIPT} ${WRKSRC}/command/${i} ${DESTDIR}${PREFIX}/bin
1.1       schmonz    56: .      endfor
                     57:
1.2       schmonz    58: .      for i in ${SSL_PROGRAMS}
1.5       schmonz    59:          ${INSTALL_PROGRAM} ${WRKSRC}/command/${i} ${DESTDIR}${PREFIX}/bin
1.1       schmonz    60: .      endfor
                     61:
1.19      schmonz    62: .      for i in ${SSL_MAN1PAGES}
                     63:          ${INSTALL_MAN} ${WRKSRC}/man/${i} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
                     64: .      endfor
                     65:
                     66: .      for i in ${SSL_MAN2PAGES}
                     67:          ${INSTALL_MAN} ${WRKSRC}/man/${i} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man2
                     68: .      endfor
                     69:
                     70: .      for i in dh1024.pem
                     71:          ${INSTALL_DATA} ${WRKSRC}/etc/${i} ${DESTDIR}${EGDIR}
                     72: .      endfor
                     73:
1.24      schmonz    74: .      for i in CERTS CHAIN-SSL CHANGES TLSVERSION_CIPHERSUITES TLS_1_3 TODO UCSPI-SSL
1.15      schmonz    75:          ${INSTALL_DATA} ${WRKSRC}/doc/${i} \
1.19      schmonz    76:            ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
1.1       schmonz    77: .      endfor
                     78:
1.24      schmonz    79: .include "../../net/fehqlibs/buildlink3.mk"
1.1       schmonz    80: .include "../../security/openssl/buildlink3.mk"
1.17      schmonz    81: .include "../../mk/dlopen.buildlink3.mk"
1.1       schmonz    82: .include "../../mk/djbware.mk"
                     83: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>