diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 0b434e175..000000000 --- a/debian/copyright +++ /dev/null @@ -1,8 +0,0 @@ -everything is released according to the -terms of the I2P license policy. For the I2P SDK, -that means everything contained within this -module is released into the public domain unless -otherwise marked. Alternate licenses that may be -used include BSD (used by thecrypto's DSA, ElGamal, -and SHA256 implementations), Cryptix (used by cryptix's -AES implementation), and MIT. diff --git a/debian/copyright.part1 b/debian/copyright.part1 new file mode 100644 index 000000000..009410c0d --- /dev/null +++ b/debian/copyright.part1 @@ -0,0 +1,11 @@ +This is the Debian package of I2P. The latest version of I2P can always be found at: + http://www.i2p2.de/ + +I2P was originally developed by jrandom and others. The main developer now is zzz. +See http://www.i2p2.de/team for a list of past and present developers. + +I2P is maintained in Monotone. The current development version may be checked out +by issuing the following two commands: + mtn --db i2p.mtn dn init + mtn --db i2p.mtn co mtn.i2p2.de i2p.i2p + diff --git a/debian/rules b/debian/rules index e9d457d81..9be700d77 100755 --- a/debian/rules +++ b/debian/rules @@ -23,6 +23,15 @@ build: ln -s /usr/lib/i2p/i2prouter debian/tmp/usr/bin/i2prouter rm debian/tmp/usr/lib/i2p/a touch debian/build + mkdir -p debian/tmp/usr/share/doc/i2p + # Create the Debian copyright file, move the licenses dir, + # and delete all license files that are already in /usr/share/common-licenses/ + cat debian/copyright.part1 LICENSE.txt > debian/tmp/usr/share/doc/i2p/copyright + mv debian/tmp/usr/lib/i2p/licenses debian/tmp/usr/share/doc/i2p + rm debian/tmp/usr/lib/i2p/LICENSE.txt + rm debian/tmp/usr/share/doc/i2p/licenses/LICENSE-Apache2.0.txt + rm debian/tmp/usr/share/doc/i2p/licenses/LICENSE-GPLv2.txt + rm debian/tmp/usr/share/doc/i2p/licenses/LICENSE-LGPLv2.1.txt binary: build mkdir -p debian/tmp/DEBIAN