OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   20-Oct-2006 20:25:42
  Branch: OPENPKG_2_STABLE                 Handle: 2006102019254100

  Modified files:           (Branch: OPENPKG_2_STABLE)
    openpkg-src/ssmtp       ssmtp.patch ssmtp.spec

  Log:
    MFC: take over ssmtp.conf(5) and newaliaes(8) manual pages from
    Debian; install newaliases link; use the alioth.debian.org project
    page as the home URL

  Summary:
    Revision    Changes     Path
    1.7.6.1     +106 -0     openpkg-src/ssmtp/ssmtp.patch
    1.58.2.3    +11 -2      openpkg-src/ssmtp/ssmtp.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.patch
  ============================================================================
  $ cvs diff -u -r1.7 -r1.7.6.1 ssmtp.patch
  --- openpkg-src/ssmtp/ssmtp.patch     8 Jun 2005 18:31:21 -0000       1.7
  +++ openpkg-src/ssmtp/ssmtp.patch     20 Oct 2006 18:25:41 -0000      1.7.6.1
  @@ -71,3 +71,109 @@
        bool_t in_header = True;
        char l = (char)NULL;
        int c;
  +Index: ssmtp.conf.5
  +--- /dev/null
  ++++ ssmtp.conf.5
  +@@ -0,0 +1,81 @@
  ++.\"/* Copyright 2004 Reuben Thomas
  ++.\" * All rights reserved
  ++.\" *
  ++.\" This man page is distributed under the GNU General Public License
  ++.\" version 2, or at your option, any later version. There is no warranty.
  ++.\"
  ++.Dd October 7, 2004
  ++.Dt SSMTP.CONF 5
  ++.Os
  ++.Sh NAME
  ++.Nm ssmtp.conf
  ++.Nd ssmtp configuration file
  ++.Sh DESCRIPTION
  ++.Nm ssmtp
  ++reads configuration data from
  ++.Pa /etc/ssmtp/ssmtp.conf
  ++The file contains keyword-argument pairs, one per line.
  ++Lines starting with
  ++.Ql #
  ++and empty lines are interpreted as comments.
  ++.Pp
  ++The possible keywords and their meanings are as follows (both are 
case-insensitive):
  ++.Bl -tag -width Ds
  ++.It Cm Root
  ++The user that gets all mail for userids less than 1000. If blank, address 
rewriting is disabled.
  ++.Pp
  ++.It Cm Mailhub
  ++The host to send mail to, in the form
  ++.Ar host No | Ar IP_addr No Oo : Ar port Oc .
  ++The default port is 25.
  ++.Pp
  ++.It Cm RewriteDomain
  ++The domain from which mail seems to come.
  ++for user authentication.
  ++.Pp
  ++.It Cm Hostname
  ++The full qualified name of the host.
  ++If not specified, the host is queried for its hostname.
  ++.Pp
  ++.It Cm FromLineOverride
  ++Specifies whether the From header of an email, if any, may override the 
default domain.
  ++The default is
  ++.Dq no .
  ++.Pp
  ++.It Cm UseTLS
  ++Specifies whether ssmtp uses TLS to talk to the SMTP server.
  ++The default is
  ++.Dq no .
  ++.Pp
  ++.It Cm UseSTARTTLS
  ++Specifies whether ssmtp does a EHLO/STARTTLS before starting SSL 
negotiation.
  ++See RFC 2487.
  ++.Pp
  ++.It Cm TLSCert
  ++The file name of an RSA certificate to use for TLS, if required.
  ++.Pp
  ++.It Cm AuthUser
  ++The user name to use for SMTP AUTH.
  ++The default is blank, in which case SMTP AUTH is not used.
  ++sent without
  ++.Pp
  ++.It Cm AuthPass
  ++The password to use for SMTP AUTH.
  ++.Pp
  ++.It Cm AuthMethod
  ++The authorization method to use.
  ++If unset, plain text is used.
  ++May also be set to
  ++.Dq cram-md5 .
  ++.Sh FILES
  ++.Bl -tag -width Ds
  ++.It Pa /etc/ssmtp/ssmtp.conf
  ++Contains configuration data for
  ++.Nm ssmtp .
  ++.El
  ++.Sh SEE ALSO
  ++.Xr ssmtp 8
  ++.Sh AUTHORS
  ++Matt Ryan ([EMAIL PROTECTED]), Hugo Haas ([EMAIL PROTECTED]), Christoph 
Lameter ([EMAIL PROTECTED])
  ++and Dave Collier-Brown ([EMAIL PROTECTED]).
  ++Reuben Thomas ([EMAIL PROTECTED]) wrote the man page.
  +Index: newaliases.8
  +--- /dev/null
  ++++ newaliases.8
  +@@ -0,0 +1,17 @@
  ++.TH NEWALIASES 8 "September 2000" "Debian GNU/Linux"
  ++.SH NAME
  ++newaliases \- update /etc/aliases database
  ++.SH SYNOPSIS
  ++.B newaliases
  ++.SH DESCRIPTION
  ++This is a link to the ssmtp binary. It invokes
  ++.B /usr/sbin/sendmail
  ++with the
  ++.B -bi
  ++option. It is provided for compatibility with the sendmail program.
  ++.P
  ++In this case it does absolutely nothing since sSMTP does not support
  ++/etc/aliases and is just there to avoid programs returning error messages.
  ++.SH AUTHOR
  ++This manual page was written by Christoph Lameter <[EMAIL PROTECTED]>,
  ++for the Debian GNU/Linux system. Minor fixes by Matt Ryan <[EMAIL 
PROTECTED]>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.spec
  ============================================================================
  $ cvs diff -u -r1.58.2.2 -r1.58.2.3 ssmtp.spec
  --- openpkg-src/ssmtp/ssmtp.spec      16 Oct 2006 14:56:49 -0000      1.58.2.2
  +++ openpkg-src/ssmtp/ssmtp.spec      20 Oct 2006 18:25:41 -0000      1.58.2.3
  @@ -25,7 +25,7 @@
   #   package information
   Name:         ssmtp
   Summary:      Simple SMTP Send-Only MTA
  -URL:          ftp://ftp.debian.org/debian/pool/main/s/ssmtp/
  +URL:          http://alioth.debian.org/projects/ssmtp/
   Vendor:       Matt Ryan
   Packager:     OpenPKG Foundation e.V.
   Distribution: OpenPKG Community
  @@ -33,7 +33,7 @@
   Group:        Mail
   License:      GPL
   Version:      2.61
  -Release:      2.20061018
  +Release:      2.20061020
   
   #   package options
   %option       with_fsl  yes
  @@ -105,6 +105,7 @@
           $RPM_BUILD_ROOT%{l_prefix}/var/ssmtp \
           $RPM_BUILD_ROOT%{l_prefix}/sbin \
           $RPM_BUILD_ROOT%{l_prefix}/etc/ssmtp \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man5 \
           $RPM_BUILD_ROOT%{l_prefix}/man/man8 \
           $RPM_BUILD_ROOT%{l_prefix}/var/ssmtp
       %{l_shtool} install -c -s -m 755 \
  @@ -113,8 +114,16 @@
           -e 's;.B ssmtp;.B %{l_prefix}/sbin/ssmtp;' \
           -e 's;.B /usr/lib/sendmail;.B %{l_prefix}/sbin/sendmail;' \
           ssmtp.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
  +    %{l_shtool} install -c -m 644 \
  +        -e 's;.B /etc/ssmtp/ssmtp\.conf;.B 
%{l_prefix}/etc/ssmtp/ssmtp.conf;' \
  +        -e 's;.B /usr/lib/sendmail;.B %{l_prefix}/sbin/sendmail;' \
  +        newaliases.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
  +    %{l_shtool} install -c -m 644 \
  +        ssmtp.conf.5 $RPM_BUILD_ROOT%{l_prefix}/man/man5/
       ln  $RPM_BUILD_ROOT%{l_prefix}/sbin/ssmtp \
           $RPM_BUILD_ROOT%{l_prefix}/sbin/sendmail
  +    ln  $RPM_BUILD_ROOT%{l_prefix}/sbin/ssmtp \
  +        $RPM_BUILD_ROOT%{l_prefix}/sbin/newaliases
       ln  $RPM_BUILD_ROOT%{l_prefix}/man/man8/ssmtp.8 \
           $RPM_BUILD_ROOT%{l_prefix}/man/man8/sendmail.8
       %{l_shtool} install -c -m 644 %{l_value -s -a} \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to