[arch-commits] Commit in munin/trunk (08-munin-font-dir.conf PKGBUILD munin.install)

Dan McGee dan at archlinux.org
Sat Jan 2 16:42:42 UTC 2010


    Date: Saturday, January 2, 2010 @ 11:42:42
  Author: dan
Revision: 62111

upgpkg: munin 1.4.3-1
    bump version to 1.4.3, add a fontconfig file so you don't need other truetype packages installed

Added:
  munin/trunk/08-munin-font-dir.conf
Modified:
  munin/trunk/PKGBUILD
  munin/trunk/munin.install

------------------------+
 08-munin-font-dir.conf |    7 +++++++
 PKGBUILD               |    7 +++++--
 munin.install          |    9 +++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

Added: 08-munin-font-dir.conf
===================================================================
--- 08-munin-font-dir.conf	                        (rev 0)
+++ 08-munin-font-dir.conf	2010-01-02 16:42:42 UTC (rev 62111)
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+	<!-- Add the munin directory to available fonts in case
+	      no other TTF packages have been installed -->
+	<dir>/usr/lib/munin</dir>
+</fontconfig>

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-02 10:33:42 UTC (rev 62110)
+++ PKGBUILD	2010-01-02 16:42:42 UTC (rev 62111)
@@ -3,7 +3,7 @@
 # Contributor: Evan LeCompte <evanlec at gmail.com>
 pkgname=('munin' 'munin-node')
 pkgbase=munin
-pkgver=1.4.2
+pkgver=1.4.3
 pkgrel=1
 pkgdesc="A distributed monitoring/graphing tool"
 arch=('any')
@@ -16,6 +16,7 @@
         munin-node.init
         logrotate.munin
         logrotate.munin-node
+        08-munin-font-dir.conf
         iostat_partition)
 
 build() { 
@@ -33,6 +34,7 @@
 	make DESTDIR=$pkgdir install-master-prime || exit 1
 	install -D -m644 $srcdir/munin-cron-entry $pkgdir/etc/munin/munin-cron-entry
 	install -D -m644 $srcdir/logrotate.munin $pkgdir/etc/logrotate.d/munin
+	install -D -m644 $srcdir/08-munin-font-dir.conf $pkgdir/etc/fonts/conf.d/08-munin-font-dir.conf
 }
 
 package_munin-node() {
@@ -48,10 +50,11 @@
 	install -D -m644 $srcdir/logrotate.munin-node $pkgdir/etc/logrotate.d/munin-node
 }
 
-md5sums=('656f0b25af119841b610cac9682d7e54'
+md5sums=('229646facc4e2bca6511b20b3e5eb73f'
          '6ebc31eaa09734394606f7a1e19e38a5'
          'dc9c83aa2a278466fb475364462f4119'
          '9551a2f7c0f0364fd1b7dd010675e47a'
          'db77b53150a906256a71a9f539c7fac2'
          'cdf139f2b6ae36852113f3411caa6e99'
+         'e33a45c3b80a83eecabbe5a9920c1eb6'
          '12289ab5d062449eaa14376f927f5d26')

Modified: munin.install
===================================================================
--- munin.install	2010-01-02 10:33:42 UTC (rev 62110)
+++ munin.install	2010-01-02 16:42:42 UTC (rev 62111)
@@ -7,4 +7,13 @@
   # Display cron command
   echo "See the example cron entry (for the munin user) for further setup:
     /etc/munin/munin-cron-entry"
+  post_upgrade
 }
+
+post_upgrade() {
+  fc-cache -fs
+}
+
+post_remove() {
+  fc-cache -fs
+}




More information about the arch-commits mailing list