blob: bb9eacffdd8e7007f877b15bf62f6f2b40db9a0f (
plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# $NetBSD: Makefile,v 1.8 2003/07/21 17:20:08 martti Exp $
#
DISTNAME= Fortify-1.4.6-unix-src
PKGNAME= fortify-1.4.6
CATEGORIES= security www
MASTER_SITES= ftp://ftp.fortify.net/pub/Fortify/ \
ftp://ftp.sage-au.org.au/pub/network/security/fortify/ \
ftp://ftp.gns.com.br/pub/fortify/ \
ftp://ftp.linux.hr/pub/fortify/ \
ftp://ftp.funet.fi/pub/crypt/mirrors/fortify/ \
ftp://ftp.win.or.jp/pub/network/security/fortify/ \
http://www.hensa.ac.uk/mirrors/ftp.fortify.net/pub/Fortify/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.fortify.net/
COMMENT= Patches Netscape binary to provide 128-bit cryptography
LICENSE= fee-based-commercial-use
FORTIFY_DIRS= alpha-dec-osf2.0 \
alpha-dec-osf3.2 \
alpha-dec-osf4.0 \
hppa1.1-hp-hpux10 \
hppa1.1-hp-hpux1010 \
hppa1.1-hp-hpux1020 \
mips-sgi-irix5.2 \
mips-sgi-irix5.3 \
mips-sgi-irix6.2 \
mips-sgi-irix6.5 \
ppc-unknown-linux2.0 \
ppc-unknown-linux2.2 \
ppc_rs6000-ibm-aix4 \
ppc_rs6000-ibm-aix41 \
sparc-sun-solaris2.3 \
sparc-sun-solaris2.4 \
sparc-sun-solaris2.5.1 \
sparc-sun-sunos4.1.3_U1 \
x86-bsdi-bsd \
x86-bsdi-bsd2 \
x86-sun-solaris2.4 \
x86-sun-solaris2.5.1 \
x86-unknown-bsd \
x86-unknown-freebsd \
x86-unknown-linux-elf \
x86-unknown-linux1.2 \
x86-unknown-linux2.0 \
x86-unknown-linux2.0_glibc2 \
x86-unknown-linux2.0_libc5 \
x86-unknown-linux2.2 \
languages
post-extract:
cd ${WRKSRC}; ${RMDIR} */bin
do-build:
cd ${WRKSRC}/src/common; \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
cd ${WRKSRC}/src/cmdline; \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
do-install:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
${FILESDIR}/fortify.sh > ${WRKDIR}/fortify.sh
${INSTALL_SCRIPT} ${WRKDIR}/fortify.sh ${PREFIX}/bin/fortify
${INSTALL_PROGRAM} ${WRKSRC}/src/cmdline/fortify ${PREFIX}/libexec
${INSTALL_DATA_DIR} ${PREFIX}/share/fortify
.for DIR in ${FORTIFY_DIRS}
cd ${WRKSRC} && ${PAX} -rw ${DIR} ${PREFIX}/share/fortify
.endfor
${INSTALL_DATA} ${WRKSRC}/Index ${PREFIX}/share/fortify
${LN} -sf languages/English ${PREFIX}/share/fortify/Messages
${CHMOD} -R go-w ${PREFIX}/share/fortify
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/fortify
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fortify
${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/doc/fortify
cd ${WRKSRC} && ${PAX} -rw images ${PREFIX}/share/doc/fortify
${CHMOD} -R go-w ${PREFIX}/share/doc/fortify
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/fortify
.include "../../mk/bsd.pkg.mk"
|