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: 07-Jan-2003 13:52:05
Branch: HEAD Handle: 2003010712520301
Added files:
openpkg-re/vcheck vc.imap
openpkg-src/imap imap.spec
Modified files:
openpkg-web news.txt
Log:
new package: imap 2002a (The IMAP Library)
Summary:
Revision Changes Path
1.1 +9 -0 openpkg-re/vcheck/vc.imap
1.1 +89 -0 openpkg-src/imap/imap.spec
1.2591 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.imap
============================================================================
$ cvs diff -u -r0 -r1.1 vc.imap
--- /dev/null 2003-01-07 13:52:03.000000000 +0100
+++ vc.imap 2003-01-07 13:52:03.000000000 +0100
@@ -0,0 +1,9 @@
+config = {
+}
+
+prog c-client = {
+ version = 2002a
+ url = ftp://ftp.cac.washington.edu/imap/
+ regex = imap-(__VER__)\.tar\.Z
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/imap/imap.spec
============================================================================
$ cvs diff -u -r0 -r1.1 imap.spec
--- /dev/null 2003-01-07 13:52:05.000000000 +0100
+++ imap.spec 2003-01-07 13:52:05.000000000 +0100
@@ -0,0 +1,89 @@
+##
+## imap.spec -- OpenPKG RPM Specification
+## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
+## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
+## Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
+##
+## 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 version
+%define V_real 2002a
+%define V_here 2002a
+
+# package information
+Name: imap
+Summary: The IMAP Library
+URL: http://www.washington.edu/imap/
+Vendor: University of Washington
+Packager: The OpenPKG Project
+Distribution: OpenPKG [PLUS]
+Group: Mail
+License: University of Washington's Free-Fork License
+Version: %{V_here}
+Release: 20030107
+
+# list of sources
+Source0: ftp://ftp.cac.washington.edu/imap/imap-%{V_real}.tar.Z
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20020206, openssl, gcc
+PreReq: OpenPKG, openpkg >= 20020206, openssl
+AutoReq: no
+AutoReqProv: no
+
+%description
+ The IMAP library provides a C API for IMAP client access.
+
+%prep
+ %setup -q -n imap-%{V_real}
+
+%build
+ os=""
+ case "%{l_target}" in
+ *-freebsd*) os=bsf ;;
+ *-linux* ) os=slx ;;
+ *-solaris*) os=gso ;;
+ *-irix* ) os=gsg ;;
+ *) echo "Unsupported platform %{l_target}" 1>&2; exit 1 ;;
+ esac
+ %{l_make} $os \
+ SSLDIR=%{l_prefix} \
+ EXTRACFLAGS='-I%{l_prefix}/include' \
+ EXTRALDFLAGS='-L%{l_prefix}/lib'
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/include/imap \
+ $RPM_BUILD_ROOT%{l_prefix}/lib
+ %{l_shtool} install -c -m 644 \
+ c-client/*.h $RPM_BUILD_ROOT%{l_prefix}/include/imap/
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/include/imap/os_*.h
+ %{l_shtool} install -c -m 644 c-client/c-client.a \
+ $RPM_BUILD_ROOT%{l_prefix}/lib/libimap.a
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
+
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.2590 -r1.2591 news.txt
--- openpkg-web/news.txt 7 Jan 2003 12:19:50 -0000 1.2590
+++ openpkg-web/news.txt 7 Jan 2003 12:52:03 -0000 1.2591
@@ -1,3 +1,4 @@
+07-Jan-2003: New package: P<imap-2002a-20030107>
07-Jan-2003: Upgraded package: P<c-client-2002a-20030107>
07-Jan-2003: Upgraded package: P<mico-2.3.7-20030107>
07-Jan-2003: Upgraded package: P<cvs2cl-2.44-20030107>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]