Browse Source

fixed and cleaned metamail

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1820 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
325f3114a6
3 changed files with 5 additions and 108 deletions
  1. +2
    -1
      Documentation/Developers/CHANGELOG-RENE
  2. +0
    -89
      package/tsa/metamail/75_mm-2.7-remove_tilde.patch
  3. +3
    -18
      package/tsa/metamail/metamail.conf

+ 2
- 1
Documentation/Developers/CHANGELOG-RENE

@ -3,9 +3,10 @@
- Juergen Sawinski: fixed typo in xfce4/xffm
fixed libusb for stage-9 (doc creation)
- removed fontconfig
- removed fontconfig
- updated xfree86 (4.3.99.15)
- merged fontconfig (2.2.1) into xfree86
- fixed and cleaned metamail
*) 2003-11-18 (2.0.0-rc2 - 2.0.0-rc3)

+ 0
- 89
package/tsa/metamail/75_mm-2.7-remove_tilde.patch

@ -1,89 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tsa/metamail/75_mm-2.7-remove_tilde.patch
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
diff -Nur mm2.7.orig/src/bin/sun-message.csh~ mm2.7/src/bin/sun-message.csh~
--- mm2.7.orig/src/bin/sun-message.csh~ 2003-05-14 23:58:27.000000000 +0200
+++ mm2.7/src/bin/sun-message.csh~ 1970-01-01 01:00:00.000000000 +0100
@@ -1,63 +0,0 @@
-#!/bin/csh -fb
-# (The "-fb" might need to be changed to "-f" on some systems)
-#
-#
-# This is sun-message. It looks at $2 to figure out how to decode $1, then gives the
-# user a short menu of choices, display, save, or quit.
-#
-mkdir /tmp/decode.$$
-cd /tmp/decode.$$
-
-if (! $?METAMAIL_PAGER) then
- set METAMAIL_PAGER=more
-endif
-
-if ($2 == "uuencode") then
- uudecode $1
-
- echo "The following file was uudecoded:"
- echo ""
-
- set defans = "1"
- while (1)
- ls -l
- set fn = *
-
- echo ""
- echo "Please choose one:"
- echo ""
- echo "1 -- Display it as ASCII text"
- echo "2 -- Save it as a file"
- echo "3 -- Quit this menu"
- echo ""
- echo -n "Which do you prefer (1 - 3)? [$defans] "
-
- set ans = $<
- if (x$ans == x) then
- set ans = $defans
- endif
- if ($ans == 3) then
- rm $1
- cd /tmp; /bin/rm -rf /tmp/decode.$$
- exit 0
- else if ($ans == 1) then
- ${METAMAIL_PAGER} $fn
- else if ($ans == 2) then
- set nfn = ""
- echo -n "Save as: $HOME/"
- set nfn = $<
- if (x$nfn != x) then
- /bin/cp $fn ${HOME}/$nfn
- else
- echo "Not Saved."
- endif
- else
- echo "Invalid choice."
- endif
- set defans = "3"
- end
-else
- ${METAMAIL_PAGER} $1
-endif
-
-

+ 3
- 18
package/tsa/metamail/metamail.conf

@ -20,22 +20,7 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
main_metamail() {
preconf="cd src"
makeopt="basics"
makeinstopt="install-all"
tar xZvf $archdir/mm${ver}.tar.Z
cd mm${ver}
for patch in `ls $confdir/*patch`; do
echo "Applying $patch .."
patch -p1 < $patch;
done
cd src
# eval "$MAKE basics" && \
# eval "$MAKE install-all"
make basics && make install-all
}
autoextract=0
custmain="main_metamail"

Loading…
Cancel
Save