View | Details | Raw Unified | Return to bug 220158 | Differences between
and this patch

Collapse All | Expand All

(-)security/dropbear/Makefile (-2 / +105 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	dropbear
4
PORTNAME=	dropbear
5
PORTVERSION=	2016.74
5
PORTVERSION=	2017.75
6
CATEGORIES=	security ipv6
6
CATEGORIES=	security ipv6
7
MASTER_SITES=	http://matt.ucc.asn.au/dropbear/releases/
7
MASTER_SITES=	http://matt.ucc.asn.au/dropbear/releases/
8
8
Lines 19-26 Link Here
19
19
20
USE_RC_SUBR=	${PORTNAME}
20
USE_RC_SUBR=	${PORTNAME}
21
21
22
OPTIONS_DEFINE=	STATIC
22
OPTIONS_DEFINE=	DH_GROUP1 SMALL_CODE STATIC
23
OPTIONS_DEFAULT=	AES128 AES256 CTR RSA SHA2_256 SHA2_512 SMALL_CODE TWOFISH128 TWOFISH256
24
OPTIONS_MULTI=	ENC KEY MAC MODE
25
OPTIONS_MULTI_ENC=	AES128 3DES AES256 BLOWFISH TWOFISH256 TWOFISH128
26
OPTIONS_MULTI_MODE=	CBC CTR
27
OPTIONS_MULTI_KEY=	ECDSA DSA RSA
28
OPTIONS_MULTI_MAC=	MD5 SHA1 SHA1_96 SHA2_256 SHA2_512
23
29
30
3DES_DESC=	Enable 3DES-based encryption
31
3DES_IMPLIES=	CTR
32
AES128_DESC=	Enable AES128-based encryption
33
AES256_DESC=	Enable AES256-based encryption
34
TWOFISH128_DESC=	Enable Twofish128-based encryption
35
TWOFISH256_DESC=	Enable Twofish256-based encryption
36
BLOWFISH_DESC=	Enable Blowfish-based encryption
37
38
DH_GROUP1_DESC=	Enable Group1 Diffie-Hellman (less secure)
39
40
CBC_DESC=	Use CBC mode for ciphers (less secure)
41
CTR_DESC=	Use CTR mode for ciphers (more secure)
42
43
ECDSA_DESC=	Enable ECDSA public key support
44
DSA_DESC=	Enable DSA public key support
45
RSA_DESC=	Enable RSA public key support
46
47
MD5_DESC=	Enable MD5 MAC (broken)
48
SHA1_DESC=	Enable SHA1 MAC (less secure)
49
SHA1_96_DESC=	Enable SHA1_96 MAC (less secure)
50
SHA2_256_DESC=	Enable SHA2_256 MAC
51
SHA2_512_DESC=	Enable SHA2_512 MAC
52
53
SMALL_CODE_DESC=	Make binary smaller in exchange for 50% performance hit
54
24
STATIC_LDFLAGS=	-static
55
STATIC_LDFLAGS=	-static
25
56
26
post-patch:
57
post-patch:
Lines 30-35 Link Here
30
	@${REINPLACE_CMD} -e "s,make clean,\$${MAKE} clean," \
61
	@${REINPLACE_CMD} -e "s,make clean,\$${MAKE} clean," \
31
				${WRKSRC}/libtomcrypt/Makefile.in
62
				${WRKSRC}/libtomcrypt/Makefile.in
32
63
64
post-patch-SMALL_CODE-off:
65
	@${REINPLACE_CMD} -e "/#define DROPBEAR_SMALL_CODE/d" \
66
		${WRKSRC}/options.h
67
68
post-patch-3DES-off:
69
	@${REINPLACE_CMD} -e "/#define DROPBEAR_3DES/d" \
70
		${WRKSRC}/options.h
71
72
post-patch-AES128-off:
73
	@${REINPLACE_CMD} -e "/#define DROPBEAR_AES128/d" \
74
		${WRKSRC}/options.h
75
76
post-patch-AES256-off:
77
	@${REINPLACE_CMD} -e "/#define DROPBEAR_AES256/d" \
78
		${WRKSRC}/options.h
79
80
post-patch-TWOFISH256-off:
81
	@${REINPLACE_CMD} -e "/#define DROPBEAR_TWOFISH256/d" \
82
		${WRKSRC}/options.h
83
84
post-patch-TWOFISH128-off:
85
	@${REINPLACE_CMD} -e "/#define DROPBEAR_TWOFISH128/d" \
86
		${WRKSRC}/options.h
87
88
post-patch-BLOWFISH-on:
89
	@${REINPLACE_CMD} -e "s,/\*#define DROPBEAR_BLOWFISH\*/,#define DROPBEAR_BLOWFISH,g" \
90
		${WRKSRC}/options.h
91
92
post-patch-CBC-off:
93
	@${REINPLACE_CMD} -e "/#define DROPBEAR_ENABLE_CBC_MODE/d" \
94
		${WRKSRC}/options.h
95
96
post-patch-CTR-off:
97
	@${REINPLACE_CMD} -e "/#define DROPBEAR_ENABLE_CTR_MODE/d" \
98
		${WRKSRC}/options.h
99
100
post-patch-DH_GROUP1-off:
101
	@${REINPLACE_CMD} -e "/#define DROPBEAR_DH_GROUP1 1/d" \
102
		${WRKSRC}/options.h
103
104
post-patch-DSA-off:
105
	@${REINPLACE_CMD} -e "/#define DROPBEAR_DSS/d" \
106
		${WRKSRC}/options.h
107
108
post-patch-RSA-off:
109
	@${REINPLACE_CMD} -e "/#define DROPBEAR_RSA/d" \
110
		${WRKSRC}/options.h
111
112
post-patch-ECDSA-off:
113
	@${REINPLACE_CMD} -e "/#define DROPBEAR_ECDSA/d" \
114
		${WRKSRC}/options.h
115
116
post-patch-MD5-off:
117
	@${REINPLACE_CMD} -e "/#define DROPBEAR_MD5_HMAC/d" \
118
		${WRKSRC}/options.h
119
120
post-patch-SHA1-off:
121
	@${REINPLACE_CMD} -e "/#define DROPBEAR_SHA1_HMAC/d" \
122
		${WRKSRC}/options.h
123
124
post-patch-SHA1_96-off:
125
	@${REINPLACE_CMD} -e "/#define DROPBEAR_SHA1_96_HMAC/d" \
126
		${WRKSRC}/options.h
127
128
post-patch-SHA2_256-off:
129
	@${REINPLACE_CMD} -e "/#define DROPBEAR_SHA2_256_HMAC/d" \
130
		${WRKSRC}/options.h
131
132
post-patch-SHA2_512-off:
133
	@${REINPLACE_CMD} -e "/#define DROPBEAR_SHA2_512_HMAC/d" \
134
		${WRKSRC}/options.h
135
33
do-install:
136
do-install:
34
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/dropbear
137
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/dropbear
35
	${INSTALL_PROGRAM} ${WRKSRC}/dbclient ${STAGEDIR}${PREFIX}/bin
138
	${INSTALL_PROGRAM} ${WRKSRC}/dbclient ${STAGEDIR}${PREFIX}/bin
(-)security/dropbear/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1469201269
1
TIMESTAMP = 1497947793
2
SHA256 (dropbear-2016.74.tar.bz2) = 2720ea54ed009af812701bcc290a2a601d5c107d12993e5d92c0f5f81f718891
2
SHA256 (dropbear-2017.75.tar.bz2) = 6cbc1dcb1c9709d226dff669e5604172a18cf5dbf9a201474d5618ae4465098c
3
SIZE (dropbear-2016.74.tar.bz2) = 1622234
3
SIZE (dropbear-2017.75.tar.bz2) = 1623392

Return to bug 220158