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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   19-May-2004 09:24:05
  Branch: HEAD                             Handle: 2004051908240400

  Added files:
    openpkg-src/bittorrent  apache.conf
  Modified files:
    openpkg-src/bittorrent  bittorrent.spec rc.bittorrent

  Log:
    add Apache config snippet and use --logfile on the tracker

  Summary:
    Revision    Changes     Path
    1.1         +6  -0      openpkg-src/bittorrent/apache.conf
    1.2         +6  -1      openpkg-src/bittorrent/bittorrent.spec
    1.2         +2  -2      openpkg-src/bittorrent/rc.bittorrent
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bittorrent/apache.conf
  ============================================================================
  $ cvs diff -u -r0 -r1.1 apache.conf
  --- /dev/null 2004-05-19 09:24:05.000000000 +0200
  +++ apache.conf       2004-05-19 09:24:05.000000000 +0200
  @@ -0,0 +1,6 @@
  +##
  +##  apache.conf -- BitTorrent MIME-Type Addition for Apache HTTP Server
  +##
  +
  +AddType application/x-bittorrent .torrent
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/bittorrent/bittorrent.spec
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 bittorrent.spec
  --- openpkg-src/bittorrent/bittorrent.spec    18 May 2004 20:12:21 -0000      1.1
  +++ openpkg-src/bittorrent/bittorrent.spec    19 May 2004 07:24:04 -0000      1.2
  @@ -34,11 +34,12 @@
   Group:        Network
   License:      MIT-style
   Version:      3.4.2
  -Release:      20040518
  +Release:      20040519
   
   #   list of sources
   Source0:      http://osdn.dl.sourceforge.net/bittorrent/BitTorrent-%{version}.tar.gz
   Source1:      rc.bittorrent
  +Source2:      apache.conf
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -85,6 +86,10 @@
         done
       ) || exit $?
       %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/etc/bittorrent
  +    %{l_shtool} install -c -m 755 %{l_value -s -a} \
  +        %{SOURCE apache.conf} $RPM_BUILD_ROOT%{l_prefix}/etc/bittorrent/
  +    %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
       %{l_shtool} install -c -m 755 %{l_value -s -a} \
           %{SOURCE rc.bittorrent} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/bittorrent/rc.bittorrent
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 rc.bittorrent
  --- openpkg-src/bittorrent/rc.bittorrent      18 May 2004 20:12:21 -0000      1.1
  +++ openpkg-src/bittorrent/rc.bittorrent      19 May 2004 07:24:04 -0000      1.2
  @@ -34,8 +34,8 @@
       ( nohup @l_prefix@/bin/bttrack \
             --port $bittorrent_port \
             --dfile $bittorrent_datafile \
  -          >>$bittorrent_logfile \
  -          </dev/null 2>/dev/null &
  +          --logfile $bittorrent_logfile \
  +          </dev/null >/dev/null 2>&1 &
         echo $! >$bittorrent_pidfile
       ) >/dev/null 2>&1
   
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to