+*) 2005-08-4
+
+- updated/fixed stage3 packages with priority <= 2 (beside ipsec-tools & rarpd)
+
*) 2005-08-2
- more stage3 fixes/updates
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.0.2
+# [V] 1.0.8
# [S] 3-2
-# [D] cvsd-1.0.2.tar.gz http://tiefighter.et.tudelft.nl/~arthur/cvsd/
+# [D] cvsd-1.0.8.tar.gz http://ch.tudelft.nl/~arthur/cvsd/
post_install() {
echo "installing docs ..."
mkdir -p $docdir
cp README $docdir
# we create our own cvsd init script
- rm $root/etc/init.d/cvsd
+ mv $root/etc/init.d/cvsd $docdir/cvsd.init.sample
}
# author: hackbard@hackdaworld.dyndns.org
#
# [V] 0.4.1
-# [S] 3-2
+# [S] 3-8
# [D] hostap-driver-0.4.1.tar.gz http://hostap.epitest.fi/releases/
## [D] hostap-utils-0.1.3.tar.gz http://hostap.epitest.fi/releases/
## [D] hostapd-0.1.3.tar.gz http://hostap.epitest.fi/releases/
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.7.0
+# [V] 0.7.1
# [S] 3-2
-# [D] lirc-0.7.0.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/lirc/
+# [D] lirc-0.7.1.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/lirc/
# specify driver, port, irq
driver="serial"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.2.14
-# [S] 3-3
-# [D] openldap-2.2.14.tgz ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
+# [V] 2.2.27
+# [S] 3-2
+# [D] openldap-2.2.27.tgz ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
confop="$confopt --enable-wrappers --enable-shared"
make_conf="$make_conf depend all"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 4.61
+# [V] 4.63
# [S] 3-2
-# [D] pine4.61.tar.bz2 ftp://ftp.cac.washington.edu/pine/
+# [D] pine4.63.tar.bz2 ftp://ftp.cac.washington.edu/pine/
build_main() {
yes "y" | ./build SSLDIR=/etc/ssl slx &&
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 8.13.0
+# [V] 8.13.4
# [S] 3-2
-# [D] sendmail.8.13.0.tar.gz ftp://ftp.sendmail.org/pub/sendmail/
+# [D] sendmail.8.13.4.tar.gz ftp://ftp.sendmail.org/pub/sendmail/
pre_install() {
# some sendmail config files
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] v2_0.7
+# [V] v2_1.0
# [S] 3-2
-# [D] sp12v2_0_7-Linux.tgz http://www.xs4all.nl/~sbolt/Packages/
+# [D] sp12v2_1_0-Linux.tgz http://www.xs4all.nl/~sbolt/Packages/
srcdir=SP12${ver}
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 9.3.0
+# [V] 9.3.1
# [S] 3-2
-# [D] bind-9.3.0rc2.tar.gz ftp://ftp.isc.org/isc/bind9/9.3.0rc2/
+# [D] bind-9.3.1.tar.gz ftp://ftp.isc.org/isc/bind9/9.3.1/
-confopt="$confopt --with-openssl --with-libtool"
+confopt="$confopt --with-openssl --enable-threads --with-libtool"
# author: hackbard
# [S] 3-2
-# [V] 0.3.3
-# [D] ipsec-tools-0.3.3.tar.gz http://switch.dl.sourceforge.net/sourceforge/ipsec-tools/
+# [V] 0.6
+# [D] ipsec-tools-0.6.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/ipsec-tools/
-CFLAGS="$CFLAGS -DEINTR=4 -DEINVAL=22 -DENOENT=2 -DENOBUFS=105"
-CFLAGS="$CFLAGS -DEPROTONOSUPPORT=93 -DEAFNOSUPPORT=97"
-export CFLAGS
+confopt="$confopt --with-kernel-headers=$prefix/include"
post_install() {
cat >> $root/etc/setkey.conf << EOF
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.2.11
+# [V] 1.3.3
# [S] 3-2
-# [D] iptables-1.2.11.tar.bz2 http://www.iptables.org/files/
+# [D] iptables-1.3.3.tar.bz2 http://www.iptables.org/files/
make_conf="LIBDIR=$root/lib BINDIR=$root/sbin PREFIX=$prefix"
install_conf="$make_conf"
# author: hackbard
# [S] 3-2
-# [V] 1.0e
-# [D] libevent-1.0e.tar.gz http://www.monkey.org/~provos/
+# [V] 1.1a
+# [D] libevent-1.1a.tar.gz http://www.monkey.org/~provos/
# author: hackbard
-# [S] 3-2
+# [S] 3-3
# [V] 1.0.7
# [D] nfs-utils-1.0.7.tar.gz http://mesh.dl.sourceforge.net/sourceforge/nfs/
+++ /dev/null
---- ./configure.orig 2004-07-15 23:56:41.000000000 +0200
-+++ ./configure 2004-07-16 00:04:15.000000000 +0200
-@@ -2837,7 +2837,7 @@
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-
--#include <net/bpf.h>
-+#include <pcap-bpf.h>
- #ifdef DLT_LINUX_SLL
- yes
- #endif
-@@ -2863,7 +2863,7 @@
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-
--#include <net/bpf.h>
-+#include <pcap-bpf.h>
- #ifdef DLT_LOOP
- yes
- #endif
-@@ -2890,7 +2890,7 @@
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-
--#include <net/bpf.h>
-+#include <pcap-bpf.h>
- #ifdef DLT_IEEE802_11
- yes
- #endif
-@@ -2917,7 +2917,7 @@
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-
--#include <net/bpf.h>
-+#include <pcap-bpf.h>
- #ifdef DLT_RAW
- yes
- #endif
-@@ -3273,7 +3273,7 @@
- pcap_dir=""
- for dir in $PCAP_DIR ; do
- if test -d $dir -a -r "$dir/pcap.h" -a \
-- -r "$dir/net/bpf.h" ; then
-+ -r "$dir/pcap-bpf.h" ; then
- if test -n "$pcap_dir" -a "$pcap_dir" != "$dir"; then
- echo
- echo; echo more than one set found in:
---- ./ngrep.c.orig 2004-07-16 00:07:46.000000000 +0200
-+++ ./ngrep.c 2004-07-16 00:08:06.000000000 +0200
-@@ -55,7 +55,7 @@
- #include <netinet/ip_icmp.h>
-
- #include <pcap.h>
--#include <net/bpf.h>
-+#include <pcap-bpf.h>
-
- #include <stdlib.h>
- #include <string.h>
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.42
+# [V] 1.44-1
# [S] 3-2
-# [D] ngrep-1.42.tar.bz2 http://belnet.dl.sourceforge.net/sourceforge/ngrep/
+# [D] ngrep-1.44-1.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/ngrep/
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.12.2
+# [V] v1_17_2
# [S] 3-2
-# [D] openh323_1.12.2.tar.gz http://www.openh323.org/bin/
-
-xtra_ver="1.5.2"
+# [D] openh323-v1_17_2-src-tar.gz http://www.voxgratia.org/releases/
+# [D] openh323-v1_17_2-htmldoc-tar.gz http://www.voxgratia.org/releases/
+flist_pruned="$flist_pruned|etc/ld.so.cache"
make_conf="optshared"
pre_install() {
- # do we build?
- if [ ! -f $archdir/../pwlib/pwlib_${xtra_ver}.tar.gz ]; \
- then
- echo "you will need pwlib source for openh323"
- exit 1
- fi
- # extract pwlib and set PWLIBDIR
- echo "extracting pwlib source ..."
- tar --use-compress-program=gunzip -xvf \
- $archdir/../pwlib/pwlib_${xtra_ver}.tar.gz -C ../
- cd ../pwlib*
- # configure pwlib
- ./configure $confopt
- PWLIBDIR=`pwd`
- export PWLIBDIR
- cd -
export OPENH323DIR=`pwd`
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/lib"
ldconfig
}
+post_install() {
+ mkdir -p $docdir
+ tar --use-compress-program=gunzip -xvf \
+ $archdir/openh323-${ver}-htmldoc-tar.gz -C $docdir/
+ }
+
---- ./Makefile.orig 2003-10-27 01:49:12.000000000 +0100
-+++ ./Makefile 2003-10-27 01:55:58.000000000 +0100
+--- ./Makefile.orig 2005-08-03 22:38:49.000000000 +0200
++++ ./Makefile 2005-08-03 22:43:49.000000000 +0200
@@ -8,7 +8,7 @@
# if you disagree. See `man 3 syslog' for examples. Some syslog versions
# do not provide this flexibility.
-FACILITY=LOG_MAIL
+FACILITY=LOG_AUTH
- # To disable host access control, comment out the following macro definition.
- # Note: host access control requires the strtok() and strchr() routines.
-@@ -36,7 +36,7 @@
+ # To disable tcp-wrapper style access control, comment out the following
+ # macro definitions. Access control can also be turned off by providing
+@@ -16,7 +16,8 @@
+ # daemon, is always treated as an authorized host.
+
+ HOSTS_ACCESS= -DHOSTS_ACCESS
+-WRAP_LIB = $(WRAP_DIR)/libwrap.a
++#WRAP_LIB = $(WRAP_DIR)/libwrap.a
++WRAP_LIB = -lwrap
+
+ # Comment out if your RPC library does not allocate privileged ports for
+ # requests from processes with root privilege, or the new portmap will
+@@ -71,7 +72,7 @@
# With verbose logging on, HP-UX 9.x and AIX 4.1 leave zombies behind when
# SIGCHLD is not ignored. Enable next macro for a fix.
#
# Uncomment the following macro if your system does not have u_long.
#
-@@ -46,11 +46,11 @@
+@@ -81,7 +82,7 @@
# libwrap.a object library. WRAP_DIR should specify the directory with
# that library.
-WRAP_DIR= ../tcp_wrappers
-+WRAP_DIR= /usr/lib
++WRAP_DIR= $(TCPD_DIR)
# Auxiliary object files that may be missing from your C library.
#
--AUX = daemon.o strerror.o
-+AUX = daemon.o
+@@ -99,22 +100,30 @@
- # NEXTSTEP is a little different. The following seems to work with NS 3.2
+ # Comment out if your compiler talks ANSI and understands const
#
+-CONST = -Dconst=
++#CONST = -Dconst=
+
+ ### End of configurable stuff.
+ ##############################
+
++GLIBC=$(shell grep -s -c __GLIBC__ /usr/include/features.h)
++
++ifeq ($(GLIBC),0)
++LIBS += # -lbsd
++else
++LIBS += -lnsl
++endif
++
+ SHELL = /bin/sh
+
+-COPT = $(CONST) -Dperror=xperror $(HOSTS_ACCESS) $(CHECK_PORT) \
++COPT = $(CONST) $(HOSTS_ACCESS) $(CHECK_PORT) \
+ $(SYS) -DFACILITY=$(FACILITY) $(ULONG) $(ZOMBIES) $(SA_LEN) \
+ $(LOOPBACK) $(SETPGRP)
+-CFLAGS = $(COPT) -O $(NSARCHS)
++CFLAGS = -Wall $(COPT) -O2 $(NSARCHS)
+ OBJECTS = portmap.o pmap_check.o from_local.o $(AUX)
+
+ all: portmap pmap_dump pmap_set
+
+-portmap: $(OBJECTS) $(WRAP_DIR)/libwrap.a
++portmap: $(OBJECTS) # $(WRAP_DIR)/libwrap.a
+ $(CC) $(CFLAGS) -o $@ $(OBJECTS) $(WRAP_LIB) $(LIBS)
+
+ pmap_dump: pmap_dump.c
+@@ -129,6 +139,13 @@
+ get_myaddress: get_myaddress.c
+ cc $(CFLAGS) -DTEST -o $@ get_myaddress.c $(LIBS)
+
++install: all
++ install -o root -g root -m 0755 -s portmap ${BASEDIR}/sbin
++ install -o root -g root -m 0755 -s pmap_dump ${BASEDIR}/usr/sbin
++ install -o root -g root -m 0755 -s pmap_set ${BASEDIR}/usr/sbin
++ mkdir -p ${BASEDIR}/usr/share/doc/portmap
++ cp README ${BASEDIR}/usr/share/doc/portmap/portmapper.txt
++
+ lint:
+ lint $(COPT) $(OBJECTS:%.o=%.c)
+
# author: hackbard
# [S] 3-2
-# [V] 4
-# [D] portmap_4.tar.gz ftp://ftp.porcupine.org/pub/security/
-
-
-make_conf="$make_conf FACILITY=LOG_AUTH"
-make_conf="$make_conf ZOMBIES=-DIGNORE_SIGCHLD WRAP_DIR=/usr/lib"
-
-build_main() {
- echo "patching portmap.c ..."
- sed 's/const\ char\ \*what/__const\ char\ \*what/' portmap.c > \
- portmap.c~ &&
- mv portmap.c~ portmap.c
- echo "running: make $make_conf"
- make $make_conf &&
- install -m 755 -s pmap_dump $prefix/sbin
- install -m 755 -s pmap_set $prefix/sbin
- install -m 755 -s portmap $prefix/sbin
- }
+# [V] 5beta
+# [D] portmap_5beta.tar.gz ftp://ftp.porcupine.org/pub/security/
---- ./portmap.c.orig 2003-10-27 01:57:13.000000000 +0100
-+++ ./portmap.c 2003-10-27 01:58:21.000000000 +0100
-@@ -85,6 +85,7 @@
- #include <stdio.h>
- #include <syslog.h>
- #include <netdb.h>
-+#include <errno.h>
- #include <sys/socket.h>
- #include <sys/ioctl.h>
- #include <sys/wait.h>
-@@ -124,7 +125,6 @@
+--- ./portmap.c 2003-03-10 12:32:26.000000000 -0600
++++ ./portmap.c.new 2003-03-10 12:38:01.000000000 -0600
+@@ -129,7 +129,8 @@
static void callit();
struct pmaplist *pmaplist;
int debugging = 0;
-extern int errno;
++#include <errno.h>
++/* extern int errno; */
#include "pmap_check.h"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.5.2
+# [V] v1_9_1
# [S] 3-1
# [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/
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 26
+# [V] 27
# [S] 3-2
-# [D] wireless_tools.26.tar.gz http://pcmcia-cs.sourceforge.net/ftp/contrib/
+# [D] wireless_tools.27.tar.gz http://pcmcia-cs.sourceforge.net/ftp/contrib/
-build_main() {
- mkdir -p $prefix/bin ; mkdir -p $prefix/man/man8
- mkdir -p $prefix/{lib,include} ; rm -rf $docdir ; mkdir -p $docdir
- # build
- make
- # install
- cp iwconfig iwevent iwgetid iwlist iwspy iwpriv $prefix/bin
- cp *.8 $prefix/man/man8
- cp libiw.so.$ver $prefix/lib
- cp wireless*.h $prefix/include
- cp README PCMCIA.txt INSTALL $docdir
- }
+make_conf="PREFIX=$prefix $make_conf"
+install_conf="PREFIX=$prefix $install_conf"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.1.0
+# [V] 0.1.2
# [S] 3-2
-# [D] libsamplerate-0.1.0.tar.gz http://www.mega-nerd.com/SRC/
+# [D] libsamplerate-0.1.2.tar.gz http://www.mega-nerd.com/SRC/
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.0.10
+# [V] 1.0.11
# [S] 3-1
-# [D] libsndfile-1.0.10.tar.gz http://www.mega-nerd.com/libsndfile/
+# [D] libsndfile-1.0.11.tar.gz http://www.mega-nerd.com/libsndfile/
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.95.7
+# [V] 1.95.8
# [S] 3-2
-# [D] expat-1.95.7.tar.gz http://cesnet.dl.sourceforge.net/sourceforge/expat/
+# [D] expat-1.95.8.tar.gz http://mesh.dl.sourceforge.net/sourceforge/expat/
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.1.9
+# [V] 2.1.10
# [S] 3-2
-# [D] freetype-2.1.9.tar.bz2 ftp://ftp.freetype.org/freetype/freetype2/
+# [D] freetype-2.1.10.tar.bz2 http://savannah.nongnu.org/download/freetype/
-post_install() {
- # documentation
- mkdir -p $docdir
- cp -rv docs/* $docdir
+pre_install() {
+ sed -r 's:.*(#.*BYTE.*) .*:\1:' include/freetype/config/ftoption.h > \
+ tmp~
+ mv tmp~ include/freetype/config/ftoption.h
}