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

  Server: cvs.openpkg.org                  Name:   Christoph Schug
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   10-Aug-2002 13:54:13
  Branch: HEAD                             Handle: 2002081012541300

  Modified files:
    openpkg-src/sasl        sasl.spec

  Log:
    o added PAM support but couldn't test cause package as a whole seems to be
      broken (dlname problem?)
    o added a state directory for saslauthd
    o logs via syslog(3)? Needs fsl
    o changed package status to broken [BRK]

  Summary:
    Revision    Changes     Path
    1.25        +18 -2      openpkg-src/sasl/sasl.spec
  ____________________________________________________________________________

  Index: openpkg-src/sasl/sasl.spec
  ============================================================
  $ cvs diff -u -r1.24 -r1.25 sasl.spec
  --- openpkg-src/sasl/sasl.spec        9 Aug 2002 19:14:05 -0000       1.24
  +++ openpkg-src/sasl/sasl.spec        10 Aug 2002 11:54:13 -0000      1.25
  @@ -23,17 +23,22 @@
   ##  SUCH DAMAGE.
   ##
   
  +#   package options
  +%ifndef       with_pam
  +%define       with_pam    no
  +%endif
  +
   #   package information
   Name:         sasl
   Summary:      Simple Authentication and Security Layer
   URL:          http://asg.web.cmu.edu/sasl/
   Vendor:       Cyrus Project, CMU
   Packager:     The OpenPKG Project
  -Distribution: OpenPKG [REL]
  +Distribution: OpenPKG [BRK]
   Group:        Cryptography
   License:      BSD
   Version:      2.1.7
  -Release:      20020809
  +Release:      20020810
   
   #   list of sources
   Source0:      ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-%{version}.tar.gz
  @@ -55,6 +60,9 @@
       negotiated, a security layer is inserted between the protocol and
       the connection.
   
  +    Options:
  +    --define 'with_pam     %{with_pam}'
  +
   %prep
       %setup -q -n cyrus-sasl-%{version}
   
  @@ -70,12 +78,18 @@
       ./configure \
           --prefix=%{l_prefix} \
           --with-plugindir=%{l_prefix}/lib/sasl \
  +        --with-saslauthd=%{l_prefix}/var/sasl/saslauthd \
           --with-dbpath=%{l_prefix}/var/sasl \
           --with-dblib=berkeley \
           --with-bdb-incdir=%{l_prefix}/include \
           --with-bdb-libdir=%{l_prefix}/lib \
  +%if "%{with_pam}" == "yes"
  +        --with-pam \
  +%else
           --without-pam \
  +%endif
           --disable-shared \
  +        --with-staticsasl \
           --disable-java \
           --disable-sample \
           --disable-krb4 \
  @@ -85,6 +99,8 @@
   %install
       rm -rf $RPM_BUILD_ROOT
       %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +    %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/var/sasl/saslauthd
       mv $RPM_BUILD_ROOT%{l_prefix}/lib/sasl2 \
          $RPM_BUILD_ROOT%{l_prefix}/lib/sasl
       strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* >/dev/null 2>&1 || true
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to