From 4e4d9fd084013e84f53f41f0dc1706c7a68dd3f8 Mon Sep 17 00:00:00 2001
From: Eldad Zack <eldad@gentoo.org>
Date: Tue, 24 Aug 2004 10:37:22 +0000
Subject: Fixed -lshadow linking problem. Closes bug #61437.

---
 net-analyzer/nbaudit/ChangeLog          |  6 +++++-
 net-analyzer/nbaudit/Manifest           | 14 ++++++++++++--
 net-analyzer/nbaudit/nbaudit-1.0.ebuild | 11 +++--------
 3 files changed, 20 insertions(+), 11 deletions(-)

(limited to 'net-analyzer')

diff --git a/net-analyzer/nbaudit/ChangeLog b/net-analyzer/nbaudit/ChangeLog
index 7a6ca32eff50..8cb4931e53b7 100644
--- a/net-analyzer/nbaudit/ChangeLog
+++ b/net-analyzer/nbaudit/ChangeLog
@@ -1,6 +1,10 @@
 # ChangeLog for net-analyzer/nbaudit
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/ChangeLog,v 1.7 2004/07/10 11:57:22 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/ChangeLog,v 1.8 2004/08/24 10:37:22 eldad Exp $
+
+  24 Aug 2004; Eldad Zack <eldad@gentoo.org> nbaudit-1.0.ebuild:
+  Fixed -lshadow linking problem. Thanks to wernfried haas
+  <w.haas@xover.htu.tuwien.ac.at> for pointing it out. Closes bug #61437.
 
   10 Jul 2004; Eldad Zack <eldad@gentoo.org> +metadata.xml,
   nbaudit-1.0.ebuild:
diff --git a/net-analyzer/nbaudit/Manifest b/net-analyzer/nbaudit/Manifest
index 16bab8fd6ec6..e04748d388c4 100644
--- a/net-analyzer/nbaudit/Manifest
+++ b/net-analyzer/nbaudit/Manifest
@@ -1,4 +1,14 @@
-MD5 0172f1b1c7d5ec291a4b0a22ad67317f ChangeLog 1037
-MD5 dc287bebe3953df8b1d58859c030baf0 nbaudit-1.0.ebuild 1031
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 d0e307e7401c6c93bb262984eb72f690 ChangeLog 1236
+MD5 e192b5384fe781cadabf5fcea0de4a6f nbaudit-1.0.ebuild 1007
 MD5 3d43677d80da81ea017059e47706b615 metadata.xml 240
 MD5 ad726c93a81f56b634d898446e1a803b files/digest-nbaudit-1.0 54
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.4 (GNU/Linux)
+
+iD8DBQFBKxrET+MN7JbqCpMRAkykAJ9d2gA2zh5NK1uud4jFhIcSfaLLHQCfUR5k
+B6TiDepCZcWs2+KkDWJ9xss=
+=lEFP
+-----END PGP SIGNATURE-----
diff --git a/net-analyzer/nbaudit/nbaudit-1.0.ebuild b/net-analyzer/nbaudit/nbaudit-1.0.ebuild
index 291fb7a3f866..7d1f199678a6 100644
--- a/net-analyzer/nbaudit/nbaudit-1.0.ebuild
+++ b/net-analyzer/nbaudit/nbaudit-1.0.ebuild
@@ -1,9 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/nbaudit-1.0.ebuild,v 1.15 2004/07/10 11:57:22 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/nbaudit-1.0.ebuild,v 1.16 2004/08/24 10:37:22 eldad Exp $
 
-
-# Its officially called nat10 but the name conflicts with other projects
+# It is officially called nat10 but the name conflicts with other projects
 # so I'm following the *BSDs suggestion of calling it nbaudit
 
 MY_P=nat10
@@ -21,10 +20,7 @@ IUSE=""
 
 src_compile() {
 
-	mv Makefile Makefile.old
-	sed -e "s/# \(FLAGSM = -DLINUX -DSHADOW_PWD\)/\1 -DNO_ASMSIGNALH/" \
-		-e "s/# LIBSM = -lshadow/LIBSM = -lshadow/" \
-		Makefile.old > Makefile
+	sed -i -e "s/# \(FLAGSM = -DLINUX -DSHADOW_PWD\)/\1 -DNO_ASMSIGNALH/; s;# LIBSM = -lshadow;LIBSM = -lshadow -L/usr/X11R6/lib/modules ;" Makefile
 
 	# NOTE: DO NOT SET CFLAGS OR THE PROGRAM WILL SEGFAULT
 	make all || die
@@ -32,7 +28,6 @@ src_compile() {
 }
 
 src_install () {
-
 	mv nat nbaudit
 	dobin nbaudit
 
-- 
cgit v1.2.3-65-gdbad