Compare commits

...

106 Commits
master ... el4

Author SHA1 Message Date
Nick Bebout cd18ac329d Merge branch 'master' into el4 2012-04-16 23:16:09 -05:00
Nick Bebout cb7d993693 Merge branch 'master' into el4 2012-01-24 19:10:53 -06:00
Nick Bebout 3f3ac14818 Merge branch 'master' into el4 2012-01-23 15:15:19 -06:00
Nick Bebout 4291f0775c Merge branch 'master' into el4 2012-01-23 11:25:42 -06:00
Nick Bebout 4f34153b92 Merge branch 'master' into el4 2011-09-25 15:19:22 -05:00
Nick Bebout 64f93bf959 Merge branch 'el5' into el4
Conflicts:
	znc.spec
2011-08-23 19:02:07 -05:00
Nick Bebout 0fe089738f Merge branch 'master' into el5 2011-08-23 18:32:18 -05:00
Nick Bebout 20ca2588c9 Merge branch 'master' into el5 2011-08-15 21:25:29 -05:00
Nick Bebout 98bb697e80 disable modperl on el5 2011-08-15 21:11:44 -05:00
Nick Bebout c7370d052e Merge branch 'el6' into el5
Conflicts:
	znc.spec
2011-08-15 21:08:27 -05:00
Nick Bebout 5ba8a87dfa Disable modpython on epel6 2011-08-15 20:59:18 -05:00
Nick Bebout 3923bf1f20 Merge branch 'master' into el6 2011-08-15 20:49:28 -05:00
Nick Bebout 32dcb9e61e Merge branch 'master' into el6 2011-08-14 15:08:29 -05:00
Nick Bebout d3ceae92af Update to 0.2-beta1, disable modperl 2011-08-06 20:14:18 -05:00
Nick Bebout 4542ab6407 Merge branch 'master' into el6 2011-08-06 20:13:34 -05:00
Nick Bebout 00874781ee Merge branch 'master' into el6 2011-04-03 02:47:37 +00:00
Nick Bebout 0cf1f7b649 Merge branch 'master' into el4 2011-04-01 23:12:47 +00:00
Nick Bebout d83e4b978b Merge branch 'master' into el6 2011-04-01 23:12:04 +00:00
Nick Bebout 57f28eeb82 Merge branch 'master' into el5 2011-04-01 23:10:20 +00:00
Nick Bebout cdbf747c97 Merge branch 'el5' into el4
Conflicts:
	.gitignore
	sources
	znc.spec
2011-03-25 22:00:27 -05:00
Nick Bebout 80badf29e8 Merge branch 'master' into el5 2011-03-12 13:43:34 -06:00
Nick Bebout d4996dc85b Merge branch 'master' into el6 2011-03-12 13:40:00 -06:00
Nick Bebout 17fac951a2 Merge branch 'master' into el5 2011-03-03 17:30:28 -06:00
Nick Bebout 67bf6ba54b Merge branch 'master' into el6 2011-03-03 17:29:14 -06:00
Nick Bebout cdb56272da modperl can't be built on el5 2011-02-24 20:13:36 -06:00
Nick Bebout b55909941a Merge branch 'el5/master' of ssh://pkgs.fedoraproject.org/znc into el5
Conflicts:
	.gitignore
	sources
	znc.spec
2011-02-24 19:59:00 -06:00
Nick Bebout 92fe4374bb Merge branch 'el6' into el5 2011-02-24 19:56:32 -06:00
Nick Bebout c7eaa132e0 Merge branch 'master' into el5 2011-02-24 19:56:23 -06:00
Nick Bebout 7d1112e53c Merge branch 'master' into el6
Conflicts:
	znc.spec
2011-02-24 19:55:48 -06:00
Nick Bebout 3a7df48412 Add automake to BuildRequires 2011-02-15 20:32:57 -06:00
Nick Bebout 63305656f7 Run autogen.sh before configure 2011-02-15 19:29:56 -06:00
Nick Bebout 5815cb3eb4 Remove duplicate Release 2011-02-15 19:18:48 -06:00
Nick Bebout e33844ffea Merge branch 'master' into el6
Conflicts:
	sources
	znc.spec
2011-02-15 19:16:53 -06:00
Nick Bebout 7a3ea1108e Merge branch 'el6/master' of ssh://pkgs.fedoraproject.org/znc into el6
Conflicts:
	.gitignore
	sources
	znc.spec
2011-02-11 20:27:15 -06:00
Nick Bebout 5db4107b37 Upgrade to svn2277 2011-02-11 20:24:39 -06:00
Nick Bebout 914652fbd7 Revert to 0.096-2 2011-02-09 21:06:30 +00:00
Nick Bebout eda4c45211 Revert "Move modperl and modtcl to separate subpackages"
This reverts commit 6b214a13cf.

Conflicts:

	znc.spec
2011-02-09 21:05:17 +00:00
Nick Bebout 1880cbb260 Merge branch 'master' into el6 2011-02-09 20:53:46 +00:00
Nick Bebout fa2a48dc90 Merge branch 'master' into el5 2011-02-09 20:53:11 +00:00
Nick Bebout 5eb0ef11e7 Merge branch 'master' into el5 2011-01-24 11:27:47 -06:00
Nick Bebout 20087f7dc0 Merge branch 'master' into el6 2011-01-24 11:27:14 -06:00
Nick Bebout dcb1b65d63 Merge branch 'master' into el5 2010-12-24 23:10:25 -06:00
Nick Bebout 14008eb3c2 Merge branch 'master' into el6 2010-12-24 23:09:39 -06:00
Nick Bebout 82c2a67d40 Merge branch 'master' into el6 2010-11-07 16:10:33 -05:00
Nick Bebout 0c3f26f99c Merge branch 'master' into el5 2010-11-06 22:56:10 -04:00
Nick Bebout 81e2229339 Merge branch 'master' into el6 2010-11-06 22:55:41 -04:00
Nick Bebout 05dc826468 Merge master into el5 2010-09-24 20:31:57 -04:00
Nick Bebout 5fd9362b70 Merge branch 'master' into el5
Conflicts:
	.gitignore
2010-09-24 20:31:47 -04:00
Nick Bebout cf240a3186 Merge branch 'master' into el6
Conflicts:
	.gitignore
2010-09-24 20:31:36 -04:00
Nick Bebout bb7a57a006 Merge branch 'master' into el5
Conflicts:
	.gitignore
	sources
	znc.spec
2010-08-10 21:07:56 -04:00
Nick Bebout 1ceb799b22 Merge branch 'master' into el6
Conflicts:
	.gitignore
	sources
	znc.spec
2010-08-10 21:06:04 -04:00
Fedora Release Engineering 20cb9e769e dist-git conversion 2010-07-29 16:32:26 +00:00
Fedora Release Engineering eb166c6a57 dist-git conversion 2010-07-29 16:32:22 +00:00
Fedora Release Engineering 3715725dbd dist-git conversion 2010-07-29 16:32:18 +00:00
Nick Bebout 32fa22b8ad Update to ZNC 0.092 2010-07-23 03:12:33 +00:00
Nick Bebout 2ee3aad475 Update to ZNC 0.092 2010-07-23 03:12:33 +00:00
Nick Bebout cb3217b75e Really add znc-trafficstats.patch this time 2010-06-16 22:16:37 +00:00
Nick Bebout 30ee5a6b26 Really add znc-trafficstats.patch this time 2010-06-16 22:16:37 +00:00
Nick Bebout f79a160c96 Really add znc-trafficstats.patch this time 2010-06-16 22:16:37 +00:00
Nick Bebout bee8bd8327 Backport r2026 of ZNC subversion repo to fix bug 603915 znc: NULL pointer
dereference flaw leads to segfault under certain conditions
2010-06-16 22:09:49 +00:00
Nick Bebout b604954661 Backport r2026 of ZNC subversion repo to fix bug 603915 znc: NULL pointer
dereference flaw leads to segfault under certain conditions
2010-06-16 22:09:48 +00:00
Nick Bebout 8ac01f8b7c Fix perl(ExtUtils::Embed) BuildRequires to not break on EL-5/EL-6 2010-06-07 00:09:35 +00:00
Nick Bebout 5963a52afa Fix perl(ExtUtils::Embed) BuildRequires to not break on EL-5/EL-6 2010-06-07 00:09:35 +00:00
Nick Bebout 3665e2f00a Upgrade to ZNC 0.090 2010-06-06 23:02:07 +00:00
Nick Bebout 6385b7c3c9 Upgrade to ZNC 0.090 2010-06-06 23:02:07 +00:00
Nick Bebout 8977043c07 Upgrade to ZNC 0.090 2010-06-06 23:02:06 +00:00
Nick Bebout 6f7ec227b9 Update to znc-0.090-rc1 2010-05-30 00:56:19 +00:00
Nick Bebout 7029f9a6b0 Update to ZNC 0.090-rc1 2010-05-28 04:21:49 +00:00
Nick Bebout da66c96d74 Update to ZNC 0.090-rc1 2010-05-28 04:21:48 +00:00
Nick Bebout d860c58861 Update to ZNC 0.090-rc1 2010-05-28 04:21:48 +00:00
Nick Bebout 6a84a6119e Require perl-ExtUtils-Embed on EL-6 2010-05-19 03:46:18 +00:00
Nick Bebout 3cdc30e32f Require perl-ExtUtils-Embed on EL-6 2010-05-19 03:44:15 +00:00
Nick Bebout e0276452ba Update to svn2000 2010-05-19 03:27:34 +00:00
Nick Bebout baec478d21 Fix typo in re-enabling saslauth module 2010-05-19 03:24:38 +00:00
Nick Bebout 332efdab29 Fix typo in re-enabling saslauth module 2010-05-19 03:24:38 +00:00
Nick Bebout 8366dd1066 Re-enable saslauth module 2010-05-19 03:06:25 +00:00
Nick Bebout 184e507df6 Re-enable saslauth module 2010-05-19 03:06:25 +00:00
Nick Bebout e1fbe21453 Re-enable modperl 2010-05-19 03:00:46 +00:00
Nick Bebout b76e1daa4c Re-enable modperl 2010-05-19 03:00:45 +00:00
Dennis Gilmore f305229608 Initialize branch EL-6 for znc 2010-05-08 02:30:19 +00:00
Nick Bebout 69053d4df4 Update to latest SVN 2010-03-30 04:15:21 +00:00
Nick Bebout 1fd0a81258 Update to latest SVN 2010-03-30 04:15:20 +00:00
Nick Bebout 382b754c63 Upgrade to ZNC 0.080 2010-02-18 19:16:54 +00:00
Nick Bebout cf530734c2 Upgrade to ZNC 0.080 2010-02-18 19:16:12 +00:00
Nick Bebout bf82905be8 Upgrade to ZNC 0.080 2010-02-18 19:10:49 +00:00
Nick Bebout 0be8bd65fd Upgrade to ZNC 0.078 2009-12-30 21:06:32 +00:00
Nick Bebout 200fb44551 Upgrade to ZNC 0.078 2009-12-30 21:06:31 +00:00
Nick Bebout ec6f4696cd update to svn1672 2009-12-07 17:11:01 +00:00
Nick Bebout d0b4f38f93 update to svn1672 2009-12-07 17:00:25 +00:00
Bill Nottingham 8819baaad0 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:08:58 +00:00
Bill Nottingham e75ede6bb4 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:08:58 +00:00
Bill Nottingham c80f7b933a Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:08:58 +00:00
Nick Bebout 51236f8e72 Upgrade to ZNC 0.076 2009-09-25 06:14:57 +00:00
Nick Bebout 072105660f Upgrade the rest of the branches to svn1613 with new openssl 2009-08-28 07:42:17 +00:00
Nick Bebout eb5c375cca Upgrade the rest of the branches to svn1613 with new openssl 2009-08-28 07:42:16 +00:00
Nick Bebout 4ecd3da5bb Initial commit for EL-4, doesn't build yet 2009-08-21 06:03:11 +00:00
Nick Bebout 0c0f648261 Update to SVN 1608 2009-08-21 05:56:05 +00:00
Nick Bebout 8e6ef53a3a Update to latest SVN 1608 2009-08-21 05:20:21 +00:00
Jason ティビツ e2ceaba727 Initialize branch EL-4 for znc 2009-08-04 20:27:51 +00:00
Nick Bebout 3c910e2c46 Bump release to fix failed push 2009-08-03 16:59:27 +00:00
Nick Bebout 391760d7a0 Update to 0.074-1 2009-07-23 18:12:47 +00:00
Nick Bebout d45d947f39 Fixing configure options in spec file - disable c-ares 2009-07-23 02:56:55 +00:00
Nick Bebout c652e56d16 Updating to 0.072-2 2009-07-23 02:00:10 +00:00
Nick Bebout fb563bbe25 Updating to version 0.072 - fixes security bug 513152 2009-07-23 01:22:42 +00:00
Nick Bebout 546739c211 Initial import for EL-5 2009-07-13 03:18:45 +00:00
Jason ティビツ 9de00a48ae Initialize branch EL-5 for znc 2009-07-13 02:49:00 +00:00
3 changed files with 58 additions and 43 deletions

15
znc-0.075-openssl.patch Normal file
View File

@ -0,0 +1,15 @@
diff -up znc-0.075/Csocket.h.openssl znc-0.075/Csocket.h
--- znc-0.075/Csocket.h.openssl 2009-06-30 11:56:01.000000000 +0200
+++ znc-0.075/Csocket.h 2009-08-26 17:29:37.000000000 +0200
@@ -990,7 +990,11 @@ private:
CS_STRING m_sSSLBuffer;
SSL *m_ssl;
SSL_CTX *m_ssl_ctx;
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const SSL_METHOD *m_ssl_method;
+#else
SSL_METHOD *m_ssl_method;
+#endif
unsigned int m_iRequireClientCertFlags;
FPCertVerifyCB m_pCerVerifyCB;

31
znc-trafficstats.patch Normal file
View File

@ -0,0 +1,31 @@
--- znc-0.090/znc.cpp 2010-05-10 12:45:15.000000000 -0500
+++ trunk/znc.cpp 2010-06-16 16:43:48.706323545 -0500
@@ -1914,18 +1914,18 @@
}
for (CSockManager::const_iterator it = m_Manager.begin(); it != m_Manager.end(); ++it) {
+ CUser *pUser = NULL;
if ((*it)->GetSockName().Left(5) == "IRC::") {
- CIRCSock *p = (CIRCSock *) *it;
- ret[p->GetUser()->GetUserName()].first += p->GetBytesRead();
- ret[p->GetUser()->GetUserName()].second += p->GetBytesWritten();
- uiUsers_in += p->GetBytesRead();
- uiUsers_out += p->GetBytesWritten();
+ pUser = ((CIRCSock *) *it)->GetUser();
} else if ((*it)->GetSockName().Left(5) == "USR::") {
- CClient *p = (CClient *) *it;
- ret[p->GetUser()->GetUserName()].first += p->GetBytesRead();
- ret[p->GetUser()->GetUserName()].second += p->GetBytesWritten();
- uiUsers_in += p->GetBytesRead();
- uiUsers_out += p->GetBytesWritten();
+ pUser = ((CClient*) *it)->GetUser();
+ }
+
+ if (pUser) {
+ ret[pUser->GetUserName()].first += (*it)->GetBytesRead();
+ ret[pUser->GetUserName()].second += (*it)->GetBytesWritten();
+ uiUsers_in += (*it)->GetBytesRead();
+ uiUsers_out += (*it)->GetBytesWritten();
} else {
uiZNC_in += (*it)->GetBytesRead();
uiZNC_out += (*it)->GetBytesWritten();

View File

@ -30,11 +30,11 @@ Source1: znc.init
# git archive --prefix=znc/ HEAD | xz > ../znc-0.097.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: perl gcc-c++
BuildRequires: openssl-devel >= 0.9.8
BuildRequires: gcc-c++ perl
#BuildRequires: openssl-devel >= 0.9.8
BuildRequires: cyrus-sasl-devel
BuildRequires: c-ares-devel automake python3-devel
BuildRequires: perl(ExtUtils::Embed) swig tcl-devel
BuildRequires: c-ares-devel automake
BuildRequires: tcl-devel
%if %{use_systemd}
BuildRequires: systemd-units
%endif
@ -86,25 +86,6 @@ Requires: tcl
%description modtcl
TCL module for ZNC
%package modperl
Summary: perl module for ZNC
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: perl
Provides: perl(ZNC::Module) = %{version}-%{release}
%description modperl
perl module for ZNC
%package modpython
Summary: python3 module for ZNC
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: python3
%description modpython
python3 module for ZNC
%prep
%setup -q -n %{name}-%{version}
#%patch0 -p1
@ -112,10 +93,9 @@ python3 module for ZNC
chmod -x modules/q.cpp
%build
./autogen.sh
%configure \
--with-module-prefix=%{_libdir}/znc \
--enable-ipv6 --enable-extra --enable-sasl --enable-python --enable-perl --enable-tcl
--with-module-prefix=%{_libdir}/znc --disable-ssl \
--enable-ipv6 --enable-extra --enable-sasl --disable-perl --enable-tcl
%__make %{?_smp_mflags}
%pre
@ -202,16 +182,16 @@ fi
%{_libdir}/znc/autocycle.so
%{_libdir}/znc/autoop.so
%{_libdir}/znc/autoreply.so
%{_libdir}/znc/away.so
#%{_libdir}/znc/away.so
%{_libdir}/znc/awaynick.so
%{_libdir}/znc/blockuser.so
%{_libdir}/znc/bouncedcc.so
%{_libdir}/znc/buffextras.so
%{_libdir}/znc/cert.so
%{_libdir}/znc/certauth.so
#%{_libdir}/znc/cert.so
#%{_libdir}/znc/certauth.so
%{_libdir}/znc/chansaver.so
%{_libdir}/znc/clientnotify.so
%{_libdir}/znc/crypt.so
#%{_libdir}/znc/crypt.so
%{_libdir}/znc/disconkick.so
%{_libdir}/znc/fail2ban.so
%{_libdir}/znc/identfile.so
@ -226,8 +206,8 @@ fi
%{_libdir}/znc/raw.so
%{_libdir}/znc/route_replies.so
%{_libdir}/znc/sample.so
%{_libdir}/znc/savebuff.so
%{_libdir}/znc/schat.so
#%{_libdir}/znc/savebuff.so
#%{_libdir}/znc/schat.so
%{_libdir}/znc/send_raw.so
%{_libdir}/znc/shell.so
%{_libdir}/znc/simple_away.so
@ -275,17 +255,6 @@ fi
%defattr(-,root,root)
%{_libdir}/znc/modtcl.so
%files modperl
%defattr(-,root,root)
%{_libdir}/znc/modperl/
%{_libdir}/znc/modperl.so
%{_libdir}/znc/perleval.pm
%files modpython
%defattr(-,root,root)
%{_libdir}/znc/modpython/
%{_libdir}/znc/modpython.so
%changelog
* Mon Apr 16 2012 Nick Bebout <nb@fedoraproject.org> - 0.206-1
- Upgrade to 0.206