[arch-commits] CVS update of extra/network/martian-ck (PKGBUILD martian.install)

Tom Killian tom at archlinux.org
Mon Aug 20 10:04:26 UTC 2007


    Date: Monday, August 20, 2007 @ 06:04:26
  Author: tom
    Path: /home/cvs-extra/extra/network/martian-ck

   Added: martian.install (1.1)
Modified: PKGBUILD (1.1 -> 1.2)

upgpkg: martian-ck 20061203-2
rebuild for 2.6.22.3.ck1


-----------------+
 PKGBUILD        |    4 ++--
 martian.install |   29 +++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 2 deletions(-)


Index: extra/network/martian-ck/PKGBUILD
diff -u extra/network/martian-ck/PKGBUILD:1.1 extra/network/martian-ck/PKGBUILD:1.2
--- extra/network/martian-ck/PKGBUILD:1.1	Tue Jul 24 05:33:49 2007
+++ extra/network/martian-ck/PKGBUILD	Mon Aug 20 06:04:26 2007
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.1 2007/07/24 09:33:49 tom Exp $
+# $Id: PKGBUILD,v 1.2 2007/08/20 10:04:26 tom Exp $
 # Maintainer:
 # Contributor: Steve Vialle <steve_v at orcon.net.nz>
 
 pkgname=martian-ck
 pkgver=20061203
-pkgrel=1
+pkgrel=2
 license=("GPL" "custom:Agere Systems license")
 arch=('i686')
 _kernver=2.6.22-ck
Index: extra/network/martian-ck/martian.install
diff -u /dev/null extra/network/martian-ck/martian.install:1.1
--- /dev/null	Mon Aug 20 06:04:26 2007
+++ extra/network/martian-ck/martian.install	Mon Aug 20 06:04:26 2007
@@ -0,0 +1,29 @@
+# arg 1:  the new package version
+post_install() {
+  # updating module dependencies
+  echo ">>> Updating module dependencies. Please wait ..."
+  KERNEL_VERSION=2.6.17-beyond
+  depmod -A -v $KERNEL_VERSION > /dev/null 2>&1
+}
+echo
+echo
+echo "==> NOTICE:"
+echo "==> To load driver at startup, add 'martian_dev' to the MODULES array "
+echo "==> and 'martian' to the DAEMONS array in /etc/rc.conf"
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+  # updating module dependencies
+  echo ">>> Updating module dependencies. Please wait ..."
+  KERNEL_VERSION=2.6.17-beyond
+  depmod -A -v $KERNEL_VERSION > /dev/null 2>&1
+}
+op=$1
+shift
+$op $* 
\ No newline at end of file




More information about the arch-commits mailing list