summaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-05 06:35:06 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-05 06:35:06 +0800
commitc7f79db70e8737838fbc9087d46c058686a71223 (patch)
tree4f055d19eba11c586104384467ed163814fba7db /net-im
parentc24521c68f10956b25edf2172a463beed9f5782d (diff)
downloadmarcuscom-ports-c7f79db70e8737838fbc9087d46c058686a71223.tar
marcuscom-ports-c7f79db70e8737838fbc9087d46c058686a71223.tar.gz
marcuscom-ports-c7f79db70e8737838fbc9087d46c058686a71223.tar.bz2
marcuscom-ports-c7f79db70e8737838fbc9087d46c058686a71223.tar.lz
marcuscom-ports-c7f79db70e8737838fbc9087d46c058686a71223.tar.xz
marcuscom-ports-c7f79db70e8737838fbc9087d46c058686a71223.tar.zst
marcuscom-ports-c7f79db70e8737838fbc9087d46c058686a71223.zip
LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7568 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-im')
-rw-r--r--net-im/gaim-slashexec/Makefile26
-rw-r--r--net-im/gaim-slashexec/distinfo3
-rw-r--r--net-im/gaim-slashexec/files/patch-slashexec.c22
-rw-r--r--net-im/gaim-slashexec/pkg-descr6
4 files changed, 57 insertions, 0 deletions
diff --git a/net-im/gaim-slashexec/Makefile b/net-im/gaim-slashexec/Makefile
new file mode 100644
index 000000000..4e69fc4d7
--- /dev/null
+++ b/net-im/gaim-slashexec/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: gaim-slashexec
+# Date created: 30 December 2005
+# Whom: kevinb
+#
+# $FreeBSD$
+#
+
+PORTNAME= slashexec
+PORTVERSION= 1.0
+PORTREVISION= 2
+CATEGORIES= net-im
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= guifications
+PKGNAMEPREFIX= gaim-
+
+MAINTAINER= kruptos@mlinux.org
+COMMENT= Execute commands inside gaim
+
+BUILD_DEPENDS= gaim:${PORTSDIR}/net-im/gaim
+RUN_DEPENDS= gaim:${PORTSDIR}/net-im/gaim
+
+GNU_CONFIGURE= yes
+
+PLIST_FILES= lib/gaim/se.la lib/gaim/se.so
+
+.include <bsd.port.mk>
diff --git a/net-im/gaim-slashexec/distinfo b/net-im/gaim-slashexec/distinfo
new file mode 100644
index 000000000..5057ea0bb
--- /dev/null
+++ b/net-im/gaim-slashexec/distinfo
@@ -0,0 +1,3 @@
+MD5 (slashexec-1.0.tar.gz) = ac3c02ffbe14917a79ac6c450a1efb31
+SHA256 (slashexec-1.0.tar.gz) = dde8eac693f0d8b289b5beca5c318743e6af53a6dc9b2fd359a1b0cd348a446d
+SIZE (slashexec-1.0.tar.gz) = 314673
diff --git a/net-im/gaim-slashexec/files/patch-slashexec.c b/net-im/gaim-slashexec/files/patch-slashexec.c
new file mode 100644
index 000000000..82a9ac2db
--- /dev/null
+++ b/net-im/gaim-slashexec/files/patch-slashexec.c
@@ -0,0 +1,22 @@
+--- src/slashexec.c.orig Tue Aug 2 08:52:03 2005
++++ src/slashexec.c Tue Jan 3 15:52:55 2006
+@@ -55,6 +55,9 @@
+ gchar buffer[MAX_COMMAND_LEN], **argv;
+ GError *error;
+ gint argc;
++ gchar *standard_output = NULL, *standard_error = NULL;
++ GSpawnFlags Gflags;
++ Gflags = G_SPAWN_SEARCH_PATH;
+ error = NULL;
+ /* TODO: need to properly escape cmd at some stage*/
+ gaim_debug_info("slashexec", "Executing: %s\n", cmd);
+@@ -70,9 +73,6 @@
+ g_strfreev(argv);
+ return NULL;
+ }
+- gchar *standard_output = NULL, *standard_error = NULL;
+- GSpawnFlags Gflags;
+- Gflags = G_SPAWN_SEARCH_PATH;
+ if (!g_spawn_sync (NULL, argv, NULL, Gflags,
+ NULL, NULL, &standard_output, &standard_error, NULL, &error)) {
+ if (buffer)
diff --git a/net-im/gaim-slashexec/pkg-descr b/net-im/gaim-slashexec/pkg-descr
new file mode 100644
index 000000000..cb15a782d
--- /dev/null
+++ b/net-im/gaim-slashexec/pkg-descr
@@ -0,0 +1,6 @@
+SlashExec is a Gaim Plugin that lets you execute commands from within a
+Gaim conversation. SlashExec provides a limited command-line interpreter
+for this purpose. SlashExec can also either display the command's output
+locally or send the output as a message in the current conversation.
+
+WWW: http://guifications.sourceforge.net/SlashExec/