wok annotate tazbug-website/receipt @ rev 13704
adding folder creations & perms
author | xfred222 |
---|---|
date | Mon Dec 17 08:42:01 2012 -0500 (2012-12-17) |
parents | 837a5d71872c |
children | ff80d60180b6 |
rev | line source |
---|---|
xfred222@13693 | 1 # SliTaz package receipt. |
xfred222@13693 | 2 |
xfred222@13693 | 3 PACKAGE="tazbug-website" |
xfred222@13693 | 4 VERSION="1.0" |
xfred222@13693 | 5 CATEGORY="misc" |
xfred222@13693 | 6 SHORT_DESC="SliTaz Bug Tracker website" |
xfred222@13693 | 7 MAINTAINER="fredericguilbault@live.ca" |
xfred222@13693 | 8 WEB_SITE="http://bugs.slitaz.org" |
xfred222@13693 | 9 TARBALL="tazbug-$VERSION.tar.gz" |
xfred222@13693 | 10 WGET_URL="http://mirror.slitaz.org/sources/tazbug/$TARBALL" |
xfred222@13693 | 11 |
xfred222@13693 | 12 DEPENDS="busybox gettext-base slitaz-base-files" |
xfred222@13693 | 13 BUILD_DEPENDS="gettext" |
xfred222@13693 | 14 |
xfred222@13693 | 15 |
xfred222@13693 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
xfred222@13693 | 17 genpkg_rules() |
xfred222@13693 | 18 { |
xfred222@13704 | 19 mv $src/web/bugs.conf /etc/slitaz/bugs.conf |
xfred222@13704 | 20 |
xfred222@13693 | 21 mkdir -pm0755 $fs/var/www/bugs |
xfred222@13693 | 22 cp -a $src/web/* $fs/var/www/bugs/ |
xfred222@13693 | 23 cp $stuff/index.html $fs/var/www/bugs/ |
xfred222@13693 | 24 chown -R 80.80 $fs/var/www/bugs |
xfred222@13704 | 25 |
xfred222@13704 | 26 mkdir -pm0755 $fs/var/lib/slitaz/auth/ |
xfred222@13704 | 27 touch $fs/var/lib/slitaz/auth/people |
xfred222@13704 | 28 chmod 0600 $fs/var/lib/slitaz/auth/people |
xfred222@13704 | 29 chown -R 80.80 $fs/var/lib/slitaz/auth/people |
xfred222@13704 | 30 |
xfred222@13704 | 31 mkdir -pm0700 $fs/var/lib/slitaz/people/ |
xfred222@13704 | 32 chown -R 80.80 $fs/var/lib/slitaz/people/ |
xfred222@13695 | 33 } |
xfred222@13704 | 34 |
xfred222@13704 | 35 |