ELM ME+ 2.5 PLalpha7 experimental RPM spec file [repost]



(repost with correct subject)

Experimental RPM spec file for Elm ME+ 2.5 PLalpha7
exists on <URL: http://www.elmme-mailer.org/rpm/elm-ME+2.5.html > directory
(and also on <URL: http://www.ozone.fmi.fi/KEH/rpm/elm-ME+2.5.html >
directory (*)).

I do not know rpm, so please do not blame me, if
I wipe your hardisk...

Files are following

- <URL: http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha7.spec >
RPM spec file
- <URL: http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha7-1.src.rpm >
Source rpm

- <URL: http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha7-1.i586.rpm >
Package elm binary RPM build on Mandrake Linux 9.0
- <URL: http://www.elmme-mailer.org/rpm/elm-mod-ME+2.5.alpha7-1.i586.rpm >
Package elm-mod binary RPM build on Mandrake Linux 9.0
- <URL: http://www.elmme-mailer.org/rpm/elm-tls-ME+2.5.alpha7-1.i586.rpm >
Package elm-tls binary RPM build on Mandrake Linux 9.0

Spec file uses just elm-ME+2.5.alpha7.tar.gz.

libelmme-iconv.so and libelmme-smtp.so are moved from elm binary package to
elm-mod package. libelmme-tls.so is moved from elm binary package to elm-tls
package.

Package elm-tls (libelmme-tls.so ) uses encryption from OpenSSL library.
Package elm-tls does not contain any cryptography itself.

Installation loses mailer = submission setting from global
/usr/local/lib/elm.rc, because when elm package rewrites elm.rc,
submission mailer is not available. Submission mailer becomes from
elm-mod package.

However failed values of /usr/local/lib/elm.rc are saved to
/usr/local/lib/elm.rc.old-values file during installation.

Global setting mailer = submission is restored from
/usr/local/lib/elm.rc.old-values file, when package elm-mod is installed.

Spec file compiles elm for binary distribution, so you must edit
/usr/local/lib/elm.rc before using Elm ME+ 2.5. Following variables
need to be modified on elm.rc:

* mailer
* hostdomain (this is usually needed)
* hostfullname
* hostname (usually this is not needed)

Check default values written to elm.rc. It is (re-)generated during
installation.

For re-generation of following files, old information (if exists) is used:

* /usr/local/lib/elm.rc
* /usr/local/lib/elm.mimecharsets
* /usr/local/lib/elm.terminalinfo

Old information is not preserved, but is used as input during re-generation.

/ Kari Hurtta

(*) It is currently unknown what will be done for ozone2.fmi.fi
(www.ozone.fmi.fi). It is likely that ozone2.fmi.fi
will retire soon.


Elm ME+ 2.5 PLalpha7 changelog

Changes on Elm ME+ 2.5 PLalpha7 compared with Elm ME+ 2.5 PLalpha6
------------------------------------------------------------------

- init_defaults() was called twice on src/init.c

- "I tried your patch for ELM 2.5 alpha5 and it
failed to compile on Solaris. So tried the same thing with the
new ELM 2.5 alpha6. Same thing."
"cs_wfallback.c: In function `init_fallback':
cs_wfallback.c:165: `Debug' undeclared (first use in
this function)"
Reported by: James Corey <ploveregg@xxxxxxxxx>
> Moved DEBUG_VAR(Debug,__FILE__,"charset")
outside of #if 0

- Some changes on code how content-type of attachment is
detected.
- Added .txt extension for built-in default as text/plain
(text/plain is generally default on attachment code, but
that also overrides application/octet-stream if binary
data is found.)
- Allow on [include -command to left out content-type. [G1]
In that case mime.types file and same internal mapping
is used than on Attachment Menu. However there is no
default content type as is on Attachment Menu.
- Note that RFC 2231 encoding is NOT done MIME
content-type parameters given on mime.types file!
Elmrc option "mime-parameters" have no effect on that
case.
- Now charset= -parameter is added automatically on
[include -command, if type is text and on file have
8-bit data. This is similar than on Attachment Menu.

- Elm2.4ME+ PL0 (25) supported wildcard '*' on
alternatives list. Support was probably lost on
Elm2.4ME+ PL54 (25).
- Added support again. However @ -character should be
included on alternatives -list and not replaced
with wildcard. [G2]
- Character '*' matches to any number of charaters and
'?' character match to any single character.

- Added /usr/sfw/bin:/usr/ccs/bin to PATH on Configure
for Solaris.
Hint from: James Corey <ploveregg@xxxxxxxxx>

- Let Configure locate ar and nm (and ranlib) instead
just using PATH

- Let makefiles use ar -command located by Configure

- Use both curses.h and term.h on SunOS (Solaris),
not only term.h
- Some changes of SunOS (Solaris)
- Moved curses.h and term.h including from curses.c
to def_screen.h before including termios.h.
- SunOS 5.10 (Solaris) have problematic prototype
for tputs() and do not have prototype for tgoto()
when __STDC__ is defined. Added some workarounds.

* Changes from Elm 2.4ME+ PL122d (25)
- On some cases filename -parameter was generated twice to
Content-Disposition -header.

- Tagged flag of current message was not cleared
on V)iew digest command.

- Allow canceling
Already have selection criteria - add more?
prompt with Ctrl-C (interrupt character) on systems
which supports POSIX termios.

- Fix USGNAMES compilation.

- browser_descend_local() did not handled correctly case
where given filename did not included path (and
there was directory already selected.)

Correspond quotes from Elm 2.5 PL7 Changes file:

[G1] The content-type is now optional to [include ...].
That is, you can say just [include filename] and
Elm will guess both the content type and encoding.

[G2] The wildcard '*' is now allowed in the alternatives
list. For example, wfp5p@*virginia.edu matches user
wfp5p for all machines at virginia.edu.
(from Michael Elkins <elkins@xxxxxxxx>).


/ Kari Hurtta

.



Relevant Pages