From 1aa0493ed0b4ebc7ee3f4bb239e7bcea5ba163a4 Mon Sep 17 00:00:00 2001
From: hackbard <hackbard>
Date: Tue, 2 Aug 2005 01:02:27 +0000
Subject: [PATCH] more stage3 fixes/updates, added libelf package (required for
 ?trace)

---
 doc/CHANGELOG                            |  4 ++++
 packages/hackbard/libelf/libelf          |  7 +++++++
 packages/hackbard/zip/zip                |  5 +++++
 packages/net/dhcp/dhcp                   |  4 ++--
 packages/net/libpcap/libpcap             |  4 ++--
 packages/net/ntp/ntp                     |  2 +-
 packages/net/pwlib/pwlib                 |  9 ++++++++-
 packages/net/tcpdump/no_pcap_debug.patch | 25 ------------------------
 packages/net/tcpdump/tcpdump             |  4 ++--
 packages/security/openssl/openssl        |  4 ++--
 packages/security/sudo/sudo              |  4 ++--
 11 files changed, 35 insertions(+), 37 deletions(-)
 create mode 100644 packages/hackbard/libelf/libelf
 delete mode 100644 packages/net/tcpdump/no_pcap_debug.patch

diff --git a/doc/CHANGELOG b/doc/CHANGELOG
index 64ef4b7..c00f205 100644
--- a/doc/CHANGELOG
+++ b/doc/CHANGELOG
@@ -1,3 +1,7 @@
+*) 2005-08-2
+
+- more stage3 fixes/updates
+
 *) 2005-08-1
 
 - updated some early stage3 packages
diff --git a/packages/hackbard/libelf/libelf b/packages/hackbard/libelf/libelf
new file mode 100644
index 0000000..6603afa
--- /dev/null
+++ b/packages/hackbard/libelf/libelf
@@ -0,0 +1,7 @@
+# hdw - linux libelf package
+#
+# author: hackbard@hackdaworld.dyndns.org
+#
+# [V] 0.8.5
+# [S] 3-1
+# [D] libelf-0.8.5.tar.gz http://www.mr511.de/software/
diff --git a/packages/hackbard/zip/zip b/packages/hackbard/zip/zip
index 836f65c..4bec9d4 100644
--- a/packages/hackbard/zip/zip
+++ b/packages/hackbard/zip/zip
@@ -6,6 +6,11 @@
 # [S] 3-1
 # [D] zip231.tar.gz ftp://ftp.info-zip.org/pub/infozip/src/
 
+pre_install()	{
+	sed "s/(INSTALL)/(INSTALL_PROGRAM)/g" unix/Makefile > tmp~
+	mv tmp~ unix/Makefile
+		}
+
 build_main()	{
 	make $make_conf generic -f unix/Makefile prefix=$prefix
 	make $install_conf install -f unix/Makefile prefix=$prefix
diff --git a/packages/net/dhcp/dhcp b/packages/net/dhcp/dhcp
index be83f32..7e9b82e 100644
--- a/packages/net/dhcp/dhcp
+++ b/packages/net/dhcp/dhcp
@@ -2,9 +2,9 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 3.0.1
+# [V] 3.0.3
 # [S] 3-1
-# [D] dhcp-3.0.1.tar.gz ftp://ftp.isc.org/isc/dhcp/
+# [D] dhcp-3.0.3.tar.gz ftp://ftp.isc.org/isc/dhcp/
 
 pre_install()	{
 	cat >> site.conf <<-EOF
diff --git a/packages/net/libpcap/libpcap b/packages/net/libpcap/libpcap
index f5bf2a7..f88d930 100644
--- a/packages/net/libpcap/libpcap
+++ b/packages/net/libpcap/libpcap
@@ -2,6 +2,6 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 0.8.3
+# [V] 0.9.3
 # [S] 3-1
-# [D] libpcap-0.8.3.tar.gz http://www.tcpdump.org/release/
+# [D] libpcap-0.9.3.tar.gz http://www.tcpdump.org/release/
diff --git a/packages/net/ntp/ntp b/packages/net/ntp/ntp
index 400921d..4505e92 100644
--- a/packages/net/ntp/ntp
+++ b/packages/net/ntp/ntp
@@ -4,4 +4,4 @@
 #
 # [V] 4.2.0
 # [S] 3-1
-# [D] ntp-4.2.0.tar.gz ftp://ftp.udel.edu/pub/ntp/ntp4/
+# [D] ntp-4.2.0.tar.gz http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
diff --git a/packages/net/pwlib/pwlib b/packages/net/pwlib/pwlib
index 1a04b81..6a4ecfe 100644
--- a/packages/net/pwlib/pwlib
+++ b/packages/net/pwlib/pwlib
@@ -4,7 +4,8 @@
 #
 # [V] 1.5.2
 # [S] 3-1
-# [D] pwlib_1.5.2.tar.gz http://www.openh323.org/bin/
+# [D] pwlib-v1_9_1-src-tar.gz http://www.voxgratia.org/releases/
+# [D] pwlib-v1_9_1-htmldoc-tar.gz http://www.voxgratia.org/releases/
 
 make_conf="optshared"
 
@@ -13,3 +14,9 @@ pre_install()	{
 	export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/lib"
 	ldconfig
 		}
+
+post_install()	{
+	mkdir -p $docdir
+	tar --use-compress-program=gunzip -xvf \
+		$archdir/pwlib-v1_9_1-htmldoc-tar.gz -C $docdir/
+		}
diff --git a/packages/net/tcpdump/no_pcap_debug.patch b/packages/net/tcpdump/no_pcap_debug.patch
deleted file mode 100644
index 016d9b1..0000000
--- a/packages/net/tcpdump/no_pcap_debug.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- ./tcpdump.c.orig	2004-07-15 03:29:29.000000000 +0200
-+++ ./tcpdump.c	2004-07-15 03:31:55.000000000 +0200
-@@ -600,13 +600,15 @@
- 		case 'Y':
- 			{
- 			/* Undocumented flag */
--#ifdef HAVE_PCAP_DEBUG
--			extern int pcap_debug;
--			pcap_debug = 1;
--#else
--			extern int yydebug;
--			yydebug = 1;
--#endif
-+/* for some reason configure thinks we have pcap_debug which is not the case */
-+//#ifdef HAVE_PCAP_DEBUG
-+//			extern int pcap_debug;
-+//			pcap_debug = 1;
-+//#else
-+//			extern int yydebug;
-+//			yydebug = 1;
-+//#endif
-+			printf("sorry, pcap_debug/yydebug not available\n");
- 			}
- 			break;
- #endif
diff --git a/packages/net/tcpdump/tcpdump b/packages/net/tcpdump/tcpdump
index e9f3b67..3a394b4 100644
--- a/packages/net/tcpdump/tcpdump
+++ b/packages/net/tcpdump/tcpdump
@@ -2,6 +2,6 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 3.8.3
+# [V] 3.9.3
 # [S] 3-1
-# [D] tcpdump-3.8.3.tar.gz http://www.tcpdump.org/release/
+# [D] tcpdump-3.9.3.tar.gz http://www.tcpdump.org/release/
diff --git a/packages/security/openssl/openssl b/packages/security/openssl/openssl
index bd8f4dd..31f850b 100644
--- a/packages/security/openssl/openssl
+++ b/packages/security/openssl/openssl
@@ -3,8 +3,8 @@
 # author: hackbard
 
 # [S] 3-1
-# [V] 0.9.7g
-# [D] openssl-0.9.7g.tar.gz http://www.openssl.org/source/
+# [V] 0.9.8
+# [D] openssl-0.9.8.tar.gz http://www.openssl.org/source/
 
 build_main()	{
 	case "$hdw_arch_opt" in
diff --git a/packages/security/sudo/sudo b/packages/security/sudo/sudo
index e508819..94cce3d 100644
--- a/packages/security/sudo/sudo
+++ b/packages/security/sudo/sudo
@@ -3,8 +3,8 @@
 # author: hackbard
 
 # [S] 3-1
-# [V] 1.6.7p5
-# [D] sudo-1.6.7p5.tar.gz http://www.courtesan.com/sudo/dist/
+# [V] 1.6.8p9
+# [D] sudo-1.6.8p9.tar.gz http://www.courtesan.com/sudo/dist/
 
 confopt="$confopt --with-insults --with-all-insults"
 confopt="$confopt --enable-log-host --with-tty-tickets"
-- 
2.39.5