OpenPKG CVS Repository
http://www.openpkg.org/cvsweb/cvsweb.cgi
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-web, openpkg-src Date: 20-Aug-2002 16:21:13
Branch: HEAD Handle: 2002082015211201
Modified files:
openpkg-src/libnet libnet.spec
openpkg-web news.txt
Log:
Require the newly-configured bind package for libraries providing the obsolete
gethostbyname2(3) that libnet still depends on.
Summary:
Revision Changes Path
1.11 +3 -10 openpkg-src/libnet/libnet.spec
1.1276 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
Index: openpkg-src/libnet/libnet.spec
============================================================
$ cvs diff -u -r1.10 -r1.11 libnet.spec
--- openpkg-src/libnet/libnet.spec 20 Aug 2002 13:31:12 -0000 1.10
+++ openpkg-src/libnet/libnet.spec 20 Aug 2002 14:21:13 -0000 1.11
@@ -23,15 +23,6 @@
## SUCH DAMAGE.
##
-# FIXME: Package libnet will fail on all SVR4 platforms!
-# FIXME: File src/libnet_resolve.c is broken, because it uses the function
-# FIXME: gethostbyname2(3). As defined in RFC 2133 and RFC 2553,
-# FIXME: gethostbyname2(3) is a function which was never standardized and
-# FIXME: is since long obsolete. The new (and standard) replacement is
-# FIXME: getaddrinfo(3), included in Solaris, FreeBSD, and Linux.
-# FIXME: Unfortuanately, libnet doesn't use getaddrinfo(3), and is thus
-# FIXME: doomed to fail increasingly with time.
-
# package information
Name: libnet
Summary: Network Packet Assembly Library
@@ -50,7 +41,7 @@
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20020206, gcc, make
+BuildPreReq: OpenPKG, openpkg >= 20020206, gcc, make, bind
PreReq: OpenPKG, openpkg >= 20020206
AutoReq: no
AutoReqProv: no
@@ -70,6 +61,8 @@
%build
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
+ LDFLAGS="-L%{l_prefix}/lib" \
+ LIBS="-lbind" \
./configure \
--prefix=%{l_prefix}
%{l_make} %{l_mflags -O}
Index: openpkg-web/news.txt
============================================================
$ cvs diff -u -r1.1275 -r1.1276 news.txt
--- openpkg-web/news.txt 20 Aug 2002 14:20:40 -0000 1.1275
+++ openpkg-web/news.txt 20 Aug 2002 14:21:12 -0000 1.1276
@@ -1,3 +1,4 @@
+20-Aug-2002: Upgraded package: P<libnet-1.1.0-20020820>
20-Aug-2002: Upgraded package: P<dhcping-1.2-20020820>
20-Aug-2002: Upgraded package: P<dhcpdump-1.4-20020820>
20-Aug-2002: Upgraded package: P<bind-9.2.1-20020820>
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]