First pass at patches to update various packages to recent autotools (first pass...
authorChris Larson <clarson@kergoth.com>
Fri, 17 Oct 2003 00:04:36 +0000 (00:04 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 17 Oct 2003 00:04:36 +0000 (00:04 +0000)
BKrev: 3f8f3214lGQ4WxIZ_n6VvkJ1pfUjcQ

62 files changed:
apache/apache-2.0.47/configure.patch [new file with mode: 0644]
apache/apache_2.0.47.oe
avr-libc/avr-libc-1.0/configure.patch [new file with mode: 0644]
avr-libc/avr-libc_1.0.oe
base-passwd/base-passwd-3.5.4/configure.patch [new file with mode: 0644]
base-passwd/base-passwd_3.5.4.oe
bash/bash-2.05b/configure.patch [new file with mode: 0644]
bash/bash_2.05b.oe
binutils/binutils-2.14.90.0.6/configure.patch [new file with mode: 0644]
binutils/binutils_2.14.90.0.6.oe
console-tools/console-tools-0.3.2/configure.patch [new file with mode: 0644]
console-tools/console-tools_0.3.2.oe
corkscrew/corkscrew-2.0/configure.patch [new file with mode: 0644]
corkscrew/corkscrew_2.0.oe
cscope/cscope-15.4/configure.patch [new file with mode: 0644]
cscope/cscope_15.4.oe
fbi/fbi-1.22/configure.patch [new file with mode: 0644]
fbi/fbi_1.22.oe
findutils/findutils-4.1.20/configure.patch [new file with mode: 0644]
findutils/findutils_4.1.20.oe
gawk/gawk-3.0.4/configure.patch [new file with mode: 0644]
gawk/gawk_3.0.4.oe
gpm/gpm-1.20.1/configure.patch [new file with mode: 0644]
gpm/gpm_1.20.1.oe
gzip/gzip-1.3.5/configure.patch [new file with mode: 0644]
gzip/gzip_1.3.5.oe
irda-utils/irda-utils-0.9.15/configure.patch [new file with mode: 0644]
irda-utils/irda-utils_0.9.15.oe
less/less-381/configure.patch [new file with mode: 0644]
less/less_381.oe
liblockfile/liblockfile-1.05/configure.patch [new file with mode: 0644]
liblockfile/liblockfile_1.05.oe
libogg/libogg-1.0.0/configure.patch [new file with mode: 0644]
libogg/libogg_1.0.0.oe
libpcap/libpcap-0.7.2/configure.patch [new file with mode: 0644]
libpcap/libpcap_0.7.2.oe
mailutils/mailutils-0.3.1/configure.patch [new file with mode: 0644]
mailutils/mailutils_0.3.1.oe
modutils/modutils-2.4.25-r0/configure.patch [new file with mode: 0644]
modutils/modutils_2.4.25.oe
mp3blaster/mp3blaster-3.1.3/configure.patch [new file with mode: 0644]
mp3blaster/mp3blaster_3.1.3.oe
mutt/mutt-1.5.4i/configure.patch [new file with mode: 0644]
mutt/mutt_1.5.4i.oe
ncftp/ncftp-3.1.6/configure.patch [new file with mode: 0644]
ncftp/ncftp_3.1.6.oe
ncurses/ncurses/configure.patch [new file with mode: 0644]
ncurses/ncurses_5.3.oe
ntp/ntp-4.1.2/configure.patch [new file with mode: 0644]
ntp/ntp_4.1.2.oe
openssh/openssh-3.7.1p1/configure.patch [new file with mode: 0644]
openssh/openssh-3.7.1p1/cross.patch [deleted file]
openssh/openssh-3.7.1p2/configure.patch [new file with mode: 0644]
openssh/openssh-3.7.1p2/cross.patch [deleted file]
openssh/openssh_3.7.1p1.oe
openssh/openssh_3.7.1p2.oe
psmisc/psmisc-20.2/configure.patch [new file with mode: 0644]
psmisc/psmisc_20.2.oe
ssmtp/ssmtp-2.60.4/configure.patch [new file with mode: 0644]
ssmtp/ssmtp_2.60.4.oe
tslib/tslib.oe
tslib/tslib/configure.patch [new file with mode: 0644]

diff --git a/apache/apache-2.0.47/configure.patch b/apache/apache-2.0.47/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index cee55d3..10658ee 100644 (file)
@@ -1,4 +1,5 @@
 SRC_URI = http://ftp.epix.net/apache/httpd/httpd-${PV}.tar.gz \
+         file://${FILESDIR}/configure.patch;patch=1 \
          file://${FILESDIR}/pcre-configure.patch;patch=1
 SECTION = net
 DEPENDS = virtual/libc expat openssl
diff --git a/avr-libc/avr-libc-1.0/configure.patch b/avr-libc/avr-libc-1.0/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..13476bb 100644 (file)
@@ -0,0 +1,27 @@
+PROVIDES = virtual/libc
+
+SRC_URI := http://savannah.nongnu.org/download/avr-libc/released/SOURCES/avr-libc-1.0.tar.gz \
+          file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+B := ${WORKDIR}/build.${BUILD_SYS}.${TARGET_SYS}
+
+inherit autotools
+
+export tooldir=${prefix}
+prefix=${CROSS_DIR}
+exec_prefix=${prefix}
+
+do_stage () {
+# install into CROSS_DIR
+       oe_runmake install
+# install into STAGING_DIR
+       oe_runmake 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \
+                  'bindir=${STAGING_BINDIR}' 'libdir=${STAGING_LIBDIR}' \
+                  'tooldir=${STAGING_DIR}' 'toolibdir=${STAGING_LIBDIR}' \
+                  install
+}
+
+do_install () {
+# install into D
+       oe_runmake 'DESTDIR=${D}' 'tooldir=/' install
+}
diff --git a/base-passwd/base-passwd-3.5.4/configure.patch b/base-passwd/base-passwd-3.5.4/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index f9fae05..67a8086 100644 (file)
@@ -1,7 +1,8 @@
 DEPENDS = virtual/libc
 RDEPENDS = libc6
 
-SRC_URI := ${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_3.5.4.tar.gz
+SRC_URI := ${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_3.5.4.tar.gz \
+          file://${FILESDIR}/configure.patch;patch=1
 S := ${WORKDIR}/${P}
 
 inherit autotools
diff --git a/bash/bash-2.05b/configure.patch b/bash/bash-2.05b/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..cb716d3 100644 (file)
@@ -0,0 +1,22 @@
+DEPENDS = virtual/libc ncurses
+RDEPENDS = libc6 libncurses5
+
+SRC_URI = ${GNU_MIRROR}/bash/bash-2.05b.tar.gz \
+         file://${FILESDIR}/make.patch;patch=1 \
+         file://${FILESDIR}/configure.patch;patch=1
+
+inherit autotools
+
+EXTRA_OECONF = --with-curses
+BUILD_CPPFLAGS_append = " -I${S} -I${S}/include"
+BUILD_CFLAGS_append = " -I${S} -I${S}/include"
+export CFLAGS_FOR_BUILD=${BUILD_CFLAGS}
+export CPPFLAGS_FOR_BUILD=${BUILD_CPPFLAGS}
+export LDFLAGS_FOR_BUILD=${BUILD_LDFLAGS}
+export CC_FOR_BUILD=${BUILD_CC}
+do_configure_prepend () {
+       if [ ! -e acinclude.m4 ]; then
+               mv aclocal.m4 acinclude.m4
+       fi
+       support/mkconffiles
+}
diff --git a/binutils/binutils-2.14.90.0.6/configure.patch b/binutils/binutils-2.14.90.0.6/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..6c41591 100644 (file)
@@ -0,0 +1,73 @@
+inherit autotools
+
+DESCRIPTION := A GNU collection of binary utilities
+LICENSE := GPL
+MAINTAINER := Gerald Britton <gbritton@doomcom.org>
+
+DEPENDS := virtual/${CROSS}binutils virtual/${CROSS}gcc \
+           virtual/libc virtual/libc-headers patcher
+
+PACKAGES = ${PN} ${PN}-doc
+FILES_${PN} = ${includedir} ${libdir} ${bindir}/*
+
+SRC_URI := http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
+           file://${FILESDIR}/binutils-001_ld_makefile.patch;patch=1 \
+           file://${FILESDIR}/binutils-006_better_file_error.patch;patch=1 \
+           file://${FILESDIR}/binutils-009_signed_char_fix.patch;patch=1 \
+           file://${FILESDIR}/binutils-012_check_ldrunpath_length.patch;patch=1 \
+           file://${FILESDIR}/binutils-906-hjl_libtool_dso.patch;patch=1 \
+           file://${FILESDIR}/configure.patch;patch=1
+
+S := ${WORKDIR}/binutils-${PV}
+B := ${S}/build.${HOST_SYS}.${TARGET_SYS}
+
+EXTRA_OECONF := --enable-targets=${TARGET_SYS} \
+                --with-sysroot=${prefix} \
+                --with-lib-path=${prefix}/lib:/lib \
+                --enable-multilib \
+                --program-prefix=${TARGET_SYS}-
+
+# This is necessary due to a bug in the binutils Makefiles
+EXTRA_OEMAKE = configure-build-libiberty all
+
+export AR = ${CROSS}ar
+export AS = ${CROSS}as
+export LD = ${CROSS}ld
+export NM = ${CROSS}nm
+export RANLIB = ${CROSS}ranlib
+export OBJCOPY = ${CROSS}objcopy
+export OBJDUMP = ${CROSS}objdump
+
+export AR_FOR_TARGET = ${TARGET_SYS}-ar
+export AS_FOR_TARGET = ${TARGET_SYS}-as
+export LD_FOR_TARGET = ${TARGET_SYS}-ld
+export NM_FOR_TARGET = ${TARGET_SYS}-nm
+export RANLIB_FOR_TARGET = ${TARGET_SYS}-ranlib
+
+export CC_FOR_HOST = ${CCACHE} ${CROSS}gcc
+export CXX_FOR_HOST = ${CCACHE} ${CROSS}gcc
+
+export CC_FOR_BUILD = ${BUILD_CC}
+
+export CC = ${CCACHE} ${CROSS}gcc
+
+binutilsbuild_do_patch () {
+       oenote IN binutils patch
+       perl -i -p -e 's,#.*define.*ELF_DYNAMIC_INTERPRETER.*".*",#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0",;' `grep -lr ELF_DYNAMIC_INTERPRETER *`
+}
+
+python do_patch () {
+       oe.build.exec_func('base_do_patch', d)
+       oe.build.exec_func('binutilsbuild_do_patch', d)
+}
+
+do_install_append () {
+       cd ${D}/${bindir}
+       # Symlinks for if this is intended to be the only compiler
+       (
+               for p in ${TARGET_SYS}-* ; do
+                       ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,`
+               done
+               true
+       )
+}
diff --git a/console-tools/console-tools-0.3.2/configure.patch b/console-tools/console-tools-0.3.2/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..8083581 100644 (file)
@@ -0,0 +1,16 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI := ${SOURCEFORGE_MIRROR}/lct/console-tools-0.3.2.tar.gz \
+          file://${FILESDIR}/codepage.patch;patch=1 \
+          file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+export SUBDIRS='fontfiletools vttools kbdtools screenfonttools contrib \
+               examples po intl compat'
+do_compile () {
+       oe_runmake -C lib
+       oe_runmake 'SUBDIRS=${SUBDIRS}'
+}
+
+inherit autotools libtool
diff --git a/corkscrew/corkscrew-2.0/configure.patch b/corkscrew/corkscrew-2.0/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..612c6fe 100644 (file)
@@ -0,0 +1,5 @@
+SRC_URI := http://www.agroman.net/${PN}/${P}.tar.gz \
+          file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
diff --git a/cscope/cscope-15.4/configure.patch b/cscope/cscope-15.4/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..3472c4f 100644 (file)
@@ -0,0 +1,12 @@
+DEPENDS = virtual/libc ncurses-5.3
+RDEPENDS = libc6 libncurses5
+
+SRC_URI := ${SOURCEFORGE_MIRROR}/cscope/cscope-15.4.tar.gz \
+          file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
+
+do_compile () {
+       oe_runmake 'LDFLAGS=${LDFLAGS}'
+}
diff --git a/fbi/fbi-1.22/configure.patch b/fbi/fbi-1.22/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..019e64d 100644 (file)
@@ -0,0 +1,10 @@
+DEPENDS = virtual/libc jpeg
+
+SRC_URI := http://bytesex.org/misc/fbi_1.22.tar.gz \
+          file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
+
+CFLAGS_append = " ${LDFLAGS}"
+EXTRA_OECONF = --disable-magick --without-x
diff --git a/findutils/findutils-4.1.20/configure.patch b/findutils/findutils-4.1.20/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..271a93c 100644 (file)
@@ -0,0 +1,8 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI := ftp://alpha.gnu.org/gnu/findutils/findutils-4.1.20.tar.gz \
+          file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
diff --git a/gawk/gawk-3.0.4/configure.patch b/gawk/gawk-3.0.4/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..3b4d90d 100644 (file)
@@ -0,0 +1,17 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ${GNU_MIRROR}/${PN}/${P}.tar.gz \
+         file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OEMAKE = "'bindir=${D}/${bindir}' 'mandir=${D}/${mandir}/man1' 'infodir=${D}/${datadir}/info' \
+               'libexecdir=${D}/${libexecdir}' 'datadir=${D}/${datadir}/awk'"
+
+do_install_append () {
+       rm -f ${D}/${bindir}/gawk-*
+}
+
+FILES_gawk_append = " ${datadir}/awk"
diff --git a/gpm/gpm-1.20.1/configure.patch b/gpm/gpm-1.20.1/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index 336d277..1e30cae 100644 (file)
@@ -1,4 +1,5 @@
-SRC_URI = ftp://arcana.linux.it/pub/gpm/gpm-1.20.1.tar.bz2
+SRC_URI = ftp://arcana.linux.it/pub/gpm/gpm-1.20.1.tar.bz2 \
+         file://${FILESDIR}/configure.patch;patch=1
 S = ${WORKDIR}/${P}
 
 inherit autotools
diff --git a/gzip/gzip-1.3.5/configure.patch b/gzip/gzip-1.3.5/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..deae765 100644 (file)
@@ -0,0 +1,11 @@
+SECTION="base"
+PRIORITY="required"
+MAINTAINER="Greg Gilbert <greg@treke.net>"
+RDEPENDS="libc6"
+DEPENDS=virtual/libc
+
+SRC_URI = ${DEBIAN_MIRROR}/main/g/${PN}/${PN}_${PV}.orig.tar.gz \
+         file://${FILESDIR}/configure.patch;patch=1
+
+S=${WORKDIR}/${PN}-${PV}
+inherit autotools
diff --git a/irda-utils/irda-utils-0.9.15/configure.patch b/irda-utils/irda-utils-0.9.15/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..e2e90c8 100644 (file)
@@ -0,0 +1,22 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+DESCRIPTION = Provides common files needed to use IrDA.\
+ IrDA allows communication over Infrared with other devices\
+ such as phones and laptops.
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/irda/${P}.tar.gz \
+         file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools libtool
+
+do_compile () {
+       oe_runmake -C irattach
+       oe_runmake -C irdaping
+}
+
+do_install () {
+       install -d ${D}/usr/sbin
+       oe_runmake -C irattach ROOT="${D}" install
+       oe_runmake -C irdaping ROOT="${D}" install
+}
diff --git a/less/less-381/configure.patch b/less/less-381/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index 44b1878..510a99f 100644 (file)
@@ -1,7 +1,8 @@
 DEPENDS = virtual/libc ncurses
 RDEPENDS = libc6 libncurses5
 
-SRC_URI := ${GNU_MIRROR}/less/less-381.tar.gz
+SRC_URI := ${GNU_MIRROR}/less/less-381.tar.gz \
+          file://${FILESDIR}/configure.patch;patch=1
 S := ${WORKDIR}/${P}
 
 inherit autotools
diff --git a/liblockfile/liblockfile-1.05/configure.patch b/liblockfile/liblockfile-1.05/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index 452a9c8..0f9fe56 100644 (file)
@@ -2,7 +2,8 @@ DEPENDS = virtual/libc
 RDEPENDS = libc6
 
 SRC_URI = ${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_${PV}.tar.gz \
-         file:/${FILESDIR}/install.patch;patch=1
+         file:/${FILESDIR}/install.patch;patch=1 \
+         file:/${FILESDIR}/configure.patch;patch=1
 
 inherit autotools
 
diff --git a/libogg/libogg-1.0.0/configure.patch b/libogg/libogg-1.0.0/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..d542599 100644 (file)
@@ -0,0 +1,27 @@
+SECTION="libs"
+PRIORITY="optional"
+MAINTAINER=""
+RDEPENDS="libc6"
+SECTION="libs"
+DEPENDS=virtual/libc
+
+SRC_URI = "ftp://ftp.debian.org/debian/pool/main/libo/libogg/${PN}_${PV}.orig.tar.gz"
+SRC_URI_append = " file://${FILESDIR}/libogg-configure.patch;patch=1"
+SRC_URI_append = " file://${FILESDIR}/configure.patch;patch=1"
+S=${WORKDIR}/${P}
+
+inherit autotools libtool
+
+do_stage () {
+       install -m 0644 src/.libs/libogg.a ${STAGING_LIBDIR}/
+       install -m 0644 src/.libs/libogg.lai ${STAGING_LIBDIR}/libogg.la
+       install -m 0644 src/.libs/libogg.so.0.4.0 ${STAGING_LIBDIR}/
+       ln -sf libogg.so.0.4.0 ${STAGING_LIBDIR}/libogg.so.0
+       ln -sf libogg.so.0.4.0 ${STAGING_LIBDIR}/libogg.so
+
+       install -d ${STAGING_LIBDIR}/ogg
+       (cd include/ogg; cp config_types.h ogg.h os_types.h ${STAGING_LIBDIR}/ogg/)
+
+       install -d ${STAGING_DIR}/share/aclocal
+       install -m 0644 ogg.m4 ${STAGING_DIR}/share/aclocal/ogg.m4
+}
diff --git a/libpcap/libpcap-0.7.2/configure.patch b/libpcap/libpcap-0.7.2/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..a7049a3 100644 (file)
@@ -0,0 +1,26 @@
+DESCRIPTION="Network Packet Capture Library"
+SECTION="libs"
+PRIORITY="required"
+MAINTAINER="Greg Gilbert <treke@handhelds.org>"
+RDEPENDS="libc6"
+
+SRC_URI=http://www.tcpdump.org/release/libpcap-${PV}.tar.gz;
+SRC_URI_append=" file://${FILESDIR}/libpcap-shared.patch;patch=1"
+SRC_URI_append=" file://${FILESDIR}/configure.patch;patch=1"
+DEPENDS=virtual/libc
+S=${WORKDIR}/libpcap-${PV}
+
+inherit autotools
+EXTRA_OECONF="  --with-pcap=linux"
+
+do_stage () {
+       install -d ${STAGING_DIR}/target/include/net
+       install -m 0644 net/bpf.h ${STAGING_DIR}/target/include/net/bpf.h
+       install -m 0644 pcap.h ${STAGING_DIR}/target/include/pcap.h
+       install -m 0644 pcap-namedb.h ${STAGING_DIR}/target/include/pcap-namedb.h
+       install -m 0755 libpcap.so.${PV} ${STAGING_LIBDIR}/
+       ln -sf libpcap.so.${PV} ${STAGING_LIBDIR}/libpcap.so.0.7
+       ln -sf libpcap.so.${PV} ${STAGING_LIBDIR}/libpcap.so.0
+       ln -sf libpcap.so.${PV} ${STAGING_LIBDIR}/libpcap.so
+       install -m 0644 libpcap.a ${STAGING_LIBDIR}/
+}
diff --git a/mailutils/mailutils-0.3.1/configure.patch b/mailutils/mailutils-0.3.1/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..1e0a8eb 100644 (file)
@@ -0,0 +1,10 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI := ${GNU_MIRROR}/mailutils/mailutils-0.3.1.tar.bz2 \
+          file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OECONF = --disable-pam --program-prefix=
diff --git a/modutils/modutils-2.4.25-r0/configure.patch b/modutils/modutils-2.4.25-r0/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..cfee450 100644 (file)
@@ -0,0 +1,9 @@
+SRC_URI = ftp://ftp.kernel.org/pub/linux/utils/kernel/${PN}/v2.4/${P}.tar.bz2 \
+         file://${FILESDIR}/modutils-notest.patch;patch=1 \
+         file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OECONF = --disable-strip
+export BUILDCC = ${BUILD_CC}
diff --git a/mp3blaster/mp3blaster-3.1.3/configure.patch b/mp3blaster/mp3blaster-3.1.3/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..e731850 100644 (file)
@@ -0,0 +1,13 @@
+DEPENDS = virtual/libc ncurses
+RDEPENDS = libc6 libncurses
+
+SRC_URI = http://www.stack.nl/~brama/mp3blaster/src/mp3blaster-3.1.3.tar.gz \
+         file://${FILESDIR}/includedir.patch;patch=1 \
+         file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OECONF = '--with-x=no'
+
+# TODO: after adding libvorbis to OE, add --with-oggvorbis
diff --git a/mutt/mutt-1.5.4i/configure.patch b/mutt/mutt-1.5.4i/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..779f06d 100644 (file)
@@ -0,0 +1,27 @@
+DEPENDS = virtual/libc ncurses openssl
+RDEPENDS = libc6 libncurses5 libssl0
+
+SRC_URI := ftp://ftp.mutt.org/mutt/devel/mutt-1.5.4i.tar.gz \
+          http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.rr.compressed.gz;patch=1 \
+          http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.vvv.nntp.gz;patch=1 \
+          http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.vvv.initials.gz;patch=1 \
+          http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.vvv.quote.gz;patch=1 \
+          file://${FILESDIR}/cppflags.patch;patch=1 \
+          file://${FILESDIR}/posix1_lim.patch;patch=1 \
+          file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${PN}-1.5.4
+
+inherit autotools
+
+EXTRA_OECONF = --disable-pgp --without-mixmaster --with-curses=${STAGING_DIR}/target \
+              --enable-pop --enable-imap --with-ssl --enable-compressed --enable-nntp
+
+do_configure_prepend () {
+       if [ -d ${STAGING_DIR}/share/aclocal ]; then
+               cp -a m4/*.m4 ${STAGING_DIR}/share/aclocal/
+       fi
+}
+
+do_compile_prepend () {
+       ${BUILD_CC} makedoc.c -o makedoc
+}
diff --git a/ncftp/ncftp-3.1.6/configure.patch b/ncftp/ncftp-3.1.6/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..0c42165 100644 (file)
@@ -0,0 +1,19 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI := ftp://ftp.ncftp.com/ncftp/ncftp-3.1.6-src.tar.bz2 \
+          file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
+
+do_configure_prepend () {
+       install -m 0644 autoconf/aclocal.m4 acinclude.m4
+}
+
+do_install () {
+       install -d ${D}/${bindir} ${D}/${prefix} ${D}/${sysconfdir} ${D}/${mandir}
+       oe_runmake 'prefix=${D}/${prefix}' 'BINDIR=${D}/${bindir}' \
+                  'SYSCONFDIR=${D}/${sysconfdir}' 'mandir=${D}/${mandir}' \
+                  install
+}
diff --git a/ncurses/ncurses/configure.patch b/ncurses/ncurses/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..ff857f0 100644 (file)
@@ -0,0 +1,47 @@
+BaseV := ${PV}
+SnapV := 20030906
+PV = ${BaseV}.${SnapV}
+
+DESCRIPTION="Ncurses library"
+SECTION="libs"
+DEPENDS=virtual/libc
+PROVIDES=${PV}-${BaseV} ${PV}-${BaseV}-${PR} \
+        ${CATEGORY}/${PN}-${BaseV} ${CATEGORY}/${PN}-${BaseV}-${PR} 
+SRC_URI = ${GNU_MIRROR}/ncurses/${PN}-${BaseV}.tar.gz \
+         file://${FILESDIR}/${SnapV}.patch;patch=1 \
+         file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${PN}-${BaseV}
+
+inherit autotools
+
+EXTRA_OECONF=--with-shared \
+            --without-profile \
+            --without-debug \
+            --disable-rpath \
+            --enable-echo \
+            --enable-const \
+            --without-ada \
+            --enable-termcap \
+            --without-cxx-binding \
+            --with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo \
+            --enable-overwrite
+export BUILD_CC := ${BUILD_CC}
+export BUILD_CCFLAGS=-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}
+export BUILD_LDFLAGS=
+
+do_compile () {
+       oe_runmake BUILD_LDFLAGS="" 'BUILD_CCFLAGS=${BUILD_CCFLAGS}'
+}
+
+do_stage () {
+       install -m 0755 lib/lib*.so.* ${STAGING_LIBDIR}/
+       for h in ncurses_*.h curses.h eti.h form.h menu.h panel.h \
+               termcap.h term.h unctrl.h; do
+                      install -m 0644 include/$h ${STAGING_DIR}/target/include/
+       done
+       ln -sf curses.h ${STAGING_DIR}/target/include/ncurses.h
+       ln -sf libpanel.so.5.3 ${STAGING_LIBDIR}/libpanel.so
+       ln -sf libform.so.5.3 ${STAGING_LIBDIR}/libform.so
+       ln -sf libmenu.so.5.3 ${STAGING_LIBDIR}/libmenu.so
+       ln -sf libncurses.so.5.3 ${STAGING_LIBDIR}/libncurses.so
+}
diff --git a/ntp/ntp-4.1.2/configure.patch b/ntp/ntp-4.1.2/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..aafe8d3 100644 (file)
@@ -0,0 +1,11 @@
+DEPENDS = virtual/libc openssl
+
+SRC_URI = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${P}.tar.gz \
+         file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OECONF = --with-openssl-libdir=${STAGING_LIBDIR} \
+              --with-openssl-incdir=${STAGING_DIR}/target/include/openssl
+CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
diff --git a/openssh/openssh-3.7.1p1/configure.patch b/openssh/openssh-3.7.1p1/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/openssh/openssh-3.7.1p1/cross.patch b/openssh/openssh-3.7.1p1/cross.patch
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/openssh/openssh-3.7.1p2/configure.patch b/openssh/openssh-3.7.1p2/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/openssh/openssh-3.7.1p2/cross.patch b/openssh/openssh-3.7.1p2/cross.patch
deleted file mode 100644 (file)
index e69de29..0000000
index e69de29..5f2f45f 100644 (file)
@@ -0,0 +1,30 @@
+DEPENDS = virtual/libc zlib openssl
+SECTION = net
+DESCRIPTION = Secure rlogin/rsh/rcp/telnet replacement (OpenSSH)\
+ Ssh (Secure Shell) is a program for logging into a remote machine\
+ and for executing commands on a remote machine.\
+ It provides secure encrypted communications between two untrusted\
+ hosts over an insecure network.  X11 connections and arbitrary TCP/IP\
+ ports can also be forwarded over the secure channel.\
+ It is intended as a replacement for rlogin, rsh and rcp, and can be\
+ used to provide applications with a secure communication channel.
+
+SRC_URI = ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \
+         file://${FILESDIR}/configure.patch;patch=1 \
+         file://${FILESDIR}/scp-nossl.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+export sysconfdir = /etc/ssh
+export ASKPASS_PROGRAM = /usr/bin/ssh-askpass
+export LD = ${CC}
+CFLAGS_prepend = "-I${S} "
+CFLAGS_append = " -D__FILE_OFFSET_BITS=64"
+LDFLAGS_prepend = "-L${S} -L${S}/openbsd-compat "
+EXTRA_OECONF = --disable-suid-ssh --with-ssl=${STAGING_LIBDIR}/ssl \
+              --with-rand-helper=no --without-pam
+
+do_compile_append () {
+       install -m 0644 ${FILESDIR}/sshd_config ${S}/
+}
index e69de29..5f2f45f 100644 (file)
@@ -0,0 +1,30 @@
+DEPENDS = virtual/libc zlib openssl
+SECTION = net
+DESCRIPTION = Secure rlogin/rsh/rcp/telnet replacement (OpenSSH)\
+ Ssh (Secure Shell) is a program for logging into a remote machine\
+ and for executing commands on a remote machine.\
+ It provides secure encrypted communications between two untrusted\
+ hosts over an insecure network.  X11 connections and arbitrary TCP/IP\
+ ports can also be forwarded over the secure channel.\
+ It is intended as a replacement for rlogin, rsh and rcp, and can be\
+ used to provide applications with a secure communication channel.
+
+SRC_URI = ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \
+         file://${FILESDIR}/configure.patch;patch=1 \
+         file://${FILESDIR}/scp-nossl.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+export sysconfdir = /etc/ssh
+export ASKPASS_PROGRAM = /usr/bin/ssh-askpass
+export LD = ${CC}
+CFLAGS_prepend = "-I${S} "
+CFLAGS_append = " -D__FILE_OFFSET_BITS=64"
+LDFLAGS_prepend = "-L${S} -L${S}/openbsd-compat "
+EXTRA_OECONF = --disable-suid-ssh --with-ssl=${STAGING_LIBDIR}/ssl \
+              --with-rand-helper=no --without-pam
+
+do_compile_append () {
+       install -m 0644 ${FILESDIR}/sshd_config ${S}/
+}
diff --git a/psmisc/psmisc-20.2/configure.patch b/psmisc/psmisc-20.2/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..e924b22 100644 (file)
@@ -0,0 +1,12 @@
+DESCRIPTION="procfs tools"
+SECTION="base"
+PRIORITY="required"
+MAINTAINER="Greg Gilbert <greg@treke.net>"
+RDEPENDS="libc6 libncurses5"
+DEPENDS=virtual/libc libncurses
+
+SRC_URI="${SOURCEFORGE_MIRROR}/psmisc/psmisc-20.2.tar.gz \
+        file://${FILESDIR}/configure.patch;patch=1"
+S="${WORKDIR}/${P}"
+
+inherit autotools
diff --git a/ssmtp/ssmtp-2.60.4/configure.patch b/ssmtp/ssmtp-2.60.4/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..c173629 100644 (file)
@@ -0,0 +1,22 @@
+DEPENDS = virtual/libc openssl
+RDEPENDS = libc6 libssl
+
+SRC_URI := ${DEBIAN_MIRROR}/main/s/ssmtp/ssmtp_2.60.4.tar.gz \
+          file://${FILESDIR}/ldflags.patch;patch=1 \
+          file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${PN}-2.60
+
+inherit autotools
+
+EXTRA_OECONF = --enable-ssl
+do_compile () {
+       oe_runmake 'LDFLAGS=${LDFLAGS}'
+}
+
+do_install () {
+       oe_runmake 'prefix=${D}/${prefix}' 'exec_prefix=${D}/${exec_prefix}' \
+                  'bindir=${D}/${bindir}' 'mandir=${D}/${mandir}' \
+                  'etcdir=${D}/${sysconfdir}' GEN_CONFIG="`which echo`" install
+       install -d ${D}/${sysconfdir}/ssmtp
+       install -m 0644 ${FILESDIR}/ssmtp.conf ${D}/${sysconfdir}/ssmtp/ssmtp.conf
+}
index 72dfe7d..069dae4 100644 (file)
@@ -6,6 +6,7 @@ SRC_URI_append = " file://${FILESDIR}/pointercal.patch;patch=1"
 SRC_URI_append = " file://${FILESDIR}/automake.patch;patch=1"
 SRC_URI_append = " file://${FILESDIR}/multievent.patch;patch=1"
 SRC_URI_append = " file://${FILESDIR}/envvar_doc.patch;patch=1"
+SRC_URI_append = " file://${FILESDIR}/configure.patch;patch=1"
 #SRC_URI_append = " file://${FILESDIR}/raw.patch;patch=1"
 #SRC_URI_append = " file://${FILESDIR}/collie-module.patch;patch=1"
 S = ${WORKDIR}/${PN}
diff --git a/tslib/tslib/configure.patch b/tslib/tslib/configure.patch
new file mode 100644 (file)
index 0000000..e69de29