Elm ME+ 2.5 PLalpha42 RPM announcement

Experimental RPM spec file for ELM ME+ 2.5 PLalpha42
exists on <URL: http://www.elmme-mailer.org/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

  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha42-2.spec
    RPM spec file                                        [Note 1]
  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha42-2.spec.elm-key-2013old.sig
  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha42-2.spec.elm-key-2013.sig
  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha42-2.spec.sig

* Compiled on Linux Mandrake release 7.2
  (Linux 2.2, glibc 2.1, Sendmail 8.13)

  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha42-2.mdk7.2.i686.rpm
    Package elm binary RPM build on Linux Mandrake release 7.2      [Note 3, Note 4]
  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha42-2.mdk7.2.i686.rpm.sig
  - http://www.elmme-mailer.org/rpm/elm-mod-ME+2.5.alpha42-2.mdk7.2.i686.rpm
    Package elm-mod binary RPM build on Linux Mandrake release 7.2  [Note 3]
  - http://www.elmme-mailer.org/rpm/elm-mod-ME+2.5.alpha42-2.mdk7.2.i686.rpm.sig
  - http://www.elmme-mailer.org/rpm/elm-tls-ME+2.5.alpha42-2.mdk7.2.i686.rpm
    Package elm-tls binary RPM build on Linux Mandrake release 7.2  [Note 3, Note 5]
  - http://www.elmme-mailer.org/rpm/elm-tls-ME+2.5.alpha42-2.mdk7.2.i686.rpm.sig

* Compiled on Fedora release 19
  (Linux 3.14, glibc 2.17, Sendmail 8.14)

  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha42-2.fdr19.i686.rpm
    Package elm binary RPM build on Fedora release 19               [Note 6]
  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha42-2.fdr19.i686.rpm.sig
  - http://www.elmme-mailer.org/rpm/elm-mod-ME+2.5.alpha42-2.fdr19.i686.rpm
    Package elm-mod binary RPM build on Fedora release 19           [Note 6]
  - http://www.elmme-mailer.org/rpm/elm-mod-ME+2.5.alpha42-2.fdr19.i686.rpm.sig
  - http://www.elmme-mailer.org/rpm/elm-tls-ME+2.5.alpha42-2.fdr19.i686.rpm
    Package elm-tls binary RPM build on Fedora release 19           [Note 6]
  - http://www.elmme-mailer.org/rpm/elm-tls-ME+2.5.alpha42-2.fdr19.i686.rpm.sig
  - http://www.elmme-mailer.org/rpm/elm-debuginfo-ME+2.5.alpha42-2.fdr19.i686.rpm
    Package elm-debuginfo binary RPM build on Fedora release 19     [Note 6, Note 7]
  - http://www.elmme-mailer.org/rpm/elm-debuginfo-ME+2.5.alpha42-2.fdr19.i686.rpm.sig


* Notes

Note 1:
  - rpmbuild elm-ME+2.5.alpha42-2.spec warns that "prereq is
    deprecated", but that is required on Linux Mandrake release 7.2
    where older rpm -package is build.

Note 2:
  - elm-ME+2.5.alpha42-2.fdr19.src.rpm is signed internally with GPG key
    elm.key.2013.asc (A54BE3BC 2013-10-20).

Note 3:
  - elm-ME+2.5.alpha42-2.mdk7.2.i686.rpm and
    elm-*-ME+2.5.alpha42-2.mdk7.2.i686.rpm are signed internally with
    GPG key elm.key.2013old.asc (825FDF78 2013-10-26).

Note 4:
  - elm-ME+2.5.alpha42-2.mdk7.2.i686.rpm is compiled agaist Sendmail
    8.13 (not from Mandrake distribution).

Note 5:
  - elm-tls-ME+2.5.alpha42-2.mdk7.2.i686.rpm do not load/work on
    Mandrake 7.2, because openssl library misses RAND_egd_bytes
    function.

Note 6:
  - elm-ME+2.5.alpha42-2.fdr19.i686.rpm and
    elm-*-ME+2.5.alpha42-2.fdr19.i686.rpm are signed internally with GPG
    key elm.key.2013.asc (A54BE3BC 2013-10-20).

Note 7:
  - elm-ME+2.5.alpha42-2.spec do not have %package debuginfo, but
    rpmbuild -ba elm-ME+2.5.alpha42-2.spec build
    elm-debuginfo-ME+2.5.alpha42-2.fdr19.i686.rpm anyway.

* Signatures

{file}.sig                  PGP signature (old key pubkey.asc,      EA5A2379 1996-04-23)
{file}.elm-key-2013.sig     GPG signature (key elm.key.2013.asc,    A54BE3BC 2013-10-20, expires: 2018-10-19)
{file}.elm-key-2013old.sig  GPG signature (key elm.key.2013old.asc,
825FDF78 2013-10-26, expires: 2018-10-25)

* Installation

Package elm-mod includes libelmme-iconv.so and libelmme-smtp.so. And
package elm-tls includes libelmme-tls.so.

Package elm-mod compiled on Fedora release 19 includes
libelmme-resolv.so.

Installation loses mailer = submission setting from global
/usr/local/lib/elm.rc, because when elm package rewrites elm.rc,
submission mailer is not available. It 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. 

* Configuration

Following files (if exists) are rewritten by elmconfwriter on
installation:


  - /usr/local/lib/elm.rc
  - /usr/local/lib/elm.mimecharsets
  - /usr/local/lib/elm.mimetypes
  - /usr/local/lib/elm.terminalinfo
  - /usr/local/lib/elm.iso2022sets
  - /usr/local/lib/elm.mailservices
  - /usr/local/lib/elm.aliases
  - /usr/local/lib/elm.mailinglists 

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

  - mailer
  - hostdomain (this is usually needed)
  - hostfullname
  - hostname (usually this is not needed)
  - mailname (default values is generated from other values)
  - name-resolution (controls default values of hostdomain,
    hostfullname, hostname, mailname) 

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

  - /usr/local/lib/elm.rc 

On installation following existing files are merged with new values:

  - /usr/local/lib/elm.terminalinfo
  - /usr/local/lib/elm.mimetypes
  - /usr/local/lib/elm.mimecharsets
  - /usr/local/lib/elm.mailservices
  - /usr/local/lib/elm.mailinglists
  - /usr/local/lib/elm.aliases
  - /usr/local/lib/elm.iso2022sets 

Old values from /usr/local/lib/aliases.text are converted to
/usr/local/lib/elm.aliases and /usr/local/lib/aliases.text is renamed to
/usr/local/lib/aliases.text.OLD. 

On installation new values without merging are written to following
files:

  - /usr/local/lib/elm.aliases.NEW
  - /usr/local/lib/elm.mailinglists.NEW
  - /usr/local/lib/elm.mailservices.NEW
  - /usr/local/lib/elm.mimecharsets.NEW
  - /usr/local/lib/elm.mimetypes.NEW
  - /usr/local/lib/elm.terminalinfo.NEW
  - /usr/local/lib/elm.iso2022sets.NEW 

SUMMARY: Enabled some compiler warnings and fixed them.
         Waiting of smtp/submission server's greeting is now
         cancellable with interrupt character (Ctrl-C).
         Added \ -command to builtin++ pager. Also
         some bug fixes are included.

ELM ME+ 2.5 PLalpha42 changelog

Changes on Elm ME+ 2.5 PLalpha42 compared with Elm ME+ 2.5 PLalpha41
--------------------------------------------------------------------

        SUMMARY: Enabled some compiler warnings and fixed them.
                 Waiting of smtp/submission server is now
                 cancellable with interrupt character (Ctrl-C).
                 Added \ -command to builtin++ pager. Also
                 some bug fixes are included.

        - Fixed warning
                read_rc.c:2832:5: warning: ISO C90 forbids mixed 
                declarations and code [-Wdeclaration-after-statement]

        - Fixed warning
                mailmsg2.c:2069:6: warning: logical 'and' applied to 
                non-boolean constant [-Wlogical-op]

        - Removed bogus condition from browser_descend_local()

        - Fixed warning
                from.c:940:4: warning: string length '607' is 
                greater than the length '509' ISO C90 compilers 
                are required to support [-Woverlength-strings]

        - Fixed warning
                args.c:499:2: warning: string length '567' is 
                greater than the length '509' ISO C90 compilers 
                are required to support [-Woverlength-strings]     

        - Fixed warning
                mbox.c:34:1: warning: 'static' is not at beginning 
                of declaration [-Wold-style-declaration]
        - Fixed warning
                parsestring.c:29:1: warning: 'static' is not at 
                beginning of declaration [-Wold-style-declaration]
        - Fixed warning
                okay_addr.c:27:1: warning: 'static' is not at beginning 
                of declaration [-Wold-style-declaration]
        - Fixed warning
                ../../hdrs/me.h:75:1: warning: 'extern' is not at 
                beginning of declaration [-Wold-style-declaration]
        - Fixed warning
                curses.c:741:1: warning: 'static' is not at beginning 
                of declaration [-Wold-style-declaration]
        - Fixed warning
                termbuffer.c:19:1: warning: 'static' is not at 
                beginning of declaration [-Wold-style-declaration]
        - Fixed warning
                def_url.h:188:1: warning: 'extern' is not at beginning 
                of declaration [-Wold-style-declaration]

        - Fixed warning
                service_list.c:2075:30: warning: type of 'silent' 
                defaults to 'int' [-Wmissing-parameter-type]

        - Fixed search on builtin++ pager.

        - Added  wait_for_action_c(), wait_for_any_action_c(),
          wait_for_timeout_c(), wait_for_action_or_timeout_c(),
          wait_for_any_action_or_timeout_c() to lib/cancel.c
        - Added WaitStreamFor_c() to lib/streamsched.c

        - When 
               mailer = submission
          waits submission or smtp server greeting
          it is now possible to cancel with Ctrl-C 
          (interrupt character). 
        * Also waiting of EHLO response after
          server greeting is now possible to cancel 
          with Ctrl-C (interrupt character). 
        * Other waits still are not possible to cancel.
        * However waiting on
              mailer = sendmail-bs
          is not possible to cancel. Also actual
          mail submission and other waits which are
          common for  
              mailer = submission 
          and
              mailer = sendmail-bs
          are not possible to cancel.

        - Changed malloc() on shared_libs/smtp/smtp.c

        - Possible fix for smtp_push_data() on
          shared_libs/smtp/smtp.c

        - Added cancellable versions of some functions
          on shared_libs/smtp/smtp.c (all these are not
          used yet).

        - Some fixes for lib/schedule.c when poll()
          is used.

        - Changed error handling of smtp_run_ehlo()

        - Added time_t maximum value (aka time_MAX)
          checks to lib/schedule.c

        - Added new_schedule_cancel(), is_schedule_cancel()
          and schedule_cancel_timeout() to lib/cancel.c

        - Added \ -command to builtin++ pager. This
          hides (or shows) wrap indicator (\).
         
	- Fixed warning 
	  ../shared_libs/smtp/smtp.c:3566: varoitus: the use of 
	  `tempnam' is dangerous, better use `mkstemp'
	> tempnam() is not needed. Actual checks for attacks
          are done safeopen_rdwr(). 

/ Kari Hurtta

Advertisements