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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   11-Sep-2002 13:43:02
  Branch: HEAD                             Handle: 2002091112430100

  Added files:
    openpkg-src/qpopper     fsl.qpopper
  Modified files:
    openpkg-src/qpopper     qpopper.spec

  Log:
    Added fsl logic to buildconf and removed old fakesyslog conditional inclusion.

  Summary:
    Revision    Changes     Path
    1.1         +16 -0      openpkg-src/qpopper/fsl.qpopper
    1.27        +12 -20     openpkg-src/qpopper/qpopper.spec
  ____________________________________________________________________________

  Index: openpkg-src/qpopper/fsl.qpopper
  ============================================================
  $ cvs update -p -r1.1 fsl.qpopper
  ##
  ##  fsl.qpopper -- OSSP fsl configuration for qpopper
  ##
  
  ident (qpopper)/.+ q{
      prefix(
          prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
      ) 
      -> {
          debug: file(
              path="@l_prefix@/var/qpopper/qpopper.log",
              append=1, perm=0644
          )
      }
  }
  
  Index: openpkg-src/qpopper/qpopper.spec
  ============================================================
  $ cvs diff -u -r1.26 -r1.27 qpopper.spec
  --- openpkg-src/qpopper/qpopper.spec  13 Aug 2002 12:49:37 -0000      1.26
  +++ openpkg-src/qpopper/qpopper.spec  11 Sep 2002 11:43:01 -0000      1.27
  @@ -38,19 +38,19 @@
   Group:        Mail
   License:      GPL
   Version:      4.0.4
  -Release:      20020425
  +Release:      20020911
   
   #   list of sources
   Source0:      
ftp://ftp.qualcomm.com/eudora/servers/unix/popper/qpopper%{version}.tar.gz
  -Source1:      fakesyslog.tar.gz
  -Source2:      rc.qpopper
  +Source1:      rc.qpopper
  +Source2:      fsl.qpopper
   Patch0:       qpopper.patch
   
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20020206, MTA, openssl
  -PreReq:       OpenPKG, openpkg >= 20020206, MTA, openssl
  +BuildPreReq:  OpenPKG, openpkg >= 20020206, MTA, openssl, fsl
  +PreReq:       OpenPKG, openpkg >= 20020206, MTA, openssl, fsl
   %if "%{with_pam}" == "yes"
   BuildPreReq:  PAM
   PreReq:       PAM
  @@ -66,31 +66,23 @@
   
   %prep
       %setup0 -q -c
  -    %setup1 -q -T -D -a 1
       cd qpopper%{version}
       %patch0 -p0
   
   %build
  -    #   build faked syslog(3) library
  -    fakesyslogdir="`pwd`/fakesyslog"
  -    ( cd fakesyslog
  -      CC="%{l_cc}" \
  -      CFLAGS="%{l_cflags -O}" \
  -      ./configure \
  -          --with-logfile=%{l_prefix}/var/qpopper/qpopper.log
  -      %{l_make} %{l_mflags}
  -    )
  -
       #   build qpopper
       ( cd qpopper%{version}
         CC="%{l_cc}" \
  -      CFLAGS="%{l_cflags -O}" \
  +      CFLAGS="`%{l_prefix}/bin/fsl-config --all --cflags`" \
  +      CPPFLAGS="`%{l_prefix}/bin/fsl-config --all --cflags`" \
  +      LDFLAGS="`%{l_prefix}/bin/fsl-config --all --ldflags`" \
  +      LIBS="`%{l_prefix}/bin/fsl-config --all --libs`" \
   %if "%{with_pam}" == "yes"
  -      CPPFLAGS="-I`%{l_prefix}/etc/rc --query pam_incdir`" \
  -      LDFLAGS="-L`%{l_prefix}/etc/rc --query pam_libdir`" \
  +      CFLAGS="$CFLAGS -I`%{l_prefix}/etc/rc --query pam_incdir`" \
  +      CPPFLAGS="$CPPFLAGS -I`%{l_prefix}/etc/rc --query pam_incdir`" \
  +      LDFLAGS="$LDFLAGS -L`%{l_prefix}/etc/rc --query pam_libdir`" \
   %endif
         OS_DEFS="-DPIDFILE=\\\"%{l_prefix}/var/qpopper/qpopper.pid\\\"" \
  -      LIBS="-L$fakesyslogdir -lfakesyslog" \
         ./configure \
             --prefix=%{l_prefix} \
             --sbindir=%{l_prefix}/sbin \
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to