1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

New port iip version 1.1.0: Secure and Anonymous Instant Messaging

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2003-05-04 08:11:04 +00:00
parent 29627c3bf2
commit 1b613b35c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80101
6 changed files with 120 additions and 0 deletions

View File

@ -13,6 +13,7 @@
SUBDIR += epic4
SUBDIR += ezbounce
SUBDIR += gruftistats
SUBDIR += iip
SUBDIR += infobot
SUBDIR += irc
SUBDIR += ircII

62
irc/iip/Makefile Normal file
View File

@ -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>

1
irc/iip/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (iip-1.1.0.tgz) = 389385fd95c143834a58f2db0e3890f7

21
irc/iip/files/wrapper.sh Normal file
View File

@ -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 "${@}"

20
irc/iip/pkg-descr Normal file
View File

@ -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/

15
irc/iip/pkg-plist Normal file
View File

@ -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%%