View | Details | Raw Unified | Return to bug 70444
Collapse All | Expand All

(-)/home/clsung/botan/Makefile (-9 / +8 lines)
Lines 7-24 Link Here
7
#
7
#
8
8
9
PORTNAME=	botan
9
PORTNAME=	botan
10
PORTVERSION=	1.2.8
10
PORTVERSION=	1.4.0
11
PORTREVISION=	1
11
PORTREVISION=	0
12
CATEGORIES=	security
12
CATEGORIES=	security
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITES=	http://botan.randombit.net/
14
MASTER_SITE_SUBDIR=	opencl
14
MASTER_SITE_SUBDIR=	files
15
DISTNAME=	Botan-${PORTVERSION}
15
DISTNAME=	Botan-${PORTVERSION}
16
EXTRACT_SUFX=	.tgz
16
EXTRACT_SUFX=	.tgz
17
17
18
MAINTAINER=	clsung@dragon2.net
18
MAINTAINER=	clsung@dragon2.net
19
COMMENT=	A portable, easy to use, and efficient C++ crypto library
19
COMMENT=	A portable, easy to use, and efficient C++ crypto library
20
20
21
USE_REINPLACE=	yes
22
USE_PERL5=	yes
21
USE_PERL5=	yes
23
HAS_CONFIGURE=	yes
22
HAS_CONFIGURE=	yes
24
CONFIGURE_SCRIPT=	configure.pl
23
CONFIGURE_SCRIPT=	configure.pl
Lines 32-44 Link Here
32
31
33
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
34
33
34
.if ${OSVERSION} >= 500035
35
CONFIGURE_ARGS+=	--noauto
36
.endif
37
35
.if ${PERL_LEVEL} < 500601
38
.if ${PERL_LEVEL} < 500601
36
BUILD_DEPENDS=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
39
BUILD_DEPENDS=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
37
RUN_DEPENDS=	${BUILD_DEPENDS}
40
RUN_DEPENDS=	${BUILD_DEPENDS}
38
.endif
41
.endif
39
40
post-patch:
41
	@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g ; \
42
		s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/${CONFIGURE_SCRIPT}
43
42
44
.include <bsd.port.post.mk>
43
.include <bsd.port.post.mk>
(-)/home/clsung/botan/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (Botan-1.2.8.tgz) = dc84a09cad3e354bc21427b2baf3bb24
1
MD5 (Botan-1.4.0.tgz) = 3154cdeecd2f65fa221cd9b5848b1fb2
2
SIZE (Botan-1.2.8.tgz) = 1249358
2
SIZE (Botan-1.4.0.tgz) = 1403507
(-)/home/clsung/botan/files/patch-configure.pl (-10 / +14 lines)
Lines 1-11 Link Here
1
--- configure.pl.orig	Fri May 10 10:03:25 2002
1
--- configure.pl.orig	Sat Jun 26 14:32:52 2004
2
+++ configure.pl	Fri May 10 10:03:35 2002
2
+++ configure.pl	Tue Jul 27 09:58:45 2004
3
@@ -1705,7 +1705,7 @@
3
@@ -2007,7 +2007,11 @@
4
 DOCDIR        = \$(INSTALLROOT)/$doc_dir/OpenCL-\$(VERSION)
4
    my $link_to = "-lm";
5
 
5
    foreach my $lib (@{ $lib_list })
6
 OWNER         = root
6
    {
7
-GROUP         = root
7
-       $link_to .= " -l" . $lib;
8
+GROUP         = wheel
8
+       if ($lib =~ m/pthread/) {
9
 DATA_MODE     = 644
9
+	   $link_to .= " -" . $lib;
10
 EXEC_MODE     = 755
10
+       } else {
11
+	   $link_to .= " -l" . $lib;
12
+       }
13
    }
11
 
14
 
15
    ##################################################
(-)/home/clsung/botan/files/patch-modules::tm_posix.cpp (+11 lines)
Line 0 Link Here
1
--- modules/tm_posix/tm_posix.cpp.orig	Sat Jun 26 14:32:53 2004
2
+++ modules/tm_posix/tm_posix.cpp	Tue Jul 27 09:59:44 2004
3
@@ -6,7 +6,7 @@
4
 #define _POSIX_C_SOURCE 199309
5
 #include <botan/tm_posix.h>
6
 #include <botan/util.h>
7
-#include <time.h>
8
+#include <sys/time.h>
9
 
10
 #ifndef CLOCK_REALTIME
11
   #define CLOCK_REALTIME 0
(-)/home/clsung/botan/pkg-plist (-10 / +23 lines)
Lines 28-34 Link Here
28
include/botan/crc24.h
28
include/botan/crc24.h
29
include/botan/crc32.h
29
include/botan/crc32.h
30
include/botan/crl_ent.h
30
include/botan/crl_ent.h
31
include/botan/cscipher.h
32
include/botan/ctr.h
31
include/botan/ctr.h
33
include/botan/cts.h
32
include/botan/cts.h
34
include/botan/data_snk.h
33
include/botan/data_snk.h
Lines 44-57 Link Here
44
include/botan/eax.h
43
include/botan/eax.h
45
include/botan/ecb.h
44
include/botan/ecb.h
46
include/botan/elgamal.h
45
include/botan/elgamal.h
47
include/botan/emac.h
48
include/botan/eme.h
46
include/botan/eme.h
49
include/botan/emsa.h
47
include/botan/emsa.h
48
include/botan/eng_def.h
49
include/botan/engine.h
50
include/botan/enums.h
50
include/botan/enums.h
51
include/botan/es_egd.h
51
include/botan/es_file.h
52
include/botan/es_file.h
53
include/botan/es_ftw.h
54
include/botan/es_unix.h
52
include/botan/exceptn.h
55
include/botan/exceptn.h
56
include/botan/fd_unix.h
53
include/botan/filter.h
57
include/botan/filter.h
54
include/botan/filters.h
58
include/botan/filters.h
59
include/botan/fips140.h
60
include/botan/fips_rng.h
55
include/botan/gost.h
61
include/botan/gost.h
56
include/botan/has160.h
62
include/botan/has160.h
57
include/botan/haval.h
63
include/botan/haval.h
Lines 71-94 Link Here
71
include/botan/md2.h
77
include/botan/md2.h
72
include/botan/md4.h
78
include/botan/md4.h
73
include/botan/md5.h
79
include/botan/md5.h
74
include/botan/md5mac.h
75
include/botan/mdx_hash.h
80
include/botan/mdx_hash.h
76
include/botan/mem_ops.h
81
include/botan/mem_ops.h
77
include/botan/mgf1.h
82
include/botan/mgf1.h
78
include/botan/misty1.h
83
include/botan/misty1.h
84
include/botan/mmap_mem.h
79
include/botan/mod_exp.h
85
include/botan/mod_exp.h
80
include/botan/mode_pad.h
86
include/botan/mode_pad.h
81
include/botan/modebase.h
87
include/botan/modebase.h
82
include/botan/mp_core.h
88
include/botan/mp_core.h
83
include/botan/mp_impl.h
89
include/botan/mp_madd.h
84
include/botan/mp_mul.h
85
include/botan/mp_types.h
90
include/botan/mp_types.h
86
include/botan/mutex.h
91
include/botan/mutex.h
92
include/botan/mux_pthr.h
87
include/botan/nr.h
93
include/botan/nr.h
88
include/botan/numthry.h
94
include/botan/numthry.h
89
include/botan/ofb.h
95
include/botan/ofb.h
90
include/botan/oids.h
96
include/botan/oids.h
91
include/botan/omac.h
97
include/botan/omac.h
98
include/botan/openpgp.h
92
include/botan/par_hash.h
99
include/botan/par_hash.h
93
include/botan/pbe.h
100
include/botan/pbe.h
94
include/botan/pbe_pkcs.h
101
include/botan/pbe_pkcs.h
Lines 96-103 Link Here
96
include/botan/pgp_s2k.h
103
include/botan/pgp_s2k.h
97
include/botan/pipe.h
104
include/botan/pipe.h
98
include/botan/pk_algs.h
105
include/botan/pk_algs.h
106
include/botan/pk_core.h
99
include/botan/pk_filts.h
107
include/botan/pk_filts.h
100
include/botan/pk_keys.h
108
include/botan/pk_keys.h
109
include/botan/pk_ops.h
101
include/botan/pk_util.h
110
include/botan/pk_util.h
102
include/botan/pkcs10.h
111
include/botan/pkcs10.h
103
include/botan/pkcs5.h
112
include/botan/pkcs5.h
Lines 123-139 Link Here
123
include/botan/sha160.h
132
include/botan/sha160.h
124
include/botan/sha256.h
133
include/botan/sha256.h
125
include/botan/sha_64.h
134
include/botan/sha_64.h
126
include/botan/shark.h
127
include/botan/skipjack.h
135
include/botan/skipjack.h
128
include/botan/square.h
136
include/botan/square.h
129
include/botan/ssl3_mac.h
137
include/botan/ssl3_mac.h
130
include/botan/symkey.h
138
include/botan/symkey.h
131
include/botan/tea.h
139
include/botan/tea.h
132
include/botan/threeway.h
133
include/botan/tiger.h
140
include/botan/tiger.h
134
include/botan/timers.h
141
include/botan/timers.h
142
include/botan/tm_posix.h
143
include/botan/tm_unix.h
135
include/botan/twofish.h
144
include/botan/twofish.h
136
include/botan/types.h
145
include/botan/types.h
146
include/botan/ui.h
147
include/botan/unix_cmd.h
137
include/botan/util.h
148
include/botan/util.h
138
include/botan/version.h
149
include/botan/version.h
139
include/botan/whrlpool.h
150
include/botan/whrlpool.h
Lines 148-164 Link Here
148
include/botan/x917_rng.h
159
include/botan/x917_rng.h
149
include/botan/x919_mac.h
160
include/botan/x919_mac.h
150
include/botan/xtea.h
161
include/botan/xtea.h
151
lib/libbotan-1.2.8.so
162
lib/libbotan-1.4.0.so
152
lib/libbotan-1.2.so
163
lib/libbotan-1.4.so
153
lib/libbotan-1.so
164
lib/libbotan-1.so
154
lib/libbotan.a
165
lib/libbotan.a
155
lib/libbotan.so
166
lib/libbotan.so
156
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/api.pdf
167
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/api.pdf
157
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/api.tex
168
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/api.tex
158
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/botan.rc
159
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/authors.txt
169
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/authors.txt
170
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/botan.rc
160
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/bugs.txt
171
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/bugs.txt
161
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/deprecated.txt
172
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/deprecated.txt
173
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/fips140.pdf
174
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/fips140.tex
162
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/license.txt
175
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/license.txt
163
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/log.txt
176
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/log.txt
164
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/pgpkeys.asc
177
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/pgpkeys.asc

Return to bug 70444