summaryrefslogtreecommitdiff
path: root/mail/elm+ME
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-11-19 21:11:57 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-11-19 21:11:57 +0000
commite04697b2957113533192389d990a6e1a5d9508e9 (patch)
treecedfd486e09534ad9544e31152a3f5aadc2e8011 /mail/elm+ME
parentUpgrade: 2.4 -> 2.5 (diff)
Upgrade 8a -> 8b
Make it non-interactive Make it packageable (compiled-in domain name not plays any role due to gethostname())
Diffstat (limited to 'mail/elm+ME')
-rw-r--r--mail/elm+ME/Makefile12
-rw-r--r--mail/elm+ME/distinfo1
-rw-r--r--mail/elm+ME/files/patch-ac33
-rw-r--r--mail/elm+ME/pkg-comment2
-rw-r--r--mail/elm+ME/scripts/pre-configure43
5 files changed, 31 insertions, 60 deletions
diff --git a/mail/elm+ME/Makefile b/mail/elm+ME/Makefile
index 126fa10b08b2..ca07522d42da 100644
--- a/mail/elm+ME/Makefile
+++ b/mail/elm+ME/Makefile
@@ -1,14 +1,14 @@
# New ports collection makefile for: elm
-# Version required: 2.4 ME8a
+# Version required: 2.4 ME8b
# Date created: 26 June 1995
# Whom: ache
#
-# $Id: Makefile,v 1.6 1995/09/28 16:41:41 ache Exp $
+# $Id: Makefile,v 1.7 1995/10/20 07:35:26 asami Exp $
#
DISTNAME= elm-2.4pl24me8
-PKGNAME= elm-2.4m8a
-PATCHFILES= elm-2.4pl24me8a.diffs.Z
+PKGNAME= elm-2.4m8b
+PATCHFILES= elm-2.4pl24me8a.diffs.Z elm-2.4pl24me8b.diffs.Z
PATCH_DIST_STRIP= -p1
CATEGORIES+= mail
MASTER_SITES= ftp://cs.hmc.edu/pub/me/
@@ -16,8 +16,8 @@ PATCH_SITES= ${MASTER_SITES}
MAINTAINER= ache@FreeBSD.ORG
-IS_INTERACTIVE= yes
-NO_PACKAGE= yes # domain name compiled in
+pre-patch:
+ rm -f ${WRKSRC}/src/state.c
post-install:
cd ${WRKSRC}/nls; ${MAKE} install
diff --git a/mail/elm+ME/distinfo b/mail/elm+ME/distinfo
index 3797cdac8081..2e1a9b4445bd 100644
--- a/mail/elm+ME/distinfo
+++ b/mail/elm+ME/distinfo
@@ -1,2 +1,3 @@
MD5 (elm-2.4pl24me8.tar.gz) = 5419a3de3b9d8e69ea52c47c617a6a9c
MD5 (elm-2.4pl24me8a.diffs.Z) = 6be90830bd929cab64e14c5aa7ca97cf
+MD5 (elm-2.4pl24me8b.diffs.Z) = 44505894d67d10a825fa87438aa0d79a
diff --git a/mail/elm+ME/files/patch-ac b/mail/elm+ME/files/patch-ac
index cc4eb21b843a..94009401481a 100644
--- a/mail/elm+ME/files/patch-ac
+++ b/mail/elm+ME/files/patch-ac
@@ -1,19 +1,16 @@
-*** src/menu2.c.bak Mon Aug 28 06:10:02 1995
---- src/menu2.c Sun Sep 24 21:18:52 1995
+*** Configure.bak Sun Nov 19 23:26:43 1995
+--- Configure Sun Nov 19 23:29:18 1995
***************
-*** 93,99 ****
- default:
- for (i = 0; i < max ; i++) {
- if (ch == items[i].key) {
-! do_item (items[i]);
- update = TRUE;
- break;
- }
---- 93,99 ----
- default:
- for (i = 0; i < max ; i++) {
- if (ch == items[i].key) {
-! do_item (&items[i]);
- update = TRUE;
- break;
- }
+*** 18,28 ****
+ PATH=".:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin:/etc:/usr/new:/usr/new/bin:/usr/nbin:$PATH"
+ export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0; kill $$)
+
+- if test ! -t 0; then
+- echo "Say 'sh Configure', not 'sh <Configure'"
+- exit 1
+- fi
+-
+ (alias) >/dev/null 2>&1 && \
+ echo "(I see you are using the Korn shell. Some ksh's blow up on Configure," && \
+ echo "especially on exotic machines. If yours does, try the Bourne shell instead.)"
+--- 18,23 ----
diff --git a/mail/elm+ME/pkg-comment b/mail/elm+ME/pkg-comment
index 94b2bfd2f6ad..e35506ccf114 100644
--- a/mail/elm+ME/pkg-comment
+++ b/mail/elm+ME/pkg-comment
@@ -1 +1 @@
-ELM Mail User Agent, v2.4pl24 ME8a
+ELM Mail User Agent, v2.4pl24 ME8b
diff --git a/mail/elm+ME/scripts/pre-configure b/mail/elm+ME/scripts/pre-configure
index b17d53a26de3..947faf745529 100644
--- a/mail/elm+ME/scripts/pre-configure
+++ b/mail/elm+ME/scripts/pre-configure
@@ -1,41 +1,12 @@
#!/bin/sh -
#
# pre-configure script for Elm port to FreeBSD 2.0
-# $Id: pre-configure,v 1.4 1995/09/23 21:06:06 ache Exp $
+# $Id: pre-configure,v 1.3 1995/09/28 16:41:56 ache Exp $
PortsDir=$PORTSDIR
CurDir=$CURDIR
WrkSrc=$WRKSRC
-echo ""
-echo "Elm comes with a Configure script to help you setting things up."
-echo "Unfortunately, this script asks for things (like locking style)"
-echo "which can be misleading."
-echo "I (the porter) tried and configure a general Elm (without MIME"
-echo "support), hopefully suitable for most systems."
-echo "Please note that if you will run Elm on a system with NFSmounted"
-echo "mailboxes you need to enable dot locking (see below)".
-echo ""
-
-echo ""
-echo "You now have two possible choices:"
-echo ""
-echo " 1) use my configuration as default, run Configure on top of it."
-echo " 2) run Configure from scratch."
-echo ""
-echo "Due to a check done iside the Elm Configure script, I cannot run"
-echo "it automagically. If you want to pick up the default configura-"
-echo "tion, simply press ENTER each time the script asks you anything."
-echo ""
-echo -n "Your choice [1]: "
-read foo
-
-if [ ! ${foo} ] ; then
- foo=1
-fi
-
-if [ ${foo} -eq 1 ] ; then
- #DON'T ALTER INDENTATION
cat > ${WrkSrc}/config.sh << 'EOF'
#!/bin/sh
# config.sh
@@ -102,6 +73,7 @@ cpp
date
emacs
execmail
+finger
ispell
line
lint
@@ -213,8 +185,9 @@ d_usenls='undef'
d_mallocvoid='define'
d_mboxedit='undef'
d_mime='undef'
-defencoding='7bit'
+defencoding=''
d_8bitmime='undef'
+d_binarymime='undef'
defcharset='US-ASCII'
defdispcharset='US-ASCII'
d_mmdf='undef'
@@ -274,7 +247,7 @@ i_unistd='define'
i_utime='define'
i_sysutime='undef'
lib='/usr/local/lib'
-libc='/usr/lib/libc.so.2.1'
+libc='/usr/lib/libc.so.2.2'
linepr='/usr/bin/lp'
maildir='/var/mail'
mailer='/usr/sbin/sendmail'
@@ -325,13 +298,13 @@ d_pgp='define'
pgp='/usr/local/bin/pgp'
pgp_path='/usr/local/bin/pgp'
d_remailer='define'
+finger='/usr/bin/finger'
+finger_path='/usr/bin/finger'
CONFIG=true
EOF
-fi # choice = 1
-
cd ${WrkSrc}
-sh Configure
+yes "" | ./Configure
cd ${CurDir}
exit 0