From a14d9e4aa89862b2cb8bb483d199e22c8c070e09 Mon Sep 17 00:00:00 2001 From: lioux Date: Sun, 4 May 2003 08:11:04 +0000 Subject: New port iip version 1.1.0: Secure and Anonymous Instant Messaging --- irc/Makefile | 1 + irc/iip/Makefile | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ irc/iip/distinfo | 1 + irc/iip/files/wrapper.sh | 21 ++++++++++++++++ irc/iip/pkg-descr | 20 ++++++++++++++++ irc/iip/pkg-plist | 15 ++++++++++++ 6 files changed, 120 insertions(+) create mode 100644 irc/iip/Makefile create mode 100644 irc/iip/distinfo create mode 100644 irc/iip/files/wrapper.sh create mode 100644 irc/iip/pkg-descr create mode 100644 irc/iip/pkg-plist diff --git a/irc/Makefile b/irc/Makefile index 41d907bf9024..c65458a8dc67 100644 --- a/irc/Makefile +++ b/irc/Makefile @@ -13,6 +13,7 @@ SUBDIR += epic4 SUBDIR += ezbounce SUBDIR += gruftistats + SUBDIR += iip SUBDIR += infobot SUBDIR += irc SUBDIR += ircII diff --git a/irc/iip/Makefile b/irc/iip/Makefile new file mode 100644 index 000000000000..0a7dbc2cb962 --- /dev/null +++ b/irc/iip/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: iip +# Date created: Sun May 4 07:40:30 UTC 2003 +# Whom: Mario Sergio Fujikawa Ferreira +# +# $FreeBSD$ +# + +PORTNAME= iip +PORTVERSION= 1.1.0 +CATEGORIES= irc security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +EXTRACT_SUFX= .tgz + +MAINTAINER= lioux@FreeBSD.org +COMMENT= Secure and Anonymous Instant Messaging + +USE_REINPLACE= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src +INSTALL_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +MAN1= isproxy.1 + +DOC_FILES= AUTHORS CHANGELOG COPYING INSTALL README + +do-configure: + @${SED} -e 's|%%PREFIX%%|${PREFIX}|; \ + s|%%DATADIR%%|${DATADIR:S,^${PREFIX}/,,}|' \ + ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh + @${REINPLACE_CMD} -E \ + -e 's|^(PREFIX).*$$|\1=${PREFIX}|; \ + s|^(CC).*$$|\1=${CC}|; \ + s|^(LD)[[:space:]]*=.*$$|\1=${CC}|; \ + s|^(CFLAGS).*$$|\1+=-g -I. -I..|' \ + ${CONFIGURE_WRKSRC}/Makefile + +do-install: +# data + @${MKDIR} ${DATADIR} + @${INSTALL_DATA} ${INSTALL_WRKSRC}/src/node.ref ${DATADIR} +# doc +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${INSTALL_WRKSRC}/${file} ${DOCSDIR} +.endfor + @${MKDIR} ${DOCSDIR}/protocol + @${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/protocol/* \ + ${DOCSDIR}/protocol +.endif # NOPORTDOCS +# man +.for file in ${MAN1} + @${INSTALL_MAN} ${INSTALL_WRKSRC}/doc/${file} \ + ${MAN1PREFIX}/man/man1 +.endfor +# sbin + @${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/src/isproxy \ + ${PREFIX}/sbin/isproxy-real + @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \ + ${PREFIX}/sbin/isproxy + +.include diff --git a/irc/iip/distinfo b/irc/iip/distinfo new file mode 100644 index 000000000000..32f73423b255 --- /dev/null +++ b/irc/iip/distinfo @@ -0,0 +1 @@ +MD5 (iip-1.1.0.tgz) = 389385fd95c143834a58f2db0e3890f7 diff --git a/irc/iip/files/wrapper.sh b/irc/iip/files/wrapper.sh new file mode 100644 index 000000000000..75e5cdf21746 --- /dev/null +++ b/irc/iip/files/wrapper.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +PREFIX="%%PREFIX%%" +PROGRAM="${0}" +DATADIR="%%DATADIR%%" +HOME_DIR=${HOME}/.iip +NODE_REF=node.ref + +if [ ! -d ${HOME_DIR} ] +then + mkdir -p ${HOME_DIR} +fi + +if [ ! -f ${HOME_DIR}/${NODE_REF} ] +then + cp -f ${PREFIX}/${DATADIR}/${NODE_REF} \ + ${HOME_DIR} +fi + +cd ${HOME_DIR} && + exec ${PREFIX}/sbin/${PROGRAM##*/}-real "${@}" diff --git a/irc/iip/pkg-descr b/irc/iip/pkg-descr new file mode 100644 index 000000000000..9c3432772a69 --- /dev/null +++ b/irc/iip/pkg-descr @@ -0,0 +1,20 @@ +[ excerpt from developer's www site ] + +Invisible IRC Project (IIP) is a three-tier, peer distributed network +designed to be a secure and private transport medium for high speed, +low volume, dynamic content. + +IIP is Internet Relay Chat privacy software designed for anonymity +and security. It acts as an advanced proxy between your IRC client +and servers by utilizing an encrypted mixnet with fake traffic and +three-layered (user, relay, and broadcast) protection. + +IIP was originally created so that people interested in facilitating +privacy and free speech could work to these ends in an equally +secure and anonymous environment. It has now become a haven for +anyone seeking anonymous, encrypted Internet Relay Chat. The project's +inspiration arose primarily from a shared interest in the FreeNet +Project and a desire to provide the real-time communications +capabilities that FreeNet could not. + +WWW: http://www.invisiblenet.net/iip/ diff --git a/irc/iip/pkg-plist b/irc/iip/pkg-plist new file mode 100644 index 000000000000..dda93b315e02 --- /dev/null +++ b/irc/iip/pkg-plist @@ -0,0 +1,15 @@ +sbin/isproxy +sbin/isproxy-real +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/protocol/cs-iip1.txt +%%PORTDOCS%%%%DOCSDIR%%/protocol/cs-iip11.txt +%%PORTDOCS%%%%DOCSDIR%%/protocol/spurt.txt +%%PORTDOCS%%%%DOCSDIR%%/protocol/steady.txt +%%PORTDOCS%%%%DATADIR%%/node.ref +@dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/protocol +%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit