Updating to 0.072 - fixes security issue

This commit is contained in:
Nick Bebout 2009-07-23 01:06:06 +00:00
parent 5438afcc8d
commit ee96c63901
3 changed files with 15 additions and 8 deletions

View File

@ -1 +1 @@
znc-0.070.tar.gz znc-0.072.tar.gz

View File

@ -1 +1 @@
18bb813cb350c6db014a0d82ecdf85fe znc-0.070.tar.gz 28791eb14f5a3129602dbab0ef6abbc6 znc-0.072.tar.gz

View File

@ -1,17 +1,21 @@
Summary: An advanced IRC bouncer Summary: An advanced IRC bouncer
Name: znc Name: znc
Version: 0.070 Version: 0.072
Release: 7%{?dist} Release: 1%{?dist}
License: GPLv2 with exceptions License: GPLv2 with exceptions
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://znc.sf.net/ URL: http://znc.sf.net/
Source0: http://downloads.sourceforge.net/sourceforge/znc/znc-%{version}.tar.gz Source0: http://downloads.sourceforge.net/sourceforge/znc/znc-%{version}.tar.gz
Patch0: %{name}-%{version}-pkgconfigdir.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: perl BuildRequires: perl
BuildRequires: openssl-devel >= 0.9.8 BuildRequires: openssl-devel >= 0.9.8
BuildRequires: cyrus-sasl-devel BuildRequires: cyrus-sasl-devel
# the c-ares part of ZNC does not work on EPEL
# because the EPEL c-ares-devel does not install
# the .pc file for it
%{?fedora:BuildRequires: c-ares-devel}
# The following line is necessary because this module # The following line is necessary because this module
# is needed for Fedora, but not for EPEL. # is needed for Fedora, but not for EPEL.
%{?fedora:BuildRequires: perl-ExtUtils-Embed} %{?fedora:BuildRequires: perl-ExtUtils-Embed}
@ -25,6 +29,7 @@ DCC bouncing, Perl and C++ module support to name a few.
Summary: Development files needed to compile ZNC modules Summary: Development files needed to compile ZNC modules
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} pkgconfig Requires: %{name} = %{version}-%{release} pkgconfig
BuildRequires: pkgconfig
%description devel %description devel
All includes and program files you need to compile your own znc All includes and program files you need to compile your own znc
@ -32,14 +37,14 @@ modules.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%__perl -pi.add_release -e 's|(?<="ZNC \%1\.3f)|-%{release}|' znc.cpp %__perl -pi.add_release -e 's|(?<="ZNC \%1\.3f)|-%{release}|' znc.cpp
chmod -x modules/q.cpp #chmod -x modules/q.cpp
%build %build
%configure \ %configure \
--with-module-prefix=%{_libdir}/znc \ --with-module-prefix=%{_libdir}/znc \
--enable-ipv6 %{!?fedora:--disable-c-ares \}
--enable-ipv6 --enable-sasl
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
@ -65,6 +70,8 @@ chmod -x modules/q.cpp
%{_includedir}/znc/ %{_includedir}/znc/
%changelog %changelog
* Wed Jul 22 2009 Nick Bebout <nb@fedoraproject.org> - 0.072-1
- Upgrade to 0.072 of ZNC, fixes security issue in bug 513152
* Sun Jul 12 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-7 * Sun Jul 12 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-7
- Fix License: to be GPLv2 with exceptions - Fix License: to be GPLv2 with exceptions
* Sat Jul 11 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-6 * Sat Jul 11 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-6