aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-11-29 21:38:11 +0000
committerEric Andersen <andersen@codepoet.org>2000-11-29 21:38:11 +0000
commite500d2083560b2988e7e48e00ba836ce0450c656 (patch)
tree8541687153725cb192f1fac48ddadbb060b4c24e /include
parentd58ff8731ce635a75406cc8b9629f1041bb4ed32 (diff)
downloadbusybox-e500d2083560b2988e7e48e00ba836ce0450c656.tar.gz
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.
Diffstat (limited to 'include')
-rw-r--r--include/applets.h6
-rw-r--r--include/busybox.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/include/applets.h b/include/applets.h
index f21a49076..a747b8619 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 f0f8d5dd9..3fc91a387 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[];