aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-10-13 14:26:35 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2011-10-13 14:26:35 -0700
commitbde60a9fdd1a58288bde9f1877c2afa2da22406f (patch)
tree80611f5e5b92e8eb4eac2f0e851f1f9512bbeca9
parentf51087b2c5379860cf7d8d104cab5b3ff80d3f91 (diff)
downloadkup-bde60a9fdd1a58288bde9f1877c2afa2da22406f.tar.gz
Rename korgupload to kup-server
The entire package is starting to be referred to as "kup", which is probably good. Make the relationship between the client and the server more obvious by renaming korgupload to kup-server. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--README6
-rwxr-xr-xkup-server (renamed from korgupload)4
-rw-r--r--kup.12
3 files changed, 6 insertions, 6 deletions
diff --git a/README b/README
index ae9b199..17862e1 100644
--- a/README
+++ b/README
@@ -1,14 +1,14 @@
-The program "korgupload" is expected to be the receiver of an ssh
+The program "kup-server" is expected to be the receiver of an ssh
shell, configured with the following options in authorized_keys or
similar:
-command="/path/to/korgupload",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding <pubkey>
+command="/path/to/kup-server",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding <pubkey>
Each user should have their own UID, as Unix user permissions are used
for specific tree access control.
-The following pathnames in korgupload need to be customized
+The following pathnames in kup-server need to be customized
appropriately. They should all be disjoint!
my $data_path = '/home/hpa/kernel.org/test/pub';
diff --git a/korgupload b/kup-server
index f17b068..f020548 100755
--- a/korgupload
+++ b/kup-server
@@ -112,7 +112,7 @@ sub my_username() {
if (!defined($name) || $whoami != $uid) {
# We haven't called openlog() yet so we need to do it here
- openlog("korgupload($whoami)", 'ndelay,pid', LOG_LOCAL5);
+ openlog("kup-server($whoami)", 'ndelay,pid', LOG_LOCAL5);
fatal("You don't exist, go away!");
}
@@ -121,7 +121,7 @@ sub my_username() {
my $user_name = my_username();
-openlog("korgupload($user_name)", 'ndelay,pid', LOG_LOCAL5);
+openlog("kup-server($user_name)", 'ndelay,pid', LOG_LOCAL5);
# Create a temporary directory with plenty of randomness
sub make_temp_dir() {
diff --git a/kup.1 b/kup.1
index 071354f..288c704 100644
--- a/kup.1
+++ b/kup.1
@@ -17,7 +17,7 @@ kup \- kernel.org upload utility
.SH DESCRIPTION
.PP
This utility is used to upload files to \fIkernel.org\fP and other
-systems using the same upload system (\fBkorgupload\fP). Each upload
+systems using the same upload system (\fBkup-server\fP). Each upload
is required to have a PGP signature, and the server will generate
multiple compressed formats if the content uploaded is intended to be
compressed.