diff options
author | Dave Woodfall <dave@dawoodfall.net> | 2018-08-08 20:41:52 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-11 07:23:07 +0700 |
commit | 9ef57f0390b24de8f77ddcd3e4deadc3179acfa8 (patch) | |
tree | f7c2c4033ad21625415b0c6ec43b032eaa4c7260 | |
parent | b879ff9324f400522b51197dacbf318440d63af7 (diff) | |
download | slackbuilds-9ef57f0390b24de8f77ddcd3e4deadc3179acfa8.tar.gz |
network/purple-plugin-pack: Patched for identifying on ngircd.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-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 05dce85dcd..5f7d4824f9 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 0000000000..f4b513b198 --- /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 744b1e88b5..87a94d921c 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 \ |