Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

4 commits

Author SHA1 Message Date
Till Maas
af7eb66e5e 2014-08-19: Dead upstream since 2011 with unfixed bugs: https://fedorahosted.org/rel-eng/ticket/5968 2014-08-19 20:01:57 +02:00
Nick Bebout
e44f9f1b6c dead.package 2014-08-14 19:35:50 -05:00
Yaakov Selkowitz
6d52a746af Rebuild for znc 1.4 (#1106709) 2014-06-26 19:01:26 -05:00
Dennis Gilmore
c5d37569f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 13:16:31 -05:00
5 changed files with 1 additions and 118 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
/znc-infobot-0.202.tar.gz
/znc-infobot-0.204.tar.gz

1
dead.package Normal file
View file

@ -0,0 +1 @@
2014-08-19: Dead upstream since 2011 with unfixed bugs: https://fedorahosted.org/rel-eng/ticket/5968

View file

@ -1 +0,0 @@
80cadcba6988e66110406ad3f519c777 znc-infobot-0.204.tar.gz

View file

@ -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 <pcre.h>
@@ -25,9 +26,9 @@
using namespace pcrecpp;
-typedef map<const CString, VCString> TEnabledChanMap;
-typedef map<const CString, bool> TColorsEnabledMap;
-typedef map<const CString, char> TTriggerCharMap;
+typedef std::map<const CString, VCString> TEnabledChanMap;
+typedef std::map<const CString, bool> TColorsEnabledMap;
+typedef std::map<const CString, char> 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;
}

View file

@ -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 <fedora@matbooth.co.uk> - 1.2-1
- Rebuild for znc 1.2
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Nov 28 2012 Tom Callaway <spot@fedoraproject.org> - 1.0-2
- it lives!
* Tue Nov 13 2012 Nick Bebout <nb@fedoraproject.org> - 1.0-1
- Rebuild for znc 1.0
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.206-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Apr 21 2012 Nick Bebout <nb@fedoraproject.org> - 0.206-1
- Rebuild for znc 0.206
* Thu Feb 9 2012 Nick Bebout <nb@fedoraproject.org> - 0.204-1
- Rebuild for znc 0.204
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.202-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Oct 18 2011 Nick Bebout <nb@fedoraproject.org> - 0.202-1
- ZNC is at 0.202 now
- Require same version of ZNC as module
* Sun Sep 25 2011 Keiran "Affix" Smith <affix@fedoraproject.org> - 0.200-1
- Initial Package of 0.200