diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d508fb8..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/znc-infobot-0.202.tar.gz -/znc-infobot-0.204.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..3bf34d0 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +2014-08-19: Dead upstream since 2011 with unfixed bugs: https://fedorahosted.org/rel-eng/ticket/5968 diff --git a/sources b/sources deleted file mode 100644 index 9ae44e0..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -80cadcba6988e66110406ad3f519c777 znc-infobot-0.204.tar.gz diff --git a/znc-infobot-1.0-znc1.patch b/znc-infobot-1.0-znc1.patch deleted file mode 100644 index 0db13a7..0000000 --- a/znc-infobot-1.0-znc1.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -up znc-infobot-0.202/infobot.cpp.znc1 znc-infobot-0.202/infobot.cpp ---- znc-infobot-0.202/infobot.cpp.znc1 2012-11-28 10:48:03.703592940 -0500 -+++ znc-infobot-0.202/infobot.cpp 2012-11-28 11:06:55.221609919 -0500 -@@ -14,6 +14,7 @@ - #include "znc.h" - #include "Chan.h" - #include "Modules.h" -+#include "IRCNetwork.h" - #include "User.h" - - #include -@@ -25,9 +26,9 @@ - - using namespace pcrecpp; - --typedef map TEnabledChanMap; --typedef map TColorsEnabledMap; --typedef map TTriggerCharMap; -+typedef std::map TEnabledChanMap; -+typedef std::map TColorsEnabledMap; -+typedef std::map TTriggerCharMap; - - class CInfoBotModule : public CModule - { -@@ -1203,8 +1204,8 @@ void CInfoBotModule::SendMessage(const C - sText.Replace("%CLO%", ""); - } - -- m_pUser->PutIRC("PRIVMSG " + sSendTo + " :" + sText); -- m_pUser->PutUser(":" + m_pUser->GetIRCNick().GetNickMask() + " PRIVMSG " + sSendTo + " :" + sText); -+ m_pNetwork->PutIRC("PRIVMSG " + sSendTo + " :" + sText); -+ m_pNetwork->PutUser(":" + m_pNetwork->GetIRCNick().GetNickMask() + " PRIVMSG " + sSendTo + " :" + sText); - } - - void CInfoBotModule::OnModCommand(const CString& sCommand) -@@ -1484,7 +1485,7 @@ CInfoBotModule::EModRet CInfoBotModule:: - { - if(!sTarget.empty() && !isalnum(sTarget[0])) - { -- CheckLineForTrigger(sMessage, sTarget.AsLower(), m_pUser->GetIRCNick().GetNick()); -+ CheckLineForTrigger(sMessage, sTarget.AsLower(), m_pNetwork->GetIRCNick().GetNick()); - } - return CONTINUE; - } diff --git a/znc-infobot.spec b/znc-infobot.spec deleted file mode 100644 index 47cc449..0000000 --- a/znc-infobot.spec +++ /dev/null @@ -1,71 +0,0 @@ -Summary: infobot module for ZNC IRC Bouncer -Name: znc-infobot -Version: 1.2 -Release: 1%{?dist} -License: GPLv2 -Group: System Environment/Daemons -URL: http://znc-msvc.googlecode.com -Source0: znc-infobot-0.204.tar.gz -# Had to generate tar.gz manually download source file : http://znc-msvc.googlecode.com/svn/trunk/flakes/infobot.cpp -Patch0: znc-infobot-1.0-znc1.patch - -BuildRequires: znc = %{version} -BuildRequires: znc-devel = %{version} -BuildRequires: c-ares c-ares-devel pcre-devel openssl-devel - -Requires: znc = %{version} -Requires: pcre - -%description -This is a user module for ZNC that provides joined -channels with a multitude of bot commands - -%prep -%setup -q -n %{name}-0.202 -%patch0 -p1 -b .znc1 - -%build -LIBS="-lpcrecpp -lpcre" INCLUDES="-I/usr/include/znc" znc-buildmod infobot.cpp - -%install -mkdir -p %{buildroot}%{_libdir}/znc/ -mv infobot.so %{buildroot}%{_libdir}/znc/ - -%files -%{_libdir}/znc/infobot.so - -%changelog -* Mon Aug 26 2013 Mat Booth - 1.2-1 -- Rebuild for znc 1.2 - -* Sun Aug 04 2013 Fedora Release Engineering - 1.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Feb 15 2013 Fedora Release Engineering - 1.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Nov 28 2012 Tom Callaway - 1.0-2 -- it lives! - -* Tue Nov 13 2012 Nick Bebout - 1.0-1 -- Rebuild for znc 1.0 - -* Sun Jul 22 2012 Fedora Release Engineering - 0.206-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Apr 21 2012 Nick Bebout - 0.206-1 -- Rebuild for znc 0.206 - -* Thu Feb 9 2012 Nick Bebout - 0.204-1 -- Rebuild for znc 0.204 - -* Sat Jan 14 2012 Fedora Release Engineering - 0.202-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Oct 18 2011 Nick Bebout - 0.202-1 -- ZNC is at 0.202 now -- Require same version of ZNC as module - -* Sun Sep 25 2011 Keiran "Affix" Smith - 0.200-1 -- Initial Package of 0.200 -