diff options
-rw-r--r-- | network/purple-plugin-pack/README | 12 | ||||
-rw-r--r-- | network/purple-plugin-pack/identify.patch | 12 | ||||
-rw-r--r-- | network/purple-plugin-pack/purple-plugin-pack.SlackBuild | 10 |
3 files changed, 31 insertions, 3 deletions
diff --git a/network/purple-plugin-pack/README b/network/purple-plugin-pack/README index 05dce85dcd71..5f7d4824f9bc 100644 --- a/network/purple-plugin-pack/README +++ b/network/purple-plugin-pack/README @@ -4,3 +4,15 @@ family of IM clients. The Purple Plugin Pack was originally created by Gary Kramelich and Stu Tomlinson as a way to distribute their ever growing lists of simple Pidgin plugins. + +This includes an optional patch to change the default nickserv identify command +in the irchelp plugin to: + +/msg nickserv identify <password> + +rather than the '/identify <password>' command that it defaults to, which fails +on some IRCd's such as e.g. ngircd (also available on slackbuilds.org). + +To use the patch do: + +IDENTIFY_PATCH=1 ./purple-plugin-pack.SlackBuild diff --git a/network/purple-plugin-pack/identify.patch b/network/purple-plugin-pack/identify.patch new file mode 100644 index 000000000000..f4b513b198fe --- /dev/null +++ b/network/purple-plugin-pack/identify.patch @@ -0,0 +1,12 @@ +diff -Naur -x '.hg*' a/irchelper/irchelper.c b/irchelper/irchelper.c +--- a/irchelper/irchelper.c 2018-07-28 12:09:23.714988017 +0100 ++++ b/irchelper/irchelper.c 2018-08-07 19:29:44.194109009 +0100 +@@ -719,7 +719,7 @@ + nickserv_do_identify(authentication, connection->proto_data, connection, nickpassword); + } + else +- nickserv_identify(connection->proto_data, connection, nickpassword); ++ nickserv_msg_identify("identify", connection->proto_data, connection, nickpassword); + + g_strfreev(userparts); + } diff --git a/network/purple-plugin-pack/purple-plugin-pack.SlackBuild b/network/purple-plugin-pack/purple-plugin-pack.SlackBuild index 744b1e88b599..87a94d921c69 100644 --- a/network/purple-plugin-pack/purple-plugin-pack.SlackBuild +++ b/network/purple-plugin-pack/purple-plugin-pack.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh -# Slackware build script for purple-plugin_pack -# Copyright 2018 Dave Woodfall <dave@dawoodflla.net> +# Slackware build script for purple-plugin-pack +# Copyright 2018 Dave Woodfall <dave@dawoodfall.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=purple-plugin-pack VERSION=${VERSION:-2.7.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,6 +70,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +if [ "$IDENTIFY_PATCH" = "1" ]; then + patch --verbose -p1 < $CWD/identify.patch +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |