diff --git a/Slackware/README b/Slackware/README index 9228a0f5a3b02c114b04937829e58c055f273c66..494ffa4200e2347d1327699a5cc6a6382b713e13 100644 --- a/Slackware/README +++ b/Slackware/README @@ -1,21 +1,30 @@ -You will need atleast monotone > = 0.41 to get the most recent build source +ou will need atleast monotone > = 0.41 to get the most recent build source and connect it to an already running i2p router. OR: -You may download the actual source from -http://mirror.i2p2.de/i2psource_0.7.tar.bz2 for the "stable" releases. - +You may download the actual "stable" source from +http://code.google.com/p/i2p/downloads/list You will need to follwing tools to build the i2p and i2p-base packages: bash >= 3.1.017 +requiredbuilder >= 0.16.3 ( http://www.stabellini.net/requiredbuilder.html ) jre >= 6u11 jdk >= 6u11 - apache-ant >= 1.7.1 perl >= 5.10.0 python >= 2.5.2 Reccomended: -monotone >= 0.41 (from pkgs.dr.ea.ms) +monotone >= 0.41 ( http://pkgs.dr.ea.ms ) + +See also: + +i2p/readme.txt + +AND + +i2p-base/readme.txt + +for information and handy tips. diff --git a/Slackware/i2p-base/build.xml b/Slackware/i2p-base/build.xml new file mode 100644 index 0000000000000000000000000000000000000000..f8def337eef57768324f5951c98b720415807c28 --- /dev/null +++ b/Slackware/i2p-base/build.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<project basedir="." default="slackpkg"> + <target name="slackpkg"> + <echo message="Building Slackware package." /> + <exec executable="./i2p-base.SlackBuild"> + </exec> + </target> +</project> diff --git a/Slackware/i2p/blocklist.txt b/Slackware/i2p/blocklist.txt deleted file mode 100644 index 1ac6548e9a9c24eadeb472f84e1a2f7b1387d968..0000000000000000000000000000000000000000 --- a/Slackware/i2p/blocklist.txt +++ /dev/null @@ -1,11 +0,0 @@ -# To enable set router.blocklist.enable=true on configadvanced.jsp and restart. -# Add additional entries as desired, sorting not required. -# Warning - a large list will increase memory usage. -# Please do not block too broadly, it will segment and harm the network. -# Also you must update this list yourself, it is not overwritten by the update process. -# For example, http://www.bluetack.co.uk/config/splist.zip is very broad and includes Tor users, it is not recommended. -# A more reasonable list: http://www.bluetack.co.uk/config/level1.zip -# -Fucktard Floodfill Flooder:159.226.40.7 -Friend of the Fucktard Floodfill Flooder:159.226.40.3 -Fucktard Class O Unreachable:Do51O6vNvAYQRCK-~REhrblGHHOKGwH4RkpGp75nnNs= diff --git a/Slackware/i2p/build.xml b/Slackware/i2p/build.xml new file mode 100644 index 0000000000000000000000000000000000000000..0683bdeb0d15ccfe4caee0518f496f355f6341e6 --- /dev/null +++ b/Slackware/i2p/build.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<project basedir="." default="slackpkg"> + <target name="slackpkg"> + <echo message="Building Slackware package." /> + <exec executable="./i2p.SlackBuild"> + </exec> + </target> +</project> diff --git a/Slackware/i2p/doinst.sh b/Slackware/i2p/doinst.sh index 7493c701084db27d360aa5dc67f56e69e5191375..91dd09721164a29076093ef959e34057b78128eb 100644 --- a/Slackware/i2p/doinst.sh +++ b/Slackware/i2p/doinst.sh @@ -7,7 +7,7 @@ INST_DIR=directory echo for i in *.config ; { if [ -f $INST_DIR/$i ] ; then - echo "Please check $i, as there is a new version." + echo "Please check ${INST_DIR}${i}, as there is a new version." cp $i $INST_DIR/$i.new else cp $i $INST_DIR/$i @@ -15,6 +15,36 @@ for i in *.config ; { } ) + +( cd $INST_DIR + if [ -f blocklist.txt ] ; then + echo "Please check ${INST_DIR}blocklist.txt, as there is a new version." + else + mv blocklist.txt.new blocklist.txt + fi +) + +( cd $INST_DIR/eepsite + if [ -f jetty.xml ] ; then + rm jetty.xml.new + else + mv jetty.xml.new jetty.xml + fi +) + +( cd $INST_DIR/eepsite/docroot + if [ -f index.html ] ; then + rm index.html.new + else + mv index.html.new index.html + fi + if [ -f favicon.ico ] ; then + rm favicon.ico.new + else + mv favicon.ico.new favicon.ico + fi +) + echo echo "FINISHING I2P INSTALLATION. PLEASE WAIT." @@ -23,8 +53,6 @@ sh postinstall.sh || ( echo "ERROR: failed execution of postinstall.sh. Please" echo "cd into i2p installation directory and run " echo "postinstall.sh manually with ./postinstall.sh" - echo "It is also reccomended to set router.blocklist.enable=true " - echo "in the router.config file." exit 1 ) diff --git a/Slackware/i2p/i2p.SlackBuild b/Slackware/i2p/i2p.SlackBuild index bc077b53c9a7758184e8b6e5641c7043dd361d44..421033356e7cf8d82497b318d068efebcf071974 100755 --- a/Slackware/i2p/i2p.SlackBuild +++ b/Slackware/i2p/i2p.SlackBuild @@ -76,8 +76,11 @@ mkdir -p $PKG/$INSTALL_DIR/ cp -a ../i2p $PKG/$INSTALL_DIR/ mkdir -p $PKG/install -mv $PKG/$INSTALL_DIR/i2p/blocklist.txt $PKG/$INSTALL_DIR/i2p/blocklist.txt.new mv $PKG/$INSTALL_DIR/i2p/*.config $PKG/install +mv $PKG/$INSTALL_DIR/i2p/blocklist.txt $PKG/$INSTALL_DIR/i2p/blocklist.txt.new +mv $PKG/$INSTALL_DIR/i2p/eepsite/jetty.xml $PKG/$INSTALL_DIR/i2p/eepsite/jetty.xml.new +mv $PKG/$INSTALL_DIR/i2p/eepsite/docroot/index.html $PKG/$INSTALL_DIR/i2p/eepsite/docroot/index.html.new +mv $PKG/$INSTALL_DIR/i2p/eepsite/docroot/favicon.ico $PKG/$INSTALL_DIR/i2p/eepsite/docroot/favicon.ico.new sed "s|directory|/$INSTALL_DIR/i2p/|g" $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG diff --git a/Slackware/i2p/readme.txt b/Slackware/i2p/readme.txt index 7ad3f1bec4af167391b81e6295f632e9c08516f4..2c6d4fa50c57ec701828962bc014b03ae0b0abf0 100644 --- a/Slackware/i2p/readme.txt +++ b/Slackware/i2p/readme.txt @@ -6,9 +6,11 @@ on i2p.SlackBuild and rebuild the package. You will also need to do the same in the base-i2p package. Installation and Upgrade: -Probably you will never have to update i2p packages with upgradepkg, -just because I2P has an auto-update function. However using upgradepkg -lowers the demand on the I2P network as a whole, and is by far faster. +Probably you will never have to update i2p packages. However if you do, +be sure to installpkg first, then removepkg or custom config files can +be lost with upgradepkg. I2P has an auto-update function. However using +installpkg then removepkg lowers the demand on the I2P network as a +whole, and is by far faster. After installpkg command, doinst.sh will execute a postinstallation script needed by I2P. Be sure to also install the base-i2p package. @@ -26,8 +28,12 @@ sh /etc/rc.d/rc.i2p start Now tell your browser to user this proxy: localhost on port 4444 and open this page: http://localhost:7657/index.jsp Here you can configure I2P, watch network status and navigate anonimously. -It's suggested to subscribe to various addressbook hosts, see the faqs on -http://www.i2p2.i2p/ or http://www.i2p2.de/ +It's suggested to subscribe to various addressbook hosts so that you can +get to the many available eepsites and other service on I2P. These are not +set up by default for security reasons. + +Please see the faqs on http://www.i2p2.i2p/ or http://www.i2p2.de/ on how +to subscribe to the various addressbook services. To stop I2P: /etc/rc.d/rc.i2p stop diff --git a/Slackware/i2p/slack-desc b/Slackware/i2p/slack-desc index 7915f5cef7efc843426273138a6b8e4e677db015..281e5e8943b8bac0958cf812fc474cc1924a6957 100644 --- a/Slackware/i2p/slack-desc +++ b/Slackware/i2p/slack-desc @@ -14,8 +14,6 @@ i2p: data is wrapped with several layers of encryption, and the network is i2p: both distributed and dynamic, with no trusted parties. i2p: Many applications are available that interface with I2P, including i2p: mail, peer-peer file sharing, IRC chat, and others. -i2p: +i2p: WARNING: To upgrade installpkg FIRST _THEN_ removepkg. i2p: For more information, see: http://www.i2p2.de/ i2p: -i2p: This package requires i2p-base. -i2p: diff --git a/build.xml b/build.xml index 9b69a13f35c6740a5df2fa9a22d928b39f01b075..b4a37469772a912831a710850d20eafb185792cf 100644 --- a/build.xml +++ b/build.xml @@ -15,6 +15,7 @@ <echo message=" syndie: generate a standalone syndie install" /> <echo message=" i2psnark: generate a standalone i2psnark install" /> <echo message=" javadoc: generate javadoc for the entire project into ./build/javadoc" /> + <echo message=" slackpkg: generate Slackware packages in ./Slackware/i2p and ./Slackware/i2p-base" /> </target> <target name="dist" depends="pkg, javadoc"> </target> @@ -437,6 +438,11 @@ <ant dir="apps/i2psnark/java" target="standalone" /> <copy file="apps/i2psnark/java/i2psnark-standalone.zip" todir="." /> </target> + <target name="slackpkg"> + <echo message="Building Slackware package." /> + <ant dir="Slackware/i2p/" target="slackpkg" /> + <ant dir="Slackware/i2p-base/" target="slackpkg" /> + </target> <target name="findbugs" depends="build2"> <echo message="Starting findbugs, this will take a while..." /> <exec executable="nice"> diff --git a/history.txt b/history.txt index 91c0abf15c0a72653ae035f0df8058c94efefa51..f94b1369a7a55f5236a07b856ebfd15c7ad51e06 100644 --- a/history.txt +++ b/history.txt @@ -1,3 +1,7 @@ +2009-02-02 sponge + * Final? cleanups to Slackbuilds. + * ant target for Slackbuilds. + 2009-02-01 sponge * Slackbuild files... if we can have them for Debian, why not :-)