summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-10-17 06:44:22 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-10-17 06:44:22 +0000
commite7cefc5706c7631d52842765330823501c61b1c6 (patch)
treed50c0b04e636d781bb91d90a650ba15a353e1a3e
parentda5e3ee7ecb74a8402c7506d4b1ce180ae0801d9 (diff)
parentf5e12396ab339e59679231b80a0ff2d4873f06c2 (diff)
merge of 'c8b6f226355d3351327e8b61f52855537a448a23'
and 'ff788cdac5bbfb991ee004911daf4db1b80ff5ce'
-rw-r--r--classes/base.bbclass8
-rw-r--r--conf/distro/include/sane-srcdates.inc2
-rw-r--r--conf/machine/h1910.conf27
-rw-r--r--conf/machine/h2200.conf10
-rw-r--r--conf/machine/h3600.conf7
-rw-r--r--conf/machine/h4000.conf11
-rw-r--r--conf/machine/h5xxx.conf34
-rw-r--r--packages/clamav/clamav.inc122
-rw-r--r--packages/clamav/clamav_0.88.4.bb124
-rw-r--r--packages/clamav/clamav_0.88.5.bb3
-rw-r--r--packages/clamav/site/.mtn2git_empty0
-rw-r--r--packages/glibc/glibc-package.bbclass2
-rw-r--r--packages/libpng/1.2.12/.mtn2git_empty0
-rw-r--r--packages/libpng/libpng-1.2.12/.mtn2git_empty0
-rw-r--r--packages/oprofile/oprofile/opcontrol_bashisms.patch16
-rw-r--r--packages/oprofile/oprofile_0.9.2.bb (renamed from packages/oprofile/oprofile_0.9.1.bb)1
-rw-r--r--packages/oprofile/oprofile_cvs.bb8
-rw-r--r--packages/pine/pine_4.64.bb (renamed from packages/pine/pine_4.63.bb)0
-rw-r--r--packages/quagga/quagga-0.99.2/.mtn2git_empty0
19 files changed, 216 insertions, 159 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index a9b61d26b1..4aaee3686c 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -382,6 +382,12 @@ python base_do_fetch() {
raise bb.build.FuncFailed("Fetch failed: %s" % value)
}
+addtask fetchall
+do_fetchall[recrdeptask] = "do_fetch"
+python base_do_fetchall() {
+ bb.build.exec_task('do_fetch', d)
+}
+
def oe_unpack_file(file, data, url = None):
import bb, os
if not url:
@@ -741,7 +747,7 @@ python () {
# Patch handling
inherit patch
-EXPORT_FUNCTIONS do_clean do_mrproper do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage do_rebuild
+EXPORT_FUNCTIONS do_clean do_mrproper do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage do_rebuild do_fetchall
MIRRORS[func] = "0"
MIRRORS () {
diff --git a/conf/distro/include/sane-srcdates.inc b/conf/distro/include/sane-srcdates.inc
index a1132209ad..4b1aff017a 100644
--- a/conf/distro/include/sane-srcdates.inc
+++ b/conf/distro/include/sane-srcdates.inc
@@ -68,7 +68,7 @@ SRCDATE_minimo ?= "20050401"
SRCDATE_mystun-server ?= "20060814"
SRCDATE_olsrd ?= "20060814"
SRCDATE_opencvs ?= "20060814"
-SRCDATE_oprofile ?= "20060214"
+SRCDATE_oprofile ?= "20061011"
SRCDATE_portaudio ?= "20060814"
SRCDATE_putty ?= "20060814"
SRCDATE_python-cairo ?= "20060814"
diff --git a/conf/machine/h1910.conf b/conf/machine/h1910.conf
index 2f21b4ee91..313db8b765 100644
--- a/conf/machine/h1910.conf
+++ b/conf/machine/h1910.conf
@@ -2,20 +2,29 @@
#@NAME: HP iPAQ H1910/H1915
#@DESCRIPTION: Machine configuration for the HP iPAQ H1910/H1915
-KERNEL ?= "kernel26"
-OVERRIDES =. "${KERNEL}:"
-
+#
+# Hardware-based properties
+#
TARGET_ARCH = "arm"
-IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te"
+IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te ipaqpxa"
require conf/machine/include/tune-xscale.conf
-PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+VOLATILE_STORAGE_SIZE = "64"
+ROOT_FLASH_SIZE = "32"
+GUI_MACHINE_CLASS = "smallscreen"
+MACHINE_FEATURES = "kernel26 touchscreen apm alsa irda usbgadget"
-BOOTSTRAP_EXTRA_RDEPENDS = "udev apm apmd network-suspend-scripts modutils-collateral mtd-utils"
-BOOTSTRAP_EXTRA_RRECOMMENDS += ""
+#
+# Software/packages selection
+#
+PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
+PCMCIA_MANAGER = "pcmciautils"
+PREFERRED_PROVIDER_xserver = "xserver-kdrive"
EXTRA_IMAGECMD_h1910_jffs2 = "-e 0x4000 -p -n"
-GUI_MACHINE_CLASS = "smallscreen"
-
+#
+# Modules autoload and other boot properties
+#
+SERIAL_CONSOLE = "115200 ttyS0 vt100"
diff --git a/conf/machine/h2200.conf b/conf/machine/h2200.conf
index 467c0c0e81..e3936a794b 100644
--- a/conf/machine/h2200.conf
+++ b/conf/machine/h2200.conf
@@ -2,8 +2,9 @@
#@NAME: HP iPAQ h22xx
#@DESCRIPTION: Machine configuration for the HP iPAQ h22xx
-
+#
# Hardware-based properties
+#
TARGET_ARCH = "arm"
IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te ipaqpxa"
@@ -11,13 +12,16 @@ IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te ipaqpxa"
require conf/machine/include/tune-xscale.conf
#Set some hints for metadata
+VOLATILE_STORAGE_SIZE = "64"
ROOT_FLASH_SIZE = "32"
GUI_MACHINE_CLASS = "smallscreen"
#Set features for task-base
MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda usbgadget"
-# Software/package selection
+#
+# Software/packages selection
+#
PCMCIA_MANAGER = "pcmciautils"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
@@ -25,7 +29,9 @@ PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
MACHINE_EXTRA_RDEPENDS = "mtd-utils h2200-bootloader kernel"
EXTRA_IMAGECMD_jffs2 = "--pad --eraseblock=0x4000"
+#
# Modules autoload and other boot properties
+#
module_autoload_snd-pcm-oss = "snd-pcm-oss"
SERIAL_CONSOLE = "115200 ttyS0 vt100"
diff --git a/conf/machine/h3600.conf b/conf/machine/h3600.conf
index 2604b8e8b0..14a9bb6ba5 100644
--- a/conf/machine/h3600.conf
+++ b/conf/machine/h3600.conf
@@ -14,6 +14,7 @@ require conf/machine/include/tune-strongarm.conf
ROOT_FLASH_SIZE = "16"
# h3630 have 32Mb only
VOLATILE_STORAGE_SIZE = "64"
+GUI_MACHINE_CLASS = "smallscreen"
#
# Software/packages selection
@@ -24,9 +25,6 @@ PREFERRED_VERSION_handhelds-sa ?= "2.4.19-rmk6-pxa1-hh42"
BOOTSTRAP_EXTRA_RDEPENDS = "alsa-driver kernel ipaq-boot-params ${@linux_module_packages('${H3600_MODULES}', d)}"
EXTRA_IMAGECMD_h3600_jffs2 = "-e 0x40000 -p"
-#
-# Modules autoload and other boot properties
-#
H3600_MODULES = "\
h3600-asic \
h3600-micro \
@@ -43,6 +41,9 @@ serial-h3800 \
usb-char \
usb-eth"
+#
+# Modules autoload and other boot properties
+#
USE_DEVFS = "1"
USE_VT = "0"
diff --git a/conf/machine/h4000.conf b/conf/machine/h4000.conf
index 17bb47811a..6e6717842d 100644
--- a/conf/machine/h4000.conf
+++ b/conf/machine/h4000.conf
@@ -2,22 +2,29 @@
#@NAME: HP iPAQ h4xxx
#@DESCRIPTION: Machine configuration for the HP iPAQ h4xxx
+#
# Hardware-based properties
+#
TARGET_ARCH = "arm"
IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te ipaqpxa"
require conf/machine/include/tune-xscale.conf
ROOT_FLASH_SIZE = "32"
+VOLATILE_STORAGE_SIZE = "64"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES = "kernel26 touchscreen apm alsa irda bluetooth wifi usbgadget"
-# Software/package selection
+#
+# Software/packages selection
+#
+PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
PCMCIA_MANAGER = "pcmciautils"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
-PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
+#
# Modules autoload and other boot properties
+#
module_autoload_snd-pcm-oss = "snd-pcm-oss"
module_autoload_g_ether = "g_ether"
diff --git a/conf/machine/h5xxx.conf b/conf/machine/h5xxx.conf
index a7208209eb..0e9165903b 100644
--- a/conf/machine/h5xxx.conf
+++ b/conf/machine/h5xxx.conf
@@ -2,30 +2,32 @@
#@NAME: Compaq iPAQ 51xx, Compaq iPAQ 54xx, Compaq iPAQ 55xx
#@DESCRIPTION: Machine configuration for the Compaq iPAQ 51xx, Compaq iPAQ 54xx, and Compaq iPAQ 55xx devices
-
+#
+# Hardware-based properties
+#
TARGET_ARCH = "arm"
IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te ipaqpxa"
-PREFERRED_PROVIDER_xserver = "xserver-kdrive"
-PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
-EXTRA_IMAGECMD_h5xxx_jffs2 = "-e 0x40000 -p"
-ROOT_FLASH_SIZE = "32"
+require conf/machine/include/tune-xscale.conf
+ROOT_FLASH_SIZE = "32"
+VOLATILE_STORAGE_SIZE = "64"
+GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda wifi usbgadget usbhost"
+#
+# Software/packages selection
+#
+PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
+PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+EXTRA_IMAGECMD_h5xxx_jffs2 = "-e 0x40000 -p"
MACHINE_EXTRA_RDEPENDS = "kernel ipaq-boot-params"
-MACHINE_EXTRA__RRECOMMENDS = " \
- kernel-module-h5400_lcd \
- kernel-module-h5400_battery \
- "
-
-
+MACHINE_EXTRA_RRECOMMENDS = " kernel-module-h5400_lcd \
+ kernel-module-h5400_battery"
+#
+# Modules autoload and other boot properties
+#
SERIAL_CONSOLE = "115200 tts/0 vt100"
-
USE_VT = "0"
-
-GUI_MACHINE_CLASS = "smallscreen"
-
-require conf/machine/include/tune-xscale.conf
diff --git a/packages/clamav/clamav.inc b/packages/clamav/clamav.inc
new file mode 100644
index 0000000000..2a09c52461
--- /dev/null
+++ b/packages/clamav/clamav.inc
@@ -0,0 +1,122 @@
+DESCRIPTION = "Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main \
+purpose of this software is the integration with mail servers (attachment \
+scanning)."
+DESCRIPTION_${PN}-lib = "The dynamic library that is shared between all of \
+the Clam AntiVirus components"
+DESCRIPTION_${PN}-freshclam = "An automatic virus signature update \
+application for Clam AntiVirus"
+DESCRIPTION_${PN}-data = "Static antivirus signature database for Clam AntiVirus"
+DESCRIPTION_${PN}-daemon = "An on-demand file scanning service for Clam AntiVirus"
+HOMEPAGE = "http://www.clamav.net/"
+SECTION = "network"
+LICENSE = "GPL"
+DEPENDS = "zlib bzip2 gmp"
+RDEPENDS_${PN} = "${PN}-data"
+RDEPENDS_${PN}-daemon = "${PN}-data"
+RRECOMMENDS_${PN} = "${PN}-freshclam"
+RRECOMMENDS_${PN}-daemon = "${PN}-freshclam"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/clamav/clamav-${PV}.tar.gz \
+ file://cross-compile-fix.patch;patch=1 \
+ file://libtool-fix.patch;patch=1 \
+ file://clamav-daemon.init \
+ file://clamav-freshclam.init \
+ file://clamav-daemon.default \
+ file://clamd.conf \
+ file://freshclam.conf \
+ file://volatiles.02_clamav-data \
+ file://volatiles.03_clamav-daemon \
+ file://volatiles.03_clamav-freshclam"
+
+inherit autotools update-rc.d binconfig
+
+# Don't check for clamav uid/gid - they don't exist on the host
+# Put virus definitions in /var/lib not /usr/lib
+EXTRA_OECONF = "--disable-clamav \
+ --with-dbdir=${localstatedir}/lib/clamav"
+
+do_install_append() {
+ install -m 0755 -d ${D}${sysconfdir}/default/volatiles \
+ ${D}${sysconfdir}/init.d ${D}${docdir}/clamav
+
+ # Save the installed clamd.conf in the doc dir and then install our new one
+ install -m 0755 ${D}${sysconfdir}/clamd.conf ${D}${docdir}/clamav/clamd.conf.example
+ install -m 0755 ${WORKDIR}/clamd.conf ${D}${sysconfdir}/clamd.conf
+
+ # Save the installed freshclam.conf in the doc dir and then install our new one
+ install -m 0755 ${D}${sysconfdir}/freshclam.conf ${D}${docdir}/clamav/freshclam.conf.example
+
+ # Install our config files and init scripts
+ install -m 0755 ${WORKDIR}/freshclam.conf ${D}${sysconfdir}/freshclam.conf
+ install -m 0755 ${WORKDIR}/clamav-daemon.default ${D}${sysconfdir}/default/clamav-daemon
+ install -m 0755 ${WORKDIR}/clamav-daemon.init ${D}${sysconfdir}/init.d/clamav-daemon
+ install -m 0755 ${WORKDIR}/clamav-freshclam.init ${D}${sysconfdir}/init.d/clamav-freshclam
+
+ # We need some /var directories
+ for i in 02_clamav-data 03_clamav-daemon 03_clamav-freshclam; do
+ install -m 0644 ${WORKDIR}/volatiles.$i ${D}${sysconfdir}/default/volatiles/$i
+ done
+
+ # Move the clamav data to a non-volatile location, we'll symlink back
+ # If freshclam is running it'll break the link to this static data
+ # once it has succesfully downloaded an update
+ install -m 0755 -d ${D}${libdir}
+ mv ${D}${localstatedir}/lib/clamav ${D}${libdir}
+}
+do_stage () {
+ oe_libinstall -a -so libclamav ${STAGING_LIBDIR}
+ rm -f ${STAGING_LIBDIR}/libclamav.la
+ install -m 0644 libclamav/clamav.h ${STAGING_INCDIR}
+}
+
+PACKAGES += "${PN}-freshclam ${PN}-daemon ${PN}-data ${PN}-lib"
+
+FILES_${PN} = "${bindir}/clamscan ${bindir}/sigtool ${bindir}/clamdscan"
+FILES_${PN}-lib = "${libdir}/libclamav.so.*"
+FILES_${PN}-freshclam = "${bindir}/freshclam \
+ ${sysconfdir}/freshclam.conf \
+ ${sysconfdir}/init.d/clamav-freshclam \
+ ${sysconfdir}/default/volatiles/03_clamav-freshclam"
+FILES_${PN}-daemon = "${sysconfdir}/clamd.conf \
+ ${sbindir}/clamd \
+ ${sysconfdir}/init.d/clamav-daemon \
+ ${sysconfdir}/default/clamav-daemon \
+ ${sysconfdir}/default/volatiles/03_clamav-daemon"
+FILES_${PN}-data = "${libdir}/clamav/main.cvd \
+ ${libdir}/clamav/daily.cvd \
+ ${sysconfdir}/default/volatiles/02_clamav-data"
+FILES_${PN}-dev += "${bindir}/clamav-config"
+
+# Add clamav's user and groups
+pkg_postinst_${PN}-freshclam () {
+ grep -q clamav: /etc/group || addgroup clamav
+ grep -q clamav: /etc/passwd || \
+ adduser --disabled-password --home=/var/lib/clamav/ --system \
+ --ingroup clamav --no-create-home -g "ClamAV" clamav
+ /etc/init.d/populate-volatile.sh
+}
+pkg_postinst_${PN}-daemon () {
+ grep -q clamav: /etc/group || addgroup clamav
+ grep -q clamav: /etc/passwd || \
+ adduser --disabled-password --home=/var/lib/clamav/ --system \
+ --ingroup clamav --no-create-home -g "ClamAV" clamav
+ /etc/init.d/populate-volatile.sh
+}
+pkg_postinst_${PN}-data () {
+ grep -q clamav: /etc/group || addgroup clamav
+ grep -q clamav: /etc/passwd || \
+ adduser --disabled-password --home=/var/lib/clamav/ --system \
+ --ingroup clamav --no-create-home -g "ClamAV" clamav
+ /etc/init.d/populate-volatile.sh
+}
+
+# Indicate that the default files are configuration files
+CONFFILES_${PN}-daemon = "${sysconfdir}/clamd.conf \
+ ${sysconfdir}/default/clamav-daemon"
+CONFFILES_${PN}-freshclam = "${sysconfdir}/freshclam.conf"
+
+INITSCRIPT_PACKAGES = "${PN}-daemon ${PN}-freshclam"
+INITSCRIPT_NAME_${PN}-daemon = "clamav-daemon"
+INITSCRIPT_NAME_${PN}-freshclam = "clamav-freshclam"
+INITSCRIPT_PARAMS_${PN}-daemon = "defaults 50 50"
+INITSCRIPT_PARAMS_${PN}-freshclam = "defaults 50 50"
diff --git a/packages/clamav/clamav_0.88.4.bb b/packages/clamav/clamav_0.88.4.bb
index 9cb432d579..2d980440fa 100644
--- a/packages/clamav/clamav_0.88.4.bb
+++ b/packages/clamav/clamav_0.88.4.bb
@@ -1,123 +1,3 @@
-DESCRIPTION = "Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main \
-purpose of this software is the integration with mail servers (attachment \
-scanning)."
-DESCRIPTION_${PN}-lib = "The dynamic library that is shared between all of \
-the Clam AntiVirus components"
-DESCRIPTION_${PN}-freshclam = "An automatic virus signature update \
-application for Clam AntiVirus"
-DESCRIPTION_${PN}-data = "Static antivirus signature database for Clam AntiVirus"
-DESCRIPTION_${PN}-daemon = "An on-demand file scanning service for Clam AntiVirus"
-HOMEPAGE = "http://www.clamav.net/"
-SECTION = "network"
-LICENSE = "GPL"
-DEPENDS = "zlib bzip2 gmp"
-RDEPENDS_${PN} = "${PN}-data"
-RDEPENDS_${PN}-daemon = "${PN}-data"
-RRECOMMENDS_${PN} = "${PN}-freshclam"
-RRECOMMENDS_${PN}-daemon = "${PN}-freshclam"
-PR = "r6"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/clamav/clamav-${PV}.tar.gz \
- file://cross-compile-fix.patch;patch=1 \
- file://libtool-fix.patch;patch=1 \
- file://clamav-daemon.init \
- file://clamav-freshclam.init \
- file://clamav-daemon.default \
- file://clamd.conf \
- file://freshclam.conf \
- file://volatiles.02_clamav-data \
- file://volatiles.03_clamav-daemon \
- file://volatiles.03_clamav-freshclam"
-
-inherit autotools update-rc.d binconfig
-
-# Don't check for clamav uid/gid - they don't exist on the host
-# Put virus definitions in /var/lib not /usr/lib
-EXTRA_OECONF = "--disable-clamav \
- --with-dbdir=${localstatedir}/lib/clamav"
-
-do_install_append() {
- install -m 0755 -d ${D}${sysconfdir}/default/volatiles \
- ${D}${sysconfdir}/init.d ${D}${docdir}/clamav
-
- # Save the installed clamd.conf in the doc dir and then install our new one
- install -m 0755 ${D}${sysconfdir}/clamd.conf ${D}${docdir}/clamav/clamd.conf.example
- install -m 0755 ${WORKDIR}/clamd.conf ${D}${sysconfdir}/clamd.conf
-
- # Save the installed freshclam.conf in the doc dir and then install our new one
- install -m 0755 ${D}${sysconfdir}/freshclam.conf ${D}${docdir}/clamav/freshclam.conf.example
-
- # Install our config files and init scripts
- install -m 0755 ${WORKDIR}/freshclam.conf ${D}${sysconfdir}/freshclam.conf
- install -m 0755 ${WORKDIR}/clamav-daemon.default ${D}${sysconfdir}/default/clamav-daemon
- install -m 0755 ${WORKDIR}/clamav-daemon.init ${D}${sysconfdir}/init.d/clamav-daemon
- install -m 0755 ${WORKDIR}/clamav-freshclam.init ${D}${sysconfdir}/init.d/clamav-freshclam
+require clamav.inc
- # We need some /var directories
- for i in 02_clamav-data 03_clamav-daemon 03_clamav-freshclam; do
- install -m 0644 ${WORKDIR}/volatiles.$i ${D}${sysconfdir}/default/volatiles/$i
- done
-
- # Move the clamav data to a non-volatile location, we'll symlink back
- # If freshclam is running it'll break the link to this static data
- # once it has succesfully downloaded an update
- install -m 0755 -d ${D}${libdir}
- mv ${D}${localstatedir}/lib/clamav ${D}${libdir}
-}
-do_stage () {
- oe_libinstall -a -so libclamav ${STAGING_LIBDIR}
- rm -f ${STAGING_LIBDIR}/libclamav.la
- install -m 0644 libclamav/clamav.h ${STAGING_INCDIR}
-}
-
-PACKAGES += "${PN}-freshclam ${PN}-daemon ${PN}-data ${PN}-lib"
-
-FILES_${PN} = "${bindir}/clamscan ${bindir}/sigtool ${bindir}/clamdscan"
-FILES_${PN}-lib = "${libdir}/libclamav.so.*"
-FILES_${PN}-freshclam = "${bindir}/freshclam \
- ${sysconfdir}/freshclam.conf \
- ${sysconfdir}/init.d/clamav-freshclam \
- ${sysconfdir}/default/volatiles/03_clamav-freshclam"
-FILES_${PN}-daemon = "${sysconfdir}/clamd.conf \
- ${sbindir}/clamd \
- ${sysconfdir}/init.d/clamav-daemon \
- ${sysconfdir}/default/clamav-daemon \
- ${sysconfdir}/default/volatiles/03_clamav-daemon"
-FILES_${PN}-data = "${libdir}/clamav/main.cvd \
- ${libdir}/clamav/daily.cvd \
- ${sysconfdir}/default/volatiles/02_clamav-data"
-FILES_${PN}-dev += "${bindir}/clamav-config"
-
-# Add clamav's user and groups
-pkg_postinst_${PN}-freshclam () {
- grep -q clamav: /etc/group || addgroup clamav
- grep -q clamav: /etc/passwd || \
- adduser --disabled-password --home=/var/lib/clamav/ --system \
- --ingroup clamav --no-create-home -g "ClamAV" clamav
- /etc/init.d/populate-volatile.sh
-}
-pkg_postinst_${PN}-daemon () {
- grep -q clamav: /etc/group || addgroup clamav
- grep -q clamav: /etc/passwd || \
- adduser --disabled-password --home=/var/lib/clamav/ --system \
- --ingroup clamav --no-create-home -g "ClamAV" clamav
- /etc/init.d/populate-volatile.sh
-}
-pkg_postinst_${PN}-data () {
- grep -q clamav: /etc/group || addgroup clamav
- grep -q clamav: /etc/passwd || \
- adduser --disabled-password --home=/var/lib/clamav/ --system \
- --ingroup clamav --no-create-home -g "ClamAV" clamav
- /etc/init.d/populate-volatile.sh
-}
-
-# Indicate that the default files are configuration files
-CONFFILES_${PN}-daemon = "${sysconfdir}/clamd.conf \
- ${sysconfdir}/default/clamav-daemon"
-CONFFILES_${PN}-freshclam = "${sysconfdir}/freshclam.conf"
-
-INITSCRIPT_PACKAGES = "${PN}-daemon ${PN}-freshclam"
-INITSCRIPT_NAME_${PN}-daemon = "clamav-daemon"
-INITSCRIPT_NAME_${PN}-freshclam = "clamav-freshclam"
-INITSCRIPT_PARAMS_${PN}-daemon = "defaults 50 50"
-INITSCRIPT_PARAMS_${PN}-freshclam = "defaults 50 50"
+PR = "r6"
diff --git a/packages/clamav/clamav_0.88.5.bb b/packages/clamav/clamav_0.88.5.bb
new file mode 100644
index 0000000000..fec4ae59d8
--- /dev/null
+++ b/packages/clamav/clamav_0.88.5.bb
@@ -0,0 +1,3 @@
+require clamav.inc
+
+PR = "r0"
diff --git a/packages/clamav/site/.mtn2git_empty b/packages/clamav/site/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/clamav/site/.mtn2git_empty
+++ /dev/null
diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass
index 162274b89f..fc527b292a 100644
--- a/packages/glibc/glibc-package.bbclass
+++ b/packages/glibc/glibc-package.bbclass
@@ -261,7 +261,7 @@ python package_do_split_gconvs () {
cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, treedir, localedef_opts)
bb.note("generating locale %s (%s)" % (locale, encoding))
if os.system(cmd):
- raise bb.build.FuncFailed("localedef returned an error.")
+ raise bb.build.FuncFailed("localedef returned an error (command was %s)." % cmd)
def output_locale(name, locale, encoding):
use_bin = bb.data.getVar("GLIBC_INTERNAL_USE_BINARY_LOCALE", d, 1)
diff --git a/packages/libpng/1.2.12/.mtn2git_empty b/packages/libpng/1.2.12/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/libpng/1.2.12/.mtn2git_empty
+++ /dev/null
diff --git a/packages/libpng/libpng-1.2.12/.mtn2git_empty b/packages/libpng/libpng-1.2.12/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/libpng/libpng-1.2.12/.mtn2git_empty
+++ /dev/null
diff --git a/packages/oprofile/oprofile/opcontrol_bashisms.patch b/packages/oprofile/oprofile/opcontrol_bashisms.patch
new file mode 100644
index 0000000000..01ef11df86
--- /dev/null
+++ b/packages/oprofile/oprofile/opcontrol_bashisms.patch
@@ -0,0 +1,16 @@
+ utils/opcontrol | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: oprofile-0.9.2/utils/opcontrol
+===================================================================
+--- oprofile-0.9.2.orig/utils/opcontrol 2006-03-29 22:54:07.000000000 +0100
++++ oprofile-0.9.2/utils/opcontrol 2006-10-12 11:14:39.000000000 +0100
+@@ -485,7 +485,7 @@ validate_separate_args()
+ SEPARATE_KERNEL=0
+ SEPARATE_THREAD=0
+ SEPARATE_CPU=0
+- while (($i < $#)); do
++ while [ "$i" -lt "$#" ]; do
+ shift
+ case "$1" in
+ lib|library)
diff --git a/packages/oprofile/oprofile_0.9.1.bb b/packages/oprofile/oprofile_0.9.2.bb
index 991c7bfc99..e64aa10d49 100644
--- a/packages/oprofile/oprofile_0.9.1.bb
+++ b/packages/oprofile/oprofile_0.9.2.bb
@@ -6,6 +6,7 @@ DEPENDS = "popt binutils"
SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
file://no_arm_mapping_syms.patch;patch=1 \
+ file://opcontrol_bashisms.patch;patch=1 \
file://acinclude.m4"
S = "${WORKDIR}/oprofile-${PV}"
diff --git a/packages/oprofile/oprofile_cvs.bb b/packages/oprofile/oprofile_cvs.bb
index 5818d2ae5c..902c569e85 100644
--- a/packages/oprofile/oprofile_cvs.bb
+++ b/packages/oprofile/oprofile_cvs.bb
@@ -1,12 +1,16 @@
-PV = "0.9.1+cvs${SRCDATE}"
+PV = "0.9.2+cvs${SRCDATE}"
+PR = "r1"
SECTION = "devel"
DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
of profiling all running code at low overhead."
LICENSE = "GPL"
DEPENDS = "popt binutils"
-SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/oprofile;module=oprofile \
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module=oprofile \
file://no_arm_mapping_syms.patch;patch=1 \
+ file://opcontrol_bashisms.patch;patch=1 \
file://acinclude.m4"
S = "${WORKDIR}/oprofile"
diff --git a/packages/pine/pine_4.63.bb b/packages/pine/pine_4.64.bb
index 1bcb451f52..1bcb451f52 100644
--- a/packages/pine/pine_4.63.bb
+++ b/packages/pine/pine_4.64.bb
diff --git a/packages/quagga/quagga-0.99.2/.mtn2git_empty b/packages/quagga/quagga-0.99.2/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/quagga/quagga-0.99.2/.mtn2git_empty
+++ /dev/null