From c5cc3de94b466824f302497981a84ec15b9db8af Mon Sep 17 00:00:00 2001 From: Pavel Alexeev (aka Pahan-Hubbitus) Date: Nov 04 2010 15:07:18 +0000 Subject: - Add man3/3proxy.cfg.3 man (BZ#648204). - Gone explicit man gzip - leave it for rpm. --- diff --git a/3proxy.cfg b/3proxy.cfg index 8212546..1c038ac 100644 --- a/3proxy.cfg +++ b/3proxy.cfg @@ -175,4 +175,4 @@ admin # now we needn't any root rights. We can chroot and setgid/setuid. -###$Id: 3proxy.cfg,v 1.1 2009/08/27 20:14:25 hubbitus Exp $####### +###$Id: 3proxy.cfg.sample,v 1.5 2004/07/16 12:37:20 vlad Exp $####### diff --git a/3proxy.spec b/3proxy.spec index 971b34c..5849319 100644 --- a/3proxy.spec +++ b/3proxy.spec @@ -1,6 +1,6 @@ Name: 3proxy Version: 0.6.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Tiny but very powerful proxy Summary(ru): Маленький, но крайне мощный прокси-сервер @@ -53,7 +53,7 @@ rm -rf %{buildroot} mkdir -p %{buildroot}%{_sysconfdir} mkdir -p %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/ -mkdir -p %{buildroot}%{_mandir}/man8 +mkdir -p %{buildroot}%{_mandir}/man{3,8} mkdir -p %{buildroot}%{_localstatedir}/log/%{name} install -m755 -D src/3proxy %{buildroot}%{_bindir}/3proxy install -m755 -D src/dighosts %{buildroot}%{_bindir}/dighosts @@ -69,9 +69,8 @@ install -m755 -D src/udppm %{buildroot}%{_bindir}/udppm install -pD -m755 %{SOURCE1} %{buildroot}/%{_initrddir}/%{name} install -pD -m644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/%{name}.cfg - for man in man/*.8 ; do - gzip -9c "$man" > "%{buildroot}%{_mandir}/man8/$( basename $man ).gz" - touch --reference "$man" "%{buildroot}%{_mandir}/man8/$( basename $man ).gz" + for man in man/*.{3,8} ; do + install "$man" "%{buildroot}%{_mandir}/man${man:(-1)}/" done cat > %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/40-%{name} < - 0.6.1-10 +- Add man3/3proxy.cfg.3 man (BZ#648204). +- Gone explicit man gzip - leave it for rpm. + * Sun May 30 2010 Pavel Alexeev - 0.6.1-9 - Correct path to config file in man (BUG#596087) add Patch0: 3proxy-0.6.1-config-path.patch