[Slackbuilds-users] Orphaned slackbuilds and kqemu.SlackBuild

Marco Pessotto melmothx at gmail.com
Sun Sep 6 19:41:28 UTC 2009


Dear list, 

as usual, thanks for you great work. 

I'm forced by the life, the universe and everything to drop the
maintenance of my previously submitted slackbuilds: scid, Phalanx,
polyglot and toga2. 

I use this email to make you notice a "problem" in the kqemu slackbuild,
which can be easily fixed. 

make install in the kqemu package simply exec the install.sh, which in
turn copy the .ko in the modules' tree and execute depmod -a. This
script is edited on-the-fly by the slackbuild, which doesn't remove
the depmod -a (useless because the module isn't dropped in the kernel
modules tree). Anyway, this prevents the slackbuild to be executed as
user with a chown root:root at the very end.  

This could be the patch:

--- kqemu.SlackBuild.orig       2009-09-06 21:33:18.000000000 +0200
+++ kqemu.SlackBuild    2009-09-06 21:33:57.000000000 +0200
@@ -69,6 +69,7 @@

 make
 sed -i "s%/lib%\$PKG/lib%" install.sh
+sed -i "/^\/sbin\/depmod -a/d" install.sh
 PKG=$TMP/package-$PRGNAM make install

 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION


Bests

-- 
Marco



More information about the SlackBuilds-users mailing list