aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-01-17 03:21:31 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-01-17 03:21:31 +0000
commit968830654486b6390dc19a63e92e1a0d1a47959d (patch)
tree2e963cf54814a4c9e111de24fcc62f6371c1d4d8 /irc
parentfbfa025a9f7868ebb97703150a47633a9f4a1f5c (diff)
downloadports-968830654486b6390dc19a63e92e1a0d1a47959d.tar.gz
ports-968830654486b6390dc19a63e92e1a0d1a47959d.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/Makefile1
-rw-r--r--irc/xchat-micryption/Makefile77
-rw-r--r--irc/xchat-micryption/distinfo2
-rw-r--r--irc/xchat-micryption/pkg-descr24
-rw-r--r--irc/xchat-micryption/pkg-plist1
5 files changed, 105 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile
index 2ac98b3165e6..40b70b4407d1 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -98,6 +98,7 @@
SUBDIR += xaric
SUBDIR += xchat
SUBDIR += xchat-gnome
+ SUBDIR += xchat-micryption
SUBDIR += xchat-systray-plugin
SUBDIR += xchat2
SUBDIR += zircon
diff --git a/irc/xchat-micryption/Makefile b/irc/xchat-micryption/Makefile
new file mode 100644
index 000000000000..5c38b7be4037
--- /dev/null
+++ b/irc/xchat-micryption/Makefile
@@ -0,0 +1,77 @@
+# New ports collection makefile for: waste server
+# Date created: Sat Jan 8 21:48:41 UTC 2005
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mircryption
+DISTVERSION= 0.1
+CATEGORIES= irc security
+MASTER_SITES= http://mircryption.sourceforge.net/Downloads/
+PKGNAMEPREFIX= xchat-
+DISTNAME= mircryption_xchatsrc
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= A free encryption add-on for the popular XChat irc client
+
+RUN_DEPENDS= xchat:${PORTSDIR}/irc/xchat2
+
+USE_X_PREFIX= yes
+USE_ZIP= yes
+USE_REINPLACE= yes
+ALL_TARGET= freebsd
+
+WRKSRC= ${WRKDIR}/mircryption/src/xchat/
+#
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+
+PLIST_DIRS= \
+ %%EXAMPLESDIR%%
+PLIST_FILES= \
+ lib/xchat/plugins/mircryption.so \
+ %%EXAMPLESDIR%%/mcps_masterkey_on_start.pl
+
+PORTDOCS= \
+ README.txt
+
+post-patch:
+# \r\n -> \n
+ @${FIND} ${WRKSRC} -type f -exec \
+ ${REINPLACE_CMD} -E \
+ -e 's| ||' \
+ {} \;
+# CFLAGS safeness
+# LDFLAGS safeness
+# linker safeness
+ @${REINPLACE_CMD} -E \
+ -e 's|^(CFLAGS.+)"$$|\1 ${CFLAGS}"|' \
+ -e 's|^(LDFLAGS.+)"$$|\1 ${LDFLAGS}"|' \
+ -e 's|^(LOAD).*$$|LOAD=${CXX}|' \
+ ${WRKSRC}/${MAKEFILE}
+# set perl path if it exists
+.ifdef(PERL5)
+ @${REINPLACE_CMD} -E \
+ -e 's|/usr/bin/perl|${PERL5}|' \
+ ${WRKSRC}/extras/mcps_masterkey_on_start.pl
+.endif
+
+do-install:
+# docs
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README.txt \
+ ${DOCSDIR}
+.endif
+# plugin
+ @${MKDIR} ${PREFIX}/lib/xchat/plugins
+ @${INSTALL_PROGRAM} ${WRKSRC}/mircryption.so \
+ ${PREFIX}/lib/xchat/plugins
+# script
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_SCRIPT} \
+ ${WRKSRC}/extras/mcps_masterkey_on_start.pl \
+ ${EXAMPLESDIR}
+
+.include <bsd.port.mk>
diff --git a/irc/xchat-micryption/distinfo b/irc/xchat-micryption/distinfo
new file mode 100644
index 000000000000..d66403820abc
--- /dev/null
+++ b/irc/xchat-micryption/distinfo
@@ -0,0 +1,2 @@
+MD5 (mircryption_xchatsrc.zip) = d3d82046e5d2b3713d35be391b26e338
+SIZE (mircryption_xchatsrc.zip) = 484834
diff --git a/irc/xchat-micryption/pkg-descr b/irc/xchat-micryption/pkg-descr
new file mode 100644
index 000000000000..503c43a19630
--- /dev/null
+++ b/irc/xchat-micryption/pkg-descr
@@ -0,0 +1,24 @@
+[ excerpt from developer's web site with modifications ]
+
+Mircryption is a free encryption add-on for the popular irc clients
+mIRC and XChat. Features:
+
+- Channel text, Private query windows, DCC Chats, Actions, Topics can
+all be encrypted. All crypto-related algorithms used are taken from
+published, common, trusted sources. Encryption algorithm is Blowfish
+(no known vulnerabilities); encryption keys are themselves stored
+in encrypted form.
+
+- Supports CBC mode encryption.
+
+- No need to modify the way you work - text is encrypted and decrypted
+automatically; encryption status of conversations is clear but
+unobtrusive.
+
+- User-friendly key management routines; menu driven and easy to
+temporarily disable & re-enable encryption on a channel, send plain
+text quicky, etc.
+
+WWW: http://mircryption.sourceforge.net/
+
+-- lioux@FreeBSD.org
diff --git a/irc/xchat-micryption/pkg-plist b/irc/xchat-micryption/pkg-plist
new file mode 100644
index 000000000000..0a69651fe4a6
--- /dev/null
+++ b/irc/xchat-micryption/pkg-plist
@@ -0,0 +1 @@
+@unexec rmdir %D/lib/xchat/plugins 2>/dev/null || true