--- /dev/null
+--- dante-1.4.1/compiler.m4~ 2014-08-02 22:05:19.000000000 +0200
++++ dante-1.4.1/compiler.m4 2014-10-24 22:16:03.014015699 +0200
+@@ -368,29 +368,6 @@
+ esac
+ fi
+ CPPFLAGS="$CPPFLAGS${CPPFLAGS:+ }-DDEBUG=1"
+-else
+- #autoconf_compflags is set to "-g -O2" with GCC
+- #override CFLAGS when running configure to avoid this
+- CPPFLAGS="$CPPFLAGS${CPPFLAGS:+ }-DDEBUG=0"
+- CFLAGS="$CFLAGS${CFLAGS:+ }$autoconf_compflags"
+-
+- case $COMPTYPE in
+- gcc)
+- if test x"$aixldbug" != x; then
+- #disable debug info
+- if echo $CFLAGS | grep -- "-g" >/dev/null; then
+- CFLAGS="`echo $CFLAGS | sed -e 's/-g//g'`"
+- fi
+- CFLAGS="$CFLAGS${CFLAGS:+ }-g0"
+- else
+- #use -ggdb also when not debugging
+- if echo $CFLAGS | grep -- "-g" >/dev/null; then
+- CFLAGS="`echo $CFLAGS | sed -e 's/-g//g'`"
+- fi
+- CFLAGS="$CFLAGS${CFLAGS:+ }-ggdb"
+- fi
+- ;;
+- esac
+ fi
+
+ #check whether to compilation warnings
+++ /dev/null
---- dante-1.3.2/configure.ac.orig 2013-02-04 21:35:07.271902241 +0100
-+++ dante-1.3.2/configure.ac 2013-02-05 15:23:11.200566535 +0100
-@@ -878,12 +878,6 @@
- dnl normal library testing doesn't work for libwrap (doesn't link
- dnl without allow/deny_severity)
- if test "x${ac_cv_header_tcpd_h}" = "xyes"; then
-- case $host in
-- *-*-linux-*)
-- #XXX needed on atleast redhat
-- AC_SEARCH_LIBS(yp_get_default_domain, nsl)
-- ;;
-- esac
- oLIBS=$LIBS
- AC_MSG_CHECKING([for libwrap])
- if test x$no_libwrap = xt; then
Summary: A free Socks v4/v5 client implementation
Summary(pl.UTF-8): Darmowa implementacja klienta Socks v4/5
Name: dante
-Version: 1.3.2
-Release: 2
+Version: 1.4.1
+Release: 1
License: BSD-like
Group: Networking/Daemons
Source0: ftp://ftp.inet.no/pub/socks/%{name}-%{version}.tar.gz
-# Source0-md5: 250c6456cd3fefa17f07fa80c9ccf6bd
+# Source0-md5: 68c2ce12119e12cea11a90c7a80efa8f
Source1: sockd.init
Patch0: %{name}-am.patch
-Patch1: %{name}-link.patch
+Patch1: %{name}-build.patch
Patch2: %{name}-miniupnp.patch
URL: http://www.inet.no/dante/
BuildRequires: autoconf >= 2.61
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%build
%{__libtoolize}