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

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

Diff for /pkgsrc/net/ucspi-ssl/Makefile between version 1.6 and 1.26

version 1.6, 2012/10/03 21:57:12 version 1.26, 2018/12/14 22:52:45
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=               ucspi-ssl-0.70  DISTNAME=               ucspi-ssl-0.10.7
 PKGREVISION=            4  PKGNAME=                ${DISTNAME:S/-0./-0.999./}
 CATEGORIES=             net  CATEGORIES=             net
 MASTER_SITES=           ${HOMEPAGE}  MASTER_SITES=           https://www.fehcom.de/ipnet/ucspi-ssl/
   EXTRACT_SUFX=           .tgz
   
 MAINTAINER=             schmonz@NetBSD.org  MAINTAINER=             schmonz@NetBSD.org
 HOMEPAGE=               http://www.superscript.com/ucspi-ssl/  HOMEPAGE=               https://www.fehcom.de/ipnet/ucspi-ssl.html
 COMMENT=                Command-line tools for SSL client-server applications  COMMENT=                Command-line tools for SSL client-server applications
   
 PKG_DESTDIR_SUPPORT=    user-destdir  WRKSRC=                 ${WRKDIR}/host/superscript.com/net/${DISTNAME}
   
 DEPENDS+=               ucspi-tcp-[0-9]*:../../net/ucspi-tcp  
   
 WRKSRC=                 ${WRKDIR}/host/superscript.com/net/${PKGNAME_NOREV}  
 DJB_SLASHPACKAGE=       YES  DJB_SLASHPACKAGE=       YES
 DJB_RESTRICTED=         no  DJB_RESTRICTED=         no
   
 SSL_SCRIPTS=            https@ sslcat sslconnect  SSL_SCRIPTS=            https@ sslcat sslconnect
 SSL_PROGRAMS=           sslclient sslserver  SSL_PROGRAMS=           sslclient sslserver
   SSL_MAN1PAGES=          ${SSL_SCRIPTS:S/$/.1/g} ${SSL_PROGRAMS:S/$/.1/g}
   SSL_MAN2PAGES=          ucspi-tls.2
   
 SUBST_CLASSES+=         paths  SUBST_CLASSES+=         prefix
 SUBST_STAGE.paths=      do-configure  SUBST_STAGE.prefix=     do-configure
 SUBST_FILES.paths=      ${SSL_SCRIPTS:S/^/src\//g:S/$/.sh/g}  SUBST_FILES.prefix=     ${SSL_SCRIPTS:S/^/src\//g:S/$/.sh/g}
 SUBST_SED.paths=        -e 's|HOME/command/|${PREFIX}/bin/|g'  SUBST_SED.prefix=       -e 's|HOME/command/|${PREFIX}/bin/|g'
 SUBST_MESSAGE.paths=    Fixing paths.  SUBST_MESSAGE.prefix=   Fixing prefix.
   
 PLIST_SRC=              ${PKGDIR}/PLIST  SUBST_CLASSES+=         etc
   SUBST_STAGE.etc=        do-configure
   SUBST_FILES.etc=        src/dns_rcrw.c
   SUBST_SED.etc=          -e 's|/etc/dnsrewrite|${PKG_SYSCONFBASE}/dnsrewrite|g'
   SUBST_MESSAGE.etc=      Fixing prefix.
   
   PKG_USERS_VARS+=        UCSPI_SSL_USER
   PKG_GROUPS_VARS+=       UCSPI_SSL_GROUP
   PKG_GROUPS+=            ${UCSPI_SSL_GROUP}
   PKG_USERS+=             ${UCSPI_SSL_USER}:${UCSPI_SSL_GROUP}
   
   BUILD_DEFS+=            PKG_SYSCONFBASE
   PKG_SYSCONFSUBDIR=      ${PKGBASE}
   
   EGDIR=                  ${PREFIX}/share/examples/${PKGBASE}
   MAKE_DIRS+=             ${PKG_SYSCONFDIR}
   CONF_FILES+=            ${EGDIR}/dh1024.pem ${PKG_SYSCONFDIR}/dh1024.pem
   
   DJB_CONFIG_DIR=         ${WRKSRC}
 DJB_CONFIG_CMDS=                                                        \  DJB_CONFIG_CMDS=                                                        \
         ${ECHO} ${LOCALBASE}/bin > conf-tcpbin;                         \          ${ECHO} ${PREFIX}/bin > conf-tcpbin;                            \
         ${ECHO} > conf-ssl;                                             \          ${ECHO} > conf-ssl;                                             \
         ${ECHO} ${PKG_SYSCONFDIR} > conf-cadir;          ${ECHO} ${SSLDIR}/certs > conf-cadir;                           \
           ${ECHO} ${PKG_SYSCONFDIR}/dh1024.pem > conf-dhfile;
   
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
   
 # from ../../security/openssl/Makefile  CFLAGS+=                -I${PREFIX}/include/qlibs
 .if ${OPSYS} == "NetBSD"  LDFLAGS+=               -L${PREFIX}/lib/qlibs
 PKG_SYSCONFDIR.ucspi-ssl?=      /etc/openssl  
 .endif  
 PKG_SYSCONFSUBDIR=      openssl  
   
 INSTALLATION_DIRS=      bin share/doc/ucspi-ssl  INSTALLATION_DIRS=      bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man2 share/doc/${PKGBASE} ${EGDIR}
   
 do-install:  do-install: do-install-sslperl
 .       for i in ${SSL_SCRIPTS}  .       for i in ${SSL_SCRIPTS}
           ${INSTALL_SCRIPT} ${WRKSRC}/command/${i} ${DESTDIR}${PREFIX}/bin            ${INSTALL_SCRIPT} ${WRKSRC}/command/${i} ${DESTDIR}${PREFIX}/bin
 .       endfor  .       endfor
Line 53  do-install:
Line 67  do-install:
           ${INSTALL_PROGRAM} ${WRKSRC}/command/${i} ${DESTDIR}${PREFIX}/bin            ${INSTALL_PROGRAM} ${WRKSRC}/command/${i} ${DESTDIR}${PREFIX}/bin
 .       endfor  .       endfor
   
 .       for i in CHANGES TODO UCSPI-SSL  .       for i in ${SSL_MAN1PAGES}
           ${INSTALL_DATA} ${WRKSRC}/src/${i} \            ${INSTALL_MAN} ${WRKSRC}/man/${i} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
             ${DESTDIR}${PREFIX}/share/doc/ucspi-ssl  .       endfor
   
   .       for i in ${SSL_MAN2PAGES}
             ${INSTALL_MAN} ${WRKSRC}/man/${i} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man2
   .       endfor
   
   .       for i in dh1024.pem
             ${INSTALL_DATA} ${WRKSRC}/etc/${i} ${DESTDIR}${EGDIR}
   .       endfor
   
   .       for i in CERTS CHAIN-SSL CHANGES TLSVERSION_CIPHERSUITES TLS_1_3 TODO UCSPI-SSL
             ${INSTALL_DATA} ${WRKSRC}/doc/${i} \
               ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 .       endfor  .       endfor
   
   .include "../../net/fehqlibs/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"  .include "../../security/openssl/buildlink3.mk"
   .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/djbware.mk"  .include "../../mk/djbware.mk"
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.26

CVSweb <webmaster@jp.NetBSD.org>