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: 17-Aug-2003 20:48:16
Branch: HEAD Handle: 2003081719481302
Added files:
openpkg-re/vcheck vc.mutt15
openpkg-src/mutt15 mailcap mutt15.spec muttrc
Modified files:
openpkg-web news.txt
Log:
new package: mutt15 1.5.4i (Mail User Agent)
Summary:
Revision Changes Path
1.1 +37 -0 openpkg-re/vcheck/vc.mutt15
1.1 +18 -0 openpkg-src/mutt15/mailcap
1.1 +159 -0 openpkg-src/mutt15/mutt15.spec
1.1 +93 -0 openpkg-src/mutt15/muttrc
1.6203 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.mutt15
============================================================================
$ cvs diff -u -r0 -r1.1 vc.mutt15
--- /dev/null 2003-08-17 20:48:13.000000000 +0200
+++ vc.mutt15 2003-08-17 20:48:13.000000000 +0200
@@ -0,0 +1,37 @@
+config = {
+}
+
+prog mutt15 = {
+ version = 0
+ url = ftp://ftp.mutt.org/mutt/devel/
+ regex = mutt-(__VER__i)\.tar\.gz
+}
+prog mutt15:patch_rr_compressed = {
+ version = 1.5.4
+ url = ftp://ftp.mutt.org.ua/pub/mutt/
+ regex = mutt-(1\.5(\.\d+)?)
+ url = ftp://ftp.mutt.org.ua/pub/mutt/mutt-__NEWVER__/
+ regex = patch-(__VER__)\.rr\.compressed\.gz
+}
+prog mutt15:patch_vvv_initials = {
+ version = 1.5.4
+ url = ftp://ftp.mutt.org.ua/pub/mutt/
+ regex = mutt-(1\.5(\.\d+)?)
+ url = ftp://ftp.mutt.org.ua/pub/mutt/mutt-__NEWVER__/
+ regex = patch-(__VER__)\.vvv\.initials\.gz
+}
+prog mutt15:patch_vvv_nntp = {
+ version = 1.5.4
+ url = ftp://ftp.mutt.org.ua/pub/mutt/
+ regex = mutt-(1\.5(\.\d+)?)
+ url = ftp://ftp.mutt.org.ua/pub/mutt/mutt-__NEWVER__/
+ regex = patch-(__VER__)\.vvv\.nntp\.gz
+}
+prog mutt15:patch_vvv_quote = {
+ version = 1.5.4
+ url = ftp://ftp.mutt.org.ua/pub/mutt/
+ regex = mutt-(1\.5(\.\d+)?)
+ url = ftp://ftp.mutt.org.ua/pub/mutt/mutt-__NEWVER__/
+ regex = patch-(__VER__)\.vvv\.quote\.gz
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mutt15/mailcap
============================================================================
$ cvs diff -u -r0 -r1.1 mailcap
--- /dev/null 2003-08-17 20:48:15.000000000 +0200
+++ mailcap 2003-08-17 20:48:16.000000000 +0200
@@ -0,0 +1,18 @@
+##
+## @l_prefix@/etc/mutt/mailcap -- Global Mutt Mail Capability Database
+## Copyright (c) 1998-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
+##
+
+text/html; (w3m %s) 2>/dev/null || (lynx %s) 2>/dev/null ||
mozilla -remote openURL\(%s\); nametemplate=%s.html
+text/html; (w3m -dump %s) 2>/dev/null || (lynx -dump %s)
2>/dev/null || cat; nametemplate=%s.html; copiousoutput
+image/*; (display %s) 2>/dev/null || xv %s
+image/*; (anytopnm %s | pnmscale -xysize 80 46 | ppmtopgm |
pgmtopbm | pbmtoascii -1x2) 2>&1; copiousoutput
+video/*; mplayer %s
+application/pdf; (acroread %s) 2>/dev/null || (mgv %s) 2>/dev/null ||
(gv %s) 2>/dev/null || (ghostview %s) 2>/dev/null || gs %s
+application/postscript; (mgv %s) 2>/dev/null || (gv %s) 2>/dev/null ||
(ghostview %s) 2>/dev/null || gs %s
+application/x-dvi; xdvi %s
+application/vnd.ms-powerpoint; (msov --format=ppt %s) 2>/dev/null || openoffice %s
+application/vnd.ms-excel; (msov --format=xls %s) 2>/dev/null || openoffice %s
+application/vnd.ms-word; (msov --format=doc %s) 2>/dev/null || openoffice %s
+application/msword; (msov --format=doc %s) 2>/dev/null || openoffice %s
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mutt15/mutt15.spec
============================================================================
$ cvs diff -u -r0 -r1.1 mutt15.spec
--- /dev/null 2003-08-17 20:48:15.000000000 +0200
+++ mutt15.spec 2003-08-17 20:48:16.000000000 +0200
@@ -0,0 +1,159 @@
+##
+## mutt15.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.
+##
+
+# package version
+%define V_mutt 1.5.4
+
+# package information
+Name: mutt15
+Summary: Mail User Agent
+URL: http://www.mutt.org/
+Vendor: Michael Elkins
+Packager: The OpenPKG Project
+Distribution: OpenPKG [EVAL]
+Group: Mail
+License: BSD
+Version: %{V_mutt}i
+Release: 20030817
+
+# build options
+%option with_comp no
+%option with_nntp no
+%option with_initials no
+%option with_quote no
+
+# list of sources
+Source0: ftp://ftp.mutt.org/mutt/devel/mutt-%{V_mutt}i.tar.gz
+Source1: mailcap
+Source2: muttrc
+Patch0:
ftp://ftp.mutt.org.ua/pub/mutt/mutt-%{V_mutt}/patch-%{V_mutt}.rr.compressed.gz
+Patch1:
ftp://ftp.mutt.org.ua/pub/mutt/mutt-%{V_mutt}/patch-%{V_mutt}.vvv.nntp.gz
+Patch2:
ftp://ftp.mutt.org.ua/pub/mutt/mutt-%{V_mutt}/patch-%{V_mutt}.vvv.initials.gz
+Patch3:
ftp://ftp.mutt.org.ua/pub/mutt/mutt-%{V_mutt}/patch-%{V_mutt}.vvv.quote.gz
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030717, make
+PreReq: OpenPKG, openpkg >= 20030717
+BuildPreReq: openssl, slang
+PreReq: openssl, slang
+AutoReq: no
+AutoReqProv: no
+Provides: mutt
+
+%description
+ Mutt is a small but very powerful text based program for reading
+ electronic mail under Unix operating systems, including support for
+ color terminals, MIME, and a threaded sorting mode.
+
+ Notice: this is the development series of Mutt. Use it at your own risk!
+
+%prep
+ %setup -q -n mutt-%{V_mutt}
+%if "%{with_comp}" == "yes"
+ %patch0 -p1
+%endif
+%if "%{with_nntp}" == "yes"
+ %patch1 -p1
+%endif
+%if "%{with_initials}" == "yes"
+ %patch2 -p1
+%endif
+%if "%{with_quote}" == "yes"
+ %patch3 -p1
+%endif
+
+%build
+ # configure for particular platform
+ echo 'am_cv_func_iconv=no' >config.cache
+ echo 'ac_cv_header_iconv_h=no' >>config.cache
+ options=''
+ case "%{l_target}" in
+ *-freebsd* ) options="--enable-flock --disable-fcntl" ;;
+ esac
+ CC="%{l_cc}" \
+ CFLAGS="%{l_cflags -O}" \
+ CPPFLAGS="-DICONV_CONST=const" \
+ LDFLAGS="-Limap %{l_ldflags}" \
+ ./configure \
+ --cache-file=./config.cache \
+ --prefix=%{l_prefix} \
+ --sysconfdir=%{l_prefix}/etc/mutt \
+ --with-docdir=%{l_prefix}/share/mutt \
+ --with-slang=%{l_prefix} \
+ --with-ssl=%{l_prefix} \
+ --enable-pop \
+ --enable-imap \
+%if "%{with_comp}" == "yes"
+ --enable-compressed \
+%endif
+%if "%{with_nntp}" == "yes"
+ --enable-nntp \
+%endif
+ --enable-buffy-size \
+ --without-iconv \
+ --without-wc-funcs \
+ --disable-nls \
+ $options
+
+ # perform standard build procedure
+ %{l_make} %{l_mflags}
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+
+ # perform standard installation procedure
+ %{l_shtool} subst \
+ -e "s;chmod 2755;true;" \
+ -e "s;chgrp mail;true;" \
+ Makefile
+ %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
+
+ # strip down installation tree
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/share/mutt/[A-Za-d]*
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/share/mutt/patch-notes.txt
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/mutt/html
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/mutt/samples
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/flea
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/flea.1
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/muttbug
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/muttbug.1
+ strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
+
+ # install additional files
+ %{l_shtool} install -c -m 644 %{l_value -s -a} \
+ %{SOURCE muttrc} $RPM_BUILD_ROOT%{l_prefix}/etc/mutt/Muttrc
+ %{l_shtool} install -c -m 644 %{l_value -s -a} \
+ %{SOURCE mailcap} $RPM_BUILD_ROOT%{l_prefix}/etc/mutt/mailcap
+
+ # determine installation files
+ %{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-src/mutt15/muttrc
============================================================================
$ cvs diff -u -r0 -r1.1 muttrc
--- /dev/null 2003-08-17 20:48:15.000000000 +0200
+++ muttrc 2003-08-17 20:48:16.000000000 +0200
@@ -0,0 +1,93 @@
+##
+## @l_prefix@/etc/mutt/Muttrc -- OpenPKG Mutt Global Configuration
+## Copyright (c) 1998-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
+##
+
+# ignore CTRL-Z
+unset suspend
+
+# use OpenPKG MTA
+set sendmail = @l_prefix@/sbin/sendmail
+
+# use OpenPKG folder paths
+set folder = ~/.mail
+set record = ~/.mail/sent
+set postponed = ~/.mail/postponed
+set spoolfile = ~/.mail/inbox
+set mbox = ~/.mail/inbox
+mailboxes ~/.mail/inbox
+
+# aliases
+#source ~/.muttrc.aliases
+set alias_file = ~/.muttrc.aliases
+set sort_alias = unsorted
+
+# signature
+unset sig_dashes
+set signature = ~/.signature
+
+# editor
+set editor = `echo ${EDITOR-vi}`
+set tmpdir = `echo ${TMPDIR-/tmp}`
+
+# addresses
+set use_domain
+
+# pager
+set pager = builtin
+set pager_context = 1
+set pager_stop
+set pager_index_lines = 0
+ignore received content- mime-version status x-status message-id sender
+ignore references return-path lines
+ignore x-
+ignore "from "
+
+# display customization
+set to_chars = "L CC "
+set charset = iso-8859-1
+set quote_regexp="^[ \t]*([A-Za-z ]+>|[]>:}][]>:}]*)"
+set smileys="(>From )|(>?[;:][-^]?[][)(><}{|/DP][)}]*)"
+mono quoted bold
+mono markers bold
+set menu_scroll
+unset mark_old
+set help
+set delete = yes
+set wait_key = no
+set confirmappend = no
+set confirmcreate = no
+folder-hook . set sort=date-sent
+
+# reply/forward customization
+unset edit_hdrs
+set autoedit
+set fast_reply
+set date_format = "!%a, %b %d, %Y"
+set attribution = "On %d, %n wrote:\n"
+set indent_str = "> "
+set include = yes
+set forw_format = "[FWD] %s"
+unset mime_fwd
+unset forw_quote
+unset metoo
+
+# new mail generation
+set hdrs
+set use_8bitmime
+
+# autoviewing via .mailcap handlers
+auto_view text/html image/*
+
+# no printing by default
+set print = no
+
+# toggle sort mode
+macro index \cxd set sort=date-sent
+macro index \cxt set sort=threads
+
+# show documentation on <ESC>+'h'
+macro generic "\eh" "!${PAGER-more} @l_prefix@/share/mutt/manual.txt\n" "Show Mutt
Manual"
+macro index "\eh" "!${PAGER-more} @l_prefix@/share/mutt/manual.txt\n" "Show Mutt
Manual"
+macro pager "\eh" "!${PAGER-more} @l_prefix@/share/mutt/manual.txt\n" "Show Mutt
Manual"
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.6202 -r1.6203 news.txt
--- openpkg-web/news.txt 17 Aug 2003 18:47:58 -0000 1.6202
+++ openpkg-web/news.txt 17 Aug 2003 18:48:14 -0000 1.6203
@@ -1,3 +1,4 @@
+17-Aug-2003: New package: P<mutt15-1.5.4i-20030817>
17-Aug-2003: Upgraded package: P<perl-ssl-20030817-20030817>
17-Aug-2003: Upgraded package: P<mutt-1.4.1i-20030817>
17-Aug-2003: Upgraded package: P<mhonarc-2.6.8-20030817>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]