Commit graph

46 commits

Author SHA1 Message Date
riz
3c49e35bd9 Set up PLIST_VARS for ppc and arm, and use them to point out that arm
doesn't have hardware timer support, so gets one less file installed.

Package builds on evbarm now.
2013-01-23 16:45:27 +00:00
riz
82693b6ea5 Detect arm MACHINE_ARCH, and set --cpu accordingly, so it can build
on NetBSD ARM platforms.  Tested on my Sheevaplug.

XXX will probably need similar treatment for mips and sh3.
2013-01-12 20:52:27 +00:00
asau
1a433eae91 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 18:16:19 +00:00
pettai
e1dba2d577 Update to Botan 1.8.14:
* 1.8.14, 2012-07-18

- The malloc allocator would return null instead of throwing in the event of
  an allocation failure, which could cause an application crash due to null
  pointer dereference where normally an exception would occur.
- Recent versions of OpenSSL include extra information in ECC private keys,
  the presence of which caused an exception when such a key was loaded by
  botan. The decoding of ECC private keys has been changed to ignore these
  fields if they are set.
- AutoSeeded_RNG has been changed to prefer /dev/random over /dev/urandom
- Fix detection of s390x (Debian bug 638347)
2012-10-08 20:46:38 +00:00
marino
10303c9a85 security/botan: Fix DragonFly-*-i386 PLIST 2012-05-20 11:43:33 +00:00
fhajny
f926cc3866 Adding PLIST.SunOS 2012-03-13 08:01:01 +00:00
marino
8f5a7ba0d0 security/botan: Fix DragonFly
1) Update two configuration files to include DragonFly, which results in
   additional generated files.
2) Update PLIST.DragonFly (it was wrong in any case)
2011-12-17 16:09:46 +00:00
jmmv
fe40429e60 Move the *_amd64 PLIST entries out of the common file and into all of the
platform files except Darwin.  Also add the *_sse2 entries to Darwin.

Note that both *_amd64 and *_sse2 are conditional on x86_64, so this
division of files per platform is easier to do by PLIST tweaks than by
further Makefile conditionals.

This fixes the build of botan under OS X Lion with ABI=64 and should be
a no-op for all other platforms.
2011-12-08 03:01:03 +00:00
riz
c9e140c951 Remove some i386-specific files which are no longer installed. 2011-12-04 22:39:40 +00:00
joerg
a94fa4ae8b Update to Botan 1.8.13:
* 1.8.13, 2011-07-02
 - A race in Algorithm_Factory that could cause crashes in multithreaded
   code has been fixed.

* 1.8.12, 2011-06-20
 - If EMSA3(Raw) was used for more than one signature, it would produce
   incorrect output.
 - Fix the --enable-debug option to configure.py
 - Improve OS detection on Cygwin
 - Fix compilation under Sun Studio 12 on Solaris
 - Fix a memory leak in the constructors of DataSource_Stream and
   DataSink_Stream which would occur if opening the file failed. PR 144

* 1.8.11, 2010-11-02
 - Fix a number of CRL encoding and decoding bugs
 - When building a debug library under VC++, use the debug runtime
 - Fix compilation under Sun Studio on Linux and Solaris
 - Add several functions for compatability with 1.9
 - In the examples, read most input files as binary
 - The Perl build script has been removed in this release

* 1.8.10, 2010-08-31
 - Switch default PKCS #8 encryption algorithm from 3DES to AES-256
 - Increase default hash iterations from 2048 to 10000 in PBES1 and
PBES2
 - Use small tables in the first round of AES
 - Add PBKDF typedef and get_pbkdf for better compatability with 1.9
 - Add version of S2K::derive_key taking salt and iteration count
 - Enable the /proc-walking entropy source on NetBSD
 - Fix the doxygen makefile target

* 1.8.9, 2010-06-16
 - Use constant time multiplication in IDEA
 - Avoid possible timing attack against OAEP decoding
 - Add new X509::BER_encode and PKCS8::BER_encode
 - Enable DLL builds under Windows
 - Add Win32 installer support
 - Add support for the Clang compiler
 - Fix problem in semcem.h preventing build under Clang or GCC 3.4
 - Fix bug that prevented creation of DSA groups under 1024 bits
 - Fix crash in GMP_Engine if library is shutdown and reinitialized
 - Work around problem with recent binutils in x86-64 SHA-1
 - The Perl build script is no longer supported and refuses to run by
   default

* 1.8.8, 2009-11-03
 - Alter Skein-512 to match the tweaked 1.2 specification
 - Fix use of inline asm for access to x86 bswap function
 - Allow building the library without AES enabled
 - Add 'powerpc64' alias to ppc64 arch for Gentoo ebuild
2011-11-25 21:25:26 +00:00
joerg
8901c5a3f6 Strictler template usage. Bump revision. 2011-09-08 00:15:50 +00:00
reed
4f7f4a21b8 Remove the REPLACE_PYTHON. It pointed to unused "perl" file.
It is not needed since python is ran directly.
2011-05-10 13:01:01 +00:00
riz
3a41b48a3e Explicitly pass "--cpu=i386" when MACHINE_ARCH is i386 in order for
this to build properly under Mac OS X "Snow Leopard" on a 64-bit host.
Fixes PR pkg/44191 by me.
2010-12-15 21:52:15 +00:00
joerg
69a49845e4 Sort out PLIST for i386. Bump revision. 2010-10-12 19:36:43 +00:00
jnemeth
1c55f55e8f PR/43470 - Jack Lloyd -- update DESCR
While here, do some minor delinting and set LICENSE.
2010-06-14 18:27:54 +00:00
jmmv
9e5b6dcbef Fix PLIST when installing in Linux. 2010-03-31 10:33:46 +00:00
joerg
3a06eb96bf Bump revision for PYTHON_VERSION_DEFAULT change. 2010-02-10 19:17:31 +00:00
jmmv
d464689d18 Fix -install_name of library in OS X to include its full path. This is how
other libraries are being installed (as far as otool -D says) and fixes the
execution of mtn, which couldn't find the botan library before.
2009-10-22 10:25:02 +00:00
joerg
7a466a7121 Fix amd64 case. Simplify. 2009-10-06 18:34:14 +00:00
jmmv
62df13b509 Set the correct cpu in macppc and macppc64 so that this builds. Only
verified in macppc though.
2009-10-03 18:02:32 +00:00
jmmv
b5087ad17a Include bsd.prefs.mk to get the definition of MACHINE_ARCH. 2009-09-23 16:36:30 +00:00
jmmv
a2261658c3 Update to 1.8.7. Too many changes to list here.
This update is quite delicate and I'm sure it'll break somewhere.  So far
I've only been able to test it in NetBSD/amd64 and Mac OS X Leopard.

I'm bumping the dependency version in buildlink3.mk because the only package
using this seems to be Monotone, and I'll updating it right away.
2009-09-23 16:03:25 +00:00
wiz
059bf86ace Remove BROKEN_IN variable. It was no maintained, and there was no
defined workflow for setting it, removing it, or removing packages
depending on it.
2009-08-25 12:32:54 +00:00
wiz
135620df42 Remove empty PLIST.common_end. 2009-07-22 09:31:05 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
jmmv
b44b025a2e Make the installation path of doc files consistent with all other instalations
in Darwin and also register the installed header file.
2009-03-23 13:16:13 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
obache
5dc3470702 *.tbz does not exist now, noticed by Zafer Aydogan in private mail.
Switch to *.tgz, no differ from *.tbz.
2008-01-05 05:06:52 +00:00
obache
3be1e9beac Change MASTER_SITES to archive directory, 1.4.11 only exsits in it. 2007-12-27 15:46:00 +00:00
obache
b992f36697 Try to fix build problem on NetBSD, use the same strategies as DragonFly. 2007-12-27 14:13:58 +00:00
rillig
ff6d0eddfa Discard the -mcpu=i686 option for the C++ compiler, since g++4 doesn't
accept it.
2007-11-30 20:02:39 +00:00
joerg
275fc7e74e Force inclusion of RDTSC for now. The package makes no attempt to handle
it, CPUs without are rare and detection at runtime is non-trivial.
If this ever becomes an issue, more involved magic should be requested
upstream.
2007-06-30 18:08:34 +00:00
joerg
9d6c5ad043 configure script is perl, run it with perl. 2007-06-30 16:12:03 +00:00
wiz
51c8ea8d62 pkglint USE_LANGUAGES cleanup. Patch from Sergey Svishchev. 2007-02-22 19:30:02 +00:00
wiz
29abbd1c1b Mark as BROKEN_IN pkgsrc-2006Q4, based on
ftp://asim.lip6.fr/outgoing/packages/i386/3.1/20070114.1132/broken.html
(latest 3.1/i386 bulk build of 2006Q4).

Feel free to fix them...
2007-01-31 00:04:11 +00:00
wiz
dfbce5a67d Add missing file to PLIST. Bump PKGREVISION. 2006-07-21 16:22:36 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
20b65ea5c3 Add DragonFly support. Honour CXXFLAGS. Add _DRAGONFLY_SOURCE on
DragonFly to work around the _POSIX_SOURCE defines, which break
cwchar's ::vfwprintf usage (aka ISO C99 extensions).
2006-03-01 00:33:30 +00:00
rillig
ecc788c565 Perl is needed for the configure script. 2006-02-14 01:04:32 +00:00
reed
7b322f7847 Add buildlink3.mk file. Needed by Aleksandar Simic
for his ne7ssh package. As discussed on pkgsrc-wip-discuss
list.
2006-02-13 17:19:42 +00:00
rillig
9ca8fc9dfa Use BSD_INSTALL_* instead of INSTALL_*. 2006-02-05 01:30:55 +00:00
rillig
d3ffdfe7f0 Imported botan from .
Botan (formerly OpenCL) aims to be a portable, easy to use, and efficient
C++ crypto library. It currently supports the following algorithms:

    Public Key Algorithms: Diffie-Hellman, DSA, ElGamal, Nyberg-Rueppel,
        Rabin-Williams, RSA
    Block Ciphers: Blowfish, CAST256, CAST5, CS-Cipher, DES, GOST, IDEA,
        Lion, Luby-Rackoff, MISTY1, RC2, RC5, RC6, Rijndael, SAFER-SK128,
        Serpent, SHARK, Skipjack, Square, TEA, Threeway, Twofish, XTEA
    Stream Ciphers: ARC4, ISAAC, SEAL
    Hash Functions: HAVAL, MD2, MD4, MD5, RIPEMD-128, RIPEMD-160, SHA-1,
        SHA2-256, SHA2-512, Tiger, Whirlpool
    MACs: EMAC, HMAC, MD5-MAC, ANSI X9.19 MAC
    Misc: Adler32, CRC24, CRC32, Randpool, X9.17 RNG
    Cipher Modes: CBC w/ Padding, CTS, CFB, OFB, Counter

Packaged by Aleksandar Simic <asimic@gmail.com>.
2006-02-05 01:25:12 +00:00