diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-05-04 08:11:04 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-05-04 08:11:04 +0000 |
commit | 1b613b35c79ce3024427f1d64d810912a5ee20b4 (patch) | |
tree | d11b07c109f676c63d04205489f696c4bab0ccef /irc/iip | |
parent | Fix 'make package'. (diff) |
New port iip version 1.1.0: Secure and Anonymous Instant Messaging
Notes
Notes:
svn path=/head/; revision=80101
Diffstat (limited to 'irc/iip')
-rw-r--r-- | irc/iip/Makefile | 62 | ||||
-rw-r--r-- | irc/iip/distinfo | 1 | ||||
-rw-r--r-- | irc/iip/files/wrapper.sh | 21 | ||||
-rw-r--r-- | irc/iip/pkg-descr | 20 | ||||
-rw-r--r-- | irc/iip/pkg-plist | 15 |
5 files changed, 119 insertions, 0 deletions
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 <lioux@FreeBSD.org> +# +# $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 <bsd.port.mk> 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%% |