OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web openpkg$ Date: 15-Sep-2003 15:19:16
Branch: HEAD Handle: 2003091514191402
Added files:
openpkg-re/vcheck vc.pine
openpkg-src/pine pine.spec
Modified files:
openpkg-web news.txt
Log:
new package: pine 4.58L (Pine - a Programm for Internet News & Email)
Summary:
Revision Changes Path
1.1 +9 -0 openpkg-re/vcheck/vc.pine
1.1 +140 -0 openpkg-src/pine/pine.spec
1.6564 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.pine
============================================================================
$ cvs diff -u -r0 -r1.1 vc.pine
--- /dev/null 2003-09-15 15:19:14.000000000 +0200
+++ vc.pine 2003-09-15 15:19:14.000000000 +0200
@@ -0,0 +1,9 @@
+config = {
+}
+
+prog pine = {
+ version = 4.58
+ url = ftp://ftp.cac.washington.edu/pine
+ regex = pine(__VER__)\.tar\.bz2
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/pine/pine.spec
============================================================================
$ cvs diff -u -r0 -r1.1 pine.spec
--- /dev/null 2003-09-15 15:19:16.000000000 +0200
+++ pine.spec 2003-09-15 15:19:16.000000000 +0200
@@ -0,0 +1,140 @@
+##
+## pine.spec -- OpenPKG RPM Specification
+## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
+## Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
+## Copyright (c) 2000-2003 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.
+##
+
+%define V_here 4.58L
+%define V_real 4.58
+
+# package information
+Name: pine
+Summary: Pine - a Programm for Internet News & Email
+URL: http://www.washington.edu/pine/
+Vendor: University of Washington
+Packager: The OpenPKG Project
+Distribution: OpenPKG [JUNK]
+Group: Mail
+License: Free but restricted
+Version: %{V_here}
+Release: 20030915
+
+# package options
+%option with_ssl no
+
+# list of sources
+Source0: ftp://ftp.cac.washington.edu/pine/pine%{V_real}.tar.bz2
+Source1: pine.conf.fixed
+Source2: pine.conf
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030729, MTA, make, gcc
+PreReq: OpenPKG, openpkg >= 20030729, MTA
+%if "%{with_ssl}" == "yes"
+BuildPreReq: openssl
+PreReq: openssl
+%endif
+AutoReq: no
+AutoReqProv: no
+
+%description
+ Pine - a Program for Internet News & Email - is a tool for reading,
+ sending, and managing electronic messages. Pine was developed by
+ Computing & Communications at the University of Washington. Though
+ originally designed for inexperienced email users, Pine has evolved
+ to support many advanced features, and an ever-growing number of
+ configuration and personal-preference options.
+
+%prep
+ %setup -q -n pine%{V_real}
+
+%build
+ # determine build platform
+ OS=""
+ OS_DEP_FILE=""
+ case "%{l_platform -t}" in
+ *-freebsd* ) OS="bsf"; OS_DEP_FILE="pine/osdep/os-bsf.h" ;;
+ *-linux* ) OS="slx"; OS_DEP_FILE="pine/osdep/os-lnx.h" ;;
+ *-sunos5.* ) OS="gs5"; OS_DEP_FILE="pine/osdep/os-sol.h" ;;
+ *)
+ echo "Sorry, unsupported architecture '%{l_platform -t}'" |\
+ %{l_rpmtool} msg -b -t error 1>&2
+ exit 1
+ ;;
+ esac
+
+ # adjust paths
+ PINE_CONF_FIXED="%{l_prefix}/etc/pine/pine.conf.fixed"
+ PINE_CONF="%{l_prefix}/etc/pine/pine.conf"
+ SENDMAIL="%{l_prefix}/sbin/sendmail"
+ %{l_shtool} subst \
+ -e "s;^\(#define SYSTEM_PINERC_FIXED[ ]\).*$;\1
\"$PINE_CONF_FIXED\";" \
+ -e "s;^\(#define SYSTEM_PINERC[ ]\).*$;\1 \"$PINE_CONF\";" \
+ -e "s;^\(#define SENDMAIL[ ]\).*$;\1 \"$SENDMAIL\";" \
+ $OS_DEP_FILE
+
+ # clean up before building Pine
+ sh ./build clean
+
+ # build Pine
+ CC="%{l_cc}" \
+ EXTRACFLAGS="%{l_cflags -O}" \
+ EXTRALDFLAGS="%{l_ldflags}" \
+%if "%{with_ssl}" == "yes"
+ SSLDIR="%{l_prefix}" \
+ SSLTYPE="unix" \
+ sh ./build $OS
+%else
+ sh ./build NOSSL $OS
+%endif
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+
+ # create directories and install files
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/bin \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/pine \
+ $RPM_BUILD_ROOT%{l_prefix}/man/man1
+ %{l_shtool} install -c -s -m 755 \
+ bin/pine \
+ $RPM_BUILD_ROOT%{l_prefix}/bin/
+ %{l_shtool} install -c -m 644 %{l_value -s -a} \
+ %{SOURCE pine.conf.fixed} \
+ %{SOURCE pine.conf} \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/pine/
+ %{l_shtool} install -c -m 644 \
+ doc/pine.1 \
+ $RPM_BUILD_ROOT%{l_prefix}/man/man1/
+
+ # determine installation files
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+ %{l_files_std} \
+ '%config %{l_prefix}/etc/pine/*'
+
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.6563 -r1.6564 news.txt
--- openpkg-web/news.txt 15 Sep 2003 11:17:12 -0000 1.6563
+++ openpkg-web/news.txt 15 Sep 2003 13:19:15 -0000 1.6564
@@ -1,3 +1,4 @@
+15-Sep-2003: New package: P<pine-4.58L-20030915>
15-Sep-2003: Upgraded package: P<mysql-3.23.54a-1.2.4>
15-Sep-2003: Upgraded package: P<mysql-4.0.14-1.3.2>
15-Sep-2003: New package: P<jam-2.5-20030915>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]