OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web openpkg$ Date: 03-Jan-2004 22:53:06
Branch: HEAD Handle: 2004010321530402
Added files:
openpkg-re/vcheck vc.gpgme
openpkg-src/gpgme gpgme.patch gpgme.spec
Modified files:
openpkg-web news.txt
Log:
new package: gpgme 0.3.16 (GnuPG Made Easy)
Summary:
Revision Changes Path
1.1 +9 -0 openpkg-re/vcheck/vc.gpgme
1.1 +11 -0 openpkg-src/gpgme/gpgme.patch
1.1 +83 -0 openpkg-src/gpgme/gpgme.spec
1.7956 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.gpgme
============================================================================
$ cvs diff -u -r0 -r1.1 vc.gpgme
--- /dev/null 2004-01-03 22:53:04.000000000 +0100
+++ vc.gpgme 2004-01-03 22:53:04.000000000 +0100
@@ -0,0 +1,9 @@
+config = {
+}
+
+prog gpgme = {
+ version = 0.3.16
+ url = ftp://ftp.gnupg.org/gcrypt/gpgme/
+ regex = gpgme-(__VER__)\.tar\.gz
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/gpgme/gpgme.patch
============================================================================
$ cvs diff -u -r0 -r1.1 gpgme.patch
--- /dev/null 2004-01-03 22:53:06.000000000 +0100
+++ gpgme.patch 2004-01-03 22:53:06.000000000 +0100
@@ -0,0 +1,11 @@
+Index: tests/gpg/t-eventloop.c
+--- tests/gpg/t-eventloop.c.orig 2002-07-03 04:18:43.000000000 +0200
++++ tests/gpg/t-eventloop.c 2004-01-03 22:40:27.000000000 +0100
+@@ -24,6 +24,7 @@
+ #include <string.h>
+ #include <assert.h>
+ #include <errno.h>
++#include <sys/types.h>
+ #include <sys/select.h>
+
+ #include <gpgme.h>
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/gpgme/gpgme.spec
============================================================================
$ cvs diff -u -r0 -r1.1 gpgme.spec
--- /dev/null 2004-01-03 22:53:06.000000000 +0100
+++ gpgme.spec 2004-01-03 22:53:06.000000000 +0100
@@ -0,0 +1,83 @@
+##
+## gpgme.spec -- OpenPKG RPM Specification
+## Copyright (c) 2000-2004 The OpenPKG Project <http://www.openpkg.org/>
+## Copyright (c) 2000-2004 Ralf S. Engelschall <[EMAIL PROTECTED]>
+## Copyright (c) 2000-2004 Cable & Wireless <http://www.cw.com/>
+##
+## Permission to use, copy, modify, and distribute this software for
+## any purpose with or without fee is hereby granted, provided that
+## the above copyright notice and this permission notice appear in all
+## copies.
+##
+## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
+##
+
+# package information
+Name: gpgme
+Summary: GnuPG Made Easy
+URL: http://www.gnupg.org/gpgme.html
+Vendor: Marcus Brinkmann
+Packager: The OpenPKG Project
+Distribution: OpenPKG [EVAL]
+Group: Cryptography
+License: GPL
+Version: 0.3.16
+Release: 20040103
+
+# list of sources
+Source0: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.gz
+Patch0: gpgme.patch
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030103
+PreReq: OpenPKG, openpkg >= 20030103
+AutoReq: no
+AutoReqProv: no
+
+%description
+ GnuPG Made Easy (GPGME) is a C library designed to make access to
+ GnuPG easier for applications. It provides a High-Level Crypto API
+ for encryption, decryption, signing, signature verification and key
+ management. Currently it uses GnuPG as its backend but the API isn't
+ restricted to this engine.
+
+%prep
+ %setup -q
+ %patch -p0
+
+%build
+ CC="%{l_cc}" \
+ CFLAGS="%{l_cflags -O}" \
+ CPPFLAGS="%{l_cppflags}" \
+ LDFLAGS="%{l_ldflags}" \
+ ./configure \
+ --prefix=%{l_prefix} \
+ --disable-shared
+ %{l_make} %{l_mflags -O}
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+ %{l_files_std} \
+ '%not %dir %{l_prefix}/share/aclocal'
+
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.7955 -r1.7956 news.txt
--- openpkg-web/news.txt 3 Jan 2004 21:48:30 -0000 1.7955
+++ openpkg-web/news.txt 3 Jan 2004 21:53:04 -0000 1.7956
@@ -1,3 +1,4 @@
+03-Jan-2004: New package: P<gpgme-0.3.16-20040103>
03-Jan-2004: Upgraded package: P<perl-crypto-20040103-20040103>
03-Jan-2004: New package: P<pgpdump-0.20-20040103>
03-Jan-2004: Upgraded package: P<ghostscript-8.13-20040103>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]