Update of /cvsroot/fink/packages/dists/stable/crypto/finkinfo
In directory usw-pr-cvs1:/tmp/cvs-serv18525

Added Files:
        gnupg-1.0.7-1.info gnupg-1.0.7-1.patch 
Log Message:
Moved in from unstable


--- NEW FILE: gnupg-1.0.7-1.info ---
Package: gnupg
Version: 1.0.7
Revision: 1
Source: ftp://ftp.gnupg.org/gcrypt/gnupg/%n-%v.tar.gz
Source2: mirror:sourceforge:/fink/direct_download/source/gnupg-docs-20020313.tar.gz
Source2ExtractDir: %n-%v
Depends: zlib, gdbm, texinfo
Conflicts: gnupg-egd
Replaces: gnupg-egd
PatchScript:  sed 's|@PREFIX@|%p|g' <%a/%f.patch | patch -p1
SetCPPFLAGS: -no-cpp-precomp
ConfigureParams: --with-libiconv-prefix=%p
CompileScript: <<
 ./configure %c
 make
<<
InstallScript: <<
 make install prefix=%i

 mkdir -p %i/share/doc/%n/documentation
 mv gnupg-docs/* %i/share/doc/%n/documentation
 install -m 644 %i/share/gnupg/FAQ %i/share/doc/%n
 install -m 644 %i/share/gnupg/faq.html %i/share/doc/%n
 mv %i/man %i/share
 mv %i/info %i/share
 install -m 644 doc/gpg.info %i/share/info/
<<
DocFiles: AUTHORS BUGS COPYING ChangeLog README TODO PROJECTS THANKS
InfoDocs: gpg.info gpgv.info
Description: Gnu privacy guard - A Free PGP replacement
DescDetail: GnuPG is GNU's tool for secure communication and data
 storage. It can be used to encrypt data and to create digital
 signatures. It includes an advanced key management facility and is
 compliant with the proposed OpenPGP Internet standard as described in
 RFC2440.
 GnuPG does not use use any patented algorithms so it cannot be
 compatible with PGP2 because it uses IDEA (which is patented
 worldwide) and RSA. RSA's patent expired on the 20th September 2000,
 and it is now included in GnuPG. 
DescPackaging: Incorporates current patches from macgpg.sourceforge.net,
 now including dynamic module loading. Stole description from the listing 
 in the Debain package database.  Rearranges files in share/gnupg, moving
 documentation to share/doc/gnupg
DescUsage: To create an initial key pair run 'gpg --gen-key'
 Consult the manual for a good intro: /sw/share/doc/gnupg/documentation/handbook/
License: GPL
Homepage: http://www.gnupg.org
Maintainer: Christian Swinehart <[EMAIL PROTECTED]>

--- NEW FILE: gnupg-1.0.7-1.patch ---
diff -u -Naur gnupg-1.0.7.orig/aclocal.m4 gnupg-1.0.7/aclocal.m4
--- gnupg-1.0.7.orig/aclocal.m4 Mon Apr 29 10:58:48 2002
+++ gnupg-1.0.7/aclocal.m4      Mon May 13 12:57:17 2002
@@ -512,7 +512,7 @@
 aix*)
   ac_symcode='[BCDTU]'
   ;;
-freebsd* | netbsd* | openbsd* | bsdi* | sunos* | cygwin32* | mingw32*)
+freebsd* | netbsd* | openbsd* | bsdi* | sunos* | cygwin32* | mingw32* | darwin*)
   ac_sympat='_\([_A-Za-z][_A-Za-z0-9]*\)'
   ac_symxfrm='_\1 \1'
   ;;
diff -u -Naur gnupg-1.0.7.orig/cipher/dynload.c gnupg-1.0.7/cipher/dynload.c
--- gnupg-1.0.7.orig/cipher/dynload.c   Mon Aug 20 04:51:53 2001
+++ gnupg-1.0.7/cipher/dynload.c        Mon May 13 12:57:00 2002
@@ -23,14 +23,10 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
[...2221 lines suppressed...]
-  #elif defined (HAVE_DOSISH_SYSTEM)
-    /* It does not make sense to print such a warning, given the fact that 
-     * this whole Windows !@#$% and their user base are inherently insecure
-     */
-  #elif defined (__riscos__)
-    /* no virtual memory on RISC OS, so no pages are swapped to disc,
-     * besides we don't have mmap, so we don't use it! ;-)
-     * But don't complain, as explained above.
-     */
-  #else
-    log_info("Please note that you don't have secure memory on this system\n");
-  #endif
+       mprotect( p, n, PROT_EXEC | PROT_WRITE | PROT_READ);
+    /* try to set memory permissions */
+    err = mlock( p, n);
+       if( err && errno ) 
+          err = errno;
 }
 
 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to