5438afc
Summary:        An advanced IRC bouncer
5438afc
Name:           znc
e6abe1b
Version:        0.089
637ae1a
Release:        6.svn2000%{?dist}
5438afc
License:        GPLv2 with exceptions
5438afc
Group:          System Environment/Daemons
5438afc
URL:            http://znc.sf.net/
c6447fe
#Source0:        http://downloads.sourceforge.net/znc/znc-0.080.tar.gz
e6abe1b
Source0:        znc-0.089-svn2000.tar.bz2
c6447fe
# svn export https://znc.svn.sourceforge.net/svnroot/znc/trunk znc
e6abe1b
# mv znc znc-0.089
e6abe1b
# tar cjvf znc-0.089-svn2000.tar.bz2 znc-0.089/
7f55076
5438afc
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
f6ae170
BuildRequires:  perl gcc-c++
5438afc
BuildRequires:  openssl-devel >= 0.9.8
5438afc
BuildRequires:  cyrus-sasl-devel
280b6cc
BuildRequires:  c-ares-devel
5438afc
5438afc
# The following line is necessary because this module
5438afc
# is needed for Fedora, but not for EPEL.
5438afc
%{?fedora:BuildRequires: perl-ExtUtils-Embed}
5438afc
5438afc
%description
5438afc
ZNC is an IRC bouncer with many advanced features like detaching,
5438afc
multiple users, per channel playback buffer, SSL, IPv6, transparent
5438afc
DCC bouncing, Perl and C++ module support to name a few.
5438afc
5438afc
%package devel
5438afc
Summary:        Development files needed to compile ZNC modules
5438afc
Group:          Development/Libraries
5438afc
Requires:       %{name} = %{version}-%{release} pkgconfig
ee96c63
BuildRequires: pkgconfig
5438afc
5438afc
%description devel
5438afc
All includes and program files you need to compile your own znc
5438afc
modules.
5438afc
4ec811a
%package extra
4ec811a
Summary:       Extra modules for ZNC
4ec811a
Group:         Development/Libraries
4ec811a
Requires:      %{name} = %{version}-%{release}
4ec811a
4ec811a
%description extra
4ec811a
Extra modules for ZNC
4ec811a
5438afc
%prep
03c2bb0
%setup -q
5438afc
%__perl -pi.add_release -e 's|(?<="ZNC \%1\.3f)|-%{release}|' znc.cpp
00a397d
chmod -x modules/q.cpp
5438afc
5438afc
%build
5438afc
%configure \
5438afc
     --with-module-prefix=%{_libdir}/znc \
637ae1a
     --enable-ipv6 --enable-extra --enable-sasl
5438afc
%__make %{?_smp_mflags}
5438afc
5438afc
%install
5438afc
%__rm -Rf "%{buildroot}"
5438afc
%__make install DESTDIR="%{buildroot}"
5438afc
5438afc
%clean
5438afc
%__rm -Rf "%{buildroot}"
5438afc
5438afc
%files
5438afc
%defattr(-,root,root)
dc6793e
%doc AUTHORS LICENSE LICENSE.OpenSSL README
5438afc
%{_bindir}/znc
5438afc
%{_mandir}/man1/*
4ec811a
%{_libdir}/znc/admin.so
4ec811a
%{_libdir}/znc/adminlog.so
4ec811a
%{_libdir}/znc/autoattach.so
4ec811a
%{_libdir}/znc/autocycle.so
4ec811a
%{_libdir}/znc/autoop.so
4ec811a
%{_libdir}/znc/autoreply.so
4ec811a
%{_libdir}/znc/away.so
4ec811a
%{_libdir}/znc/awaynick.so
e6abe1b
%{_libdir}/znc/blockuser.so
4ec811a
%{_libdir}/znc/buffextras.so
4ec811a
%{_libdir}/znc/chansaver.so
b7ee75a
%{_libdir}/znc/clientnotify.so
4ec811a
%{_libdir}/znc/crypt.so
e6abe1b
%{_libdir}/znc/disconkick.so
4ec811a
%{_libdir}/znc/fail2ban.so
4ec811a
%{_libdir}/znc/fixfreenode.so
4ec811a
%{_libdir}/znc/keepnick.so
4ec811a
%{_libdir}/znc/kickrejoin.so
e6abe1b
%{_libdir}/znc/lastseen.so
4ec811a
%{_libdir}/znc/modperl.pm
4ec811a
%{_libdir}/znc/modperl.so
4ec811a
%{_libdir}/znc/nickserv.so
c6447fe
%{_libdir}/znc/notes.so
4ec811a
%{_libdir}/znc/partyline.so
4ec811a
%{_libdir}/znc/perform.so
4ec811a
%{_libdir}/znc/q.so
4ec811a
%{_libdir}/znc/raw.so
4ec811a
%{_libdir}/znc/route_replies.so
4ec811a
%{_libdir}/znc/sample.so
4ec811a
%{_libdir}/znc/savebuff.so
4ec811a
%{_libdir}/znc/schat.so
e6abe1b
%{_libdir}/znc/send_raw.so
4ec811a
%{_libdir}/znc/shell.so
4ec811a
%{_libdir}/znc/simple_away.so
4ec811a
%{_libdir}/znc/stickychan.so
4ec811a
%{_libdir}/znc/watch.so
4ec811a
%{_libdir}/znc/webadmin.so
5438afc
%{_datadir}/znc/
5438afc
5438afc
%files devel
5438afc
%defattr(-,root,root)
5438afc
%{_bindir}/znc-buildmod
5438afc
%{_bindir}/znc-config
5438afc
%{_libdir}/pkgconfig/%{name}.pc
5438afc
%{_includedir}/znc/
5438afc
4ec811a
%files extra
4ec811a
%defattr(-,root,root)
4ec811a
%{_libdir}/znc/antiidle.so
4ec811a
%{_libdir}/znc/autovoice.so
b7ee75a
%{_libdir}/znc/block_motd.so
e6abe1b
%{_libdir}/znc/charset.so
4ec811a
%{_libdir}/znc/ctcpflood.so
4ec811a
%{_libdir}/znc/droproot.so
e6abe1b
%{_libdir}/znc/email.so
4ec811a
%{_libdir}/znc/fakeonline.so
b7ee75a
%{_libdir}/znc/flooddetach.so
e6abe1b
%{_libdir}/znc/imapauth.so
4ec811a
%{_libdir}/znc/listsockets.so
4ec811a
%{_libdir}/znc/log.so
4ec811a
%{_libdir}/znc/motdfile.so
4ec811a
%{_libdir}/znc/notify_connect.so
637ae1a
%(_libdir}/znc/saslauth.so
4ec811a
%{_libdir}/znc/send_raw.so
e6abe1b
%{_libdir}/znc/shell.so
4ec811a
5438afc
%changelog
5443174
637ae1a
* Tue May 18 2010 Nick Bebout <nb@fedoraproject.org> - 0.089-6.svn2000
637ae1a
- Re-enable saslauth
637ae1a
e6abe1b
* Tue May 18 2010 Nick Bebout <nb@fedoraproject.org> - 0.089-5.svn2000
e6abe1b
- Re-enable modperl
e6abe1b
e6abe1b
* Tue May 18 2010 Nick Bebout <nb@fedoraproject.org> - 0.089-4.svn2000
e6abe1b
- Update to znc 0.089.svn2000
e6abe1b
e6abe1b
* Sun Apr 25 2010 Nick Bebout <nb@fedoraproject.org> - 0.089-3.svn1944
e6abe1b
- Update to znc 0.089.svn1944
e6abe1b
e6abe1b
* Wed Apr 7 2010 Nick Bebout <nb@fedoraproject.org> - 0.081-2.svn1897
e6abe1b
- Update to znc 0.081.svn1897
e6abe1b
c6447fe
* Mon Mar 29 2010 Nick Bebout <nb@fedoraproject.org> - 0.081-1.svn1850
c6447fe
- Update to znc 0.081.svn1850
c6447fe
b7ee75a
* Thu Feb 18 2010 Nick Bebout <nb@fedoraproject.org> - 0.080-1
b7ee75a
- Update to znc 0.080
b7ee75a
f6ae170
* Wed Dec 30 2009 Nick Bebout <nb@fedoraproject.org> - 0.078-1
f6ae170
- Update to znc 0.078
f6ae170
03c2bb0
* Sun Dec 13 2009 Nick Bebout <nb@fedoraproject.org> - 0.078-0.1.rc1
03c2bb0
- Update to znc 0.078.rc1
f6ae170
5443174
* Mon Dec 7 2009 Nick Bebout <nb@fedoraproject.org> - 0.077-1.svn1672
5443174
- Add a DCCVHost config option which specifies the VHost (IP only!) for DCC bouncing. (r1647)
5443174
- Users cloned via the admin module no longer automatically connect into IRC. (r1653)
5443174
- Inform new clients about their /away status. (r1655)
5443174
- The "BUG" messages from route_replies can now be turned off via /msg *route_replies silent yes. (r1660)
5443174
- Rewrite znc.conf on SIGUSR1. (r1666)
5443174
- ISpoofFormat now supports ExpandString. (r1670) 
5443174
- Allow specifing port and password for delserver. (r1640)
5443174
- Write the config file on restart and shutdown. (r1641)
5443174
- Disable c-ares if it is not found unless --enable-c-ares was used. (r1644) (r1645)
5443174
- blockuser was missing an admin check. (r1648)
5443174
- Sometimes, removing a server caused znc to lose track of which server it is connected to. (r1659)
5443174
- Include a more portable header for uint32_t in SHA256.h. (r1665)
5443174
- Fixed cases where ZNC didn't properly block PONG replies to its own PINGs. (r1668)
5443174
- Fixed a possible crash if a client disconnected before an auth module was able to verify the login. (r1669)
5443174
- Away allowed to accidentally execute IRC commands. (r1672) 
5443174
- Comment out some weird code in Client.cpp. (r1646)
5443174
- Remove connect_throttle since it's obsoleted by fail2ban. (r1649)
5443174
- Remove outdated sample znc.conf. (r1654)
5443174
- route_replies now got a higher timeout before it generates a "BUG" message. (r1657)
5443174
- Documented the signals on which znc reacts better. (r1667) 
5443174
- New module hook OnIRCConnecting(). (r1638)
5443174
- Remove obsolete CUtils::GetHashPass(). (r1642)
5443174
- A module's GetDescription() now returns a C-String. (r1661) (r1662)
5443174
- When opening a module, check the version number first and don't do anything on a mismatch. (r1663) 
5443174
57d7984
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.076-3
57d7984
- rebuild against perl 5.10.1
57d7984
d4381b0
* Fri Sep 25 2009 Nick Bebout <nb@fedoraproject.org> - 0.076-2
d4381b0
- Fix missing dist tag
d4381b0
d4381b0
* Fri Sep 25 2009 Nick Bebout <nb@fedoraproject.org> - 0.076-1
01137f4
- Upgrade to ZNC 0.076
01137f4
- http://en.znc.in/wiki/ChangeLog/0.076
01137f4
00a397d
* Fri Aug 28 2009 Nick Bebout <nb@fedoraproject.org> - 0.075-8.svn1613
00a397d
- Rebuild with new openssl and svn 1613
00a397d
- build 0.075-7.svn1610 existed but I had to remove it from the spec because
00a397d
- the date was earlier than the date tmraz build the new openssl one
00a397d
fbbcf0f
* Wed Aug 26 2009 Tomas Mraz <tmraz@redhat.com> - 0.075-6.svn1608
f05869e
- rebuilt with new openssl
f05869e
4ec811a
* Thu Aug 20 2009 Nick Bebout <nb@fedoraproject.org> - 0.075-5.svn1608
4ec811a
- Upgrade to svn 1608
4ec811a
2d5b6d1
* Tue Aug 18 2009 Nick Bebout <nb@fedoraproject.org> - 0.075-4.20090818svn1602
2d5b6d1
- Upgrade to svn 1602
2d5b6d1
611837a
* Sat Aug 8 2009 Nick Bebout <nb@fedoraproject.org> - 0.075-3.20090807svn1594
611837a
- Fix source filename
611837a
45498f1
* Fri Aug 7 2009 Nick Bebout <nb@fedoraproject.org> - 0.075-2.20090807svn1594
45498f1
- Fix broken source tarball
45498f1
7f55076
* Fri Aug 7 2009 Nick Bebout <nb@fedoraproject.org> - 0.075-1.20090807svn1594
7f55076
- Upgrade to svn 1594
7f55076
3c2da34
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.074-2
3c2da34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3c2da34
280b6cc
* Thu Jul 23 2009 Nick Bebout <nb@fedoraproject.org> - 0.074-1
280b6cc
- Update to 0.074
7f55076
fd08392
* Wed Jul 22 2009 Nick Bebout <nb@fedoraproject.org> - 0.072-3
fd08392
- Fix date in changelog, disable c-ares
7f55076
fd08392
* Wed Jul 22 2009 Nick Bebout <nb@fedoraproject.org> - 0.072-2
b069636
- Backport patch to fix webadmin skins issue introduced in 0.072
7f55076
ee96c63
* Wed Jul 22 2009 Nick Bebout <nb@fedoraproject.org> - 0.072-1
b069636
- Upgrade to 0.072 of ZNC, fixes security issue in bug # 513152
7f55076
5438afc
* Sun Jul 12 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-7
5438afc
- Fix License: to be GPLv2 with exceptions
7f55076
5438afc
* Sat Jul 11 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-6
5438afc
- Fix permissions error in %%prep, not in source
7f55076
5438afc
* Sat Jul 11 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-5
5438afc
- Fix permissions error on q.cpp and add LICENSE.OpenSSL
7f55076
5438afc
* Sat Jul 11 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-4
5438afc
- Remove switch to enable debug, fix %%files section
7f55076
5438afc
* Fri Jul 10 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-3
5438afc
- Move fixfreenode and log into separate znc-extra package
5438afc
- Move awayping into separate znc-awayping package
7f55076
5438afc
* Thu Jul 9 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-2
5438afc
- Include modules with main package
7f55076
5438afc
* Wed Jul 8 2009 Nick Bebout <nb@fedoraproject.org> - 0.070-1
5438afc
- Initial Fedora package based on 0.070 of upstream