Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 15779:ad05e742684d

busybox: restore losetup default behaviour
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 11 11:04:09 2014 +0000 (9 months ago ago)
parents 0bc9efb792e7
children 8cd1011dc633
files busybox/receipt busybox/stuff/busybox-1.22-losetup.u postfix/receipt
line diff
     1.1 --- a/busybox/receipt	Thu Jan 09 18:06:52 2014 +0000
     1.2 +++ b/busybox/receipt	Sat Jan 11 11:04:09 2014 +0000
     1.3 @@ -42,6 +42,7 @@
     1.4  cmdline.u
     1.5  diff.u
     1.6  diet.u
     1.7 +losetup.u
     1.8  EOT
     1.9      cp $stuff/$PACKAGE-${VERSION%.*}.config .config
    1.10  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/busybox/stuff/busybox-1.22-losetup.u	Sat Jan 11 11:04:09 2014 +0000
     2.3 @@ -0,0 +1,12 @@
     2.4 +keep previous default behaviour
     2.5 +--- busybox-1.22.0/util-linux/losetup.c
     2.6 ++++ busybox-1.22.0/util-linux/losetup.c
     2.7 +@@ -70,7 +70,7 @@
     2.8 + 	}
     2.9 + 
    2.10 + 	/* -a */
    2.11 +-	if (opt == OPT_a) {
    2.12 ++	if (opt == OPT_a || (!opt && !argv[0])) {
    2.13 + 		int n;
    2.14 + 		for (n = 0; n < MAX_LOOP_NUM; n++) {
    2.15 + 			char *s;
     3.1 --- a/postfix/receipt	Thu Jan 09 18:06:52 2014 +0000
     3.2 +++ b/postfix/receipt	Sat Jan 11 11:04:09 2014 +0000
     3.3 @@ -11,6 +11,7 @@
     3.4  WGET_URL="ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/$TARBALL"
     3.5  TAZPANEL_DAEMON="man|edit::/etc/postfix/main.cf|options|web::$WEB_SITE"
     3.6  CONFIG_FILES="/etc/postfix"
     3.7 +PROVIDE="sendmail"
     3.8  
     3.9  DEPENDS="libdb libldap pcre libssl slitaz-base-files libsasl libkrb5 \
    3.10  libcomerr3 libmysqlclient"