summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2007-11-28 11:45:34 +0000
committermjl <mjl@pkgsrc.org>2007-11-28 11:45:34 +0000
commit13923e681d120023d6d4e637febbbad4220c859c (patch)
treefe9890b04f32040fee379cc60df7a44eb544feef /chat
parent096fa30d15db0c6953ebc76217b355cddc24a3e8 (diff)
downloadpkgsrc-13923e681d120023d6d4e637febbbad4220c859c.tar.gz
Initial import of climm-0.6.1. (formerly known as micq)
Diffstat (limited to 'chat')
-rw-r--r--chat/climm/DESCR7
-rw-r--r--chat/climm/Makefile21
-rw-r--r--chat/climm/PLIST77
-rw-r--r--chat/climm/distinfo6
-rw-r--r--chat/climm/patches/patch-aa47
5 files changed, 158 insertions, 0 deletions
diff --git a/chat/climm/DESCR b/chat/climm/DESCR
new file mode 100644
index 00000000000..1265e6b45be
--- /dev/null
+++ b/chat/climm/DESCR
@@ -0,0 +1,7 @@
+climm is a very portable text-mode ICQ clone (formerly known as micq).
+
+Originally written by Matthew D. Smith, a great part of climm
+has been rewritten by Ruediger Kuhlmann, in particular the support
+for the new version 8 of the OSCAR protocol that became necessary,
+the internationalization, the file transfer and some restructuring
+of the code.
diff --git a/chat/climm/Makefile b/chat/climm/Makefile
new file mode 100644
index 00000000000..5150d2823e7
--- /dev/null
+++ b/chat/climm/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/11/28 11:45:34 mjl Exp $
+#
+
+DISTNAME= climm-0.6.1
+CATEGORIES= chat
+MASTER_SITES= http://www.climm.org/source/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.climm.org/source/
+COMMENT= Text-mode ICQ client
+
+USE_TOOLS+= gmake
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+CONFIGURE_ARGS+= --disable-tcl --disable-otr --enable-ssl=openssl
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/climm/PLIST b/chat/climm/PLIST
new file mode 100644
index 00000000000..2db7a6731c6
--- /dev/null
+++ b/chat/climm/PLIST
@@ -0,0 +1,77 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/28 11:45:34 mjl Exp $
+bin/climm
+man/de/man1/climm.1
+man/de/man5/climmrc.5
+man/de/man7/climmcmds.7
+man/es/man1/climm.1
+man/es/man5/climmrc.5
+man/es/man7/climmcmds.7
+man/fr/man1/climm.1
+man/fr/man5/climmrc.5
+man/fr/man7/climmcmds.7
+man/it/man1/climm.1
+man/man1/climm.1
+man/man5/climmrc.5
+man/man7/climmcmds.7
+man/pt_BR/man1/climm.1
+man/pt_BR/man5/climmrc.5
+man/pt_BR/man7/climmcmds.7
+man/ru/man1/climm.1
+man/ru/man5/climmrc.5
+man/ru/man7/climmcmds.7
+man/sk/man1/climm.1
+man/sk/man5/climmrc.5
+man/sk/man7/climmcmds.7
+man/sr/man1/climm.1
+man/sr/man5/climmrc.5
+man/sr/man7/climmcmds.7
+man/uk/man1/climm.1
+man/uk/man7/climmcmds.7
+share/climm/C.i18n
+share/climm/bg.i18n
+share/climm/cs.i18n
+share/climm/de.i18n
+share/climm/de_CH.i18n
+share/climm/en.i18n
+share/climm/es.i18n
+share/climm/fi.i18n
+share/climm/fr.i18n
+share/climm/hr.i18n
+share/climm/id.i18n
+share/climm/it.i18n
+share/climm/ja.i18n
+share/climm/nl.i18n
+share/climm/pl.i18n
+share/climm/pt.i18n
+share/climm/ro.i18n
+share/climm/ru.i18n
+share/climm/se.i18n
+share/climm/sk.i18n
+share/climm/sr.i18n
+share/climm/uk.i18n
+share/climm/yu.i18n
+share/climm/zh_CN.i18n
+@unexec ${RMDIR} %D/man/de/man1 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/de/man5 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/de/man7 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/es/man1 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/es/man5 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/es/man7 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/fr/man1 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/fr/man5 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/fr/man7 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/it/man1 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/pt_BR/man1 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/pt_BR/man5 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/pt_BR/man7 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/ru/man1 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/ru/man5 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/ru/man7 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sk/man1 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sk/man5 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sk/man7 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sr/man1 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sr/man5 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sr/man7 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/uk/man1 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/uk/man7 2>/dev/null || ${TRUE}
diff --git a/chat/climm/distinfo b/chat/climm/distinfo
new file mode 100644
index 00000000000..1e4dd9eadbc
--- /dev/null
+++ b/chat/climm/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/11/28 11:45:34 mjl Exp $
+
+SHA1 (climm-0.6.1.tgz) = d4b60397d22f7232faedc877810bfbd34f5b3aeb
+RMD160 (climm-0.6.1.tgz) = 11ec17ee64515c03eff621168200cb4ea0ada405
+Size (climm-0.6.1.tgz) = 1177518 bytes
+SHA1 (patch-aa) = e5a5fea34fd165efe5f91e71a1c9cd9cb4a7cb84
diff --git a/chat/climm/patches/patch-aa b/chat/climm/patches/patch-aa
new file mode 100644
index 00000000000..77c44ca9b92
--- /dev/null
+++ b/chat/climm/patches/patch-aa
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/11/28 11:45:34 mjl Exp $
+
+--- src/os_unix.c.orig 2007-11-28 11:58:20.000000000 +0100
++++ src/os_unix.c 2007-11-28 12:13:49.000000000 +0100
+@@ -17,6 +17,12 @@
+ #include <ctype.h>
+ #endif
+
++#ifndef MAXINT
++#include <limits.h>
++#include <utmpx.h>
++#define MAXINT INT_MAX
++#endif
++
+ static int console_idle (time_t now, struct utmp *u)
+ {
+ struct stat sbuf;
+@@ -43,7 +49,7 @@
+ */
+ UDWORD os_DetermineIdleTime (time_t now, time_t last)
+ {
+- struct utmp *u;
++ struct utmpx *u;
+ struct passwd *pass;
+ uid_t uid;
+ int tmp, min = MAXINT;
+@@ -54,9 +60,8 @@
+ if (!pass)
+ return -1;
+
+- utmpname (UTMP_FILE);
+- setutent();
+- while ((u = getutent()))
++ setutxent();
++ while ((u = getutxent()))
+ {
+ if (u->ut_type != USER_PROCESS)
+ continue;
+@@ -67,7 +72,7 @@
+ tmp = console_idle (now, u);
+ min = (tmp < min) ? tmp : min ;
+ }
+- endutent();
++ endutxent();
+ if (min == MAXINT || now - last < min)
+ min = now - last;
+ return min;