summaryrefslogtreecommitdiffstats
path: root/irc/xchat-mircryption
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-05 06:27:49 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-05 06:27:49 +0800
commit4e658b4768013483e0637789df73e0ec28333be4 (patch)
tree0ec73ce7729a2fcc43d263e1f3690729ea709c3c /irc/xchat-mircryption
parent32e47dfc21a326d0bbe41c436f43d8612c57a926 (diff)
downloadmarcuscom-ports-4e658b4768013483e0637789df73e0ec28333be4.tar
marcuscom-ports-4e658b4768013483e0637789df73e0ec28333be4.tar.gz
marcuscom-ports-4e658b4768013483e0637789df73e0ec28333be4.tar.bz2
marcuscom-ports-4e658b4768013483e0637789df73e0ec28333be4.tar.lz
marcuscom-ports-4e658b4768013483e0637789df73e0ec28333be4.tar.xz
marcuscom-ports-4e658b4768013483e0637789df73e0ec28333be4.tar.zst
marcuscom-ports-4e658b4768013483e0637789df73e0ec28333be4.zip
LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7566 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'irc/xchat-mircryption')
-rw-r--r--irc/xchat-mircryption/Makefile77
-rw-r--r--irc/xchat-mircryption/distinfo3
-rw-r--r--irc/xchat-mircryption/pkg-descr24
3 files changed, 104 insertions, 0 deletions
diff --git a/irc/xchat-mircryption/Makefile b/irc/xchat-mircryption/Makefile
new file mode 100644
index 000000000..785cbb8a7
--- /dev/null
+++ b/irc/xchat-mircryption/Makefile
@@ -0,0 +1,77 @@
+# New ports collection makefile for: XChat encryption
+# Date created: Sat Jan 8 21:48:41 UTC 2005
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= mircryption
+DISTVERSION= 1.1.27
+CATEGORIES= irc security
+MASTER_SITES= http://mircryption.sourceforge.net/Downloads/
+PKGNAMEPREFIX= xchat-
+DISTNAME= mircryption_xchatsrc
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A free encryption add-on for the popular XChat irc client
+
+RUN_DEPENDS= xchat:${PORTSDIR}/irc/xchat
+
+USE_ZIP= yes
+ALL_TARGET= freebsd
+CFLAGS+= -fPIC
+USE_LDCONFIG= yes
+
+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-mircryption/distinfo b/irc/xchat-mircryption/distinfo
new file mode 100644
index 000000000..34822f1ce
--- /dev/null
+++ b/irc/xchat-mircryption/distinfo
@@ -0,0 +1,3 @@
+MD5 (mircryption_xchatsrc.zip) = daf2065fe74efe91a8ebb0c83da87bc8
+SHA256 (mircryption_xchatsrc.zip) = d9e7dab51559294eeca43ec6a2e7ad20a05a00104b7f7cb886996b06cab847e4
+SIZE (mircryption_xchatsrc.zip) = 632479
diff --git a/irc/xchat-mircryption/pkg-descr b/irc/xchat-mircryption/pkg-descr
new file mode 100644
index 000000000..cefb54486
--- /dev/null
+++ b/irc/xchat-mircryption/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://www.donationcoder.com/Software/Mouser/mircryption/index.php
+
+-- lioux@FreeBSD.org