OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 21-Dec-2007 18:08:56
Branch: HEAD Handle: 2007122117085500
Added files:
openpkg-src/alpine alpine.conf alpine.conf.fixed alpine.spec
Log:
new package: alpine 1.00 (Programm for Internet News & Email (AlPINE))
Summary:
Revision Changes Path
1.1 +6 -0 openpkg-src/alpine/alpine.conf
1.1 +6 -0 openpkg-src/alpine/alpine.conf.fixed
1.1 +132 -0 openpkg-src/alpine/alpine.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/alpine/alpine.conf
============================================================================
$ cvs diff -u -r0 -r1.1 alpine.conf
--- /dev/null 2007-12-21 18:08:44 +0100
+++ alpine.conf 2007-12-21 18:08:56 +0100
@@ -0,0 +1,6 @@
+##
+## @l_prefix@/etc/alpine/alpine.conf - Alpine generic configuration file
+##
+## Users are allowed to override settings in their ~/.alpinerc
+##
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/alpine/alpine.conf.fixed
============================================================================
$ cvs diff -u -r0 -r1.1 alpine.conf.fixed
--- /dev/null 2007-12-21 18:08:44 +0100
+++ alpine.conf.fixed 2007-12-21 18:08:56 +0100
@@ -0,0 +1,6 @@
+##
+## @l_prefix@/etc/alpine/alpine.conf.fixed - Alpine master configuration
file
+##
+## Users are _NOT_ allowed to override settings in their ~/.alpinerc
+##
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/alpine/alpine.spec
============================================================================
$ cvs diff -u -r0 -r1.1 alpine.spec
--- /dev/null 2007-12-21 18:08:44 +0100
+++ alpine.spec 2007-12-21 18:08:56 +0100
@@ -0,0 +1,132 @@
+##
+## alpine.spec -- OpenPKG RPM Package Specification
+## Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
+## Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.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: alpine
+Summary: Programm for Internet News & Email (AlPINE)
+URL: http://www.washington.edu/alpine/
+Vendor: University of Washington
+Packager: OpenPKG Foundation e.V.
+Distribution: OpenPKG Community
+Class: EVAL
+Group: Mail
+License: ASF
+Version: 1.00
+Release: 20071221
+
+# package options
+%option with_ssl no
+%option with_ldap no
+
+# list of sources
+Source0: ftp://ftp.cac.washington.edu/alpine/alpine-%{version}.tar.bz2
+Source1: alpine.conf
+Source2: alpine.conf.fixed
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20040130, MTA, make, gcc
+PreReq: OpenPKG, openpkg >= 20040130, MTA
+%if "%{with_ssl}" == "yes"
+BuildPreReq: openssl
+PreReq: openssl
+%endif
+%if "%{with_ldap}" == "yes"
+BuildPreReq: openldap
+PreReq: openldap
+%endif
+AutoReq: no
+AutoReqProv: no
+
+%description
+ Alpine -- a Program for Internet News & Email -- is a tool for
+ reading, sending, and managing electronic messages. Alpine was
+ developed by Computing & Communications at the University of
+ Washington. Alpine is the successor to Pine.
+
+%track
+ prog alpine = {
+ version = %{version}
+ url = ftp://ftp.cac.washington.edu/alpine/
+ regex = alpine-(__VER__)\.tar\.bz2
+ }
+
+%prep
+ %setup -q
+
+%build
+ # configure program
+ CC="%{l_cc}" \
+ CFLAGS="%{l_cflags -O}" \
+ CPPFLAGS="%{l_cppflags}" \
+ LDFLAGS="%{l_ldflags}" \
+ LIBS="" \
+ ./configure \
+ --prefix=%{l_prefix} \
+ --mandir=%{l_prefix}/man \
+ --with-smtp-msa=%{l_prefix}/sbin/sendmail \
+ --with-system-pinerc=%{l_prefix}/etc/alpine/alpine.conf \
+ --with-system-fixed-pinerc=%{l_prefix}/etc/alpine/alpine.conf.fixed \
+%if "%{with_ssl}" == "yes"
+ --with-ssl \
+ --with-ssl-dir=%{l_prefix} \
+%else
+ --without-ssl \
+%endif
+%if "%{with_ldap}" == "yes"
+ --with-ldap \
+ --with-ldap-dir=%{l_prefix} \
+%else
+ --without-ldap \
+%endif
+ --without-krb5 \
+ --without-pthread \
+ --disable-nls
+
+ # build program
+ %{l_make} %{l_mflags -O}
+
+%install
+ # install program
+ rm -rf $RPM_BUILD_ROOT
+ %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
+
+ # create directories and install files
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/alpine
+ %{l_shtool} install -c -m 644 %{l_value -s -a} \
+ %{SOURCE alpine.conf.fixed} %{SOURCE alpine.conf} \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/alpine/
+
+ # determine installation files
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
+ %{l_files_std} \
+ '%config %{l_prefix}/etc/alpine/*'
+
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]