From 3c5d104e55c6ac45ca494a72ba325620935ae1e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 3 Feb 2005 12:51:07 +0000 Subject: [PATCH] - updated to 2.9.3 (security; ssl support) - patch bncsetup, rather having it's copy, this way it won't go outdated (hopefully) - bncsetup still not workig Changed files: bnc.spec -> 1.25 --- bnc.spec | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/bnc.spec b/bnc.spec index 8f086a3..7bb09c7 100644 --- a/bnc.spec +++ b/bnc.spec @@ -1,18 +1,22 @@ +# TODO +# - bncsetup still not working, needs newer dialog Summary: Simple IRC bouncer Summary(pl): Proste narzêdzie do tunelowania irc Name: bnc -Version: 2.9.2 -Release: 1 +Version: 2.9.3 +Release: 0.1 License: GPL Group: Networking/Utilities # http://gotbnc.com/files/%{name}%{version}.tar.gz - doesn't work with distfiles, reason unknown -Source0: ftp://distfiles.pld-linux.org/src/%{name}%{version}.tar.gz -# Source0-md5: edb144a029db71d52049a0a61c58d445 -Source1: %{name}setup.pld +#Source0: ftp://distfiles.pld-linux.org/src/%{name}%{version}.tar.gz +Source0: http://www.gotbnc.com/files/%{name}%{version}.tar.gz +# Source0-md5: 5012f3eb112f0fda545b1aaf66a06150 +Patch0: %{name}-setup.patch URL: http://gotbnc.com/ BuildRequires: autoconf BuildRequires: automake -Requires: dialog +BuildRequires: openssl-devel +Requires: dialog >= 1:0.70 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -30,11 +34,13 @@ od u %prep %setup -q -n %{name}%{version} +%patch0 -p1 %build cp -f /usr/share/automake/config.sub . %{__autoconf} -%configure +%configure \ + --with-ssl %{__make} \ CFLAGS="%{rpmcflags}" \ @@ -47,7 +53,7 @@ install -d $RPM_BUILD_ROOT%{_bindir} install bnc $RPM_BUILD_ROOT%{_bindir} install bncchk $RPM_BUILD_ROOT%{_bindir} -install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/bncsetup +install bncsetup $RPM_BUILD_ROOT%{_bindir}/bncsetup install mkpasswd $RPM_BUILD_ROOT%{_bindir}/bncmkpasswd %clean @@ -55,5 +61,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README Changelog +%doc README Changelog motd example.conf %attr(755,root,root) %{_bindir}/* -- 2.43.0