summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2006-07-04 09:47:33 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-04 09:47:33 +0000
commit4529f12ab4c495e6d4790814f31a46b33ceca1e7 (patch)
treeb028ea541efeea1aa1481326aae00c611d1fa2d8 /packages
parentf95b30588c16453d5f98e17b9b800b4d1e399b66 (diff)
parentd1f207a2c3388bbbd8a6ff976603e679478533b2 (diff)
merge of 048984452e3625e7ebd5e99419f289d1ea6a9d40
and b160064c666a513a6ec76f7fd0ddbd5ee1d7a985
Diffstat (limited to 'packages')
-rw-r--r--packages/angstrom/angstrom-bootmanager-image.bb15
-rw-r--r--packages/angstrom/angstrom-bootstrap-image.bb14
-rw-r--r--packages/angstrom/angstrom-gpe-image.bb22
-rw-r--r--packages/angstrom/task-angstrom.bb20
-rw-r--r--packages/e17/e-wm_0.16.999.027.bb22
-rw-r--r--packages/fluxbox/fluxbox/.mtn2git_empty (renamed from packages/opie-datebook/files/.mtn2git_empty)0
-rw-r--r--packages/fluxbox/fluxbox/apps.gpe.akita (renamed from packages/fluxbox/fluxbox-gpe/apps.gpe)0
-rw-r--r--packages/fluxbox/fluxbox/apps.gpe.default7
-rw-r--r--packages/fluxbox/fluxbox/fluxbox-gpe-session (renamed from packages/fluxbox/fluxbox-gpe/fluxbox-gpe-session)0
-rw-r--r--packages/fluxbox/fluxbox/fluxbox-gpe.session (renamed from packages/fluxbox/fluxbox-gpe/fluxbox-gpe.session)0
-rw-r--r--packages/fluxbox/fluxbox/gpe-init.patch (renamed from packages/fluxbox/fluxbox-gpe/gpe-init.patch)0
-rw-r--r--packages/fluxbox/fluxbox/style.gpe-default (renamed from packages/fluxbox/fluxbox-gpe/style.gpe-default)0
-rw-r--r--packages/fluxbox/fluxbox_0.99+1.0rc.bb (renamed from packages/fluxbox/fluxbox-gpe_1.0rc.bb)39
-rw-r--r--packages/gcc/gcc-cross_4.1.1.bb2
-rw-r--r--packages/gcc/gcc-cross_csl-arm-2005q3.bb2
-rw-r--r--packages/gcc/gcc3-build.inc5
-rw-r--r--packages/gcc/gcc_4.1.1.bb2
-rw-r--r--packages/gcc/gcc_csl-arm-2005q3.bb2
-rw-r--r--packages/hping/.mtn2git_empty (renamed from packages/opie-wellenreiter/files/.mtn2git_empty)0
-rw-r--r--packages/hping/files/.mtn2git_empty0
-rw-r--r--packages/hping/files/hping2_configure.patch75
-rw-r--r--packages/hping/files/hping2_debian.patch168
-rw-r--r--packages/hping/hping2_1.9.9+2.0.0rc3.bb48
-rw-r--r--packages/iqnotes/iqnotes.inc1
-rw-r--r--packages/iqnotes/iqnotes_2.0.2.bb4
-rw-r--r--packages/iqnotes/iqnotes_2.0.99-2.1.0rc1.bb4
-rw-r--r--packages/irk/irk-belkin_0.11.bb4
-rw-r--r--packages/irk/irk-targus_0.11.0.bb3
-rw-r--r--packages/irk/irk.inc4
-rw-r--r--packages/libcwd/libcwd_0.99.44.bb (renamed from packages/libcwd/libcwd_0.99.40.bb)4
-rw-r--r--packages/linux/linux-jlime-arm_2.6.17.bb4
-rw-r--r--packages/mileage/mileage_cvs.bb4
-rw-r--r--packages/mplayer/files/pld-onlyarm5.patch405
-rw-r--r--packages/mplayer/mplayer_1.0pre8.bb120
-rw-r--r--packages/opie-datebook/files/bug1707fix.patch1281
-rw-r--r--packages/opie-datebook/opie-datebook_1.2.2.bb3
-rw-r--r--packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch43
-rw-r--r--packages/opie-wellenreiter/opie-wellenreiter_1.2.2.bb3
-rw-r--r--packages/scap/files/scap.sh4
-rw-r--r--packages/scap/scap_0.1.bb2
-rw-r--r--packages/tslib/tslib-maemo_0.0.1-15.bb18
-rw-r--r--packages/tslib/tslib_20060703.bb (renamed from packages/tslib/tslib_cvs.bb)7
-rw-r--r--packages/txdrug/txdrug_0.1.bb8
-rw-r--r--packages/tximage/tximage-0.2/gcc4.patch15
-rw-r--r--packages/tximage/tximage_0.2.bb5
-rw-r--r--packages/x11-apps/twm_1.0.1.bb12
-rw-r--r--packages/zbedic/zbedic_1.0.bb10
-rw-r--r--packages/zip/zip-native_2.32.bb9
-rw-r--r--packages/zip/zip.inc16
-rw-r--r--packages/zip/zip_2.31.bb19
-rw-r--r--packages/zip/zip_2.32.bb2
51 files changed, 1025 insertions, 1432 deletions
diff --git a/packages/angstrom/angstrom-bootmanager-image.bb b/packages/angstrom/angstrom-bootmanager-image.bb
index be281d72bf..f6aaddd55e 100644
--- a/packages/angstrom/angstrom-bootmanager-image.bb
+++ b/packages/angstrom/angstrom-bootmanager-image.bb
@@ -1,9 +1,16 @@
-export IMAGE_BASENAME = "Ångström Bootmanager Image"
+#Angstrom bootmanager image
+LICENSE = MIT
+MAINTAINER = "Koen Kooi <koen@dominion.kabel.utwente.nl>"
+PR = "r0"
+
+DEPENDS = "task-angstrom"
+RDEPENDS = "angstrom-base-depends angstrom-bootmanager"
+
+export IMAGE_BASENAME = "bootmanager-image"
export IMAGE_LINGUAS = ""
-export IPKG_INSTALL = "task-bootstrap angstrom-bootmanager"
+export IPKG_INSTALL = "${RDEPENDS}"
inherit image_ipk
-DEPENDS += "task-bootstrap angstrom-bootmanager"
-LICENSE = "MIT"
+
diff --git a/packages/angstrom/angstrom-bootstrap-image.bb b/packages/angstrom/angstrom-bootstrap-image.bb
new file mode 100644
index 0000000000..b2b5565eb6
--- /dev/null
+++ b/packages/angstrom/angstrom-bootstrap-image.bb
@@ -0,0 +1,14 @@
+#Angstrom bootstrap image
+LICENSE = MIT
+MAINTAINER = "Koen Kooi <koen@dominion.kabel.utwente.nl>"
+PR = "r0"
+
+DEPENDS = "task-angstrom"
+RDEPENDS = "angstrom-base-depends"
+
+export IMAGE_BASENAME = "bootstrap-image"
+export IMAGE_LINGUAS = ""
+export IPKG_INSTALL = "${RDEPENDS}"
+
+inherit image_ipk
+
diff --git a/packages/angstrom/angstrom-gpe-image.bb b/packages/angstrom/angstrom-gpe-image.bb
new file mode 100644
index 0000000000..df7f90987e
--- /dev/null
+++ b/packages/angstrom/angstrom-gpe-image.bb
@@ -0,0 +1,22 @@
+#Angstrom GPE image
+LICENSE = MIT
+MAINTAINER = "Koen Kooi <koen@dominion.kabel.utwente.nl>"
+PR = "r0"
+
+export IMAGE_BASENAME = "gpe-image"
+
+DEPENDS = "task-angstrom"
+RDEPENDS = "\
+ angstrom-base-depends \
+ angstrom-x11-base-depends \
+ angsgrom-gpe-task-base \
+ angstrom-gpe-task-settings \
+ angstrom-gpe-task-pim \
+ ${ANGSTROM_EXTRA_INSTALL}"
+
+
+export IPKG_INSTALL = "${RDEPENDS}"
+
+#ROOTFS_POSTPROCESS_COMMAND += "zap_root_password; "
+
+inherit image_ipk
diff --git a/packages/angstrom/task-angstrom.bb b/packages/angstrom/task-angstrom.bb
index c7323314db..ec989659f1 100644
--- a/packages/angstrom/task-angstrom.bb
+++ b/packages/angstrom/task-angstrom.bb
@@ -3,7 +3,8 @@ PR = "r0"
ALLOW_EMPTY = "1"
PACKAGES = "\
- angstrom-X-base-depends \
+ angstrom-base-depends \
+ angstrom-x11-base-depends \
angsgrom-gpe-task-base \
angstrom-gpe-task-settings \
angstrom-gpe-task-pim \
@@ -13,7 +14,22 @@ PACKAGES = "\
angstrom-task-printing \
angstrom-task-sectest"
-RDEPENDS_angstrom-X-base-depends := "\
+RDEPENDS_angstrom-base-depends = "\
+ base-files \
+ base-passwd tinylogin \
+ busybox \
+ udev \
+ sysvinit initscripts sysvinit-pidof \
+ netbase \
+ angstrom-version \
+ "
+
+RRECOMMENDS_angstrom-base-depends = "\
+ ${BOOTMODULES_RRECOMMENDS} \
+ "
+
+
+RDEPENDS_angstrom-x11-base-depends := "\
diet-x11 \
virtual/xserver"
diff --git a/packages/e17/e-wm_0.16.999.027.bb b/packages/e17/e-wm_0.16.999.027.bb
index df78fbdcd0..5089ce23a4 100644
--- a/packages/e17/e-wm_0.16.999.027.bb
+++ b/packages/e17/e-wm_0.16.999.027.bb
@@ -3,20 +3,12 @@ DEPENDS = "evas-x11 ecore-x11 edje eet embryo e"
LICENSE = "MIT"
PR = "r3"
-inherit e
+inherit e update-alternatives
SRC_URI = "${E_URI}/enlightenment-${PV}.tar.gz \
file://fix-configure.patch;patch=1 \
file://Xsession.d/98enlightenment"
-# cvs://anonymous@thinktux.net/root;module=e17/apps/e/data/themes;date=20050926"
-# file://disable-splash.patch;patch=1 \
-# http://cvs.sourceforge.net/viewcvs.py/*checkout*/enlightenment/e17/apps/e/data/themes/default_entry.edc?rev=1.1 \
-# http://cvs.sourceforge.net/viewcvs.py/*checkout*/enlightenment/e17/apps/e/data/themes/images/focus.png?rev=1.1 \
-# http://cvs.sourceforge.net/viewcvs.py/*checkout*/enlightenment/e17/apps/e/data/themes/images/entry.png?rev=1.1 \
-# http://cvs.sourceforge.net/viewcvs.py/*checkout*/enlightenment/e17/apps/e/data/themes/images/entry_focus.png?rev=1.1"
-
-
S = "${WORKDIR}/enlightenment-${PV}"
PROFILE = "LOWRES_PDA"
@@ -35,10 +27,6 @@ FILES_${PN} = "${bindir}/* ${libdir}/* ${datadir} ${sysconfdir}"
do_compile_prepend() {
find ${S} -name Makefile | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
find ${S} -name Makefile | xargs sed -i 's:/usr/X11R6/include:${STAGING_INCDIR}:'
-# mv "${WORKDIR}/themes/default_entry.edc" "${S}/data/themes/"
-# mv "${WORKDIR}/themes/images/focus.png" "${S}/data/themes/images/"
-# mv "${WORKDIR}/themes/images/entry.png" "${S}/data/themes/images/"
-# mv "${WORKDIR}/themes/images/entry_focus.png" "${S}/data/themes/images/"
}
do_install_append() {
@@ -46,7 +34,7 @@ do_install_append() {
install -m 755 ${WORKDIR}/Xsession.d/98enlightenment ${D}/${sysconfdir}/X11/Xsession.d
}
-#pkg_postinst() {
-# enlightenment_remote -menu-autoscroll-margin-set 5
-# enlightenment_remote -menu-autoscroll-cursor-margin-set 5
-#} \ No newline at end of file
+ALTERNATIVE_PATH = "${bindir}/enlightenment"
+ALTERNATIVE_NAME = "x-window-manager"
+ALTERNATIVE_LINK = "${bindir}/x-window-manager"
+ALTERNATIVE_PRIORITY = "16"
diff --git a/packages/opie-datebook/files/.mtn2git_empty b/packages/fluxbox/fluxbox/.mtn2git_empty
index e69de29bb2..e69de29bb2 100644
--- a/packages/opie-datebook/files/.mtn2git_empty
+++ b/packages/fluxbox/fluxbox/.mtn2git_empty
diff --git a/packages/fluxbox/fluxbox-gpe/apps.gpe b/packages/fluxbox/fluxbox/apps.gpe.akita
index 7aca442752..7aca442752 100644
--- a/packages/fluxbox/fluxbox-gpe/apps.gpe
+++ b/packages/fluxbox/fluxbox/apps.gpe.akita
diff --git a/packages/fluxbox/fluxbox/apps.gpe.default b/packages/fluxbox/fluxbox/apps.gpe.default
new file mode 100644
index 0000000000..d7a0a83f22
--- /dev/null
+++ b/packages/fluxbox/fluxbox/apps.gpe.default
@@ -0,0 +1,7 @@
+[app] (title=Panel 0)
+ [Deco] {NONE}
+ [Sticky] {yes}
+[end]
+[app] (title=Panel 1)
+ [Deco] {NONE}
+[end]
diff --git a/packages/fluxbox/fluxbox-gpe/fluxbox-gpe-session b/packages/fluxbox/fluxbox/fluxbox-gpe-session
index f6e03ede7e..f6e03ede7e 100644
--- a/packages/fluxbox/fluxbox-gpe/fluxbox-gpe-session
+++ b/packages/fluxbox/fluxbox/fluxbox-gpe-session
diff --git a/packages/fluxbox/fluxbox-gpe/fluxbox-gpe.session b/packages/fluxbox/fluxbox/fluxbox-gpe.session
index 16b7a2703a..16b7a2703a 100644
--- a/packages/fluxbox/fluxbox-gpe/fluxbox-gpe.session
+++ b/packages/fluxbox/fluxbox/fluxbox-gpe.session
diff --git a/packages/fluxbox/fluxbox-gpe/gpe-init.patch b/packages/fluxbox/fluxbox/gpe-init.patch
index c9836923d8..c9836923d8 100644
--- a/packages/fluxbox/fluxbox-gpe/gpe-init.patch
+++ b/packages/fluxbox/fluxbox/gpe-init.patch
diff --git a/packages/fluxbox/fluxbox-gpe/style.gpe-default b/packages/fluxbox/fluxbox/style.gpe-default
index f94aaf7cdd..f94aaf7cdd 100644
--- a/packages/fluxbox/fluxbox-gpe/style.gpe-default
+++ b/packages/fluxbox/fluxbox/style.gpe-default
diff --git a/packages/fluxbox/fluxbox-gpe_1.0rc.bb b/packages/fluxbox/fluxbox_0.99+1.0rc.bb
index 9cf8da0217..cf69b090c4 100644
--- a/packages/fluxbox/fluxbox-gpe_1.0rc.bb
+++ b/packages/fluxbox/fluxbox_0.99+1.0rc.bb
@@ -5,44 +5,50 @@
# Filename: fluxbox-gpe_1.0rc.bb
# Date: 01-Jul-06
-DESCRIPTION = "The Fluxbox WindowManager for use with GPE"
+DESCRIPTION = "The Fluxbox WindowManager"
MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>"
HOMEPAGE = "http://fluxbox.sourceforge.net"
LICENSE = "MIT"
-RCONFLICTS = "fluxbox"
+REALPV = "1.0rc"
+PR = "r1"
######################################################################################
-PR = "r3"
-S = "${WORKDIR}/fluxbox-${PV}"
+S = "${WORKDIR}/fluxbox-${REALPV}"
######################################################################################
-SRC_URI = "http://switch.dl.sourceforge.net/sourceforge/fluxbox/fluxbox-${PV}.tar.gz \
- file://gpe-init.patch;patch=1\
+SRC_URI = "${SOURCEFORGE_MIRROR}/fluxbox/fluxbox-${REALPV}.tar.gz \
+ file://gpe-init.patch;patch=1 \
file://apps.gpe.* \
file://style.gpe-default \
file://fluxbox-gpe-session \
- file://fluxbox-gpe.session"
+ file://fluxbox-gpe.session"
######################################################################################
-PACKAGES += "${PN}-styles"
+PACKAGES = "${PN}-gpe ${PN}-styles ${PN}-doc ${PN}"
DESCRIPTION_${PN}-styles = "The default styles for fluxbox"
+DESCRIPTION_${PN}-gpe = "The Fluxbox WindowManager for use with GPE"
+RDEPENDS_${PN}-gpe = "${PN}"
######################################################################################
FILES_${PN} = "/usr/bin \
/usr/share/fluxbox/init \
/usr/share/fluxbox/keys \
- /usr/share/fluxbox/menu \
- /usr/share/fluxbox/apps.gpe* \
- /usr/share/fluxbox/session \
- /usr/share/fluxbox/styles/gpe-default"
+ /usr/share/fluxbox/menu "
+
+FILES_${PN}-gpe = "/usr/share/fluxbox/apps.gpe* \
+ /usr/share/fluxbox/styles/gpe-default \
+ /usr/share/fluxbox/session \
+ /usr/bin/fluxbox-gpe-session"
FILES_${PN}-styles = "/usr/share/fluxbox/styles"
+FILES_${PN}-doc = "/usr/share/man"
+
######################################################################################
inherit autotools
@@ -67,11 +73,10 @@ do_install_append() {
######################################################################################
-pkg_postinst_${PN}() {
- update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/fluxbox-gpe-session 15
+pkg_postinst_${PN}-gpe() {
+ update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/fluxbox-gpe-session 15
}
-pkg_postrm_${PN}() {
- update-alternatives --remove x-window-manager /usr/bin/fluxbox-gpe-session
+pkg_postrm_${PN}-gpe() {
+ update-alternatives --remove x-window-manager /usr/bin/fluxbox-gpe-session
}
-
diff --git a/packages/gcc/gcc-cross_4.1.1.bb b/packages/gcc/gcc-cross_4.1.1.bb
index 19e37660b2..4e3805b676 100644
--- a/packages/gcc/gcc-cross_4.1.1.bb
+++ b/packages/gcc/gcc-cross_4.1.1.bb
@@ -5,7 +5,7 @@ inherit cross
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
# NOTE: split PR. If the main .oe changes something that affects its *build*
# remember to increment this one too.
-PR = "r4"
+PR = "r5"
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
diff --git a/packages/gcc/gcc-cross_csl-arm-2005q3.bb b/packages/gcc/gcc-cross_csl-arm-2005q3.bb
index 93c58aca53..044383cb84 100644
--- a/packages/gcc/gcc-cross_csl-arm-2005q3.bb
+++ b/packages/gcc/gcc-cross_csl-arm-2005q3.bb
@@ -4,7 +4,7 @@ include gcc-paths-cross.inc
inherit cross
# NOTE: split PR. If the main .oe changes something that affects its *build*
# remember to increment this one too.
-PR = "r0"
+PR = "r1"
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
diff --git a/packages/gcc/gcc3-build.inc b/packages/gcc/gcc3-build.inc
index 74ad11033f..32e22e16f8 100644
--- a/packages/gcc/gcc3-build.inc
+++ b/packages/gcc/gcc3-build.inc
@@ -63,8 +63,13 @@ python __anonymous () {
import bb, re
if (re.match('linux-uclibc$', bb.data.getVar('TARGET_OS', d, 1)) != None):
bb.data.setVar('EXTRA_OECONF_DEP', '${EXTRA_OECONF_uclibc}', d)
+ elif (re.match('linux-uclibcgnueabi$', bb.data.getVar('TARGET_OS', d, 1)) != None):
+ bb.data.setVar('EXTRA_OECONF_DEP', '${EXTRA_OECONF_uclibc}', d)
+ elif (re.match('linux-gnueabi$', bb.data.getVar('TARGET_OS', d, 1)) != None):
+ bb.data.setVar('EXTRA_OECONF_DEP', '${EXTRA_OECONF_glibc}', d)
elif (re.match('linux$', bb.data.getVar('TARGET_OS', d, 1)) != None):
bb.data.setVar('EXTRA_OECONF_DEP', '${EXTRA_OECONF_glibc}', d)
+
}
do_configure () {
diff --git a/packages/gcc/gcc_4.1.1.bb b/packages/gcc/gcc_4.1.1.bb
index 793aa4bb76..6e332dceca 100644
--- a/packages/gcc/gcc_4.1.1.bb
+++ b/packages/gcc/gcc_4.1.1.bb
@@ -1,4 +1,4 @@
-PR = "r3"
+PR = "r4"
DESCRIPTION = "The GNU cc and gcc C compilers."
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
diff --git a/packages/gcc/gcc_csl-arm-2005q3.bb b/packages/gcc/gcc_csl-arm-2005q3.bb
index 62bacda147..02e984358f 100644
--- a/packages/gcc/gcc_csl-arm-2005q3.bb
+++ b/packages/gcc/gcc_csl-arm-2005q3.bb
@@ -4,7 +4,7 @@ SECTION = "devel"
LICENSE = "GPL"
BINV = "3.4.4"
PV = "3.4.4+csl-arm-2005q3"
-PR = "r1"
+PR = "r2"
FILESDIR = "${FILE_DIRNAME}/gcc-csl-arm"
diff --git a/packages/opie-wellenreiter/files/.mtn2git_empty b/packages/hping/.mtn2git_empty
index e69de29bb2..e69de29bb2 100644
--- a/packages/opie-wellenreiter/files/.mtn2git_empty
+++ b/packages/hping/.mtn2git_empty
diff --git a/packages/hping/files/.mtn2git_empty b/packages/hping/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/hping/files/.mtn2git_empty
diff --git a/packages/hping/files/hping2_configure.patch b/packages/hping/files/hping2_configure.patch
new file mode 100644
index 0000000000..90795ab0e0
--- /dev/null
+++ b/packages/hping/files/hping2_configure.patch
@@ -0,0 +1,75 @@
+Allow the byteorder and target os type to be specified via
+environment variables when running the configured shell script, don't
+try and run the resultant binary after building it, don't set various
+compiler related environment varibles - we'll let OE set those.
+
+diff -dur hping2-rc3-orig/configure hping2-rc3/configure
+--- hping2-rc3-orig/configure 2005-12-03 19:04:44.000000000 +1100
++++ hping2-rc3/configure 2005-12-03 19:05:58.000000000 +1100
+@@ -13,16 +13,19 @@
+ exit 0
+ fi
+
+-CC=${CC:=cc}
++if [ "x$BYTEORDER" = "x" ]; then
++ CC=${CC:=cc}
+
+-echo build byteorder.c...
+-$CC byteorder.c -o byteorder || exit 1
++ echo build byteorder.c...
++ $CC byteorder.c -o byteorder || exit 1
++
++ BYTEORDER=`./byteorder -m`
++fi
+
+ INSTALL_MANPATH=`echo $MANPATH|cut -f1 -d:`
+ if [ "$INSTALL_MANPATH" = "" ]; then
+ INSTALL_MANPATH="/usr/local/man"
+ fi
+-BYTEORDER=`./byteorder -m`
+
+ echo create byteorder.h...
+ cat > byteorder.h <<EOF
+@@ -38,7 +41,9 @@
+ #endif /* __BYTEORDER_H */
+ EOF
+
+-CONFIGOSTYPE=`uname -s | tr [a-z] [A-Z]`
++if [ "x$CONFIGOSTYPE" = "x" ]; then
++ CONFIGOSTYPE=`uname -s | tr [a-z] [A-Z]`
++fi
+ if [ ! "$CONFIGOSTYPE" ]; then
+ CONFIGOSTYPE=UNKNOWN
+ fi
+diff -dur hping2-rc3-orig/Makefile.in hping2-rc3/Makefile.in
+--- hping2-rc3-orig/Makefile.in 2005-12-03 19:04:44.000000000 +1100
++++ hping2-rc3/Makefile.in 2005-12-03 19:05:41.000000000 +1100
+@@ -6,17 +6,6 @@
+ # $date: Sun Jul 25 17:56:15 MET DST 1999$
+ # $rev: 3$
+
+-CC= gcc
+-AR=/usr/bin/ar
+-RANLIB=/usr/bin/ranlib
+-CCOPT= -O2 -Wall @PCAP_INCLUDE@
+-DEBUG= -g
+-#uncomment the following if you need libpcap based build under linux
+-#(not raccomanded)
+-COMPILE_TIME= @FORCE_LIBPCAP@
+-INSTALL_MANPATH=@MANPATH@
+-@PCAP@
+-
+ OBJ= main.o getifname.o getlhs.o \
+ linux_sockpacket.o parseoptions.o datafiller.o \
+ datahandler.o gethostname.o \
+@@ -44,10 +33,6 @@
+
+ hping2: byteorder.h $(OBJ)
+ $(CC) -o hping2 $(CCOPT) $(DEBUG) $(OBJ) $(PCAP) @SOLARISLIB@
+- @echo
+- ./hping2 -v
+- @echo "use \`make strip' to strip hping2 binary"
+- @echo "use \`make install' to install hping2"
+
+ byteorder.h:
+ ./configure
diff --git a/packages/hping/files/hping2_debian.patch b/packages/hping/files/hping2_debian.patch
new file mode 100644
index 0000000000..4edc893896
--- /dev/null
+++ b/packages/hping/files/hping2_debian.patch
@@ -0,0 +1,168 @@
+The following minor changes were taken from the debian hping2 package:
+
+--- hping2-2.rc3.orig/antigetopt.c
++++ hping2-2.rc3/antigetopt.c
+@@ -140,7 +140,7 @@
+ #define UNK_LONG_ERRSTRING "unrecognized option `--%s'\n"
+ #define ARG_SHORT_ERRSTRING "option requires an argument -- %c\n"
+ #define ARG_LONG_ERRSTRING "option `--%s' requires an argument\n"
+-#define AMB_ERRSTRING "option `--%s' is ambiguos\n"
++#define AMB_ERRSTRING "option `--%s' is ambiguous\n"
+ #define IERR_ERRSTRING "internal error. ago_gnu_error() called with " \
+ "a bad error code (%d)\n"
+ void ago_gnu_error(char *pname, int error)
+--- hping2-2.rc3.orig/bytesex.h
++++ hping2-2.rc3/bytesex.h
+@@ -7,16 +7,11 @@
+ #ifndef ARS_BYTESEX_H
+ #define ARS_BYTESEX_H
+
+-#if defined(__i386__) \
+- || defined(__alpha__) \
+- || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
++#include <endian.h>
++
++#if __BYTE_ORDER == __LITTLE_ENDIAN
+ #define BYTE_ORDER_LITTLE_ENDIAN
+-#elif defined(__mc68000__) \
+- || defined (__sparc__) \
+- || defined (__sparc) \
+- || defined (__PPC__) \
+- || defined (__BIG_ENDIAN__) \
+- || (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)))
++#elif __BYTE_ORDER == __BIG_ENDIAN
+ #define BYTE_ORDER_BIG_ENDIAN
+ #else
+ # error can not find the byte order for this architecture, fix bytesex.h
+--- hping2-2.rc3.orig/getlhs.c
++++ hping2-2.rc3/getlhs.c
+@@ -55,6 +55,12 @@
+ case DLT_IEEE802_11:
+ linkhdr_size = 14;
+ break;
++ case DLT_IEEE802_11:
++ linkhdr_size = 14;
++ break;
++ case DLT_TOKEN_RING:
++ linkhdr_size = 20;
++ break;
+ case DLT_ATM_RFC1483:
+ #ifdef DLT_CIP
+ case DLT_CIP:
+@@ -105,6 +111,15 @@
+ } else if ( strstr(ifname, "wlan") ) {
+ linkhdr_size = WLANHDR_SIZE;
+ return 0;
++ } else if (strstr(ifname, "atm")) {
++ linkhdr_size = 0;
++ return 0;
++ } else if ( strstr(ifname, "wlan") ) {
++ linkhdr_size = WLANHDR_SIZE;
++ return 0;
++ } else if ( strstr(ifname, "tr") ) {
++ linkhdr_size = TRHDR_SIZE;
++ return 0;
+ }
+ else
+ return -1;
+--- hping2-2.rc3.orig/listen.c
++++ hping2-2.rc3/listen.c
+@@ -10,6 +10,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/types.h>
+--- hping2-2.rc3.orig/main.c
++++ hping2-2.rc3/main.c
+@@ -26,6 +26,7 @@
+ #include <time.h>
+ #include <sys/time.h>
+ #include <sys/types.h>
++#include <time.h>
+
+ #include "hping2.h"
+
+--- hping2-2.rc3.orig/resolve.c
++++ hping2-2.rc3/resolve.c
+@@ -12,6 +12,7 @@
+ #include <sys/types.h>
+ #include <netdb.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+--- hping2-2.rc3.orig/sendicmp.c
++++ hping2-2.rc3/sendicmp.c
+@@ -19,6 +19,7 @@
+ #include <string.h>
+ #include <signal.h>
+ #include <errno.h>
++#include <time.h>
+
+ #include "hping2.h"
+ #include "globals.h"
+--- hping2-2.rc3.orig/sendtcp.c
++++ hping2-2.rc3/sendtcp.c
+@@ -15,6 +15,8 @@
+ #include <sys/time.h>
+ #include <unistd.h>
+ #include <signal.h>
++#include <errno.h>
++#include <time.h>
+
+ #include "hping2.h"
+ #include "globals.h"
+--- hping2-2.rc3.orig/sendudp.c
++++ hping2-2.rc3/sendudp.c
+@@ -15,6 +15,8 @@
+ #include <sys/time.h>
+ #include <unistd.h>
+ #include <signal.h>
++#include <errno.h>
++#include <time.h>
+
+ #include "hping2.h"
+ #include "globals.h"
+--- hping2-2.rc3.orig/statistics.c
++++ hping2-2.rc3/statistics.c
+@@ -10,6 +10,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h&g