From e500d2083560b2988e7e48e00ba836ce0450c656 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 29 Nov 2000 21:38:11 +0000 Subject: Apply a patch fromkent robotti: Renamed unrpm to original rpmunpack, so you can use an included shell script called unrpm as a front end to it. There's also a shell script called undeb included for debian packages. Change undeb and unrpm scripts to work with the busybox tar and gunzip. --- include/applets.h | 6 +++--- include/busybox.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/applets.h b/include/applets.h index f21a490..a747b86 100644 --- a/include/applets.h +++ b/include/applets.h @@ -262,6 +262,9 @@ const struct BB_applet applets[] = { #ifdef BB_RMMOD {"rmmod", rmmod_main, _BB_DIR_SBIN, rmmod_usage}, #endif +#ifdef BB_RPMUNPACK + {"rpmunpack", rpmunpack_main, _BB_DIR_USR_BIN, rpmunpack_usage}, +#endif #ifdef BB_SED {"sed", sed_main, _BB_DIR_BIN, sed_usage}, #endif @@ -328,9 +331,6 @@ const struct BB_applet applets[] = { #ifdef BB_UNIX2DOS {"unix2dos", unix2dos_main, _BB_DIR_USR_BIN, unix2dos_usage}, #endif -#ifdef BB_UNRPM - {"unrpm", unrpm_main, _BB_DIR_USR_BIN, unrpm_usage}, -#endif #ifdef BB_UPDATE {"update", update_main, _BB_DIR_SBIN, update_usage}, #endif diff --git a/include/busybox.h b/include/busybox.h index f0f8d5d..3fc91a3 100644 --- a/include/busybox.h +++ b/include/busybox.h @@ -194,6 +194,7 @@ extern int reset_main(int argc, char** argv); extern int rm_main(int argc, char** argv); extern int rmdir_main(int argc, char **argv); extern int rmmod_main(int argc, char** argv); +extern int rpmunpack_main(int argc, char** argv); extern int sed_main(int argc, char** argv); extern int sfdisk_main(int argc, char** argv); extern int setkeycodes_main(int argc, char** argv); @@ -218,7 +219,6 @@ extern int umount_main(int argc, char** argv); extern int uname_main(int argc, char** argv); extern int uniq_main(int argc, char** argv); extern int unix2dos_main(int argc, char** argv); -extern int unrpm_main(int argc, char** argv); extern int update_main(int argc, char** argv); extern int uptime_main(int argc, char** argv); extern int usleep_main(int argc, char** argv); @@ -310,6 +310,7 @@ extern const char reset_usage[]; extern const char rm_usage[]; extern const char rmdir_usage[]; extern const char rmmod_usage[]; +extern const char rpmunpack_usage[]; extern const char sed_usage[]; extern const char setkeycodes_usage[]; extern const char shell_usage[]; @@ -332,7 +333,6 @@ extern const char umount_usage[]; extern const char uname_usage[]; extern const char uniq_usage[]; extern const char unix2dos_usage[]; -extern const char unrpm_usage[]; extern const char update_usage[]; extern const char uptime_usage[]; extern const char usleep_usage[]; -- cgit v1.1