mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
- update to 1.4.4
- add an extra-patch for gcc295, a quick and dirty patch I thought...
This commit is contained in:
parent
51f07782e0
commit
87ddd82202
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129063
@ -7,20 +7,21 @@
|
||||
#
|
||||
|
||||
PORTNAME= botan
|
||||
PORTVERSION= 1.4.0
|
||||
PORTVERSION= 1.4.4
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://botan.randombit.net/files/
|
||||
DISTNAME= Botan-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
EXTRACT_SUFX= .tbz
|
||||
|
||||
MAINTAINER= clsung@FreeBSD.org
|
||||
COMMENT= A portable, easy to use, and efficient C++ crypto library
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_PERL5= yes
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_SCRIPT= configure.pl
|
||||
CONFIGURE_ARGS= gcc-freebsd-generic
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} gcc-freebsd-generic
|
||||
USE_GMAKE= yes
|
||||
MAKE_ARGS= CXX="${CXX}" LIB_OPT="${CXXFLAGS}" \
|
||||
LANG_FLAGS="-fpermissive"
|
||||
@ -28,13 +29,21 @@ INSTALLS_SHLIB= yes
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
DOCSDIR= ${PREFIX}/share/doc/Botan-${PORTVERSION}
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500035
|
||||
CONFIGURE_ARGS+= --noauto
|
||||
PLIST_SUB+= OS_4="@comment "
|
||||
.else
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include::mem_pool.h-gcc295
|
||||
PLIST_SUB+= OS_4=""
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name '*.orig' -delete
|
||||
.endif
|
||||
|
||||
.if ${PERL_LEVEL} < 500601
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (Botan-1.4.0.tgz) = 3154cdeecd2f65fa221cd9b5848b1fb2
|
||||
SIZE (Botan-1.4.0.tgz) = 1403507
|
||||
MD5 (Botan-1.4.4.tbz) = 804ed83275876e878e28a279350a3473
|
||||
SIZE (Botan-1.4.4.tbz) = 1338781
|
||||
|
12
security/botan/files/extra-patch-include::mem_pool.h-gcc295
Normal file
12
security/botan/files/extra-patch-include::mem_pool.h-gcc295
Normal file
@ -0,0 +1,12 @@
|
||||
--- include/mem_pool.h.orig Fri Dec 3 12:38:48 2004
|
||||
+++ include/mem_pool.h Tue Feb 15 15:09:51 2005
|
||||
@@ -63,7 +63,9 @@
|
||||
bool same_buffer(Buffer&, Buffer&) const;
|
||||
void remove_empty_buffers(std::vector<Buffer>&) const;
|
||||
|
||||
+ public:
|
||||
static bool buffer_cmp(const Buffer&, const Buffer&);
|
||||
+ private:
|
||||
static bool is_empty_buffer(const Buffer&);
|
||||
|
||||
const u32bit PREF_SIZE, ALIGN_TO;
|
@ -2,6 +2,7 @@
|
||||
bin/botan-config
|
||||
include/botan/adler32.h
|
||||
include/botan/aes.h
|
||||
include/botan/algolist.h
|
||||
include/botan/allocate.h
|
||||
include/botan/arc4.h
|
||||
include/botan/asn1.h
|
||||
@ -9,6 +10,7 @@ include/botan/asn1_obj.h
|
||||
include/botan/asn1_oid.h
|
||||
include/botan/barrett.h
|
||||
include/botan/base.h
|
||||
include/botan/base_eng.h
|
||||
include/botan/base64.h
|
||||
include/botan/basefilt.h
|
||||
include/botan/ber_dec.h
|
||||
@ -23,6 +25,7 @@ include/botan/cast256.h
|
||||
include/botan/cbc.h
|
||||
include/botan/certstor.h
|
||||
include/botan/cfb.h
|
||||
include/botan/charset.h
|
||||
include/botan/conf.h
|
||||
include/botan/config.h
|
||||
include/botan/crc24.h
|
||||
@ -32,6 +35,7 @@ include/botan/ctr.h
|
||||
include/botan/cts.h
|
||||
include/botan/data_snk.h
|
||||
include/botan/data_src.h
|
||||
include/botan/def_eng.h
|
||||
include/botan/defalloc.h
|
||||
include/botan/der_enc.h
|
||||
include/botan/des.h
|
||||
@ -45,7 +49,6 @@ include/botan/ecb.h
|
||||
include/botan/elgamal.h
|
||||
include/botan/eme.h
|
||||
include/botan/emsa.h
|
||||
include/botan/eng_def.h
|
||||
include/botan/engine.h
|
||||
include/botan/enums.h
|
||||
%%OS_4%%include/botan/es_egd.h
|
||||
@ -60,6 +63,7 @@ include/botan/fips140.h
|
||||
include/botan/fips_rng.h
|
||||
include/botan/gost.h
|
||||
include/botan/has160.h
|
||||
include/botan/hash_id.h
|
||||
include/botan/haval.h
|
||||
include/botan/hex.h
|
||||
include/botan/hmac.h
|
||||
@ -79,6 +83,7 @@ include/botan/md4.h
|
||||
include/botan/md5.h
|
||||
include/botan/mdx_hash.h
|
||||
include/botan/mem_ops.h
|
||||
include/botan/mem_pool.h
|
||||
include/botan/mgf1.h
|
||||
include/botan/misty1.h
|
||||
%%OS_4%%include/botan/mmap_mem.h
|
||||
@ -133,13 +138,13 @@ include/botan/sha160.h
|
||||
include/botan/sha256.h
|
||||
include/botan/sha_64.h
|
||||
include/botan/skipjack.h
|
||||
include/botan/socket.h
|
||||
include/botan/square.h
|
||||
include/botan/ssl3_mac.h
|
||||
include/botan/symkey.h
|
||||
include/botan/tea.h
|
||||
include/botan/tiger.h
|
||||
include/botan/timers.h
|
||||
%%OS_4%%include/botan/tm_posix.h
|
||||
%%OS_4%%include/botan/tm_unix.h
|
||||
include/botan/twofish.h
|
||||
include/botan/types.h
|
||||
@ -159,27 +164,9 @@ include/botan/x509stor.h
|
||||
include/botan/x917_rng.h
|
||||
include/botan/x919_mac.h
|
||||
include/botan/xtea.h
|
||||
lib/libbotan-1.4.0.so
|
||||
lib/libbotan-1.4.4.so
|
||||
lib/libbotan-1.4.so
|
||||
lib/libbotan-1.so
|
||||
lib/libbotan.a
|
||||
lib/libbotan.so
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/api.pdf
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/api.tex
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/authors.txt
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/botan.rc
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/bugs.txt
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/deprecated.txt
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/fips140.pdf
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/fips140.tex
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/license.txt
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/log.txt
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/pgpkeys.asc
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/readme.txt
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/rngs.txt
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/thanks.txt
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/todo.txt
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/tutorial.pdf
|
||||
%%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%/tutorial.tex
|
||||
@dirrm include/botan
|
||||
@dirrm %%PORTDOCS%%share/doc/Botan-%%PORTVERSION%%
|
||||
|
Loading…
Reference in New Issue
Block a user