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

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   09-Apr-2003 17:09:14
  Branch: HEAD                             Handle: 2003040916091202

  Modified files:
    openpkg-src/sendmail    sendmail.spec
    openpkg-web             news.txt

  Log:
    supply libs+includes to milter builders

  Summary:
    Revision    Changes     Path
    1.64        +26 -4      openpkg-src/sendmail/sendmail.spec
    1.4085      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/sendmail/sendmail.spec
  ============================================================================
  $ cvs diff -u -r1.63 -r1.64 sendmail.spec
  --- openpkg-src/sendmail/sendmail.spec        8 Apr 2003 15:18:22 -0000       1.63
  +++ openpkg-src/sendmail/sendmail.spec        9 Apr 2003 15:09:14 -0000       1.64
  @@ -33,7 +33,7 @@
   Group:        Mail
   License:      BSD
   Version:      8.12.9
  -Release:      20030408
  +Release:      20030409
   
   #   package options
   %option       with_tls      no
  @@ -163,7 +163,14 @@
   
         #   build Sendmail package
         %{l_make} %{l_mflags}
  -    )
  +
  +%if "%{with_milter}" == "yes"
  +      #   have to separately invoke "Build" script in libmilter dir
  +      ( cd libmilter
  +        ./Build
  +      ) || exit $?
  +%endif
  +    ) || exit $?
   
   %install
       rm -rf $RPM_BUILD_ROOT
  @@ -221,6 +228,21 @@
         mv $RPM_BUILD_ROOT%{l_prefix}/bin/rmail \
            $RPM_BUILD_ROOT%{l_prefix}/sbin/rmail
   
  +%if "%{with_milter}" == "yes"
  +      #   install libraries and includes for building milters
  +      %{l_shtool} mkdir -f -p -m 755 \
  +          $RPM_BUILD_ROOT%{l_prefix}/include/libmilter
  +      %{l_shtool} install -c -m 644 \
  +          include/libmilter/*.h \
  +          $RPM_BUILD_ROOT%{l_prefix}/include/libmilter/
  +      %{l_shtool} install -c -m 644 \
  +          obj.*/libsm/libsm.a \
  +          obj.*/libsmutil/libsmutil.a \
  +          obj.*/libsmdb/libsmdb.a \
  +          obj.*/libmilter/libmilter.a \
  +          $RPM_BUILD_ROOT%{l_prefix}/lib/
  +%endif
  +
         #   install OSSP fsl support
         %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/fsl
         %{l_shtool} install -c -m 644 \
  @@ -239,7 +261,7 @@
             contrib/qtool.pl $RPM_BUILD_ROOT%{l_prefix}/sbin/qtool
         %{l_shtool} install -c -m 755 -e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
             contrib/qtool.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/qtool.8
  -    )
  +    ) || exit $?
   
       #   install a reasonable default configuration
       ( cd etc.sendmail
  @@ -263,7 +285,7 @@
             -e "s;@l_domainname@;${l_domainname};g" \
             -e "s;@l_ostype@;${l_ostype};g" \
             * $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/
  -    )
  +    ) || exit $?
   
       #   install the run-command script
       %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.4084 -r1.4085 news.txt
  --- openpkg-web/news.txt      9 Apr 2003 14:37:14 -0000       1.4084
  +++ openpkg-web/news.txt      9 Apr 2003 15:09:12 -0000       1.4085
  @@ -1,3 +1,4 @@
  +09-Apr-2003: Upgraded package: P<sendmail-8.12.9-20030409>
   09-Apr-2003: Upgraded package: P<xemacs-21.4.12-20030409>
   09-Apr-2003: Upgraded package: P<ssmtp-2.48-20030409>
   09-Apr-2003: Upgraded package: P<rc-1.7-20030409>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to