Changeset 7109061


Ignore:
Timestamp:
Nov 2, 2010 1:49:03 PM (9 years ago)
Author:
z3d <z3d@…>
Branches:
master
Children:
9b39f02
Parents:
f71dd25b (diff), 252473d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge of '4dfe5728ed4951d32f89e2fddbdcdfc3b4755cad'

and '62005c74e58b5fdbaf4659ffb65392ecfbd8bc0a'

Location:
debian
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • debian/control

    rf71dd25b r7109061  
    1010Section: net
    1111Priority: optional
    12 Depends: java-runtime
    13 Description: load-balanced unspoofable packet switching network
     12Depends: sun-java6-jre | default-jre | java-runtime
     13Description: Load-balanced unspoofable packet switching network
    1414 I2P is an anonymizing network, offering a simple layer that identity-sensitive
    1515 applications can use to securely communicate. All data is wrapped with several
  • debian/rules

    rf71dd25b r7109061  
    11#!/usr/bin/make -f
     2
     3VERSION=`grep String\ VERSION core/java/src/net/i2p/CoreVersion.java | cut -d\" -f2`
     4SOURCEURL=http://mirror.i2p2.de/i2psource_${VERSION}.tar.bz2
    25
    36build:
     
    1316        sed 's|%INSTALL_PATH|/usr/lib/i2p|g' debian/tmp/usr/lib/i2p/eepget > debian/tmp/usr/lib/i2p/a
    1417        mv debian/tmp/usr/lib/i2p/a debian/tmp/usr/lib/i2p/eepget
    15         cp debian/tmp/usr/lib/i2p/eepget  debian/tmp/usr/bin/eepget
    16         chmod +x debian/tmp/usr/bin/eepget
     18        ln -s /usr/lib/i2p/eepget debian/tmp/usr/bin/eepget
    1719        sed 's|%INSTALL_PATH|/usr/lib/i2p|g' debian/tmp/usr/lib/i2p/runplain.sh > debian/tmp/usr/lib/i2p/a
    1820        sed 's|%SYSTEM_java_io_tmpdir|/tmp|g' debian/tmp/usr/lib/i2p/a > debian/tmp/usr/lib/i2p/runplain.sh
    1921        sed 's|%INSTALL_PATH|/usr/lib/i2p|g' debian/tmp/usr/lib/i2p/i2prouter > debian/tmp/usr/lib/i2p/a
    2022        sed 's|%SYSTEM_java_io_tmpdir|/tmp|g' debian/tmp/usr/lib/i2p/a > debian/tmp/usr/lib/i2p/i2prouter
    21         cp debian/tmp/usr/lib/i2p/i2prouter debian/tmp/usr/bin/i2prouter
    22         chmod +x debian/tmp/usr/bin/i2prouter
     23        ln -s /usr/lib/i2p/i2prouter debian/tmp/usr/bin/i2prouter
    2324        rm debian/tmp/usr/lib/i2p/a
    2425        touch debian/build
     
    3536        ant distclean
    3637        @exit 0
     38
     39get-orig-source:
     40        wget ${SOURCEURL}
  • debian/scripts/init

    rf71dd25b r7109061  
    1717        su i2psvc -c "/usr/lib/i2p/i2prouter $1"
    1818}
     19
     20if [ `id -un` != "root" ]; then
     21        echo "This script ($0) must be run as root"
     22        exit 1
     23fi
    1924
    2025case "$1" in
  • debian/scripts/postinst

    rf71dd25b r7109061  
    1212
    1313cd $I2P
    14 exec su $I2PUSER ./postinstall.sh
     14su $I2PUSER ./postinstall.sh
     15
     16chmod 755 /usr/lib/i2p/eepget
     17chmod 755 /usr/lib/i2p/i2prouter
     18chmod 755 /usr/lib/i2p/i2psvc
     19
     20invoke-rc.d i2p start
  • debian/scripts/postrm

    rf71dd25b r7109061  
    11#!/bin/sh
     2
     3# $1 is either "remove" or "purge". Since there are no config
     4# files left after a remove, exit here if called with "purge".
     5# This avoids calling userdel again which would cause an error.
     6if [ "$1" = "purge" ]; then
     7        exit 0;
     8fi
     9
    210I2PUSER=i2psvc
    311exec userdel $I2PUSER
Note: See TracChangeset for help on using the changeset viewer.