]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
updated/fixed stage3 packages with priority <= 2 (beside ipsec-tools & rarpd)
authorhackbard <hackbard>
Thu, 4 Aug 2005 01:06:58 +0000 (01:06 +0000)
committerhackbard <hackbard>
Thu, 4 Aug 2005 01:06:58 +0000 (01:06 +0000)
25 files changed:
doc/CHANGELOG
packages/hackbard/cvsd/cvsd
packages/hackbard/hostap/hostap
packages/hackbard/lirc/lirc
packages/hackbard/openldap/openldap
packages/hackbard/pine/pine
packages/hackbard/sendmail/sendmail
packages/hackbard/sp12/sp12
packages/net/bind/bind
packages/net/ipsec-tools/ipsec-tools
packages/net/iptables/iptables
packages/net/libevent/libevent
packages/net/nfs-utils/nfs-utils
packages/net/ngrep/bpf.patch [deleted file]
packages/net/ngrep/ngrep
packages/net/openh323/openh323
packages/net/portmap/makefile.patch
packages/net/portmap/portmap
packages/net/portmap/portmap_c.patch
packages/net/pwlib/pwlib
packages/net/wireless_tools/wireless_tools
packages/soundtools/libsamplerate/libsamplerate
packages/soundtools/libsndfile/libsndfile
packages/x11/expat/expat
packages/x11/freetype/freetype

index c00f205b61edd12e7aa7163373cd1e1681254cde..d8b566bea39b025973ba77fcb15b8e1f3c02933a 100644 (file)
@@ -1,3 +1,7 @@
+*) 2005-08-4
+
+- updated/fixed stage3 packages with priority <= 2 (beside ipsec-tools & rarpd)
+
 *) 2005-08-2
 
 - more stage3 fixes/updates
index 3920afb95766e489a909fa14736a3032838e3015..bd70c0267eddfe2a89aa0eb7fc31a54f61b8ee19 100644 (file)
@@ -2,14 +2,14 @@
 #
 # 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
                }
index 8045e9a3a0e3978350827b76e6efa77acc72175c..6c237e27441a22708d88aa586f4f202e1bea235e 100644 (file)
@@ -3,7 +3,7 @@
 # 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/
index b4a0b2b50d4bc3f9b6f5f068744d7b4977daf54b..1f362c36458028331690b35a13c1aeca7b0fca9e 100644 (file)
@@ -2,9 +2,9 @@
 #
 # 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"
index 90f2f993747b23ad98f3147fbe073fa25c6a910f..5bd0c224c6c3ab8ba61c18e1d944fd7e9300aa1c 100644 (file)
@@ -2,9 +2,9 @@
 #
 # 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"
index 58ec453fce1602eebf872a9d672469cae49376d2..a0bccfff110b64e6870c3320174bb5d903c9bf23 100644 (file)
@@ -2,9 +2,9 @@
 #
 # 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 &&
index a5b9cc9fd4983851ddd72e7485679acc3507d5d5..5835292c81dc86b29e16c79cae8387a5f2e4a052 100644 (file)
@@ -2,9 +2,9 @@
 #
 # 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
index 058c521f68ad9bbe0fd474f10717d85a4572dc2c..7e336cfd6aefc17877dba8202616a50ab126ccdf 100644 (file)
@@ -2,9 +2,9 @@
 #
 # 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}
 
index 1cae286cdc659f9883a23755eed5120c2e69b8d8..2c9992b7ea23d927d79abf73985ea4b4e25572f1 100644 (file)
@@ -2,8 +2,8 @@
 #
 # 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"
index 37d6ccd26c432bd540c0992944477384658ddf6c..4aec79aff826ea2bfbd7c03b7b0d38c9c689421d 100644 (file)
@@ -3,12 +3,10 @@
 # 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
index a4fe061d242436d530b178e495a9c7a1d32f4262..efcf2d2ab6a06d370eef98ba763596701c57912f 100644 (file)
@@ -2,9 +2,9 @@
 #
 # 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"
index fbaf66600bc3c647598ffb3575b681d0fc566929..39421615286dd12830754c14ff68acecc291ae07 100644 (file)
@@ -3,5 +3,5 @@
 # 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/
index 28d8e4e214cd254e09e4fe4c2aeb904be4e3ee17..63625a132dd2bddb13fab3e122b932c06e1b799c 100644 (file)
@@ -2,7 +2,7 @@
 
 # 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/
 
diff --git a/packages/net/ngrep/bpf.patch b/packages/net/ngrep/bpf.patch
deleted file mode 100644 (file)
index 80ff73d..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
---- ./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>
index 2af11dd1e197cf3d5f75916843dab877c7172602..acc8bbc6e1abb4a879e4d9be25f139b2e39eabb6 100644 (file)
@@ -2,6 +2,6 @@
 #
 # 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/
index f3ece31e5a6098b602560a499cd20c6841b85133..486056043e49005583386388c1f4b2b4228d863a 100644 (file)
@@ -2,32 +2,22 @@
 #
 # 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/
+               }
+
index eceafa9cc53bb14d096b17d835875f4c8d100048..69511a139cbdd22390c707ec0bc72152e06daa6b 100644 (file)
@@ -1,5 +1,5 @@
---- ./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.
@@ -7,9 +7,19 @@
 -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)
index 53ea7259d2d025d8edf161effafdd96d7b32a188..748c420718a2350eeb00d741cea8a47f5b6e79a6 100644 (file)
@@ -3,21 +3,5 @@
 # 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/
index c1434144237cc8ce22d0cc05ab19f005a5fe5f05..4958f0015476588eb9f5b3fe6e40d46877af4f5c 100644 (file)
@@ -1,18 +1,12 @@
---- ./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"
  
index 6a4ecfe038a608163df6cc0918505b1ca4b100ec..73c9994bc76827b7393f536b797db3f4ac94cc0c 100644 (file)
@@ -2,7 +2,7 @@
 #
 # 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/
index 5ce3920cffac362a75fe2ed2d0a5c8ec521929ac..0f1a22e1308c54f583099eee01847a70fdb9c46d 100644 (file)
@@ -2,20 +2,10 @@
 #
 # 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"
 
index 586dd10ed2e7a0e3c7181852d528dd9aeb0df716..f40c6431fb41d26d5357b8b0571d3eb5b4b1d9ef 100644 (file)
@@ -2,6 +2,6 @@
 #
 # 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/
index 55e071d82e2037ea81f90505ce051e9db5cacaa3..f3e2ffdbefdeb6948d656344fbfd98c1ea342f15 100644 (file)
@@ -2,6 +2,6 @@
 #
 # 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/
index 87f719e95c680c54f449746ddbf088e68798453e..19b20b6d6476df1583b31bb960abd61c08f1eba7 100644 (file)
@@ -2,6 +2,6 @@
 #
 # 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/
index 08d2c3e2dbea0e6b82190346fa1d493786563683..b4cf1d7e7a6e2bcb11e3c9c36700316300b33303 100644 (file)
@@ -2,12 +2,12 @@
 #
 # 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
                }