[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openpkg-cvs
Subject:    [CVS] OpenPKG: openpkg-re/vcheck/ vc.bogofilter openpkg-src/bogofilter...
From:       "Ralf S. Engelschall" <rse () openpkg ! org>
Date:       2003-06-29 19:41:27
[Download RAW message or body]

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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  rse@openpkg.org
  Module: openpkg-src openpkg-web openpkg$ Date:   29-Jun-2003 21:41:27
  Branch: HEAD                             Handle: 2003062920412502

  Added files:
    openpkg-re/vcheck       vc.bogofilter
    openpkg-src/bogofilter  bogofilter.spec
  Modified files:
    openpkg-web             news.txt

  Log:
    new package: bogofilter 0.13.7.1 (Bayesian Mail Filter)

  Summary:
    Revision    Changes     Path
    1.1         +9  -0      openpkg-re/vcheck/vc.bogofilter
    1.1         +82 -0      openpkg-src/bogofilter/bogofilter.spec
    1.5087      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.bogofilter
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.bogofilter
  --- /dev/null	2003-06-29 21:41:26.000000000 +0200
  +++ vc.bogofilter	2003-06-29 21:41:26.000000000 +0200
  @@ -0,0 +1,9 @@
  +config = {
  +}
  +
  +prog bogofilter = {
  +  version   = 0.13.7.1
  +  url       = http://prdownloads.sourceforge.net/bogofilter/
  +  regex     = bogofilter-(__VER__)\.tar\.gz
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/bogofilter/bogofilter.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 bogofilter.spec
  --- /dev/null	2003-06-29 21:41:27.000000000 +0200
  +++ bogofilter.spec	2003-06-29 21:41:27.000000000 +0200
  @@ -0,0 +1,82 @@
  +##
  +##  bogofilter.spec -- OpenPKG RPM Specification
  +##  Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
  +##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  +##  Copyright (c) 2000-2003 Ralf S. Engelschall <rse@engelschall.com>
  +##
  +##  Permission to use, copy, modify, and distribute this software for
  +##  any purpose with or without fee is hereby granted, provided that
  +##  the above copyright notice and this permission notice appear in all
  +##  copies.
  +##
  +##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  +##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  +##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  +##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  +##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  +##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  +##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  +##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  +##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  +##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  +##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  +##  SUCH DAMAGE.
  +##
  +
  +#   package information
  +Name:         bogofilter
  +Summary:      Bayesian Mail Filter
  +URL:          http://www.bogofilter.org/
  +Vendor:       Eric S. Raymond et al
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [EVAL]
  +Group:        Text
  +License:      GPL
  +Version:      0.13.7.1
  +Release:      20030629
  +
  +#   list of sources
  +Source0:      http://osdn.dl.sourceforge.net/sourceforge/bogofilter/bogofilter-%{version}.tar.gz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, flex, db
  +PreReq:       OpenPKG, openpkg >= 20030103
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    Bogofilter is a mail filter that classifies mail as spam or ham
  +    (non-spam) by a statistical analysis of the message's header and
  +    content (body). The program is able to learn from the user's
  +    classifications and corrections. The statistical technique is known
  +    as the Bayesian technique.
  +
  +%prep
  +    %setup -q
  +
  +%build
  +    CC="%{l_cc}" \
  +    CFLAGS="%{l_cflags -O}" \
  +    CPPFLAGS="%{l_cppflags}" \
  +    LDFLAGS="%{l_ldflags}" \
  +    ./configure \
  +        --prefix=%{l_prefix} \
  +        --sysconfdir=%{l_prefix}/etc/bogofilter \
  +        --with-db=%{l_prefix}
  +    %{l_make} %{l_mflags -O}
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +    mv  $RPM_BUILD_ROOT%{l_prefix}/etc/bogofilter/bogofilter.cf.example \
  +        $RPM_BUILD_ROOT%{l_prefix}/etc/bogofilter/bogofilter.cf
  +    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  +
  +%files -f files
  +
  +%clean
  +    rm -rf $RPM_BUILD_ROOT
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5086 -r1.5087 news.txt
  --- openpkg-web/news.txt	29 Jun 2003 19:35:44 -0000	1.5086
  +++ openpkg-web/news.txt	29 Jun 2003 19:41:26 -0000	1.5087
  @@ -1,3 +1,4 @@
  +29-Jun-2003: New package: P<bogofilter-0.13.7.1-20030629>
   29-Jun-2003: Upgraded package: P<crm114-20030623-20030629>
   29-Jun-2003: New package: P<crm114-20030623-20030629>
   29-Jun-2003: Upgraded package: P<j2se14-1.4.2-20030629>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic