wok-current view slitaz-configs/receipt @ rev 14517
linux: fix local privilege escalation 0day, 2.6.37 - 3.8.10
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 16 16:02:27 2013 +0200 (2013-05-16) |
parents | 20d2f22a0ecf |
children | 372dd84badab |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="5.1.3"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files and artwork."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.slitaz.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION"
11 CONFIG_FILES="/etc/slitaz/applications.conf"
13 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
14 transset-df ttf-dejavu slitaz-tools-boxes clearlooks slim"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 # Copy rootfs files from the stuff and set permissions.
20 mkdir -p $fs/etc/xdg/openbox $fs/usr/share
21 for f in menu.en.xml menu.xml autostart environment rc.xml
22 do
23 cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
24 done
25 # /usr/share
26 for i in applications lxdm slim slitaz
27 do
28 cp -r $src/rootfs/usr/share/$i $fs/usr/share
29 done
30 cp -a $src/rootfs/usr/bin $fs/usr
31 cp -a $src/rootfs/etc/lxpanel $fs/etc
32 cp -a $src/rootfs/etc/slitaz $fs/etc
33 chown -R root.root $fs
34 }
36 post_install()
37 {
38 # By default slim provide a base theme and config file have both
39 # base and slitaz who will be choose randomly, so make sure we use
40 # only slitaz theme.
41 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
42 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
43 $1/etc/slim.conf
44 fi
45 }