OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 07-Jun-2006 13:08:42
Branch: HEAD Handle: 2006060712084200
Modified files:
openpkg-src/pdnsd pdnsd.spec
Log:
UDP code broken on FreeBSD which makes pdnsd useless on that platform
(reproduceable 'pdnsd: error: Error in udp send: Invalid argument'
error messages when invoking pdnsd in debug mode '-g'). Up to now,
this seems to be a pretty old but still unresolved issue, see
http://groups.google.com/group/lucky.freebsd.ports/msg/71621cea057c6d7e
as well
Summary:
Revision Changes Path
1.23 +5 -2 openpkg-src/pdnsd/pdnsd.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/pdnsd/pdnsd.spec
============================================================================
$ cvs diff -u -r1.22 -r1.23 pdnsd.spec
--- openpkg-src/pdnsd/pdnsd.spec 7 Jun 2006 10:51:57 -0000 1.22
+++ openpkg-src/pdnsd/pdnsd.spec 7 Jun 2006 11:08:42 -0000 1.23
@@ -76,14 +76,17 @@
export CPPFLAGS="%{l_cppflags}"
export LDFLAGS="%{l_ldflags}"
export LIBS=""
+ configure_opts=""
case "%{l_platform -t}" in
- *-sunos* ) LIBS="$LIBS -lnsl -lsocket" ;;
+ *-freebsd* ) configure_opts="$configure_opts
--disable-src-addr-disc" ;;
+ *-sunos* ) LIBS="$LIBS -lnsl -lsocket" ;;
esac
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/pdnsd \
--with-cachedir=%{l_prefix}/var/pdnsd \
- --with-default-id=%{l_ruid}
+ --with-default-id=%{l_ruid} \
+ $configure_opts
%{l_make} %{l_mflags -O}
%install
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]