|
@@ -2,7 +2,7 @@
|
|
|
Summary: A free Socks v4/v5 client implementation
|
|
|
Summary(ja): Socks v4/v5 クライアントのフリーな実装
|
|
|
Name: dante
|
|
|
-Version: 1.1.14
|
|
|
+Version: 1.3.2
|
|
|
# define for pre-releases, undefine for normal releases.
|
|
|
%undefine pre
|
|
|
Release: 1%{?_dist_release}
|
|
@@ -12,8 +12,11 @@ URL: http://www.inet.no/dante/
|
|
|
%define distname %{name}-%{version}%{?pre:-%{pre}}
|
|
|
Source: ftp://ftp.inet.no/pub/socks/%{distname}.tar.gz
|
|
|
Source1: sockd.conf
|
|
|
+Source2: sockd.init
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-BuildPreReq: pam-devel tcp_wrappers
|
|
|
+BuildRequires: pam-devel tcp_wrappers
|
|
|
Requires: pam
|
|
|
|
|
|
%description
|
|
@@ -39,7 +42,7 @@ Summary: A free Socks v4/v5 server implementation
|
|
|
Summary(ja): Socks v4/v5 サーバのフリーな実装
|
|
|
Group: System Environment/Daemons
|
|
|
Requires: dante = %{version}
|
|
|
-PreReq: /sbin/chkconfig
|
|
|
+Requires(pre): /sbin/chkconfig
|
|
|
|
|
|
%description server
|
|
|
This package contains the socks proxy daemon and its documentation.
|
|
@@ -126,7 +129,11 @@ exit 0
|
|
|
EOF
|
|
|
|
|
|
%build
|
|
|
-%configure
|
|
|
+%configure \
|
|
|
+%if %{?_dist_release} != "vl7"
|
|
|
+ --without-glibc-secure
|
|
|
+%endif
|
|
|
+
|
|
|
%{__make}
|
|
|
|
|
|
%install
|
|
@@ -138,7 +145,7 @@ EOF
|
|
|
%{__install} -d %{buildroot}%{_sysconfdir}/rc.d/init.d %{buildroot}%{_bindir}
|
|
|
%{__install} -m 644 example/socks-simple.conf %{buildroot}%{_sysconfdir}/socks.conf
|
|
|
%{__install} -m 644 %{_sourcedir}/sockd.conf %{buildroot}%{_sysconfdir}
|
|
|
-%{__install} -m 755 sockd.init %{buildroot}%{_sysconfdir}/rc.d/init.d/sockd
|
|
|
+%{__install} -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/rc.d/init.d/sockd
|
|
|
|
|
|
## remove unuse files
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
@@ -167,16 +174,14 @@ fi
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
-%doc BUGS CREDITS INSTALL LICENSE NEWS README SUPPORT TODO
|
|
|
-%doc doc/README* doc/rfc* doc/SOCKS4.protocol doc/faq.tex
|
|
|
-%doc example/{socks.conf,socks-simple-withoutnameserver.conf,sockd.conf,socks-simple.conf}
|
|
|
-%{_libdir}/libsocks.so.0.1.0
|
|
|
-%{_libdir}/libsocks.so.0
|
|
|
-%{_libdir}/libdsocks.so.0.1.0
|
|
|
-%{_libdir}/libdsocks.so.0
|
|
|
-%{_libdir}/libdsocks.so
|
|
|
+%doc BUGS CREDITS INSTALL LICENSE NEWS README README.ldap SUPPORT UPGRADE VERSION
|
|
|
+%doc doc/README* doc/rfc* doc/SOCKS4*protocol
|
|
|
+%doc example/sock*
|
|
|
+%{_libdir}/libsocks.so.*
|
|
|
+%{_libdir}/libdsocks.so*
|
|
|
%{_bindir}/socksify
|
|
|
%{_mandir}/man5/socks.conf.5*
|
|
|
+%{_mandir}/man1/socksify.1*
|
|
|
%config(noreplace) %{_sysconfdir}/socks.conf
|
|
|
|
|
|
|
|
@@ -192,13 +197,14 @@ fi
|
|
|
%files devel
|
|
|
%defattr(-,root,root)
|
|
|
%{_libdir}/libsocks.so
|
|
|
-#%{_libdir}/libsocks.la
|
|
|
%{_libdir}/libsocks.a
|
|
|
-#%{_libdir}/libdsocks.la
|
|
|
%{_includedir}/socks.h
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Tue May 01 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.14-1vl5
|
|
|
- applied new versioning policy, spec in utf-8
|
|
|
- removed *.la
|