Thu Sep 8 00:15:50 2011 UTC ()
Strictler template usage. Bump revision.
(joerg)
diff -r1.23 -r1.24 pkgsrc/security/botan/Makefile
diff -r1.8 -r1.9 pkgsrc/security/botan/distinfo
diff -r0 -r1.1 pkgsrc/security/botan/patches/patch-src-alloc-secmem.h
--- pkgsrc/security/botan/Attic/Makefile 2011/05/10 13:01:01 1.23
+++ pkgsrc/security/botan/Attic/Makefile 2011/09/08 00:15:50 1.24
| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.23 2011/05/10 13:01:01 reed Exp $ | | 1 | # $NetBSD: Makefile,v 1.24 2011/09/08 00:15:50 joerg Exp $ |
2 | | | 2 | |
3 | DISTNAME= Botan-1.8.7 | | 3 | DISTNAME= Botan-1.8.7 |
4 | PKGNAME= botan-1.8.7 | | 4 | PKGNAME= botan-1.8.7 |
5 | PKGREVISION= 3 | | 5 | PKGREVISION= 4 |
6 | CATEGORIES= security | | 6 | CATEGORIES= security |
7 | MASTER_SITES= http://files.randombit.net/botan/archive/v1.8/ | | 7 | MASTER_SITES= http://files.randombit.net/botan/archive/v1.8/ |
8 | EXTRACT_SUFX= .tgz | | 8 | EXTRACT_SUFX= .tgz |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://botan.randombit.net/ | | 11 | HOMEPAGE= http://botan.randombit.net/ |
12 | COMMENT= Portable, easy to use, and efficient C++ crypto library | | 12 | COMMENT= Portable, easy to use, and efficient C++ crypto library |
13 | LICENSE= modified-bsd | | 13 | LICENSE= modified-bsd |
14 | | | 14 | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 15 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 16 | |
17 | HAS_CONFIGURE= yes | | 17 | HAS_CONFIGURE= yes |
18 | USE_LANGUAGES= c++ | | 18 | USE_LANGUAGES= c++ |
--- pkgsrc/security/botan/Attic/distinfo 2009/10/22 10:25:02 1.8
+++ pkgsrc/security/botan/Attic/distinfo 2011/09/08 00:15:50 1.9
| @@ -1,9 +1,10 @@ | | | @@ -1,9 +1,10 @@ |
1 | $NetBSD: distinfo,v 1.8 2009/10/22 10:25:02 jmmv Exp $ | | 1 | $NetBSD: distinfo,v 1.9 2011/09/08 00:15:50 joerg Exp $ |
2 | | | 2 | |
3 | SHA1 (Botan-1.8.7.tgz) = 69d985f66aa024f0d53c2d5597a4f1a0b9735959 | | 3 | SHA1 (Botan-1.8.7.tgz) = 69d985f66aa024f0d53c2d5597a4f1a0b9735959 |
4 | RMD160 (Botan-1.8.7.tgz) = 73a6417f1445282e4b2fbf45557f2644b2996563 | | 4 | RMD160 (Botan-1.8.7.tgz) = 73a6417f1445282e4b2fbf45557f2644b2996563 |
5 | Size (Botan-1.8.7.tgz) = 3464535 bytes | | 5 | Size (Botan-1.8.7.tgz) = 3464535 bytes |
6 | SHA1 (patch-aa) = 1229c25c86ac686ddeeaaabca3c5eea1ebccfed7 | | 6 | SHA1 (patch-aa) = 1229c25c86ac686ddeeaaabca3c5eea1ebccfed7 |
7 | SHA1 (patch-ab) = a53a3e23722d8f478c5a6c5ecf1df08d74fd21c0 | | 7 | SHA1 (patch-ab) = a53a3e23722d8f478c5a6c5ecf1df08d74fd21c0 |
8 | SHA1 (patch-ac) = 4f98ff086983b27ed17d048486a8afced47e7970 | | 8 | SHA1 (patch-ac) = 4f98ff086983b27ed17d048486a8afced47e7970 |
9 | SHA1 (patch-ak) = 7bf66c1faa84971b490be96efefac0ef44f97b70 | | 9 | SHA1 (patch-ak) = 7bf66c1faa84971b490be96efefac0ef44f97b70 |
| | | 10 | SHA1 (patch-src-alloc-secmem.h) = 532423f824e63acd8cafa0a74dc860990d40c41b |
$NetBSD: patch-src-alloc-secmem.h,v 1.1 2011/09/08 00:15:50 joerg Exp $
--- src/alloc/secmem.h.orig 2009-09-10 00:29:33.000000000 +0000
+++ src/alloc/secmem.h
@@ -107,7 +107,7 @@ class MemoryRegion
* @return a reference to *this
*/
MemoryRegion<T>& operator=(const MemoryRegion<T>& in)
- { if(this != &in) set(in); return (*this); }
+ { if(this != &in) this->set(in); return (*this); }
/**
* The use of this function is discouraged because of the risk of memory
@@ -307,7 +307,7 @@ class MemoryVector : public MemoryRegion
* @return a reference to *this
*/
MemoryVector<T>& operator=(const MemoryRegion<T>& in)
- { if(this != &in) set(in); return (*this); }
+ { if(this != &in) this->set(in); return (*this); }
/**
* Create a buffer of the specified length.
@@ -323,13 +323,13 @@ class MemoryVector : public MemoryRegion
* @param n the size of the arry in
*/
MemoryVector(const T in[], u32bit n)
- { MemoryRegion<T>::init(false); set(in, n); }
+ { MemoryRegion<T>::init(false); this->set(in, n); }
/**
* Copy constructor.
*/
MemoryVector(const MemoryRegion<T>& in)
- { MemoryRegion<T>::init(false); set(in); }
+ { MemoryRegion<T>::init(false); this->set(in); }
/**
* Create a buffer whose content is the concatenation of two other
@@ -338,7 +338,7 @@ class MemoryVector : public MemoryRegion
* @param in2 the contents to be appended to in1
*/
MemoryVector(const MemoryRegion<T>& in1, const MemoryRegion<T>& in2)
- { MemoryRegion<T>::init(false); set(in1); append(in2); }
+ { MemoryRegion<T>::init(false); this->set(in1); this->append(in2); }
};
/**
@@ -359,7 +359,7 @@ class SecureVector : public MemoryRegion
* @return a reference to *this
*/
SecureVector<T>& operator=(const MemoryRegion<T>& in)
- { if(this != &in) set(in); return (*this); }
+ { if(this != &in) this->set(in); return (*this); }
/**
* Create a buffer of the specified length.
@@ -375,7 +375,7 @@ class SecureVector : public MemoryRegion
* @param n the size of the array in
*/
SecureVector(const T in[], u32bit n)
- { MemoryRegion<T>::init(true); set(in, n); }
+ { MemoryRegion<T>::init(true); this->set(in, n); }
/**
* Create a buffer with contents specified contents.
@@ -383,7 +383,7 @@ class SecureVector : public MemoryRegion
* copied into the newly created buffer.
*/
SecureVector(const MemoryRegion<T>& in)
- { MemoryRegion<T>::init(true); set(in); }
+ { MemoryRegion<T>::init(true); this->set(in); }
/**
* Create a buffer whose content is the concatenation of two other
@@ -392,7 +392,7 @@ class SecureVector : public MemoryRegion
* @param in2 the contents to be appended to in1
*/
SecureVector(const MemoryRegion<T>& in1, const MemoryRegion<T>& in2)
- { MemoryRegion<T>::init(true); set(in1); append(in2); }
+ { MemoryRegion<T>::init(true); this->set(in1); this->append(in2); }
};
/**
@@ -413,7 +413,7 @@ class SecureBuffer : public MemoryRegion
* @return a reference to *this
*/
SecureBuffer<T,L>& operator=(const SecureBuffer<T,L>& in)
- { if(this != &in) set(in); return (*this); }
+ { if(this != &in) this->set(in); return (*this); }
/**
* Create a buffer of the length L.
@@ -427,10 +427,10 @@ class SecureBuffer : public MemoryRegion
* @param n the size of the array in
*/
SecureBuffer(const T in[], u32bit n)
- { MemoryRegion<T>::init(true, L); copy(in, n); }
+ { MemoryRegion<T>::init(true, L); this->copy(in, n); }
private:
SecureBuffer<T, L>& operator=(const MemoryRegion<T>& in)
- { if(this != &in) set(in); return (*this); }
+ { if(this != &in) this->set(in); return (*this); }
};
}