# HG changeset patch # User Aleksej Bobylev # Date 1449242324 -7200 # Node ID fca172c323cf7d25ab147cbf7332b6be52bcbca8 # Parent d5f9f516b7065abff070c5b406b2499e16d9cfe2 Change messaging... (again); libgtop-dev, libsecret-dev: implicit dependencies don't works? diff -r d5f9f516b706 -r fca172c323cf backuppc/receipt --- a/backuppc/receipt Fri Dec 04 16:32:53 2015 +0200 +++ b/backuppc/receipt Fri Dec 04 17:18:44 2015 +0200 @@ -73,6 +73,7 @@ /etc/init.d/apache start fi cat <> $1/etc/passwd echo $BBUSER':!:14013:0:99999:7:::' >> $1/etc/shadow echo $BBUSER':x:505:' >> $1/etc/group @@ -84,7 +85,7 @@ if [ ! -e $1$DATA_DIR/backup ]; then # Creating backup dir - echo -n "Creating backup directory..." + action "Creating backup directory..." mkdir -p $1$DATA_DIR/backup && chroot $1/ chown -R $BBUSER $DATA_DIR && chmod -R 700 $1$DATA_DIR @@ -93,7 +94,7 @@ if [ ! -e $1$CONF_DIR/raidfile.conf ]; then # RAID Setup - echo -n "Disabling deprecated userland RAID..." + action "Disabling deprecated userland RAID..." chroot $1/ /usr/bin/raidfile-config $CONF_DIR 2048 $DATA_DIR 2>1 > /dev/null status chroot $1/ chown -R $BBUSER $CONF_DIR/raidfile.conf && @@ -102,7 +103,7 @@ if [ ! -e $1$CONF_DIR/bbstored.conf ]; then # Setting hostname - echo -n "Setting hostname... " + action "Setting hostname... " if [ $(chroot $1/ hostname -f 2>1 > /dev/null;echo $?) -eq 0 ]; then HOSTNAME=$(chroot $1/ hostname -f) fi @@ -113,17 +114,17 @@ echo $HOSTNAME # Setting up the CA environment - echo -n "Creating certificates..." + action "Creating certificates..." chroot $1/ /usr/bin/bbstored-certs $CA_DIR init 2>1 > /dev/null status # Generate server certificate request - echo -n "Generate server certificate request..." + action "Generate server certificate request..." chroot $1/ bbstored-config $CONF_DIR $HOSTNAME $BBUSER 2>1 > /dev/null status # Sign the server certificate - echo -n "Sign the server certificate..." + action "Sign the server certificate..." chroot $1/ openssl x509 -req -sha1 -extensions usr_crt \ -in $CONF_DIR/$BBUSER/${HOSTNAME}-csr.pem \ -CA $CA_DIR/roots/serverCA.pem \ @@ -133,10 +134,10 @@ status # Preparing the server certificates - echo -n "Installing server certificate..." + action "Installing server certificate..." cp -a $1$CA_DIR/servers/${HOSTNAME}-cert.pem $1$CONF_DIR/$BBUSER status - echo -n "Installing client certificate..." + action "Installing client certificate..." cp -a $1$CA_DIR/roots/clientCA.pem $1$CONF_DIR/$BBUSER status @@ -165,20 +166,21 @@ post_remove() { + echo if grep -q $BBUSER $1/etc/passwd; then - echo -n "Removing $BBUSER user..." + action "Removing $BBUSER user..." deluser bbstored status fi # Delete data if [ -e $DATA_DIR ]; then - echo -n "Removing all backup data..." + action "Removing all backup data..." rm -r $DATA_DIR status fi # Delete bbstored conf files if [ -e $CONF_DIR/bbstored.conf ]; then - echo -n "Removing config files..." + action "Removing config files..." rm -rf $CONF_DIR/bbstored rm -f $CONF_DIR/raidfile.conf rm -f $CONF_DIR/bbstored.conf @@ -186,13 +188,13 @@ fi # Delete certificates if [ -e $CA_DIR ]; then - echo -n "Removing certificates..." - rm -r $CA_DIR + action "Removing certificates..." + rm -r $CA_DIR status - fi + fi # Delete $CONF_DIR (if empty) if [ $(ls -lA $CONF_DIR | wc -l) -eq 0 ]; then - echo -n "Removing $CONF_DIR..." + action "Removing $CONF_DIR..." rm -r $CONF_DIR status fi diff -r d5f9f516b706 -r fca172c323cf libgtop-dev/receipt --- a/libgtop-dev/receipt Fri Dec 04 16:32:53 2015 +0200 +++ b/libgtop-dev/receipt Fri Dec 04 17:18:44 2015 +0200 @@ -7,9 +7,9 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="http://www.gnome.org" + WANTED="libgtop" - -DEPENDS="pkg-config" +DEPENDS="libgtop pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() @@ -19,4 +19,3 @@ cp -a $install/usr/lib/*a $fs/usr/lib cp -a $install/usr/lib/pkgconfig $fs/usr/lib } - diff -r d5f9f516b706 -r fca172c323cf libsecret-dev/receipt --- a/libsecret-dev/receipt Fri Dec 04 16:32:53 2015 +0200 +++ b/libsecret-dev/receipt Fri Dec 04 17:18:44 2015 +0200 @@ -6,10 +6,12 @@ SHORT_DESC="libsecret Secret Service API devel files." MAINTAINER="devl547@gmail.com" LICENSE="LGPL2.1" -WANTED="libsecret" WEB_SITE="http://gnome.org" HOST_ARCH="i486 arm" +WANTED="libsecret" +DEPENDS="libsecret" + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r d5f9f516b706 -r fca172c323cf wget/receipt --- a/wget/receipt Fri Dec 04 16:32:53 2015 +0200 +++ b/wget/receipt Fri Dec 04 17:18:44 2015 +0200 @@ -42,6 +42,7 @@ If you want to use the busybox wget, do (as root): \033[1m ln -s /bin/busybox /usr/bin/wget \033[0m " + : } post_remove()