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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   15-Jun-2003 13:55:50
  Branch: HEAD                             Handle: 2003061512554801

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

  Log:
    new package: squirrelmail 1.4.0 (SquirrelMail Webmail Client)

  Summary:
    Revision    Changes     Path
    1.1         +9  -0      openpkg-re/vcheck/vc.squirrelmail
    1.1         +135 -0     openpkg-src/squirrelmail/squirrelmail.spec
    1.4882      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.squirrelmail
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.squirrelmail
  --- /dev/null 2003-06-15 13:55:48.000000000 +0200
  +++ vc.squirrelmail   2003-06-15 13:55:48.000000000 +0200
  @@ -0,0 +1,9 @@
  +config = {
  +}
  +
  +prog squirrelmail = {
  +  version   = 1.4.0
  +  url       = http://download.sourceforge.net/squirrelmail/
  +  regex     = squirrelmail-(__VER__)\.tar\.bz2
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/squirrelmail/squirrelmail.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 squirrelmail.spec
  --- /dev/null 2003-06-15 13:55:50.000000000 +0200
  +++ squirrelmail.spec 2003-06-15 13:55:50.000000000 +0200
  @@ -0,0 +1,135 @@
  +##
  +##  squirrelmail.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 <[EMAIL PROTECTED]>
  +##
  +##  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.
  +##
  +
  +#   ms: JUNK status, because package is totally untested.
  +
  +#   package information
  +Name:         squirrelmail
  +Summary:      SquirrelMail Webmail Client
  +URL:          http://www.squirrelmail.org/
  +Vendor:       Squirrelmail Organization
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [JUNK]
  +Group:        Mail
  +License:      GPL
  +Version:      1.4.0
  +Release:      20030615
  +
  +#   list of sources
  +Source0:      
http://download.sourceforge.net/squirrelmail/squirrelmail-%{version}.tar.bz2
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, perl, imapd, apache, 
apache::with_mod_php = yes
  +PreReq:       OpenPKG, openpkg >= 20030103, perl, imapd, apache, 
apache::with_mod_php = yes
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    SquirrelMail is a standards-based webmail package written in
  +    PHP4. It includes built-in pure PHP support for the IMAP and
  +    SMTP protocols, and all pages render in pure HTML 4.0 (with
  +    no Javascript) for maximum compatibility across browsers. It
  +    has very few requirements and is very easy to configure and
  +    install. SquirrelMail has all the functionality you would
  +    want from an email client, including strong MIME support,
  +    address books, and folder manipulation.
  +
  +%prep
  +    %setup -q
  +    rm -f plugins/make_archive.pl
  +    #   rearrange the documentation
  +    mv AUTHORS ChangeLog COPYING INSTALL README UPGRADE doc/
  +    mv ReleaseNotes doc/ReleaseNotes.txt
  +    mv themes/README.themes doc/
  +    for fil in `find plugins -name "README*" -o -name INSTALL \
  +               -o -name CHANGES -o -name HISTORY`; do
  +        %{l_shtool} mkdir -f -p -m 755 doc/`dirname $fil`
  +        mv -f $fil $_
  +    done
  +    mv doc/plugins/squirrelspell/doc/README doc/plugins/squirrelspell
  +    rm -rf doc/plugins/squirrelspell/doc
  +    mv plugins/squirrelspell/doc/* doc/plugins/squirrelspell
  +    rm -f doc/plugins/squirrelspell/index.php
  +    rm -rf plugins/squirrelspell/doc
  +    #   fixup various files
  +    echo "left_refresh=300" >>data/default_pref
  +    %{l_shtool} subst \
  +        -e 
"s;__ATTDIR__;$RPM_BUILD_ROOT%{l_prefix}/var/squirrelmail/spool/attach/;g" \
  +        -e "s;__PREFSDIR__;$RPM_BUILD_ROOT%{l_prefix}/lib/squirrelmail/prefs/;g" \
  +        contrib/RPM/config.php.redhat
  +
  +%build
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    #   create directory structure
  +    %{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/squirrelmail \
  +        $RPM_BUILD_ROOT%{l_prefix}/lib/squirrelmail/prefs \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/config \
  +        $RPM_BUILD_ROOT%{l_prefix}/var/squirrelmail/spool/attach
  +    #   install default_pref
  +    %{l_shtool} install -c -m 644 \
  +        data/default_pref \
  +        $RPM_BUILD_ROOT%{l_prefix}/lib/squirrelmail/prefs/
  +    #   install the config files
  +    %{l_shtool} install -c -m 644 \
  +        config/*.pl \
  +        config/*.php \
  +        contrib/RPM/config.php.redhat \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/config/
  +    #   rename default configuration
  +    mv -f \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/config/config.php.redhat \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/config/config.php
  +    #   install local config to both config and datadirs
  +    #   and install main index and contributed conf file
  +    %{l_shtool} install -c -m 644 \
  +        index.php \
  +        config/config_local.php \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/
  +    %{l_shtool} install -c -m 644 \
  +        config/config_local.php \
  +        contrib/RPM/squirrelmail.conf \
  +        $RPM_BUILD_ROOT%{l_prefix}/etc/squirrelmail/
  +    #   copy over the rest, a lot of stuff
  +    for dir in class functions help images include plugins src themes; do
  +        cp -rp $dir $RPM_BUILD_ROOT%{l_prefix}/share/squirrelmail/
  +    done
  +    #   determine package ingredients and tag config files
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  +        %{l_files_std} \
  +        '%config %{l_prefix}/etc/squirrelmail/*'
  +
  +%files -f files
  +
  +%clean
  +    rm -rf $RPM_BUILD_ROOT
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.4881 -r1.4882 news.txt
  --- openpkg-web/news.txt      15 Jun 2003 08:18:38 -0000      1.4881
  +++ openpkg-web/news.txt      15 Jun 2003 11:55:48 -0000      1.4882
  @@ -1,3 +1,4 @@
  +15-Jun-2003: New package: P<squirrelmail-1.4.0-20030615>
   15-Jun-2003: Upgraded package: P<minicom-2.1-20030615>
   15-Jun-2003: Upgraded package: P<gimp-1.2.5-20030615>
   15-Jun-2003: Upgraded package: P<ncurses-5.3.20030614-20030615>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to