Date: Sat, 14 Aug 2004 14:59:17 +0800 (CST) From: Cheng-Lung Sung <clsung@dragon2.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70444: [MAINTAINER] security/botan: update to 1.4.0 Message-ID: <20040814065917.3049D152AE@mail.dragon2.net> Resent-Message-ID: <200408140700.i7E70gPO043518@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70444 >Category: ports >Synopsis: [MAINTAINER] security/botan: update to 1.4.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Aug 14 07:00:42 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 4.10-RELEASE-p2 i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD sungsung.csie.nctu.edu.tw 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #3: Tue Aug 10 17:43:32 CST 2004 >Description: - Update to 1.4.0 - Change MASTER_SITES - fixed build error in 5.x (compare to ports/69194) Added file(s): - files/patch-modules::tm_posix.cpp Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- botan-1.4.0.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/botan/Makefile /home/clsung/botan/Makefile --- /usr/ports/security/botan/Makefile Thu Feb 5 11:42:41 2004 +++ /home/clsung/botan/Makefile Sat Aug 14 14:57:51 2004 @@ -7,18 +7,17 @@ # PORTNAME= botan -PORTVERSION= 1.2.8 -PORTREVISION= 1 +PORTVERSION= 1.4.0 +PORTREVISION= 0 CATEGORIES= security -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= opencl +MASTER_SITES= http://botan.randombit.net/ +MASTER_SITE_SUBDIR= files DISTNAME= Botan-${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= clsung@dragon2.net COMMENT= A portable, easy to use, and efficient C++ crypto library -USE_REINPLACE= yes USE_PERL5= yes HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.pl @@ -32,13 +31,13 @@ .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 500035 +CONFIGURE_ARGS+= --noauto +.endif + .if ${PERL_LEVEL} < 500601 BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec RUN_DEPENDS= ${BUILD_DEPENDS} .endif - -post-patch: - @${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g ; \ - s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/${CONFIGURE_SCRIPT} .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/security/botan/distinfo /home/clsung/botan/distinfo --- /usr/ports/security/botan/distinfo Thu Apr 1 16:40:43 2004 +++ /home/clsung/botan/distinfo Tue Jul 27 09:56:55 2004 @@ -1,2 +1,2 @@ -MD5 (Botan-1.2.8.tgz) = dc84a09cad3e354bc21427b2baf3bb24 -SIZE (Botan-1.2.8.tgz) = 1249358 +MD5 (Botan-1.4.0.tgz) = 3154cdeecd2f65fa221cd9b5848b1fb2 +SIZE (Botan-1.4.0.tgz) = 1403507 diff -ruN --exclude=CVS /usr/ports/security/botan/files/patch-configure.pl /home/clsung/botan/files/patch-configure.pl --- /usr/ports/security/botan/files/patch-configure.pl Fri May 10 10:32:18 2002 +++ /home/clsung/botan/files/patch-configure.pl Tue Jul 27 09:58:56 2004 @@ -1,11 +1,15 @@ ---- configure.pl.orig Fri May 10 10:03:25 2002 -+++ configure.pl Fri May 10 10:03:35 2002 -@@ -1705,7 +1705,7 @@ - DOCDIR = \$(INSTALLROOT)/$doc_dir/OpenCL-\$(VERSION) - - OWNER = root --GROUP = root -+GROUP = wheel - DATA_MODE = 644 - EXEC_MODE = 755 +--- configure.pl.orig Sat Jun 26 14:32:52 2004 ++++ configure.pl Tue Jul 27 09:58:45 2004 +@@ -2007,7 +2007,11 @@ + my $link_to = "-lm"; + foreach my $lib (@{ $lib_list }) + { +- $link_to .= " -l" . $lib; ++ if ($lib =~ m/pthread/) { ++ $link_to .= " -" . $lib; ++ } else { ++ $link_to .= " -l" . $lib; ++ } + } + ################################################## diff -ruN --exclude=CVS /usr/ports/security/botan/files/patch-modules::tm_posix.cpp /home/clsung/botan/files/patch-modules::tm_posix.cpp --- /usr/ports/security/botan/files/patch-modules::tm_posix.cpp Thu Jan 1 08:00:00 1970 +++ /home/clsung/botan/files/patch-modules::tm_posix.cpp Tue Jul 27 10:00:13 2004 @@ -0,0 +1,11 @@ +--- modules/tm_posix/tm_posix.cpp.orig Sat Jun 26 14:32:53 2004 ++++ modules/tm_posix/tm_posix.cpp Tue Jul 27 09:59:44 2004 +@@ -6,7 +6,7 @@ + #define _POSIX_C_SOURCE 199309 + #include <botan/tm_posix.h> + #include <botan/util.h> +-#include <time.h> ++#include <sys/time.h> + + #ifndef CLOCK_REALTIME + #define CLOCK_REALTIME 0 diff -ruN --exclude=CVS /usr/ports/security/botan/pkg-plist /home/clsung/botan/pkg-plist --- /usr/ports/security/botan/pkg-plist Thu Jan 1 09:49:33 2004 +++ /home/clsung/botan/pkg-plist Tue Jul 27 10:01:13 2004 @@ -28,7 +28,6 @@ include/botan/crc24.h include/botan/crc32.h include/botan/crl_ent.h -include/botan/cscipher.h include/botan/ctr.h include/botan/cts.h include/botan/data_snk.h @@ -44,14 +43,21 @@ include/botan/eax.h include/botan/ecb.h include/botan/elgamal.h -include/botan/emac.h include/botan/eme.h include/botan/emsa.h +include/botan/eng_def.h +include/botan/engine.h include/botan/enums.h +include/botan/es_egd.h include/botan/es_file.h +include/botan/es_ftw.h +include/botan/es_unix.h include/botan/exceptn.h +include/botan/fd_unix.h include/botan/filter.h include/botan/filters.h +include/botan/fips140.h +include/botan/fips_rng.h include/botan/gost.h include/botan/has160.h include/botan/haval.h @@ -71,24 +77,25 @@ include/botan/md2.h include/botan/md4.h include/botan/md5.h -include/botan/md5mac.h include/botan/mdx_hash.h include/botan/mem_ops.h include/botan/mgf1.h include/botan/misty1.h +include/botan/mmap_mem.h include/botan/mod_exp.h include/botan/mode_pad.h include/botan/modebase.h include/botan/mp_core.h -include/botan/mp_impl.h -include/botan/mp_mul.h +include/botan/mp_madd.h include/botan/mp_types.h include/botan/mutex.h +include/botan/mux_pthr.h include/botan/nr.h include/botan/numthry.h include/botan/ofb.h include/botan/oids.h include/botan/omac.h +include/botan/openpgp.h include/botan/par_hash.h include/botan/pbe.h include/botan/pbe_pkcs.h @@ -96,8 +103,10 @@ include/botan/pgp_s2k.h include/botan/pipe.h include/botan/pk_algs.h +include/botan/pk_core.h include/botan/pk_filts.h include/botan/pk_keys.h +include/botan/pk_ops.h include/botan/pk_util.h include/botan/pkcs10.h include/botan/pkcs5.h @@ -123,17 +132,19 @@ include/botan/sha160.h include/botan/sha256.h include/botan/sha_64.h -include/botan/shark.h include/botan/skipjack.h include/botan/square.h include/botan/ssl3_mac.h include/botan/symkey.h include/botan/tea.h -include/botan/threeway.h include/botan/tiger.h include/botan/timers.h +include/botan/tm_posix.h +include/botan/tm_unix.h include/botan/twofish.h include/botan/types.h +include/botan/ui.h +include/botan/unix_cmd.h include/botan/util.h include/botan/version.h include/botan/whrlpool.h @@ -148,17 +159,19 @@ include/botan/x917_rng.h include/botan/x919_mac.h include/botan/xtea.h -lib/libbotan-1.2.8.so -lib/libbotan-1.2.so +lib/libbotan-1.4.0.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%%/botan.rc %%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 --- botan-1.4.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040814065917.3049D152AE>