packages: Update the packages that use volatiles to pass update as a
authorJamie Lenehan <lenehan@twibble.org>
Wed, 22 Nov 2006 00:38:00 +0000 (00:38 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Wed, 22 Nov 2006 00:38:00 +0000 (00:38 +0000)
parameter to populate-volatiles.sh to ensure that the volatiles cache
is updated (if its in use) when a package is added after the initial
boot. The update parameter is ignore is the cache is not in use and
by older versions of populate-volatiles.sh that don't support this
parameter.

packages/bogofilter/bogofilter_0.96.0.bb
packages/clamav/clamav.inc
packages/clamav/clamav_0.88.5.bb
packages/clamav/clamav_0.88.6.bb
packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
packages/davfs2/davfs2_0.2.8.bb
packages/havp/havp_0.82.bb
packages/networkmanager/networkmanager_0.6.4.bb
packages/p3scan/p3scan_2.9.05d.bb
packages/postfix/postfix_2.0.20.bb

index 0b85c96..dba0893 100644 (file)
@@ -5,7 +5,7 @@ DESCRIPTION = "Bogofilter is a mail filter that classifies mail as spam or ham (
 by a statistical analysis of the message's header and content (body). \
 The program is able to learn from the user's classifications and corrections."
 LICENSE = "GPL"
-PR = "r5"
+PR = "r6"
 PRIORITY = "optional"
 
 SRC_URI = "http://download.sourceforge.net/bogofilter/bogofilter-${PV}.tar.bz2 \
@@ -34,5 +34,5 @@ pkg_postinst () {
          echo "bogofilter unix -       n       n       -       -       pipe" >> /etc/postfix/master.cf
          echo "  flags=R user=bogo argv=/usr/bin/postfix-filter.sh -f ${sender} -- ${recipient}" >> /etc/postfix/master.cf
          }
-       /etc/init.d/populate-volatile.sh
+       /etc/init.d/populate-volatile.sh update
 }
index 2a09c52..b18cd06 100644 (file)
@@ -93,21 +93,21 @@ pkg_postinst_${PN}-freshclam () {
         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
+        /etc/init.d/populate-volatile.sh update
 }
 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
+        /etc/init.d/populate-volatile.sh update
 }
 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
+        /etc/init.d/populate-volatile.sh update
 }
 
 # Indicate that the default files are configuration files
index fec4ae5..e721558 100644 (file)
@@ -1,3 +1,3 @@
 require clamav.inc
 
-PR = "r0"
+PR = "r1"
index fec4ae5..e721558 100644 (file)
@@ -1,3 +1,3 @@
 require clamav.inc
 
-PR = "r0"
+PR = "r1"
index 1bb806c..14fb728 100644 (file)
@@ -1,7 +1,7 @@
 SECTION = "console/network"
 DEPENDS = "cyrus-sasl virtual/db"
 LICENSE = "BSD"
-PR = "r8"
+PR = "r9"
 DEPENDS += "install-native"
 
 SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz \
@@ -44,7 +44,7 @@ do_install_append () {
 }
 
 pkg_postinst () {
-       /etc/init.d/populate-volatile.sh
+       /etc/init.d/populate-volatile.sh update
 }
 
 pkg_postrm () {
index a95bdde..f5a6f34 100644 (file)
@@ -6,7 +6,7 @@ DEPENDS = "neon-0.25.5"
 RDEPENDS_${PN} = "kernel-module-coda"
 LICENSE = "GPL"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/dav/${P}.tar.gz \
            file://Makefile.in.patch;patch=1 \
@@ -35,7 +35,7 @@ do_install_append () {
 pkg_postinst () {
        update-alternatives --install ${ALTERNATIVE_LINK} ${ALTERNATIVE_NAME} \
                ${ALTERNATIVE_PATH} ${ALTERNATIVE_PRIORITY}
-       /etc/init.d/populate-volatile.sh
+       /etc/init.d/populate-volatile.sh update
 }
 
 pkg_prerm () {
index 3a3cce4..f4298d9 100644 (file)
@@ -8,7 +8,7 @@ SECTION = "network"
 LICENSE = "GPLv2"
 DEPENDS = "clamav"
 RDEPENDS_${PN} += "${PN}-templates-css2 ${PN}-templates-en"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://www.server-side.de/download/havp-${PV}.tar.gz \
            file://sysconfdir-is-etc.patch;patch=1 \
@@ -79,7 +79,7 @@ pkg_postinst_${PN} () {
         grep -q havp: /etc/passwd || \
             adduser --disabled-password --home=${localstatedir}/lib/havp/ --system \
                     --ingroup havp --no-create-home -g "HAVP" havp
-        /etc/init.d/populate-volatile.sh
+        /etc/init.d/populate-volatile.sh update
 }
 
 CONFFILES_${PN} = "${sysconfdir}/havp/havp.config \
index e2575ed..95e8500 100644 (file)
@@ -6,7 +6,7 @@ PRIORITY = "optional"
 DEPENDS = "libnl dbus dbus-glib libhal-nm libgpewidget gnome-keyring gconf-dbus wireless-tools libglade"
 RDEPENDS = "wpa-supplicant iproute2 dhcdbd gnome-keyring hicolor-icon-theme"
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI="http://www.handhelds.org/~mmp/files/NetworkManager-${PV}-gpe.tar.gz \
        file://dbus-api-fix.patch;patch=1 \
@@ -48,6 +48,9 @@ do_install () {
        install -m 0755 ${WORKDIR}/nm-applet.desktop ${D}/${datadir}/
 }
 
+pkg_postinst () {
+       /etc/init.d/populate-volatile.sh update
+}
 
 FILES_${PN} += "${datadir} \
                ${libdir}/*.so* \
index a599685..328ae6e 100644 (file)
@@ -6,7 +6,7 @@ SECTION = "network"
 LICENSE = "GPLv2"
 DEPENDS = "gmp bzip2 zlib clamav openssl"
 RDEPENDS_${PN} = "${PN}-templates-en"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/p3scan/p3scan-2.9.05d.tar.gz \
            file://libtool-fix.patch;patch=1 \
@@ -76,7 +76,7 @@ pkg_postinst_${PN} () {
         grep -q mail: /etc/passwd || \
             adduser --disabled-password --home=${localstatedir}/mail --system \
                     --ingroup mail --no-create-home -g "Mail" mail
-        /etc/init.d/populate-volatile.sh
+        /etc/init.d/populate-volatile.sh update
 }
 
 CONFFILES_${PN} = "${sysconfdir}/p3scan/p3scan.conf"
index 06e173a..97bc253 100644 (file)
@@ -1,7 +1,7 @@
 SECTION = "console/network"
 DEPENDS = "virtual/db libpcre postfix-native"
 LICENSE = "IPL"
-PR = "r9"
+PR = "r10"
 
 SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \
           file://${FILESDIR}/makedefs.patch;patch=1 \
@@ -64,7 +64,7 @@ pkg_postinst () {
        rm -f /var/tmp/main_cf.sh
        chmod 644 /etc/postfix/main.cf
        [ -d /var/spool/postfix ] && rmdir /var/spool/postfix
-       /etc/init.d/populate-volatile.sh
+       /etc/init.d/populate-volatile.sh update
        touch /etc/aliases
        newaliases
        update-alternatives --install sendmail sendmail ${sbindir}/sendmail.${PN} 40