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

  Server: cvs.openpkg.org                  Name:   Christoph Schug
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   05-Aug-2003 15:00:36
  Branch: HEAD                             Handle: 2003080514003203

  Added files:
    openpkg-re/vcheck       vc.sophie
    openpkg-src/sophie      fsl.sophie rc.sophie sophie.cfg sophie.patch
                            sophie.savi sophie.spec
  Modified files:
    openpkg-web             news.txt

  Log:
    new package: sophie 3.03 (Sophie Anti-Virus Scanner Daemon)

  Summary:
    Revision    Changes     Path
    1.1         +9  -0      openpkg-re/vcheck/vc.sophie
    1.1         +16 -0      openpkg-src/sophie/fsl.sophie
    1.1         +60 -0      openpkg-src/sophie/rc.sophie
    1.1         +31 -0      openpkg-src/sophie/sophie.cfg
    1.1         +35 -0      openpkg-src/sophie/sophie.patch
    1.1         +277 -0     openpkg-src/sophie/sophie.savi
    1.1         +131 -0     openpkg-src/sophie/sophie.spec
    1.6034      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.sophie
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.sophie
  --- /dev/null 2003-08-05 15:00:32.000000000 +0200
  +++ vc.sophie 2003-08-05 15:00:32.000000000 +0200
  @@ -0,0 +1,9 @@
  +config = {
  +}
  +
  +prog sophie = {
  +  version   = 3.03
  +  url       = http://www.vanja.com/tools/sophie/
  +  regex     = sophie-(__VER__)\.tar\.bz2
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/sophie/fsl.sophie
  ============================================================================
  $ cvs diff -u -r0 -r1.1 fsl.sophie
  --- /dev/null 2003-08-05 15:00:35.000000000 +0200
  +++ fsl.sophie        2003-08-05 15:00:36.000000000 +0200
  @@ -0,0 +1,16 @@
  +##
  +##  fsl.sophie -- OSSP fsl configuration
  +##
  +
  +ident (sophie)/.+ q{
  +    prefix(
  +        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
  +    )
  +    -> {
  +        debug: file(
  +            path="@l_prefix@/var/sophie/sophie.log",
  +            perm=0600
  +        )
  +    }
  +};
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/sophie/rc.sophie
  ============================================================================
  $ cvs diff -u -r0 -r1.1 rc.sophie
  --- /dev/null 2003-08-05 15:00:35.000000000 +0200
  +++ rc.sophie 2003-08-05 15:00:36.000000000 +0200
  @@ -0,0 +1,60 @@
  [EMAIL PROTECTED]@/lib/openpkg/bash @l_prefix@/etc/rc
  +##
  +##  rc.sophie -- Run-Commands
  +##
  +
  +%config
  +    sophie_enable="$openpkg_rc_def"
  +    sophie_log_prolog="true"
  +    sophie_log_epilog="true"
  +    sophie_log_numfiles="10"
  +    sophie_log_minsize="1M"
  +    sophie_log_complevel="9"
  +
  +%common
  +    sophie_signal () {
  +        sophie_pidfile="@l_prefix@/var/sophie/sophie.pid"
  +        [ -f $sophie_pidfile ] && kill -$1 `cat $sophie_pidfile`
  +    }
  +
  +%status -u @l_susr@ -o
  +    sophie_usable="unknown"
  +    sophie_active="no"
  +    rcService sophie enable yes && \
  +        sophie_signal 0 && sophie_active="yes"
  +    echo "sophie_enable=\"$sophie_enable\""
  +    echo "sophie_usable=\"$sophie_usable\""
  +    echo "sophie_active=\"$sophie_active\""
  +
  +%start -u @l_susr@
  +    rcService sophie enable yes || exit 0
  +    rcService sophie active yes && exit 0
  +    @l_prefix@/bin/sophie -D
  +
  +%stop -u @l_susr@
  +    rcService sophie enable yes || exit 0
  +    rcService sophie active no  && exit 0
  +    sophie_signal TERM
  +    sleep 2
  +
  +%restart -u @l_susr@
  +    rcService sophie enable yes || exit 0
  +    rcService sophie active no  && exit 0
  +    rc sophie stop start
  +
  +%reload -u @l_susr@
  +    rcService sophie enable yes || exit 0
  +    rcService sophie active no  && exit 0
  +    sophie_signal HUP
  +
  +%daily -u @l_susr@
  +    rcService sophie enable yes || exit 0
  +
  +    #   rotate logfile
  +    shtool rotate -f \
  +        -n ${sophie_log_numfiles} -s ${sophie_log_minsize} -d \
  +        -z ${sophie_log_complevel} -m 600 -o @l_susr@ -g @l_sgrp@ \
  +        -P "${sophie_log_prolog}" \
  +        -E "${sophie_log_epilog} && rc sophie reload" \
  +        @l_prefix@/var/sophie/sophie.log
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/sophie/sophie.cfg
  ============================================================================
  $ cvs diff -u -r0 -r1.1 sophie.cfg
  --- /dev/null 2003-08-05 15:00:35.000000000 +0200
  +++ sophie.cfg        2003-08-05 15:00:36.000000000 +0200
  @@ -0,0 +1,31 @@
  +##
  +##  @l_prefix@/etc/sophie/sophie.cfg
  +##
  +
  +#
  +#   Configuration options which change requires a restart of the daemon
  +#
  +user:           @l_rusr@
  +group:          @l_rgrp@
  +pidfile:        @l_prefix@/var/sophie/sophie.pid
  +socketfile:     @l_prefix@/var/sophie/sophie.sock
  +umask:          0007
  +
  +#
  +#   Configuration options which change requires a reload of the daemon
  +#
  +saviconfig:     @l_prefix@/etc/sophie/sophie.savi
  +maxproc:        20
  +timeout:        300
  +logname:        sophie
  +logfacility:    mail
  +logpriority:    notice
  +error_strings:  yes
  +timestamps:     yes
  +show_virusname: yes
  +callbacks:      yes
  +limit_classif:  10
  +limit_nextfile: 10000
  +limit_decompr:  1000
  +socket_check:   yes
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/sophie/sophie.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 sophie.patch
  --- /dev/null 2003-08-05 15:00:35.000000000 +0200
  +++ sophie.patch      2003-08-05 15:00:36.000000000 +0200
  @@ -0,0 +1,35 @@
  +--- sophie-3.03/sophie.c.orig        2003-05-02 18:38:35.000000000 +0200
  ++++ sophie-3.03/sophie.c     2003-08-05 13:33:53.000000000 +0200
  +@@ -33,8 +33,7 @@
  + volatile int PROC_COUNT = 0;
  + 
  + char *default_configs[] = {
  +-    "/etc/sophie.cfg",
  +-    "/usr/local/etc/sophie.cfg",
  ++    "@l_prefix@/etc/sophie/sophie.cfg",
  +     "./sophie.cfg",
  +     NULL
  + };
  +--- sophie-3.03/sophie_init.c.orig   2003-04-27 17:27:34.000000000 +0200
  ++++ sophie-3.03/sophie_init.c        2003-08-05 13:57:24.000000000 +0200
  +@@ -48,6 +48,9 @@
  +                             exit(EXIT_FAILURE);
  +                     }
  + 
  ++                    hr = pSAVI->pVtbl->SetConfigValue(pSAVI, "IdeDir", 
SOPHOS_TYPE_STRING, "@l_prefix@/var/sophos-av/sav"); 
  ++                    hr = pSAVI->pVtbl->SetConfigValue(pSAVI, "VirusDataDir", 
SOPHOS_TYPE_STRING, "@l_prefix@/var/sophos-av/sav"); 
  ++
  +                     sophie_set_engine_config(pSAVI);
  +             }
  +     }
  +--- sophie-3.03/Makefile.in.orig     2003-04-29 16:40:49.000000000 +0200
  ++++ sophie-3.03/Makefile.in  2003-08-05 14:06:20.000000000 +0200
  +@@ -11,7 +11,7 @@
  + ${OBJS}: config.h
  + 
  + sophie: ${OBJS}
  +-    ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${OBJS} -o sophie
  ++    ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} -o sophie ${LIBS}
  + 
  + eicar.com:
  +     @echo '[EMAIL PROTECTED](C^)7PP)7}$$RVPNE-FGNAQNEQ-NAGVIVEHF-GRFG-SVYR!$$U+U*' 
| \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/sophie/sophie.savi
  ============================================================================
  $ cvs diff -u -r0 -r1.1 sophie.savi
  --- /dev/null 2003-08-05 15:00:35.000000000 +0200
  +++ sophie.savi       2003-08-05 15:00:36.000000000 +0200
  @@ -0,0 +1,277 @@
  +##
  +##  @l_prefix@/etc/sophie/sophie.cfg
  +##
  +
  +#############################################################################
  +# Group options automatically activate/deactivate all options that belong   #
  +# to the group. You'll have to figure out what belongs where, sorry :)      #
  +#                                                                           #
  +# If you want to deactivate certain feature from a group, just set it to 0  #
  +# but make sure group definitions do remain at the top of this file         #
  +#############################################################################
  +
  +# Executable files
  +GrpExecutable: 1
  +
  +# All archive and compressed archive file formats (e.g. ZIP, UUE, etc)
  +GrpArchiveUnpack: 1
  +
  +# File formats that contain an executable stub that automatically decompresses
  +# the body of the file
  +GrpSelfExtract: 1
  +
  +# File formats commonly in use on the internet
  +GrpInternet: 1
  +
  +# Microsoft Office file formats
  +GrpMSOffice: 1
  +
  +# File formats that do not fall into any of the above categories
  +GrpMisc: 1
  +
  +# Any option that is part of a group is also included in this group
  +# (NOTE: I have no idea what this really means :)
  +GrpSuper: 0
  +
  +# Enables or disables disinfection of all files for which disinfection is
  +# supported
  +GrpDisinfect: 0
  +
  +#########################
  +#                       #
  +# Configuration options #
  +#                       #
  +#########################
  +
  +# Controls handling of Macintosh resounce and data fork files (on platforms
  +# where these are supported). Settings are:
  +#
  +# 0 = Disabled
  +# 1 = SOPHOS_DOS_FILES (enable scanning for Mac viruses)
  +# 2 = SOPHOS_MAC_FILES (scan data fork files for DOS viruses)
  +# 3 = SOPHOS_DOS_AND_MAC_FILES (mix :)
  +#NamespaceSupport: 0
  +
  +# Enables full sweeping, which performs extensive fixed pattern matching as
  +# well as the standard intelligent virus search. Turning on this option
  +# might have severe performance implications.
  +#FullSweep: 0
  +
  +# Controls the ability to scan inside supported types of dynamically
  +# compressed executables.
  +#DynamicDecompression: 1
  +
  +# Enables a fallback mechanism that has been deployed in the past when new
  +# file structures are encountered. Sophos recommends that you keep this
  +# option turned off.
  +#FullMacroSweep: 0
  +
  +# Enables the intelligent scanning of OLE2 (Microsoft Office) format
  +# documents. Sophos recommends that this option should be turned on.
  +#OLE2Handling: 1
  +
  +# Microsoft Office documents that contain executable macros will usually have
  +# a single bit in the file header set to 1 to indicate the presence of
  +# executable code. Under normal circumstances macros contained in a file that
  +# does not have this bit set are not able to execute. If this option is
  +# turned off, the Virus Engine will scan only files with this template bit
  +# set to 1. Sophos recommends that you keep this option turned on.
  +#IgnoreTemplateBit: 1
  +
  +# This option enables the scanning of Microsoft Visual Basic for Applications
  +# embedded in supported file types, like Office and Visio documents.
  +#VBA3Handling: 1
  +
  +# This option enables the scanning of Microsoft Visual Basic for Applications
  +# embedded in supported file types, like Office and Visio documents.
  +#VBA5Handling: 1
  +
  +# Password-protected Office 95 documents are encrypted with a very simple
  +# algorithm. Enabling this option causes the virus engine to break this
  +# encryption to search for viruses.
  +#OF95DecryptHandling: 0
  +
  +# Enables checking for files embedded in Mirosoft Help files.
  +#HelpHandling: 1
  +
  +# Decompresses the text part of a VBA5 project before scanning. This area is
  +# often corrupted, but can help positive identification of some viruses.
  +#DecompressVBA5: 1
  +
  +# Enables the 16-bit x86 emulation engine, which assists in the detection of
  +# polymorphic executable file viruses. Sophos recommends this option should be
  +# turned on.
  +#Emulation: 1
  +
  +# Enables the intelligent scanning of Win32/PE format files. This is the
  +# standard format for Windows executable binaries such as .exe  and .dll.
  +#PEHandling: 1
  +
  +# Enables scanning of Excel formulas for known formula viruses. Formulas
  +# occupy cells on the worksheet and should not be confused with macros.
  +#ExcelFormulaHandling: 1
  +
  +# Enables the scanning of macros in PowerPoint presentations.
  +#PowerPointMacroHandling: 1
  +
  +# Enables the scanning of files embedded within PowerPoint presentations.
  +#PowerPointEmbeddedHandling: 1
  +
  +# Enables the scanning of VBA macros in Microsoft Project.
  +#ProjectHandling: 1
  +
  +# Enables scanning inside ZIP archives.
  +#ZipDecompression: 1
  +
  +# Enables decompression of Arj archives.
  +#ArjDecompression: 1
  +
  +# Enables decompression of RAR archives.
  +#RarDecompression: 1
  +
  +# Enables the virus engine to decode EEUncoded files. The UUEncode portion
  +# must start within the first 4k of the document.
  +#UueDecompression: 1
  +
  +# Enables decompression of Gzipped archives.
  +#GZipDecompression: 1
  +
  +# Enables scanning inside UNIX tar archives.
  +#TarDecompression: 1
  +
  +# Enables decompression of Cmz archives.
  +#CmzDecompression: 1
  +
  +# Contols the ability to extract files from BinHex archives.
  +#HqxDecompression: 1
  +
  +# Controls the ability to look inside MacBinary archives.
  +#MbinDecompression: 1
  +
  +# Controls SAVI's ability to scan inside certain types of container file.
  +# Sophos recommends that this options should be turned on.
  +#LoopBackEnabled: 1
  +
  +# Contols the maximum number of times the engine will recurse into archives
  +# when they are found (e.g. when a zip file is compressed within another zip
  +# file). The maximum value is 100, but SAVI internally has some extra levels
  +# of recursion to cover internal data streams found within some file types.
  +#MaxRecursionDepth: 16
  +
  +# Enables decompression of Lha archives.
  +#Lha: 1
  +
  +# Enables the virus engine to search in supported types of self-extracting
  +# archive.
  +#SfxArchives: 1
  +
  +# Enables decoding of files encoded with the Microsoft TNEF format, used by
  +# some mail client applications.
  +#TnefAttachmentHandling: 1
  +
  +# Controls the ability to scan inside files compressed with the Microsoft
  +# compression utility.
  +#MSCompress: 1
  +
  +# Enables decompression of Microsoft Cabinet files (.cab) (Partial files at
  +# the beginning and end of multi-part cabinet files will not be fully
  +# scanned
  +#MSCabinet: 1
  +
  +# Applies to Microsoft Office and other OLE2 format files. When this option is
  +# enabled, calls to DisinfectFile() all macros present in the document are
  +# deleted, regardless of whether or not they are viral.
  +#DeleteAllMacros: 0
  +
  +# Enables the scanning of encoded VBScript files.
  +#Vbe: 1
  +
  +# Some executable file viruses can be removed from files fairly safely. This
  +# option enables that process. Sophos recommends that infected executables are
  +# replaced from the original installation disks as soon as possible.
  +#ExecFileDisinfection: 0
  +
  +# Enables the scanning of Microsoft Visio files.
  +#VisioFileHandling: 1
  +
  +# Enables decoding and scanning inside a MIME encoded message block.
  +#Mime: 1
  +
  +# Enables the detection of macro viruses within Microsoft Office documents
  +# saved in ActiveMime document format.
  +#ActiveMimeHandling: 1
  +
  +# Causes the entire project containing any viral macros to be removed during
  +# disinfection.
  +#DelVBA5Project: 0
  +
  +# Enables the handling of scrap objects that are used in the transfer of data
  +# between certain applications.
  +#ScrapObjectHandling: 1
  +
  +# Deals with another type of data within Office documents.
  +#SrpStreamHandling: 1
  +
  +# Controls the ability of the engine to understand Microsoft Office 2001
  +# files (Macintosh only)
  +#Office2001Handling: 1
  +
  +# Enables scanning inside UPX-compressed self-extracting executable archives.
  +#Upx: 1
  +
  +# Enables the scanning of Palm Pilot format files (.prc).
  +#PalmPilotHandling: 1
  +
  +# Controls the PDF file interpretation module.
  +#Pdf: 1
  +
  +# Enables scanning for objects that may be embedded inside Rich Text  FOrmat
  +# files.
  +#Rtf: 1
  +
  +# Controls the module that optimises scanning in HTML files.
  +#Html: 1
  +
  +# Controls the module that interprets ELF binary files. This format is used
  +# for many Linux and FreeBSD executable files.
  +#Elf: 1
  +
  +# Enables the scanning of WordBasic.
  +#WordB: 1
  +
  +# Enables scanning of files contained within Outlook Express mailboxes.
  +#OutlookExpress: 1
  +
  +# FIXME: Well, I have some idea...
  +#Java: 1
  +
  +# FIXME: Well, I have some idea...
  +#Access: 1
  +
  +# FIXME: No idea what this is used for
  +#AppleSingle: 0
  +
  +# FIXME: No idea what this is used for
  +#VbFiltering: 1
  +
  +#######################################################
  +#                                                     #
  +# DO NO SET/USE ANY OF THESE CONFIGURATION OPTIONS!!! #
  +#                                                     #
  +#######################################################
  +
  +# The passed string defines the full path name of the directory in which the
  +# main virus data file is located. The name should not have a trailing 
  +# directory separator character.
  +#VirusDataDir:
  +
  +# The passed string defines the name of the virus data file. This name should
  +# not include a directory component (this is defined by the VirusDataDir
  +# setting) or a file extension. For example, if the main virus data file name
  +# is vdl.dat then this string should be passed as vdl.
  +#VirusDataName:
  +
  +# The passed string defines the full path name of the directory in which SAVI
  +# should search for IDE files.
  +#IdeDir:
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/sophie/sophie.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 sophie.spec
  --- /dev/null 2003-08-05 15:00:35.000000000 +0200
  +++ sophie.spec       2003-08-05 15:00:36.000000000 +0200
  @@ -0,0 +1,131 @@
  +##
  +##  sophie.spec -- OpenPKG RPM Specification
  +##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  +##  Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
  +##  Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.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:         sophie
  +Summary:      Sophie Anti-Virus Scanner Daemon
  +URL:          http://www.vanja.com/tools/sophie/
  +Vendor:       Vanja Hrustic et al.
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [EVAL]
  +Group:        System
  +License:      GPL
  +Version:      3.03
  +Release:      20030805
  +
  +#   package options
  +%option       with_fsl yes
  +
  +#   list of sources
  +Source0:      http://www.vanja.com/tools/sophie/sophie-%{version}.tar.bz2
  +Source1:      fsl.sophie
  +Source2:      rc.sophie
  +Source3:      sophie.cfg
  +Source4:      sophie.savi
  +Patch0:       sophie.patch
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, make, gcc, sav
  +PreReq:       OpenPKG, openpkg >= 20030103, sav
  +%if "%{with_fsl}" == "yes"
  +BuildPreReq:  fsl >= 1.0.6
  +PreReq:       fsl >= 1.0.6
  +%endif
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    Sophie is a daemon which uses the libsavi library from Sophos
  +    Anti-Virus.
  +
  +    On startup, Sophie initializes SAVI (Sophos Anti-Virus Interface),
  +    loads virus patterns into memory, opens local UNIX domain socket,
  +    and waits for someone to connect and instructs it which path to
  +    scan. Since it is loaded in RAM, scanning is very fast. Of course,
  +    speed of scanning also depends on SAVI settings and size of the
  +    file.
  +
  +%prep
  +    %setup -q
  +    %patch0 -p1
  +    %{l_shtool} subst %{l_value -s -a} \
  +        sophie.c \
  +        sophie_init.c
  +    %{l_shtool} subst \
  +        -e 's;^\(#define[    ]*DEFAULT_PIDFILE\)[    ].*$;\1 
"%{l_prefix}/var/sophie/sophie.pid";' \
  +        -e 's;^\(#define[    ]*DEFAULT_SOCKETFILE\)[         ].*$;\1 
"%{l_prefix}/var/sophie/sophie.sock";' \
  +        sophie.h
  +
  +%build
  +    CC="%{l_cc}" \
  +    CXX="%{l_cxx}" \
  +    CFLAGS="%{l_cflags -O}" \
  +    CXXFLAGS="%{l_cxxflags -O}" \
  +    CPPFLAGS="%{l_cppflags}" \
  +    LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \
  +    LIBS="%{l_fsl_libs}" \
  +    ./configure \
  +        --prefix=%{l_prefix} \
  +        --with-savilib=%{l_prefix}/lib/sav \
  +        --disable-net
  +    %{l_make} %{l_mflags -O}
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin \
  +        $RPM_BUILD_ROOT%{l_prefix}/etc/fsl \
  +        $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
  +        $RPM_BUILD_ROOT%{l_prefix}/etc/sophie \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man8 \
  +        $RPM_BUILD_ROOT%{l_prefix}/var/sophie
  +    %{l_shtool} install -c -s -m 755 \
  +        sophie \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin/
  +    %{l_shtool} install -c -m 644 %{l_value -s -a} \
  +        %{SOURCE fsl.sophie} \
  +        $RPM_BUILD_ROOT%{l_prefix}/etc/fsl/
  +    %{l_shtool} install -c -m 755 %{l_value -s -a} \
  +        %{SOURCE rc.sophie} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
  +    %{l_shtool} install -c -m 644 %{l_value -s -a} \
  +        %{SOURCE sophie.cfg} \
  +        %{SOURCE sophie.savi} \
  +        $RPM_BUILD_ROOT%{l_prefix}/etc/sophie/
  +    %{l_shtool} install -c -m 644 \
  +        sophie.8 \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man8/
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
  +        '%not %dir %{l_prefix}/etc/fsl' \
  +        '%config %{l_prefix}/etc/fsl/fsl.sophie' \
  +        '%config %{l_prefix}/etc/sophie/*' \
  +        '%dir %attr(1777,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sophie'
  +
  +%files -f files
  +
  +%clean
  +    rm -rf $RPM_BUILD_ROOT
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.6033 -r1.6034 news.txt
  --- openpkg-web/news.txt      5 Aug 2003 10:55:34 -0000       1.6033
  +++ openpkg-web/news.txt      5 Aug 2003 13:00:32 -0000       1.6034
  @@ -1,3 +1,4 @@
  +05-Aug-2003: New package: P<sophie-3.03-20030805>
   05-Aug-2003: Upgraded package: P<sav-2.14-20030805>
   05-Aug-2003: Upgraded package: P<netrik-1.10.3-20030805>
   05-Aug-2003: Upgraded package: P<dsh-0.24.0-20030805>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to