# HG changeset patch # User Pascal Bellard # Date 1404897923 -7200 # Node ID 1c473ed1c351512849cdeca67db0dcac14ee446f # Parent 497a94b577b43e3bff3684a59554f31d15cfdd42 busybox/dpkg_deb: add xz support diff -r 497a94b577b4 -r 1c473ed1c351 apache/receipt --- a/apache/receipt Sun Jul 06 10:56:03 2014 +0200 +++ b/apache/receipt Wed Jul 09 11:25:23 2014 +0200 @@ -78,7 +78,7 @@ # Just in case. chown www.www $1/var/log/$PACKAGE ping -c 2 $(hostname) > /dev/null 2>&1 || - sed -i "s/localhost/$(hostname) localhost/" /etc/hosts + sed -i "s/localhost/$(hostname) localhost/" $1/etc/hosts [ -s $1/etc/ssl/apache/apache.pem ] || openssl req -new -x509 -keyout $1/etc/ssl/apache/apache.pem \ -out $1/etc/ssl/apache/apache.pem -days 3650 -nodes <accept, (char*)"data.tar.lzma"); + llist_add_to(&control_tar_llist, (char*)"control.tar.lzma"); + #endif ++#if ENABLE_FEATURE_SEAMLESS_XZ ++ llist_add_to(&ar_archive->accept, (char*)"data.tar.xz"); ++ llist_add_to(&control_tar_llist, (char*)"control.tar.xz"); ++#endif + + opt_complementary = "c--efXx:e--cfXx:f--ceXx:X--cefx:x--cefX"; + opt = getopt32(argv, "cefXx");