Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/crypto In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4963
Added Files: botan.info botan.patch monotone.info monotone.patch Log Message: Move botan and monotone to 10.7. Our botan is quite old and doesn't build with modern compilers like clang and gcc47 so we must force use of llvm-gcc by overriding fink's compiler wrapper. Confirmed working on 10.8. --- NEW FILE: botan.patch --- diff -ru Botan-1.8.1/src/build-data/makefile/unix_shr.in Botan-1.8.1-patched/src/build-data/makefile/unix_shr.in --- Botan-1.8.1/src/build-data/makefile/unix_shr.in 2009-01-20 00:25:17.000000000 -0600 +++ Botan-1.8.1-patched/src/build-data/makefile/unix_shr.in 2009-03-23 14:49:08.000000000 -0500 @@ -122,14 +122,10 @@ install: $(LIBRARIES) $(ECHO) "Installing Botan into $(DESTDIR)... " - $(MKDIR_INSTALL) $(DOCDIR) $(MKDIR_INSTALL) $(HEADERDIR) $(MKDIR_INSTALL) $(LIBDIR) $(MKDIR_INSTALL) $(BINDIR) $(MKDIR_INSTALL) $(PKGCONF_DIR) - for i in $(DOCS); do \ - $(INSTALL_CMD_DATA) $$i $(DOCDIR); \ - done for i in $(HEADERS); do \ $(INSTALL_CMD_DATA) $$i $(HEADERDIR); \ done --- NEW FILE: monotone.info --- Package: monotone Version: 1.0 Revision: 3 Source: http://www.monotone.ca/downloads/%v/monotone-%v.tar.bz2 Source-MD5: 6a0b5d8560f08d76a950172f9ed0feff PatchFile: %n.patch PatchFile-MD5: a62e2135cf09a13c24811c902b4cc8c7 #PatchScript: sed -e 's|@SW@|%p|g' < %{PatchFile} | patch -p1 BuildDepends:<< fink (>= 0.24.12), boost1.46.1.cmake, botan (>=1.8.1-1), libgettext8-dev (>= 0.17-19), libiconv-dev (>= 1.12-3), libidn (>= 1.12-1), lua51-dev (>= 5.1.4-1), pcre (>= 7.8-3), sqlite3-dev (>= 3.6.9-1004) << Depends: << bash-completion, botan-shlibs (>= 1.8.1-1), libgettext8-shlibs (>= 0.17-19), libiconv (>= 1.12-3), libidn-shlibs (>= 1.12-1), lua51-shlibs (>= 5.1.4-1), pcre-shlibs (>= 7.8-3), sqlite3-shlibs (>= 3.6.9-1004) << GCC: 4.0 NoSetCXXFLAGS: true SetCPPFlags: -D__unix SetLDFlags: -lintl -liconv ConfigureParams: << --infodir=%i/share/info --mandir=%i/share/man --disable-dependency-tracking << CompileScript: << #!/bin/bash -ev export PATH="/usr/bin:/usr/sbin:/bin:/sbin" %{default_script} << InfoDocs: monotone.info InfoTest: << TestScript: PATH="/usr/bin:/usr/sbin:/bin:/sbin" make check || exit 1 << InstallScript: PATH="/usr/bin:/usr/sbin:/bin:/sbin" %{default_script} Description: Distributed version control system DescDetail: << Monotone is a free distributed version control system. It provides a simple, single-file transactional version store, with fully disconnected operation and an efficient peer-to-peer synchronization protocol. It understands history-sensitive merging, lightweight branches, integrated code review and 3rd party testing. It uses cryptographic version naming and client-side RSA certificates. It has good internationalization support, has no external dependencies, runs on linux, solaris, OSX, and windows, and is licensed under the GNU GPL. << DescPackaging: << boost is required at build-time for some header-only boost components. No shared boost shlibs linked, so boost-shlibs is *not* a dependency. Self-test failure: http://lists.gnu.org/archive/html/monotone-devel/2007-10/msg00107.html but upstream patch: https://code.monotone.ca/p/monotone/source/commit/459fe7f043ab002873c2d68e35b6550c7e9bfe81/ doesn't apply, so not worried about it failing and cannot figure out how to disable. --dmacks 2013-01-23 << License: GPL/LGPL Maintainer: Corey Halpin <chal...@cs.wisc.edu> Homepage: http://www.venge.net/monotone/ --- NEW FILE: botan.info --- Package: botan Version: 1.8.6 Revision: 1 Source: http://files.randombit.net/botan/Botan-%v.tbz Source-MD5: 827f71f450eb1b7bc9e173c402bc48dc ## need to preserve cap, for case-sensitive systems, or also use SourceDirectory.. SourceRename: Botan-%v.tar.bz2 PatchFile: %n.patch PatchFile-MD5: 9df478eb1ea50a8a122c4c91ac2c2591 Depends: %N-shlibs (= %v-%r) BuildDependsOnly: True BuildDepends: << fink (>= 0.24.12) << GCC: 4.0 ConfigureParams: --cpu=generic --docdir=%p/share/doc CompileScript: << #!/bin/bash -ev export PATH="/usr/bin:/usr/sbin:/bin:/sbin" ./configure.pl %c make install_name_tool -id %p/lib/libbotan-1.8.2.dylib libbotan-1.8.2.dylib << InstallScript: PATH="/usr/bin:/usr/sbin:/bin:/sbin" make install DESTDIR=%i InfoTest: << TestScript: PATH="/usr/bin:/usr/sbin:/bin:/sbin" make check || exit 2 << SplitOff: << Package: %N-shlibs Files: lib/libbotan-1.8.2.dylib DocFiles: << readme.txt doc/license.txt doc/log.txt doc/thanks.txt doc/credits.txt << Shlibs: << %p/lib/libbotan-1.8.2.dylib 0.0.0 %n (>= 1.8.6-1) << << DocFiles: << doc/api.pdf doc/architecture.pdf doc/insito_manual.pdf doc/tutorial.pdf << Description: C++ Cryptographic library DescDetail: << Botan is a BSD-licensed crypto library written in C++. It provides a wide variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS #10 certificate requests, a filter/pipe message processing system, and a wide variety of other features, all written in portable C++. << DescPackaging: << Freaky perl configure scripts are annoying. I've modified src/build-data/makefile/unix.in to not install docs, as we use DocFiles to do the same thing. The install_name of the .dylib needs to be fixed, the build process doesn't get it right. << License: BSD Maintainer: Corey Halpin <chal...@cs.wisc.edu> Homepage: http://botan.randombit.net/ --- NEW FILE: monotone.patch --- diff -ru monotone-1.0/extra/shell/monotone.bash_completion.in monotone-1.0-patched/extra/shell/monotone.bash_completion.in --- monotone-1.0/extra/shell/monotone.bash_completion.in 2011-03-26 01:40:57.000000000 -0500 +++ monotone-1.0-patched/extra/shell/monotone.bash_completion.in 2011-05-27 20:56:32.000000000 -0500 @@ -26,6 +26,9 @@ # If you do it, be careful to set your locale to "C" and be sure the right # mtn is used (you can use the environment variable MTN to point at the right # one). + +if [ ${BASH_VERSINFO[0]} -ge 4 ]; then + # BEGIN ---------------------------------------------------------------------- @generated-command-list@ # END ------------------------------------------------------------------------ @@ -396,3 +399,5 @@ } complete -F _monotone mtn + +fi ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs