svn commit: r535358 - in head/security/i2p: . files
Bernhard Froehlich
decke at FreeBSD.org
Sat May 16 06:51:25 UTC 2020
Author: decke
Date: Sat May 16 06:51:23 2020
New Revision: 535358
URL: https://svnweb.freebsd.org/changeset/ports/535358
Log:
security/i2p:
- Update to 0.9.45
- Pass maintainership to submitter
- Update Makefile to make portlint happy
- Disabled unused java-doc
- Add pkg-message for usage notes, since current wrapper implementation is broken
- Removed couple of MASTERSITES since most do not offer the source anymore
PR: 245656
Submitted by: Michael Muenz <m.muenz at gmail.com> (maintainer)
Added:
head/security/i2p/files/patch-installer_resources_postinstall.sh (contents, props changed)
head/security/i2p/pkg-message (contents, props changed)
Deleted:
head/security/i2p/files/patch-apps_i2pcontrol_java_com_thetransactioncompany_jsonrpc2_package-info.java
head/security/i2p/files/patch-apps_i2pcontrol_java_org_mindrot_jbcrypt_BCrypt.java
head/security/i2p/files/patch-apps_streaming_java_src_net_i2p_client_streaming_impl_I2PServerSocketFull.java
head/security/i2p/files/patch-installer-resources-clients.config
head/security/i2p/files/patch-installer-resources-postinstall.sh
Modified:
head/security/i2p/Makefile
head/security/i2p/distinfo
Modified: head/security/i2p/Makefile
==============================================================================
--- head/security/i2p/Makefile Sat May 16 06:50:27 2020 (r535357)
+++ head/security/i2p/Makefile Sat May 16 06:51:23 2020 (r535358)
@@ -2,18 +2,12 @@
# $FreeBSD$
PORTNAME= i2p
-DISTVERSION= 0.9.40
+DISTVERSION= 0.9.45
CATEGORIES= security java net-p2p
-MASTER_SITES= SF/${PORTNAME:tl}/${PORTVERSION} \
- http://download.i2p2.no/releases/${PORTVERSION}/ \
- http://download2.geti2p.com/${PORTVERSION}/ \
- http://download.geti2p.com/${PORTVERSION}/ \
- http://download.i2p2.de/releases/${PORTVERSION}/ \
- https://launchpad.net/i2p/trunk/${PORTVERSION}/+download/ \
- https://googledrive.com/host/0B4jHEq5G7_EPWV9UeERwdGplZXc/${PORTVERSION}/
+MASTER_SITES= http://download.i2p2.de/releases/${PORTVERSION}/
DISTNAME= i2psource_${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= m.muenz at gmail.com
COMMENT= Anonymizing network
LICENSE= EULA
@@ -28,9 +22,10 @@ ONLY_FOR_ARCHS_REASON= i2p libwrapper.so library binar
BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.a:math/gmp
LIB_DEPENDS= libiconv.so:converters/libiconv
+USES= gettext tar:bz2
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
-USES= gettext tar:bzip2
USE_RC_SUBR= i2p
USE_ANT= yes
USE_JAVA= yes
@@ -42,13 +37,8 @@ ALL_TARGET= updater tarball
SUB_FILES= wrapper.sh
PORTDATA= *
-PORTDOCS= *
PLIST_FILES= sbin/i2prouter
-OPTIONS_DEFINE= DOCS
-
-DOCS_ALL_TARGET= javadoc
-
post-patch:
# postinstall.sh SHOULD only do post installation house keeping
@${REINPLACE_CMD} -E \
@@ -65,10 +55,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/i2p.tar.bz2 ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/i2pupdate.zip ${STAGEDIR}${DATADIR}/
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/sbin/i2prouter
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/installer/resources/readme/readme*.html ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC}/build/javadoc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/security/i2p/distinfo
==============================================================================
--- head/security/i2p/distinfo Sat May 16 06:50:27 2020 (r535357)
+++ head/security/i2p/distinfo Sat May 16 06:51:23 2020 (r535358)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1557365594
-SHA256 (i2psource_0.9.40.tar.bz2) = 5d31e0a324dfe429135ac17595b3cab3e81d85d4aa7a720db402dec47bfeda23
-SIZE (i2psource_0.9.40.tar.bz2) = 30808508
+TIMESTAMP = 1586771166
+SHA256 (i2psource_0.9.45.tar.bz2) = e65c7dbbf464b6bc64afb228306fbfed0f1e67ffec74f96852b82acade53921c
+SIZE (i2psource_0.9.45.tar.bz2) = 31921025
Added: head/security/i2p/files/patch-installer_resources_postinstall.sh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/i2p/files/patch-installer_resources_postinstall.sh Sat May 16 06:51:23 2020 (r535358)
@@ -0,0 +1,11 @@
+--- installer/resources/postinstall.sh.orig 2020-02-24 17:37:40 UTC
++++ installer/resources/postinstall.sh
+@@ -57,7 +57,7 @@ case $HOST_OS in
+ else
+ wrapperpath="./lib/wrapper/linux64"
+ # the 32bit libwrapper.so will be needed if a 32 bit jvm is used
+- cp ./lib/wrapper/linux/libwrapper.so ./lib/libwrapper-linux-x86-32.so
++ cp ./lib/wrapper/freebsd/libwrapper.so ./lib/libwrapper-freebsd-x86-32.so
+ fi
+ cp ${wrapperpath}/libwrapper.so ./lib/
+ ;;
Added: head/security/i2p/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/i2p/pkg-message Sat May 16 06:51:23 2020 (r535358)
@@ -0,0 +1,24 @@
+[
+{ type: install
+ message: <<EOM
+
+The wrapper and rc script are currently broken and under review,
+so you have to install and run i2p in the following way:
+
+- Install security/i2p port (which you might have now)
+- As normal user run /usr/local/sbin/i2prouter install (root is not allowed)
+ to extract all data into $HOME/i2p.
+- Go to users home i2p/ and edit runplain.sh to map I2PTEMP to the same
+ directory as I2P
+- Now you can start the process in I2P home directory with ./runplain.sh
+
+You first have to walk through an initial setup via
+
+http://localhost:7657
+
+Follow the instructions and map your browser to the configured ports.
+You can also host hidden services and many more via the UI.
+
+EOM
+}
+]
More information about the svn-ports-head
mailing list