]> git.pld-linux.org Git - packages/dante.git/blame - dante.spec
- up to 1.3.2
[packages/dante.git] / dante.spec
CommitLineData
9d07af49 1Summary: A free Socks v4/v5 client implementation
7132b5dc 2Summary(pl.UTF-8): Darmowa implementacja klienta Socks v4/5
9d07af49 3Name: dante
6a108fd6
AO
4Version: 1.3.2
5Release: 1
72015a4e 6License: BSD-like
9d07af49 7Group: Networking/Daemons
6a108fd6
AO
8Source0: ftp://ftp.inet.no/pub/socks/%{name}-%{version}.tar.gz
9# Source0-md5: 250c6456cd3fefa17f07fa80c9ccf6bd
9d07af49 10Source1: sockd.init
57d52427 11URL: http://www.inet.no/dante/
cec30350 12BuildRequires: autoconf
58619027 13BuildRequires: automake
6e464565 14BuildRequires: libwrap-devel
cc2ed1fb 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9d07af49 16
9d07af49 17%description
18Dante is a free implementation of the proxy protocols socks version 4,
19socks version 5 (rfc1928) and msproxy. It can be used as a firewall
20between networks. It is being developed by Inferno Nettverk A/S, a
21Norwegian consulting company. Commercial support is available.
22
23This package contains the dynamic libraries required to "socksify"
24existing applications to become socks clients.
25
f9a5fb07
JR
26%description -l pl.UTF-8
27Dante jest darmową implementacją protokołów proxy: socks w wersji 4,
28socks w wersji 5 (rfc1928) oraz msproxy. Może być używany jako zapora
29pomiędzy sieciami. Implementacja jest rozwijana przez Inferno Nettverk
30A/S - Norweską firmę konsultingową. Komercyjne wsparcie jest dostępne.
7f45f858
AM
31
32Ten pakiet zawiera dynamiczne biblioteki wymagane do "usocksowiania"
f9a5fb07 33istniejących aplikacji tak by działały one jako klienci socks.
7f45f858 34
9d07af49 35%package server
36Summary: A free Socks v4/v5 server implementation
7132b5dc 37Summary(pl.UTF-8): Darmowa implementacja serwera Socks v4/5
9d07af49 38Group: Networking/Daemons
c723d15f 39Requires(post,preun): /sbin/chkconfig
aed92515
ER
40Requires: %{name} = %{version}-%{release}
41Requires: rc-scripts
9d07af49 42
43%description server
44This package contains the socks proxy daemon and its documentation.
45The sockd is the server part of the Dante socks proxy package and
46allows socks clients to connect through it to the network.
47
f9a5fb07
JR
48%description server -l pl.UTF-8
49Ten pakiet zawiera serwer proxy socks oraz jego dokumentację. Serwer
50sockd jest częścią pakietu proxy Dante. Za pośrednictwem serwera
51klienci mogą łączyć się z serwerami w sieci.
7f45f858 52
9d07af49 53%package devel
a9402f90 54Summary: Development libraries for socks
7132b5dc 55Summary(pl.UTF-8): Biblioteki developerskie dla socks
9d07af49 56Group: Networking/Daemons
58619027 57Requires: %{name} = %{version}-%{release}
9d07af49 58
59%description devel
60Additional libraries required to compile programs that use socks.
61
f9a5fb07
JR
62%description devel -l pl.UTF-8
63Dodatkowe biblioteki wymagane do rozwoju programów korzystających z
90dd98e4 64socks.
7f45f858 65
57d52427 66%package static
90dd98e4 67Summary: Static libraries for socks
7132b5dc 68Summary(pl.UTF-8): Statyczne biblioteki socks
57d52427 69Group: Networking/Daemons
58619027 70Requires: %{name}-devel = %{version}-%{release}
57d52427 71
72%description static
73Static libraries for socks.
9d07af49 74
f9a5fb07 75%description static -l pl.UTF-8
7f45f858
AM
76Statyczne biblioteki socks.
77
57d52427 78%prep
6a108fd6 79%setup -q
9d07af49 80
81%build
6a108fd6
AO
82%{__libtoolize}
83%{__aclocal}
9d15dfac 84%{__autoconf}
6a108fd6
AO
85%{__autoheader}
86%{__automake}
bc715941 87%configure \
6a108fd6
AO
88 --without-glibc-secure
89
9d07af49 90%{__make}
91
92%install
93rm -rf $RPM_BUILD_ROOT
a97e3ab5 94install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d}
9d07af49 95
755d6271
PG
96%{__make} install \
97 DESTDIR=$RPM_BUILD_ROOT
9d07af49 98
a97e3ab5 99install example/sock{s,d}.conf ${RPM_BUILD_ROOT}%{_sysconfdir}
9d07af49 100
a97e3ab5 101install %{SOURCE1} ${RPM_BUILD_ROOT}/etc/rc.d/init.d/sockd
9d07af49 102
9d07af49 103%clean
104rm -rf $RPM_BUILD_ROOT
105
ff053020 106%post -p /sbin/ldconfig
107%postun -p /sbin/ldconfig
9d07af49 108
109%post server
e4e0694a 110/sbin/chkconfig --add sockd
013639e3 111if [ -f /var/lock/subsys/sockd ]; then
112 /etc/rc.d/init.d/sockd restart 1>&2
113else
114 echo "Run \"/etc/rc.d/init.d/sockd start\" to start dante sockd daemon."
115fi
9d07af49 116
e4e0694a 117%postun server
013639e3 118if [ "$1" = "0" ]; then
119 if [ -f /var/lock/subsys/sockd ]; then
120 /etc/rc.d/init.d/sockd stop 1>&2
121 fi
e4e0694a 122 /sbin/chkconfig --del sockd
123fi
9d07af49 124
125%files
126%defattr(644,root,root,755)
6a108fd6 127%doc BUGS CREDITS LICENSE NEWS README SUPPORT
aed92515 128%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/socks.conf
6a108fd6
AO
129%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
130%attr(755,root,root) %ghost %{_libdir}/lib*.so.0
131%attr(755,root,root) %{_libdir}/libdsocks.so
9d07af49 132%attr(755,root,root) %{_bindir}/socksify
133%{_mandir}/man5/socks.conf.5*
6a108fd6 134%{_mandir}/man1/socksify.1*
9d07af49 135
136%files server
137%defattr(644,root,root,755)
aed92515 138%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sockd.conf
57d52427 139%attr(754,root,root) /etc/rc.d/init.d/sockd
9d07af49 140%attr(755,root,root) %{_sbindir}/sockd
141%{_mandir}/man8/sockd.8*
142%{_mandir}/man5/sockd.conf.5*
143
9d07af49 144%files devel
145%defattr(644,root,root,755)
57d52427 146%attr(755,root,root) %{_libdir}/lib*.so
c530948c 147%{_libdir}/lib*.la
57d52427 148%{_includedir}/*
149
150%files static
151%defattr(644,root,root,755)
152%{_libdir}/lib*.a
This page took 0.334578 seconds and 4 git commands to generate.