elm2.4.ME+.66

This commit is contained in:
pjanzen 2000-01-05 09:06:12 +00:00
parent 3c12f28355
commit 17be684e59
13 changed files with 494 additions and 846 deletions

View File

@ -1,31 +1,25 @@
# OpenBSD makefile for: elm
# See also: http://www.ozone.fmi.fi/KEH/
# Version required: 2.4.25.ME+32
# Date created: 17 November 1997
# Whom: gene
#
# $OpenBSD: Makefile,v 1.2 1997/11/19 01:07:49 joey Exp $
# $OpenBSD: Makefile,v 1.3 2000/01/05 09:06:12 pjanzen Exp $
#
DISTNAME= elm-2.4ME+32
DISTNAME= elm-2.4ME+66
CATEGORIES= mail
MASTER_SITES= ftp://ftp.ozone.fmi.fi/KEH/ \
ftp://ftp.funet.fi/pub/unix/mail/elm/elm-2.4ME+/ \
ftp://ftp.ibp.fr/pub/unix/mail/elm-me/
MASTER_SITES= ftp://ftp.ozone.fmi.fi/KEH/
MAINTAINER= gene@OpenBSD.ORG
MAINTAINER= pjanzen@OpenBSD.ORG
WRKSRC= ${WRKDIR}/elm2.4.ME+.32
MAN1= answer.1 checkalias.1 elm.1 elmalias.1 fastmail.1 \
listalias.1 messages.1 newalias.1 printmail.1 readmsg.1
WRKSRC= ${WRKDIR}/elm2.4.ME+.66
HAS_CONFIGURE= Yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ENV+= PREFIX="${PREFIX}"
CONFIGURE_ARGS+= -S
CONFIGURE_ARGS+= -S -d
SCRIPTS_ENV= OPSYS=${OPSYS}
post-configure:
${CP} ${FILESDIR}/elm.mimecharsets ${WRKSRC}/bin
post-install:
perl -pi -e 's,/usr/local,${PREFIX},' ${WRKSRC}/nls/LANGS
cd ${WRKSRC}/nls; ${MAKE} install
if [ -f ${PREFIX}/lib/elm.mimetypes ] ; then \
${INSTALL_DATA} \

View File

@ -1,308 +0,0 @@
#!/bin/sh -
#
# FreeBSD pre-configure sub-script for Elm port
# $Id: config.sh.FreeBSD,v 1.1.1.1 1997/11/18 04:09:47 gene Exp $
cat > ${WRKSRC}/config.sh << 'EOF'
#!/bin/sh
# config.sh
# This file was produced by running the Configure script.
Log='$Log'
Header='$Header'
bin="${PREFIX}/bin"
contains='grep'
cppstdin='/usr/bin/cpp'
cppminus=''
d_getopt='define'
d_memcpy='define'
d_mkdir='define'
d_rename='define'
d_symlink='define'
d_whoami='undef'
d_poll='undef'
d_inttypes='undef'
d_nointtypes='undef'
n='-n'
c=''
orderlib='false'
ranlib='/usr/bin/ranlib'
package='elm2'
pager='builtin++'
startsh='#!/bin/sh'
define='define'
loclist='
cat
chgrp
chmod
cp
echo
expr
grep
ln
ls
make
mv
rm
sed
sleep
touch
tr
'
expr='/bin/expr'
sed='/usr/bin/sed'
echo='/bin/echo'
cat='/bin/cat'
rm='/bin/rm'
mv='/bin/mv'
cp='/bin/cp'
tail=''
tr='/usr/bin/tr'
mkdir=''
sort=''
uniq=''
grep='/usr/bin/grep'
trylist='
Mcc
compress
cpp
date
emacs
execmail
finger
ispell
line
lint
lp
lpr
mailx
metamail
mips
more
nroff
pack
pg
pgp
pmake
pr
rmail
sendmail
shar
smail
submit
tar
tbl
test
troff
uname
uuname
vi
'
test='/bin/test'
inews=''
ispell="${PREFIX}/bin/ispell"
egrep=''
more='/usr/bin/more'
pg='pg'
Mcc='Mcc'
vi='/usr/bin/vi'
mailx='mailx'
mail=''
cpp='/usr/bin/cpp'
perl=''
emacs='emacs'
ls='/bin/ls'
rmail='/bin/rmail'
sendmail='/usr/sbin/sendmail'
shar='/usr/bin/shar'
smail='smail'
submit=''
tbl='/usr/bin/tbl'
troff='/usr/bin/troff'
nroff='/usr/bin/nroff'
uname='/usr/bin/uname'
uuname='/usr/bin/uuname'
line='line'
chgrp='/usr/bin/chgrp'
chmod='/bin/chmod'
lint='/usr/bin/lint'
sleep='/bin/sleep'
pr='/usr/bin/pr'
tar='/usr/bin/tar'
ln='/bin/ln'
lpr='/usr/bin/lpr'
lp='/usr/bin/lp'
touch='/usr/bin/touch'
make='/usr/bin/make'
date='/bin/date'
csh=''
pmake='pmake'
mips='false'
col=''
pack='pack'
compress='/usr/bin/compress'
execmail=''
libswanted='intl nls'
noaddlib='yes'
c_date='Mon Dec 23 07:44:59 MSK 1996'
d_ascii='undef'
d_broke_ctype='undef'
d_calendar='define'
calendar='calendar'
d_chown_neg1='define'
d_content='undef'
d_crypt='define'
cryptlib='-lcrypt'
d_cuserid='undef'
d_disphost='undef'
d_domname='define'
d_usegetdom='undef'
d_errlst='define'
d_flock='define'
d_dotlock='undef'
d_fcntlock='undef'
has_flock='define'
has_fcntl='define'
d_ftruncate='define'
d_gethname='define'
d_douname='undef'
d_host_comp='undef'
ign_hname='n'
d_havetlib='define'
termlib='-ltermlib'
d_index='undef'
d_internet='define'
d_ispell='define'
ispell_path="${PREFIX}/bin/ispell"
ispell_options=''
d_locale='define'
d_nl_types='define'
d_msgcat='define'
d_usenls='undef'
d_mallocvoid='define'
d_mboxedit='define'
d_mime='define'
metamail_path='none'
defencoding=''
d_8bitmime='define'
d_binarymime='undef'
d_dsn='define'
defcharset='ISO-8859-1'
defdispcharset='ISO-8859-1'
d_mmdf='undef'
d_newauto='define'
d_noaddfrom='define'
d_usedomain='undef'
d_noxheader='undef'
d_pidcheck='define'
d_ptem='undef'
d_putenv='define'
d_remlock='undef'
maxattempts='6'
d_setgid='undef'
d_savegrpmboxid='undef'
mailermode='755'
d_sigvec='undef'
d_sigvectr='undef'
d_sigset='undef'
d_sighold='undef'
d_sigprocmask='define'
d_sigblock='undef'
d_waitpid='define'
d_sigaction='define'
d_strcspn='define'
d_strspn='define'
d_strpbrk='define'
d_strerror='define'
d_strftime='define'
d_strings='undef'
d_pwdinsys='undef'
strings='/usr/include/string.h'
includepath=''
d_strstr='define'
d_strtok='define'
d_subshell='define'
d_tempnam='define'
tempnamo=''
tempnamc=''
d_termio='undef'
d_termios='define'
d_useembed='define'
d_utimbuf='define'
d_vfork='define'
defbatsub='no subject (file transmission)'
defeditor='/usr/bin/vi'
editoropts=''
hostname="${Hostname}"
phostname='hostname'
mydomain="${Domain}"
autohostname='define'
i_memory='define'
i_stdarg='define'
i_stdlib='define'
i_time='define'
i_systime='define'
d_systimekernel='undef'
i_unistd='define'
i_utime='define'
i_sysutime='undef'
lib="${PREFIX}/lib"
libc='/usr/lib/libc.so.3.0'
linepr='/usr/bin/lp'
maildir='/var/mail'
mailer='/usr/sbin/sendmail'
mailgrp='bin'
mansrc="${PREFIX}/man/man1"
catmansrc="${PREFIX}/man/cat1"
manext='.1'
manext_choice='.1'
catmanext='.1'
catmanext_choice='.1'
packed='n'
manroff='/usr/bin/nroff'
manroffopts=''
suffix=''
packer=''
models='none'
split=''
small=''
medium=''
large=''
huge=''
optimize="$CFLAGS"
ccflags=''
cppflags=''
ldflags='-s'
cc='cc'
libs=''
nametype='bsd'
d_passnames='define'
d_berknames='define'
d_usgnames='undef'
passcat='cat /etc/passwd'
rmttape='unknown-remote-tape-unit'
roff='/usr/bin/troff'
roffopts=''
sigtype='void'
spitshell='cat'
shsharp='true'
sharpbang='#!'
tmpdir='/tmp'
tzname_handling='TM_ZONE'
use_pmake='n'
xencf=''
xenlf=''
d_xenix='undef'
d_bsd='define'
d_pgp='define'
pgp="${PREFIX}/bin/pgp"
pgp_path="${PREFIX}/bin/pgp"
d_remailer='define'
finger='/usr/bin/finger'
finger_path='/usr/bin/finger'
CONFIG=true
EOF
exit 0
# END

View File

@ -1,307 +0,0 @@
#!/bin/sh -
#
# OpenBSD pre-configure sub-script for Elm port
# $Id: config.sh.OpenBSD,v 1.1.1.1 1997/11/18 04:09:47 gene Exp $
cat > ${WRKSRC}/config.sh << 'EOF'
#!/bin/sh
# config.sh
# This file was produced by running the Configure script.
Log='$Log'
Header='$Header'
bin="${PREFIX}/bin"
contains='grep'
cppstdin='/usr/bin/cpp'
cppminus=''
d_getopt='define'
d_memcpy='define'
d_mkdir='define'
d_rename='define'
d_symlink='define'
d_whoami='undef'
d_poll='define'
d_inttypes='define'
d_nointtypes='undef'
n='-n'
c=''
orderlib='false'
ranlib='/usr/bin/ranlib'
package='elm2'
pager='builtin++'
startsh='#!/bin/sh'
define='define'
loclist='
cat
chgrp
chmod
cp
echo
expr
grep
ln
ls
make
mv
rm
sed
sleep
touch
tr
'
expr='/bin/expr'
sed='/usr/bin/sed'
echo='/bin/echo'
cat='/bin/cat'
rm='/bin/rm'
mv='/bin/mv'
cp='/bin/cp'
tail=''
tr='/usr/bin/tr'
mkdir=''
sort=''
uniq=''
grep='/usr/bin/grep'
trylist='
Mcc
compress
cpp
date
emacs
execmail
finger
ispell
line
lint
lp
lpr
mailx
metamail
mips
more
nroff
pack
pg
pgp
pmake
pr
rmail
sendmail
shar
smail
submit
tar
tbl
test
troff
uname
uuname
vi
'
test='/bin/test'
inews=''
ispell="${PREFIX}/bin/ispell"
egrep=''
more='/usr/bin/more'
pg='pg'
Mcc='Mcc'
vi='/usr/bin/vi'
mailx='/usr/bin/mailx'
mail=''
cpp='/usr/bin/cpp'
perl=''
emacs='emacs'
ls='/bin/ls'
rmail='/bin/rmail'
sendmail='/usr/sbin/sendmail'
shar='/usr/bin/shar'
smail='smail'
submit=''
tbl='/usr/bin/tbl'
troff='/usr/bin/troff'
nroff='/usr/bin/nroff'
uname='/usr/bin/uname'
uuname='/usr/bin/uuname'
line='line'
chgrp='/usr/sbin/chgrp'
chmod='/bin/chmod'
lint='/usr/bin/lint'
sleep='/bin/sleep'
pr='/usr/bin/pr'
tar='/bin/tar'
ln='/bin/ln'
lpr='/usr/bin/lpr'
lp='lp'
touch='/usr/bin/touch'
make='/usr/bin/make'
date='/bin/date'
csh=''
pmake='pmake'
mips='false'
col=''
pack='pack'
compress='/usr/bin/compress'
execmail=''
libswanted='intl nls'
noaddlib='yes'
c_date='Wed Oct 15 14:44:16 CDT 1997'
d_ascii='undef'
d_broke_ctype='undef'
d_calendar='define'
calendar='calendar'
d_chown_neg1='define'
d_content='undef'
d_crypt='define'
cryptlib=''
d_cuserid='undef'
d_disphost='undef'
d_domname='define'
d_usegetdom='undef'
d_errlst='define'
d_flock='define'
d_dotlock='undef'
d_fcntlock='undef'
has_flock='define'
has_fcntl='define'
d_ftruncate='define'
d_gethname='define'
d_douname='undef'
d_host_comp='undef'
ign_hname='n'
d_havetlib='define'
termlib='-ltermlib'
d_index='define'
d_internet='define'
d_ispell='define'
ispell_path="${PREFIX}/bin/ispell"
ispell_options=''
d_locale='define'
d_nl_types='define'
d_msgcat='define'
d_usenls='undef'
d_mallocvoid='define'
d_mboxedit='define'
d_mime='define'
metamail_path='none'
defencoding=''
d_8bitmime='define'
d_binarymime='undef'
d_dsn='define'
defcharset='ISO-8859-1'
defdispcharset='ISO-8859-1'
d_mmdf='undef'
d_newauto='define'
d_noaddfrom='define'
d_usedomain='undef'
d_noxheader='undef'
d_pidcheck='define'
d_ptem='undef'
d_putenv='define'
d_remlock='undef'
maxattempts='6'
d_setgid='undef'
d_savegrpmboxid='undef'
mailermode='755'
d_sigvec='undef'
d_sigvectr='undef'
d_sigset='undef'
d_sighold='undef'
d_sigprocmask='define'
d_sigblock='undef'
d_waitpid='define'
d_sigaction='define'
d_strcspn='define'
d_strspn='define'
d_strpbrk='define'
d_strerror='define'
d_strftime='define'
d_strings='undef'
d_pwdinsys='undef'
strings='/usr/include/string.h'
includepath=''
d_strstr='define'
d_strtok='define'
d_subshell='define'
d_tempnam='define'
tempnamo=''
tempnamc=''
d_termio='undef'
d_termios='define'
d_useembed='define'
d_utimbuf='define'
d_vfork='define'
defbatsub='no subject (file transmission)'
defeditor='/usr/bin/vi'
editoropts=''
hostname="${Hostname}"
phostname='hostname'
mydomain="${Domain}"
autohostname='define'
i_memory='define'
i_stdarg=''
i_stdlib='define'
i_time='define'
i_systime='define'
d_systimekernel='undef'
i_unistd='define'
i_utime='define'
i_sysutime='undef'
lib="${PREFIX}/lib"
libc='/usr/lib/libc.so.17.1'
linepr='/usr/bin/lpr'
maildir='/var/mail'
mailer='/usr/sbin/sendmail'
mailgrp='wheel'
mansrc="${PREFIX}/man/man1"
catmansrc="${PREFIX}/man/cat1"
manext='.1'
manext_choice='.1'
catmanext='.0'
catmanext_choice='.0'
packed='n'
manroff='/usr/bin/nroff'
manroffopts=''
suffix=''
packer=''
models='none'
split=''
small=''
medium=''
large=''
huge=''
optimize="$CFLAGS"
ccflags=''
cppflags=''
ldflags='-s'
cc='cc'
libs=''
nametype='bsd'
d_passnames='define'
d_berknames='define'
d_usgnames='undef'
passcat='cat /etc/passwd'
rmttape='unknown-remote-tape-unit'
roff='/usr/bin/troff'
roffopts=''
sigtype='void'
spitshell='cat'
shsharp='true'
sharpbang='#!'
tmpdir='/tmp'
tzname_handling='TM_ZONE'
use_pmake='n'
xencf=''
xenlf=''
d_xenix='undef'
d_bsd='define'
d_pgp='define'
pgp="${PREFIX}/bin/pgp"
pgp_path="${PREFIX}/bin/pgp"
d_remailer='define'
finger='/usr/bin/finger'
finger_path='/usr/bin/finger'
CONFIG=true
EOF
exit 0
# END

View File

@ -0,0 +1,75 @@
# Mapping from LC_CTYPE locale to MIME's charset values
# Format is:
# LC_CTYPE charset
# LC_CTYPE is on form
# LL_cc.encoding
# then also following formats are available:
# LL_cc charset
# LL charset
# *.encoding charset
ASCII US-ASCII
US-ASCII US-ASCII
ascii US-ASCII
da_DK.DIS_8859-15 ISO-8859-1
da_DK.ISO_8859-1 ISO-8859-1
de_AT.DIS_8859-15 ISO-8859-1
de_AT.ISO_8859-1 ISO-8859-1
de_CH.DIS_8859-15 ISO-8859-1
de_CH.ISO_8859-1 ISO-8859-1
de_DE.DIS_8859-15 ISO-8859-1
de_DE.ISO_8859-1 ISO-8859-1
en_AU.DIS_8859-15 ISO-8859-1
en_AU.ISO_8859-1 ISO-8859-1
en_CA.DIS_8859-15 ISO-8859-1
en_CA.ISO_8859-1 ISO-8859-1
en_GB.DIS_8859-15 ISO-8859-1
en_GB.ISO_8859-1 ISO-8859-1
en_US.DIS_8859-15 ISO-8859-1
en_US.ISO_8859-1 ISO-8859-1
es_ES.DIS_8859-15 ISO-8859-1
es_ES.ISO_8859-1 ISO-8859-1
fi_FI.DIS_8859-15 ISO-8859-1
fi_FI.ISO_8859-1 ISO-8859-1
fr_BE.DIS_8859-15 ISO-8859-1
fr_BE.ISO_8859-1 ISO-8859-1
fr_CA.DIS_8859-15 ISO-8859-1
fr_CA.ISO_8859-1 ISO-8859-1
fr_CH.DIS_8859-15 ISO-8859-1
fr_CH.ISO_8859-1 ISO-8859-1
fr_FR.DIS_8859-15 ISO-8859-1
fr_FR.ISO_8859-1 ISO-8859-1
hr_HR.ISO_8859-2 ISO-8859-2
hu_HU.ISO_8859-2 ISO-8859-2
is_IS.DIS_8859-15 ISO-8859-1
is_IS.ISO_8859-1 ISO-8859-1
it_CH.DIS_8859-15 ISO-8859-1
it_CH.ISO_8859-1 ISO-8859-1
it_IT.DIS_8859-15 ISO-8859-1
it_IT.ISO_8859-1 ISO-8859-1
ja_JP.EUC (unsupported)
ja_JP.SJIS (unsupported)
ko_KR.EUC (unsupported)
lt_LN.ASCII US-ASCII
lt_LN.DIS_8859-15 ISO-8859-1
lt_LN.ISO_8859-1 ISO-8859-1
lt_LN.ISO_8859-2 ISO-8859-2
nl_BE.DIS_8859-15 ISO-8859-1
nl_BE.ISO_8859-1 ISO-8859-1
nl_NL.DIS_8859-15 ISO-8859-1
nl_NL.ISO_8859-1 ISO-8859-1
no_NO.DIS_8859-15 ISO-8859-1
no_NO.ISO_8859-1 ISO-8859-1
pl_PL.ISO_8859-2 ISO-8859-2
pt_PT.DIS_8859-15 ISO-8859-1
pt_PT.ISO_8859-1 ISO-8859-1
ru_RU.CP866 IBM866
ru_RU.KOI8-R KOI8-R
ru_SU.CP866 IBM866
ru_SU.KOI8-R KOI8-R
sl_SI.ISO_8859-2 ISO-8859-2
sv_SE.DIS_8859-15 ISO-8859-1
sv_SE.ISO_8859-1 ISO-8859-1
us-ascii US-ASCII
zh_CN.EUC (unsupported)
ja_JP.Shift_JIS (unsupported)
zh_TW.Big5 (unsupported)

View File

@ -1,3 +1,3 @@
MD5 (elm-2.4ME+32.tar.gz) = 7db4b64a0db169dee2b96a3a031aef88
RMD160 (elm-2.4ME+32.tar.gz) = 9615e2ba73b7193bb0066a7c7cab6de611a7175d
SHA1 (elm-2.4ME+32.tar.gz) = 1904ec6a0c1239b883a61bb1c1ce87accde26171
MD5 (elm-2.4ME+66.tar.gz) = 5fab6d720b0dea14527adda2b39cfe6e
RMD160 (elm-2.4ME+66.tar.gz) = a38213fcd66d1f34197391260e3757905e44ce10
SHA1 (elm-2.4ME+66.tar.gz) = c2e34c55875aa45375853ae3d933ac4c294598a2

View File

@ -1,49 +1,20 @@
*** nls/Makefile.old Thu Mar 10 20:21:47 1994
--- nls/Makefile Fri Jul 28 06:55:04 1995
***************
*** 1,6 ****
LANGFILE=LANGS
CATNAME=elm2.4.cat
! GENCAT= nls/gencat
HDIR= ../hdrs
SDIR= C/C/C
--- 1,6 ----
LANGFILE=LANGS
CATNAME=elm2.4.cat
! GENCAT= gencat
HDIR= ../hdrs
SDIR= C/C/C
***************
*** 39,45 ****
./Install $(LANGFILE) $(GENCAT) $(CATNAME)
$(HFILES): $(MFILES)
! gencat/gencat $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
clean: FRC
/bin/rm -f $(MSGCAT)
--- 39,45 ----
./Install $(LANGFILE) $(GENCAT) $(CATNAME)
$(HFILES): $(MFILES)
! $(GENCAT) $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
clean: FRC
/bin/rm -f $(MSGCAT)
*** nls/LANGS.old Sun Jun 28 04:32:25 1992
--- nls/LANGS Fri Jul 28 06:48:31 1995
***************
*** 1,5 ****
# LANGS file
! C/C/C /usr/local/nls/msg/C
! english/us/ascii /usr/local/nls/msg/english
! french/canada/8859 /usr/local/nls/msg/french
--- 1,5 ----
# LANGS file
! C/C/C /usr/local/share/nls/C
! english/us/ascii /usr/local/share/nls/en_US.ISO_8859-1
! french/canada/8859 /usr/local/share/nls/fr_FR.ISO_8859-1
--- nls/Makefile.orig Tue Jan 4 18:32:30 2000
+++ nls/Makefile Tue Jan 4 18:32:32 2000
@@ -3,7 +3,7 @@
#
LANGFILE=LANGS
CATNAME=elm2.4me+.cat
-GENCAT= nls/gencat
+GENCAT= /usr/bin/gencat
HDIR= ../hdrs
SDIR= C/C/C
@@ -46,7 +46,7 @@ install:
./Install $(LANGFILE) $(GENCAT) $(CATNAME)
$(HFILES): $(MFILES)
- gencat/gencat $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
+ $(GENCAT) $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
clean: FRC
/bin/rm -f $(MSGCAT)

View File

@ -1,36 +1,11 @@
*** Configure.bak Mon Mar 11 18:47:43 1996
--- Configure Tue Mar 12 14:52:18 1996
***************
*** 18,28 ****
PATH=".:/bin:/usr/bin:/usr/sbin:/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 ----
***************
*** 2278,2284 ****
: see if crypt exists
echo " "
! if $contains '^crypt$' libc.list >/dev/null 2>&1; then
echo 'crypt() found.'
d_crypt="$define"
cryptlib=''
--- 2273,2282 ----
: see if crypt exists
echo " "
! if $test "$cryptlib" = -lcrypt; then
! echo 'crypt() found.'
! d_crypt="$define"
! elif $contains '^crypt$' libc.list >/dev/null 2>&1; then
echo 'crypt() found.'
d_crypt="$define"
cryptlib=''
--- nls/LANGS.orig Tue Jan 4 18:34:07 2000
+++ nls/LANGS Tue Jan 4 18:34:08 2000
@@ -1,5 +1,5 @@
# LANGS file
-C/C/C /usr/local/nls/msg/C
-english/us/ascii /usr/local/nls/msg/english
-french/canada/8859 /usr/local/nls/msg/french
+C/C/C /usr/local/share/nls/C
+# english/us/ascii /usr/local/share/nls/en_US.ISO_8859-1
+# french/canada/8859 /usr/local/share/nls/fr_FR.ISO_8859-1

View File

@ -1,44 +1,11 @@
*** src/fileio.c.orig Sat May 17 13:30:00 1997
--- src/fileio.c Wed Oct 15 13:42:24 1997
***************
*** 108,113 ****
--- 108,116 ----
#ifdef BSD
# include <sys/wait.h>
#endif
+ #if defined(__OpenBSD__)
+ # include <time.h>
+ #endif
#include "me.h"
extern int errno;
***************
*** 537,543 ****
--- 540,550 ----
dprint(5,(debugfile,
"copy_message: No 'From ' line seen...\n"));
if (!remove_header && !remove_envelope) {
+ #if defined(__OpenBSD__)
+ time_t thetime = time((time_t *) 0);
+ #else
long thetime = time((long *) 0);
+ #endif
dprint(5,(debugfile,
"copy_message: Create it!\n"));
if (fprintf(dest_file,
*** src/mailmsg2.c.orig Sat May 17 13:30:00 1997
--- src/mailmsg2.c Wed Oct 15 10:12:23 1997
***************
*** 1607,1613 ****
--- 1607,1617 ----
#ifdef MMDF
fprintf(filedesc, MSG_SEPARATOR);
#endif /* MMDF */
+ #if defined(__OpenBSD__)
+ thetime = time((time_t *) 0);
+ #else
thetime = time((long *) 0);
+ #endif
fprintf(filedesc,"From %s %s", username, ctime(&thetime));
#ifdef MMDF
} else if (strcmp(submitmail,mailer) == 0) {
--- src/mailmsg2.c.orig Tue Jan 4 18:28:50 2000
+++ src/mailmsg2.c Tue Jan 4 18:28:58 2000
@@ -1581,7 +1581,7 @@ FILE * write_header_info(filename, heade
#ifdef MMDF
fprintf(filedesc, MSG_SEPARATOR);
#endif /* MMDF */
- thetime = time((long *) 0);
+ thetime = time((time_t *) 0);
fprintf(filedesc,"From %s %s", username, ctime(&thetime));
#ifdef MMDF
} else if (strcmp(submitmail,mailer) == 0) {

View File

@ -1,53 +1,29 @@
*** utils/newmail.c.orig Sat May 17 13:30:00 1997
--- utils/newmail.c Wed Oct 15 14:19:28 1997
***************
*** 242,248 ****
extern int errno;
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
time_t utime_buffer[2]; /* utime command */
#else
struct utimbuf utime_buffer; /* utime command */
--- 242,248 ----
extern int errno;
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
time_t utime_buffer[2]; /* utime command */
#else
struct utimbuf utime_buffer; /* utime command */
***************
*** 470,476 ****
/* try to set the file access times back, ignore
failures */
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
utime(cur_folder->foldername, utime_buffer);
#else
utime(cur_folder->foldername, &utime_buffer);
--- 470,476 ----
/* try to set the file access times back, ignore
failures */
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
utime(cur_folder->foldername, utime_buffer);
#else
utime(cur_folder->foldername, &utime_buffer);
***************
*** 863,869 ****
/* retain the access times for later use */
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
utime_buffer[0] = buffer.st_atime;
utime_buffer[1] = buffer.st_mtime;
#else
--- 863,869 ----
/* retain the access times for later use */
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
utime_buffer[0] = buffer.st_atime;
utime_buffer[1] = buffer.st_mtime;
#else
--- utils/newmail.c.orig Tue Jan 4 18:30:21 2000
+++ utils/newmail.c Tue Jan 4 18:31:11 2000
@@ -144,7 +144,7 @@ int parent_pid; /* See if sucide shoul
extern int errno;
-#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
+#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
time_t utime_buffer[2]; /* utime command */
#else
@@ -329,7 +329,7 @@ char *argv[];
/* try to set the file access times back, ignore
failures */
-#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
+#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
utime(cur_folder->foldername, utime_buffer);
#else
utime(cur_folder->foldername, &utime_buffer);
@@ -697,7 +697,7 @@ char *name;
/* retain the access times for later use */
-#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
+#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
utime_buffer[0] = buffer.st_atime;
utime_buffer[1] = buffer.st_mtime;
#else

View File

@ -1 +1 @@
ELM Mail User Agent
a once-popular mail user agent

View File

@ -1,2 +1,2 @@
Elm is an interactive screen-oriented mailer program that
Elm is an interactive screen-oriented mailer program that
supersedes mail and mailx.

View File

@ -1,3 +1,28 @@
lib/prlong
lib/elm.mimecharsets
lib/elmcharset
lib/elm-help.0
lib/elm-help.1
lib/elm-help.2
lib/elm-help.3
lib/elmrc-info
lib/elm.mimetypes
@unexec rm -f %D/lib/elm.mimetypes-dist
man/cat1/answer.0
man/cat1/checkalias.0
man/cat1/elm.0
man/cat1/elmalias.0
man/cat1/fastmail.0
man/cat1/frm.0
man/cat1/listalias.0
man/cat1/messages.0
man/cat1/newalias.0
man/cat1/newmail.0
@exec ln -f %D/%F %D/man/cat1/wnewmail.0
@unexec rm -f %D/man/cat1/wnewmail.0
man/cat1/printmail.0
man/cat1/readmsg.0
man/cat1/elmcharset.0
bin/elm
bin/answer
bin/checkalias
@ -5,32 +30,13 @@ bin/elmalias
bin/fastmail
bin/frm
@exec ln -f %D/%F %D/bin/nfrm
@unexec rm -f %D/bin/nfrm
bin/listalias
bin/messages
bin/newalias
bin/newmail
@exec ln -f %D/%F %D/bin/wnewmail
@unexec rm -f %D/bin/wnewmail
bin/printmail
bin/readmsg
lib/prlong
lib/elm.mimetypes
lib/elmrc-info
lib/elm-help.0
lib/elm-help.1
lib/elm-help.2
lib/elm-help.3
man/man1/answer.1
man/man1/checkalias.1
man/man1/elm.1
man/man1/elmalias.1
man/man1/fastmail.1
man/man1/frm.1
@exec ln -f %D/%F %D/man/man1/nfrm.1
man/man1/listalias.1
man/man1/messages.1
man/man1/newalias.1
man/man1/newmail.1
@exec ln -f %D/%F %D/man/man1/wnewmail.1
man/man1/printmail.1
man/man1/readmsg.1
share/nls/C/elm2.4.cat
share/nls/C/elm2.4me+.cat

View File

@ -1,14 +1,313 @@
#!/bin/sh -
#
# #OpenBSD$
# pre-configure script for Elm port to FreeBSD 2.0
# $Id: pre-configure,v 1.1.1.1 1997/11/18 04:09:48 gene Exp $
# $FreeBSD: ports/mail/elm/scripts/pre-configure,v 1.20 1999/09/08 18:10:47 ache Exp $
PortsDir=$PORTSDIR
CurDir=$CURDIR
WrkSrc=$WRKSRC
if [ ${OPSYS} == "OpenBSD" ]; then
/bin/sh ${FILESDIR}/config.sh.OpenBSD
else
/bin/sh ${FILESDIR}/config.sh.FreeBSD
fi
cat > ${WrkSrc}/config.sh << 'EOF'
#!/bin/sh
# config.sh
# This file was produced by running the Configure script.
Log='$Log'
Header='$Header'
bin="${PREFIX}/bin"
contains='grep'
cppstdin='/usr/bin/cpp'
cppminus=''
d_getopt='define'
d_memcpy='define'
d_rename='define'
d_symlink='define'
d_whoami='undef'
d_poll='define'
d_mmap='define'
d_inttypes='define'
d_nointtypes='undef'
n='-n'
c=''
orderlib='false'
ranlib='/usr/bin/ranlib'
package='elm2'
pager='builtin++'
startsh='#!/bin/sh'
define='define'
loclist='
cat
chgrp
chmod
cp
dirname
echo
expr
egrep
grep
fgrep
head
ln
ls
make
mv
rm
sed
sleep
touch
tr
cut
'
expr='/bin/expr'
sed='/usr/bin/sed'
echo='/bin/echo'
cat='/bin/cat'
rm='/bin/rm'
mv='/bin/mv'
cp='/bin/cp'
tail=''
tr='/usr/bin/tr'
sort=''
uniq=''
grep='/usr/bin/grep'
fgrep='/usr/bin/fgrep'
head='/usr/bin/head'
trylist='
Mcc
compress
cpp
date
emacs
execmail
finger
gpg
ispell
line
lint
lp
locale
lpr
mailx
metamail
mips
more
nroff
pack
pg
pgp
pmake
pr
rmail
sendmail
shar
smail
submit
tar
tbl
test
troff
uname
uuname
vi
'
test='test'
inews=''
ispell="${PREFIX}/bin/ispell"
egrep='/usr/bin/egrep'
more='/usr/bin/more'
pg='pg'
Mcc='Mcc'
vi='/usr/bin/vi'
mailx='/usr/bin/mailx'
mail=''
cpp='/usr/bin/cpp'
perl=''
emacs="${PREFIX}/bin/emacs"
ls='/bin/ls'
rmail='/bin/rmail'
sendmail='/usr/sbin/sendmail'
shar='/usr/bin/shar'
smail='smail'
submit=''
tbl='/usr/bin/tbl'
troff='/usr/bin/troff'
nroff='/usr/bin/nroff'
uname='/usr/bin/uname'
uuname='/usr/bin/uuname'
line='line'
chgrp='/usr/sbin/chgrp'
chmod='/bin/chmod'
lint='/usr/bin/lint'
sleep='/bin/sleep'
pr='/usr/bin/pr'
tar='/bin/tar'
ln='/bin/ln'
lpr='/usr/bin/lpr'
lp='lp'
touch='/usr/bin/touch'
make='/usr/bin/make'
date='/bin/date'
csh=''
pmake='pmake'
mips='false'
col=''
pack='pack'
compress='/usr/bin/compress'
execmail=''
libswanted='sun intl nls c_s'
noaddlib='yes'
c_date='Tue Jan 4 18:39:11 EST 2000'
d_ascii='undef'
d_broke_ctype='undef'
d_calendar='define'
calendar='calendar'
d_chown_neg1='define'
d_content='undef'
d_crypt='define'
cryptlib=''
d_cuserid='undef'
d_disphost='undef'
d_domname='define'
d_usegetdom='undef'
d_errlst='define'
d_flock='define'
d_dotlock='undef'
d_fcntlock='undef'
has_flock='define'
has_fcntl='define'
d_ftruncate='define'
d_gethname='define'
d_douname='undef'
d_host_comp='undef'
ign_hname='n'
d_havetlib='define'
termlib='-ltermlib'
d_index='undef'
d_internet=''
d_ispell='define'
ispell_path="${PREFIX}/bin/ispell"
ispell_options='-x'
d_locale='define'
d_nl_types='define'
d_msgcat='define'
d_usenls='undef'
d_mallocvoid='define'
d_mboxedit='define'
metamail_path='none'
defencoding=''
d_8bitmime='define'
d_binarymime='undef'
d_dsn='define'
defcharset='DISPLAY'
defdispcharset='ISO-8859-1'
d_mmdf='undef'
d_newauto='define'
d_noaddfrom='define'
d_usedomain='undef'
d_noxheader='undef'
d_pidcheck='define'
d_ptem='undef'
d_putenv='define'
d_remlock='undef'
maxattempts='6'
d_setgid='undef'
d_savegrpmboxid='undef'
mailermode='755'
d_sigvec='undef'
d_sigvectr='undef'
d_sigset='undef'
d_sighold='undef'
d_sigprocmask='define'
d_sigblock='undef'
d_waitpid='define'
d_sigaction='define'
d_strcspn='define'
d_strspn='define'
d_strpbrk='define'
d_strerror='define'
d_strftime='define'
d_strings='undef'
d_pwdinsys='undef'
strings='/usr/include/string.h'
includepath=''
d_strstr='define'
d_strtok='define'
d_subshell='define'
d_tempnam='define'
tempnamo=''
tempnamc=''
d_termio='undef'
d_termios='define'
d_utimbuf='define'
d_vfork='define'
defbatsub='no subject (file transmission)'
defeditor='/usr/bin/vi'
editoropts=''
hostname="${Hostname}"
phostname='hostname'
mydomain="${Domain}"
autohostname='define'
i_memory='define'
i_stdarg=''
i_stdlib=''
i_time='define'
i_systime='define'
d_systimekernel='undef'
i_unistd='define'
i_utime='define'
i_sysutime='undef'
lib="${PREFIX}/lib"
libc='/usr/lib/libc.so.21.1'
linepr='/usr/bin/lpr'
maildir='/var/mail'
mailer='/usr/sbin/sendmail'
mailgrp='wheel'
mansrc='none'
catmansrc="${PREFIX}/man/cat1"
manext=''
manext_choice=''
catmanext='.0'
catmanext_choice='.0'
packed='n'
manroff='/usr/bin/nroff'
manroffopts=''
suffix=''
packer=''
optimize="$CFLAGS"
ccflags=''
cppflags=''
ldflags=''
cc='cc'
libs=''
nametype='bsd'
d_passnames='define'
d_berknames='define'
d_usgnames='undef'
# passcat=''
rmttape='unknown-remote-tape-unit'
roff='/usr/bin/troff'
roffopts=''
sigtype='void'
spitshell='cat'
shsharp='true'
sharpbang='#!'
tmpdir='/tmp'
tzname_handling='TM_ZONE'
use_pmake='n'
xencf=''
xenlf=''
d_xenix='undef'
d_bsd='define'
locale='locale'
d_pgp='define'
pgp="${PREFIX}/bin/pgp"
pgp2_path="${PREFIX}/bin/pgp"
pgp5_dir="${PREFIX}/bin"
gpg_path="${PREFIX}/bin/gpg"
special_path='/usr/bin'
CONFIG=true
EOF
exit 0
# END