aboutsummaryrefslogtreecommitdiffstats
path: root/security/rsaref/Makefile
blob: 6f15ea7a40c7be2212132b1db47d8e485e5cea84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# New ports collection makefile for:    rsaref
# Date created:     2 Feb 1997
# Whom:         ache
#
# $FreeBSD$
#

PORTNAME=   rsaref
PORTVERSION=    2.0
CATEGORIES= security
MASTER_SITES=   ftp://ftp.deva.net/pub/sources/crypto/ \
        ftp://ftp.kddlabs.co.jp/.7/inet/caida/bmwt/ \
        ftp://ftp.zedz.net/pub/crypto/crypto/LIBS/rsa/ \
        ftp://ftp.hacktic.nl/pub/crypto/crypto/LIBS/rsa/ \
        ftp://ftp.demon.net/pub/mirrors/crypto/replay/crypto/LIBS/rsa/ \
        ftp://ftp.jyu.fi/.3/ftp.zedz.net/pub/replay/crypto/LIBS/rsa/ \
        ftp://ftp.funet.fi/pub/mirrors/utopia.hacktic.nl/crypto/LIBS/rsa/ \
        ftp://ftp.fu-berlin.de/unix/security/replay-mirror/crypto/LIBS/rsa/
DISTNAME=   rsaref20.1996
EXTRACT_SUFX=   .tar.Z

MAINTAINER= kris@FreeBSD.ORG

WRKSRC=     ${WRKDIR}/source
RESTRICTED= "Contains cryptography"

pre-extract:
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
    /usr/bin/more -e ${FILESDIR}/LICENSE.english
    /usr/bin/dialog --yesno "Do you accept the terms of the RSAREF license agreement and wish to proceed with the build?" 8 40 || ${FALSE}
.endif

pre-configure:
    ${CP} ${FILESDIR}/Makefile ${WRKSRC}
    cd ${WRKSRC} && \
        ${CP} des.h _des.h && \
        ${CP} md2.h _md2.h && \
        ${CP} md5.h _md5.h

do-install:
.for file in rsa.h _des.h _md2.h _md5.h rsaref.h global.h
    ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include
.endfor
    ${INSTALL_DATA} ${WRKSRC}/librsaref.a ${WRKSRC}/librsaref.so.2 \
        ${PREFIX}/lib
    ln -sf librsaref.so.2 ${PREFIX}/lib/librsaref.so
    ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/rsaref
.for file in info.txt rsaref.txt
    ${INSTALL_DATA} ${WRKSRC}/../doc/${file} ${PREFIX}/share/doc/rsaref
.endfor
.endif

.include <bsd.port.mk>
'2017-05-16 21:37:51 +0800'>2017-05-161-1/+1 * Update to 5.2.7.jkim2017-05-051-5/+5 * Chase ffmpeg 3.3 update (ABI changes)riggs2017-04-252-1/+2 * - Revert the php7 switch, we can't force users to switch to php7 yet.miwi2017-04-251-1/+0 * - Update to 4.7.4miwi2017-04-252-4/+5 * - Fix sanity check by adding correct categorymiwi2017-04-211-1/+1 * - Repocopy www/wordpress -> french/wordpressmiwi2017-04-215-0/+72 * Rename the magic DISTVERSION into SPELLVERSION for the aspell ports.mat2017-04-121-1/+1 * Bump PORTREVISIONs for ports depending on the canonical version of GCC andgerald2017-04-013-3/+3 * Update to 5.2.6.jkim2017-03-281-5/+5 * Update to 5.2.5.jkim2017-02-011-5/+5 * Unbreak after the upgrade of Gcc to 4.9.thierry2017-01-233-2/+11 * Shebangfix only the target of the symlink, not the symlinkantoine2017-01-201-1/+1 * Update to 5.2.4.jkim2017-01-021-5/+5 * Remove BROKEN_FreeBSD_9sunpoet2017-01-011-1/+0 * - Mark BROKEN on 9.x and 12.x:amdmi32016-12-251-0/+3 * Update to 0.1.44: fixes to the *croitre verbs; options --mode andnaddy2016-12-102-3/+4 * Bump PORTREVISIONS for ports depending on the canonical version of GCC andgerald2016-12-072-0/+2 * - Update to 5.7sunpoet2016-11-212-3/+4 * Bump PORTREVISIONS for ports depending on the canonical version of GCC andgerald2016-11-201-0/+1 * devel/eric6: update to 6.1.11dbn2016-11-191-3/+3 * Upgrade Code_Aster to 12.0.6-4.thierry2016-11-1322-9591/+11195 * Update libreoffice to 5.2.3 and liborcus to 0.11.2bapt2016-11-121-4/+5 * ${RM} already has -f.mat2016-10-211-2/+2 * devel/eric6: update to 6.1.10.dbn2016-10-101-3/+3 * Revert recent strfile changes, strfile is already in baseantoine2016-09-151-5/+9 * french/fortune-mod-zarathoustra: Use fortune_strfile instead of strfile(8)marino2016-09-141-9/+5 * devel/eric6: update to 6.1.9dbn2016-09-061-3/+3 * - Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk withtijl2016-09-061-2/+1 * devel/eric6: update to 6.1.8.dbn2016-08-201-3/+3