diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-08 18:24:54 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-08 18:24:54 +0000 |
commit | 6d52c1ee24f77690c932dfe8456dfa31e8808f4c (patch) | |
tree | fddeffde64aeb613edc23e3580d196a28eb1ff03 /include | |
parent | dc1c45795b36c232fe781962c5fab1df6b8299d9 (diff) | |
download | busybox-w32-6d52c1ee24f77690c932dfe8456dfa31e8808f4c.tar.gz busybox-w32-6d52c1ee24f77690c932dfe8456dfa31e8808f4c.tar.bz2 busybox-w32-6d52c1ee24f77690c932dfe8456dfa31e8808f4c.zip |
sendmail: update from maintainer
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 45 |
2 files changed, 27 insertions, 21 deletions
diff --git a/include/applets.h b/include/applets.h index a78ce1c77..40fa39069 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -151,6 +151,7 @@ USE_FBSET(APPLET(fbset, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | |||
151 | USE_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, _BB_DIR_BIN, _BB_SUID_NEVER, fdflush)) | 151 | USE_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, _BB_DIR_BIN, _BB_SUID_NEVER, fdflush)) |
152 | USE_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 152 | USE_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
153 | USE_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 153 | USE_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
154 | USE_FETCHMAIL(APPLET_ODDNAME(fetchmail, sendgetmail, _BB_DIR_USR_BIN, _BB_SUID_NEVER, fetchmail)) | ||
154 | USE_FEATURE_GREP_FGREP_ALIAS(APPLET_NOUSAGE(fgrep, grep, _BB_DIR_BIN, _BB_SUID_NEVER)) | 155 | USE_FEATURE_GREP_FGREP_ALIAS(APPLET_NOUSAGE(fgrep, grep, _BB_DIR_BIN, _BB_SUID_NEVER)) |
155 | USE_FIND(APPLET_NOEXEC(find, find, _BB_DIR_USR_BIN, _BB_SUID_NEVER, find)) | 156 | USE_FIND(APPLET_NOEXEC(find, find, _BB_DIR_USR_BIN, _BB_SUID_NEVER, find)) |
156 | //USE_FINDFS(APPLET_NOUSAGE(findfs, tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 157 | //USE_FINDFS(APPLET_NOUSAGE(findfs, tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
@@ -299,7 +300,7 @@ USE_RUNSV(APPLET(runsv, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | |||
299 | USE_RUNSVDIR(APPLET(runsvdir, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 300 | USE_RUNSVDIR(APPLET(runsvdir, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
300 | USE_RX(APPLET(rx, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 301 | USE_RX(APPLET(rx, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
301 | USE_SED(APPLET(sed, _BB_DIR_BIN, _BB_SUID_NEVER)) | 302 | USE_SED(APPLET(sed, _BB_DIR_BIN, _BB_SUID_NEVER)) |
302 | USE_SENDMAIL(APPLET(sendmail, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 303 | USE_SENDMAIL(APPLET_ODDNAME(sendmail, sendgetmail, _BB_DIR_USR_BIN, _BB_SUID_NEVER, sendmail)) |
303 | USE_SELINUXENABLED(APPLET(selinuxenabled, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 304 | USE_SELINUXENABLED(APPLET(selinuxenabled, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
304 | USE_SEQ(APPLET_NOFORK(seq, seq, _BB_DIR_USR_BIN, _BB_SUID_NEVER, seq)) | 305 | USE_SEQ(APPLET_NOFORK(seq, seq, _BB_DIR_USR_BIN, _BB_SUID_NEVER, seq)) |
305 | USE_SESTATUS(APPLET(sestatus, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 306 | USE_SESTATUS(APPLET(sestatus, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
diff --git a/include/usage.h b/include/usage.h index dfa751597..77a86074b 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1017,6 +1017,19 @@ USE_FEATURE_BRCTL_FANCY("\n" \ | |||
1017 | " -S SECTORS Set the number of sectors\n" \ | 1017 | " -S SECTORS Set the number of sectors\n" \ |
1018 | " -v Give fdisk version" | 1018 | " -v Give fdisk version" |
1019 | 1019 | ||
1020 | #define fetchmail_trivial_usage \ | ||
1021 | "[-C dir] [-w timeout] [-U user] -P password [-X] [-t] [-z] server[:port]" | ||
1022 | #define fetchmail_full_usage \ | ||
1023 | "Fetch content of remote mailbox to local Maildir." \ | ||
1024 | "\n\nOptions:\n" \ | ||
1025 | " -C dir Set Maildir location\n" \ | ||
1026 | " -w timeout Set timeout on network operations\n" \ | ||
1027 | " -U username Authenticate with specified username\n" \ | ||
1028 | " -P password Authenticate with specified password\n" \ | ||
1029 | " -X Use openssl connection helper for secured servers\n" \ | ||
1030 | " -t Get only headers\n" \ | ||
1031 | " -z Delete messages on server" | ||
1032 | |||
1020 | #define find_trivial_usage \ | 1033 | #define find_trivial_usage \ |
1021 | "[PATH...] [EXPRESSION]" | 1034 | "[PATH...] [EXPRESSION]" |
1022 | #define find_full_usage \ | 1035 | #define find_full_usage \ |
@@ -3138,29 +3151,21 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3138 | #define selinuxenabled_full_usage | 3151 | #define selinuxenabled_full_usage |
3139 | 3152 | ||
3140 | #define sendmail_trivial_usage \ | 3153 | #define sendmail_trivial_usage \ |
3141 | "{-t to}+ {-f from} [-n[notify]] [-s subject] [-b file]*\n" \ | 3154 | "[-C dir] [-w timeout] [-U user] [-P password] [-X]\n" \ |
3142 | "[-a attachment]* [-c charset]" \ | 3155 | "-t to [-t to] -f from [-n] [-s subject] [-c charset] server[:port] [body] [attachment ...]" |
3143 | USE_FEATURE_SENDMAIL_NETWORK("\n" \ | ||
3144 | " [-d] [-w timeout] [-h server] [-p port] [-U user] [-P password]" \ | ||
3145 | ) | ||
3146 | #define sendmail_full_usage \ | 3156 | #define sendmail_full_usage \ |
3147 | "Send an email <from> <to> with <subject> and optional attachments." \ | 3157 | "Send an email with optional attachments." \ |
3148 | "\n\nArguments:\n" \ | 3158 | "\n\nOptions:\n" \ |
3159 | " -C dir Change current directory to dir\n" \ | ||
3160 | " -w timeout Set timeout on network operations\n" \ | ||
3161 | " -U username Authenticate with specified username\n" \ | ||
3162 | " -P password Authenticate with specified password\n" \ | ||
3163 | " -X Use openssl connection helper for secured servers\n" \ | ||
3149 | " -t to Recipient email. May be multiple\n" \ | 3164 | " -t to Recipient email. May be multiple\n" \ |
3150 | " -f from Sender address\n" \ | 3165 | " -f from Sender address\n" \ |
3151 | " -n[notify] Optional notification address. If just -n given then notifies the sender\n" \ | 3166 | " -n Request delivery notification to sender\n" \ |
3152 | " -s subject Optional subject\n" \ | 3167 | " -s subject Subject\n" \ |
3153 | " -b filename Optional body content file. May be multiple\n" \ | 3168 | " -c charset Assumed charset for body and subject [utf-8]" |
3154 | " -a filename Optional file attachment. May be multiple\n" \ | ||
3155 | " -c charset Assumed charset for body and subject [koi8-r]" \ | ||
3156 | USE_FEATURE_SENDMAIL_NETWORK("\n" \ | ||
3157 | " -d Just dump composed message\n" \ | ||
3158 | " -w timeout Set timeout on network operations\n" \ | ||
3159 | " -h server Optional mail server name or IP [127.0.0.1]\n" \ | ||
3160 | " -p port Optional mail server port [25]\n" \ | ||
3161 | " -U username Authenticate using AUTH LOGIN with specified username\n" \ | ||
3162 | " -P password Authenticate using AUTH LOGIN with specified password" \ | ||
3163 | ) | ||
3164 | 3169 | ||
3165 | #define seq_trivial_usage \ | 3170 | #define seq_trivial_usage \ |
3166 | "[first [increment]] last" | 3171 | "[first [increment]] last" |