diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/unarchive.h | 1 | ||||
-rw-r--r-- | include/usage.h | 13 |
3 files changed, 17 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index b7171f7a1..9257fc940 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -440,6 +440,9 @@ | |||
440 | #ifdef CONFIG_ROUTE | 440 | #ifdef CONFIG_ROUTE |
441 | APPLET(route, route_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 441 | APPLET(route, route_main, _BB_DIR_SBIN, _BB_SUID_NEVER) |
442 | #endif | 442 | #endif |
443 | #ifdef CONFIG_RPM | ||
444 | APPLET(rpm, rpm_main, _BB_DIR_BIN, _BB_SUID_NEVER) | ||
445 | #endif | ||
443 | #ifdef CONFIG_RPM2CPIO | 446 | #ifdef CONFIG_RPM2CPIO |
444 | APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 447 | APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
445 | #endif | 448 | #endif |
diff --git a/include/unarchive.h b/include/unarchive.h index aca685915..8396f878c 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -85,6 +85,7 @@ extern void check_header_gzip(int src_fd); | |||
85 | extern void check_trailer_gzip(int src_fd); | 85 | extern void check_trailer_gzip(int src_fd); |
86 | 86 | ||
87 | extern char get_header_ar(archive_handle_t *archive_handle); | 87 | extern char get_header_ar(archive_handle_t *archive_handle); |
88 | extern char get_header_cpio(archive_handle_t *archive_handle); | ||
88 | extern char get_header_tar(archive_handle_t *archive_handle); | 89 | extern char get_header_tar(archive_handle_t *archive_handle); |
89 | extern char get_header_tar_bz2(archive_handle_t *archive_handle); | 90 | extern char get_header_tar_bz2(archive_handle_t *archive_handle); |
90 | extern char get_header_tar_gz(archive_handle_t *archive_handle); | 91 | extern char get_header_tar_gz(archive_handle_t *archive_handle); |
diff --git a/include/usage.h b/include/usage.h index 17fd4073a..5b357a218 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1696,6 +1696,19 @@ | |||
1696 | "\t-n\tDont resolve names.\n" \ | 1696 | "\t-n\tDont resolve names.\n" \ |
1697 | "\t-e\tDisplay other/more information" | 1697 | "\t-e\tDisplay other/more information" |
1698 | 1698 | ||
1699 | #define rpm_trivial_usage \ | ||
1700 | "-i -q[ildc]p package.rpm" | ||
1701 | #define rpm_full_usage \ | ||
1702 | "Manipulates RPM packages" \ | ||
1703 | "Options:" \ | ||
1704 | "\t-i Install package" \ | ||
1705 | "\t-q Query package" \ | ||
1706 | "\t\t-p Query uninstalled package" \ | ||
1707 | "\t\t-i Show information" \ | ||
1708 | "\t\t-l List contents" \ | ||
1709 | "\t\t-d List documents" \ | ||
1710 | "\t\t-c List config files" | ||
1711 | |||
1699 | #define rpm2cpio_trivial_usage \ | 1712 | #define rpm2cpio_trivial_usage \ |
1700 | "package.rpm" | 1713 | "package.rpm" |
1701 | #define rpm2cpio_full_usage \ | 1714 | #define rpm2cpio_full_usage \ |