OpenPKG CVS Repository
  http://www.openpkg.org/cvsweb/cvsweb.cgi
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   21-Aug-2002 15:52:45
  Branch: HEAD                             Handle: 2002082114524500

  Modified files:
    openpkg-src/sendmail    sendmail.spec

  Log:
    Correction and conditional additions for using fsl(3).

  Summary:
    Revision    Changes     Path
    1.34        +12 -7      openpkg-src/sendmail/sendmail.spec
  ____________________________________________________________________________

  Index: openpkg-src/sendmail/sendmail.spec
  ============================================================
  $ cvs diff -u -r1.33 -r1.34 sendmail.spec
  --- openpkg-src/sendmail/sendmail.spec        19 Aug 2002 08:05:57 -0000      1.33
  +++ openpkg-src/sendmail/sendmail.spec        21 Aug 2002 13:52:45 -0000      1.34
  @@ -24,9 +24,8 @@
   ##
   
   # TODO:
  -# 1 Link to fsl(3) and don't just build it
  -# 2 User, group ids in %files must be reviewed
  -# 3 Test alot (also with smtpfeed)
  +# 1 User, group ids in %files must be reviewed
  +# 2 Test alot (also with smtpfeed)
   #
   # Bugs:
   # 1 All mitgelieferte config files use 8.11.6 options
  @@ -47,11 +46,11 @@
   URL:          http://www.sendmail.org/
   Vendor:       Eric Allman
   Packager:     The OpenPKG Project
  -Distribution: OpenPKG [JUNK]
  +Distribution: OpenPKG [EVAL]
   Group:        Mail
   License:      BSD
   Version:      8.12.5
  -Release:      20020819
  +Release:      20020821
   
   #   list of sources
   Source0:      ftp://ftp.sendmail.org/pub/sendmail/sendmail.%{version}.tar.gz
  @@ -105,7 +104,7 @@
         CC="%{l_cc}" \
         CFLAGS="%{l_cflags -O} -I%{l_prefix}/include" \
         ./configure \
  -          --with-logfile=%{l_prefix}/var/sendmail/log/sendmail.log
  +          --with-logfile=%{l_prefix}/var/sendmail/sendmail.log
         %{l_make} %{l_mflags}
       )
   %endif
  @@ -119,6 +118,12 @@
             -e 's;\(Version\[\][^"]*\)"[^"]*";\1"%{version}+";' \
             sendmail/version.c
   
  +      #   conditionally add linker flag defs for fsl(3)
  +      %if "%{with_fsl}" == "yes"
  +          LDFLAGS="`%{l_prefix}/bin/fsl-config --ldflags --all`" \
  +          LIBS="`%{l_prefix}/bin/fsl-config --libs --all`" \
  +      %endif
  +
         #   configure Sendmail
         (   echo "define(\`confMAPDEF', \`-DMAP_REGEX')dnl"
             echo "define(\`confSBINOWN', \`%{l_musr}')dnl"
  @@ -147,7 +152,7 @@
             echo "APPENDDEF(\`confENVDEF', 
\`-D_PATH_SENDMAILPID=\\\"%{l_prefix}/var/sendmail/sendmail.pid\\\"')dnl"
             echo "APPENDDEF(\`confINCDIRS', \`-I%{l_prefix}/include')dnl"
             echo "APPENDDEF(\`confLIBDIRS', \`-L%{l_prefix}/lib')dnl"
  -          echo "APPENDDEF(\`confLIBS', \`-ldb')dnl"
  +          echo "APPENDDEF(\`confLIBS', \`-lfsl -ldb')dnl"
             echo "define(\`confSTDIO_TYPE', \`portable')dnl"
             echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DSTARTTLS')dnl"
             echo "APPENDDEF(\`conf_sendmail_LIBS', \`-lssl -lcrypto')dnl"
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to