summaryrefslogtreecommitdiffstats
path: root/kdesu
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 02:28:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 02:28:57 -0600
commit7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04 (patch)
treeb7c6396f4f7fe78dcd49424bff707e977541de18 /kdesu
parent66c0fa70796c1989a9f3adb0c5c0ad799ade48ca (diff)
downloadtdebase-7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04.tar.gz
tdebase-7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04.zip
Additional kde to tde renaming
Diffstat (limited to 'kdesu')
-rw-r--r--kdesu/CMakeLists.txt4
-rw-r--r--kdesu/ChangeLog16
-rw-r--r--kdesu/FAQ6
-rw-r--r--kdesu/LICENSE.readme2
-rw-r--r--kdesu/Makefile.am2
-rw-r--r--kdesu/README4
-rw-r--r--kdesu/configure.in.in14
-rw-r--r--kdesu/kdesu/CMakeLists.txt8
-rw-r--r--kdesu/kdesu/Makefile.am16
-rw-r--r--kdesu/kdesu/kdesu.cpp14
-rw-r--r--kdesu/kdesu/sudlg.cpp4
-rw-r--r--kdesu/kdesu/sudlg.h2
-rw-r--r--kdesu/kdesud/CMakeLists.txt12
-rw-r--r--kdesu/kdesud/Makefile.am22
-rw-r--r--kdesu/kdesud/handler.cpp12
-rw-r--r--kdesu/kdesud/handler.h2
-rw-r--r--kdesu/kdesud/kdesud.cpp28
-rw-r--r--kdesu/kdesud/lexer.cpp4
-rw-r--r--kdesu/kdesud/lexer.h4
-rw-r--r--kdesu/kdesud/repo.cpp2
-rw-r--r--kdesu/kdesud/repo.h2
-rw-r--r--kdesu/kdesud/secure.cpp4
-rw-r--r--kdesu/kdesud/secure.h2
23 files changed, 93 insertions, 93 deletions
diff --git a/kdesu/CMakeLists.txt b/kdesu/CMakeLists.txt
index 5461732be..c1fef3ba8 100644
--- a/kdesu/CMakeLists.txt
+++ b/kdesu/CMakeLists.txt
@@ -49,5 +49,5 @@ else()
set( DEFAULT_SUPER_USER_COMMAND su CACHE INTERNAL "" FORCE )
endif()
-add_subdirectory( kdesu )
-add_subdirectory( kdesud )
+add_subdirectory( tdesu )
+add_subdirectory( tdesud )
diff --git a/kdesu/ChangeLog b/kdesu/ChangeLog
index 7ef6d2de2..ad44b81a5 100644
--- a/kdesu/ChangeLog
+++ b/kdesu/ChangeLog
@@ -8,7 +8,7 @@ Wed, 26 Jan 00 Geert Jansen <g.t.jansen@stud.tue.nl>
Sat, 18 Dec 99 Geert Jansen <g.t.jansen@stud.tue.nl>
* Add DCOP authentication cookies.
- * Fixed SMP install of kdesud.
+ * Fixed SMP install of tdesud.
Sat, 23 Oct 99 Geert Jansen <g.t.jansen@stud.tue.nl>
@@ -17,14 +17,14 @@ Sat, 23 Oct 99 Geert Jansen <g.t.jansen@stud.tue.nl>
Tue, 28 Sep 99 Geert Jansen <g.t.jansen@stud.tue.nl>
- * Integrating kdesu into kdebase
+ * Integrating tdesu into kdebase
Sat, 25 Sep 99 Geert Jansen <g.t.jansen@stud.tue.nl>
* BIG change: su to other user than root. This required a different way
to pass X cookies and stuff to the target process. See
- common/kdesu_stub.c for more info.
- * Fixed a bug in kdesud/lexer.cpp
+ common/tdesu_stub.c for more info.
+ * Fixed a bug in tdesud/lexer.cpp
Thu, 23 Sep 99 Geert Jansen <g.t.jansen@stud.tue.nl>
@@ -32,7 +32,7 @@ Thu, 23 Sep 99 Geert Jansen <g.t.jansen@stud.tue.nl>
* The execution of processes is more efficient now: 2 processess instead
of 3 and 1 tempfile instead of 2. This way possible by setting the
XAUTHORITY env. var. to $HOME/.Xauthority instead of making a new one.
- * Fixed a subtle bug in kdesud. kdesud catches SIGCHLD to handle child
+ * Fixed a subtle bug in tdesud. tdesud catches SIGCHLD to handle child
exits but this is incompatible with "class RootProcess", which does a
waitpid() and depends on getting the exit code.
* Only connect to daemon when necessary.
@@ -46,11 +46,11 @@ Wed, 22 Sep 99 Geert Jansen <g.t.jansen@stud.tue.nl>
Wed, 8 Sep 99 Geert Jansen <g.t.jansen@stud.tue.nl>
- * If started as root, kdesu does not ask for a password anymore.
+ * If started as root, tdesu does not ask for a password anymore.
Wed, 1 Sep 99 Geert Jansen <g.t.jansen@stud.tue.nl>
- * Deferred instantiation of kapp in kdesu.cpp.
+ * Deferred instantiation of kapp in tdesu.cpp.
* Finished porting to KDE2.
Sun, 29 Aug 99 Geert Jansen <g.t.jansen@stud.tue.nl>
@@ -114,7 +114,7 @@ Thu, 20 May 99 Geert Jansen <g.t.jansen@stud.tue.nl>
Fri, 09 Apr 99 Geert Jansen <g.t.jansen@stud.tue.nl>
- * Backport to KDE 1.1. Release as kdesu-0.9.tar.gz
+ * Backport to KDE 1.1. Release as tdesu-0.9.tar.gz
Mon, 22 Mar 99 Geert Jansen <g.t.jansen@stud.tue.nl>
diff --git a/kdesu/FAQ b/kdesu/FAQ
index e5a60fbeb..b7d1499c7 100644
--- a/kdesu/FAQ
+++ b/kdesu/FAQ
@@ -9,11 +9,11 @@ A: No program is 100% safe. However, KDE su is not setuid root and it
Q: How safe is password keeping?
A: Enabling password keeping is less secure that disabling it. However, the
- scheme kdesu uses to keep passwords prevents everyone (including you, the
+ scheme tdesu uses to keep passwords prevents everyone (including you, the
user) from accessing them. Please see the HTML documentation for a full
description of this scheme.
-Q: Can I execute tty applications with kdesu?
+Q: Can I execute tty applications with tdesu?
A: No. TTY application will probably never be supported. Use the Unix su for
those.
NOTE: As of version 0.94, tty _output_ _only_ is supported with the `-t'
@@ -32,7 +32,7 @@ A: KDE su needs to setup a pty/tty pair for communicating with `su'. This is
that is not a tty. Setting up a pty/tty pair is not completely portable.
Q: A good debug tip?
-A: If kdesu doesn't fire up your application, use the '-t' switch.
+A: If tdesu doesn't fire up your application, use the '-t' switch.
This way, you'll get terminal output. Maybe there is something wrong with
the program you're trying to run.
diff --git a/kdesu/LICENSE.readme b/kdesu/LICENSE.readme
index 025de076d..234d3c1d8 100644
--- a/kdesu/LICENSE.readme
+++ b/kdesu/LICENSE.readme
@@ -1,4 +1,4 @@
-kdesu - a KDE front end to su
+tdesu - a KDE front end to su
Copyright (c) 1998 by Pietro Iglio <iglio@fub.it>
Copyright (c) 1999,2000 by Geert Jansen <jansen@kde.org>
diff --git a/kdesu/Makefile.am b/kdesu/Makefile.am
index cac8b9a8b..a07d47884 100644
--- a/kdesu/Makefile.am
+++ b/kdesu/Makefile.am
@@ -1 +1 @@
-SUBDIRS = kdesu kdesud
+SUBDIRS = tdesu tdesud
diff --git a/kdesu/README b/kdesu/README
index 6a141b0e7..caa2e0d48 100644
--- a/kdesu/README
+++ b/kdesu/README
@@ -10,8 +10,8 @@ What is it?
Usage:
- $ kdesu -h
- $ kdesu -c konsole
+ $ tdesu -h
+ $ tdesu -c konsole
Please see the HTML documentation!
diff --git a/kdesu/configure.in.in b/kdesu/configure.in.in
index 5c0798344..512825786 100644
--- a/kdesu/configure.in.in
+++ b/kdesu/configure.in.in
@@ -46,17 +46,17 @@ AC_MSG_RESULT($nogroup)
AC_SUBST(nogroup)
AC_CHECK_FUNCS(getpeereid)
-AC_ARG_WITH(sudo-kdesu-backend,
- AC_HELP_STRING([--with-sudo-kdesu-backend],
- [use sudo as backend for kdesu (default is su)]),
+AC_ARG_WITH(sudo-tdesu-backend,
+ AC_HELP_STRING([--with-sudo-tdesu-backend],
+ [use sudo as backend for tdesu (default is su)]),
[
if test x$withval = xyes; then
- use_kdesu_backend="sudo"
+ use_tdesu_backend="sudo"
else
- use_kdesu_backend="su"
+ use_tdesu_backend="su"
fi
],
- use_kdesu_backend="su"
+ use_tdesu_backend="su"
)
-AC_DEFINE_UNQUOTED(DEFAULT_SUPER_USER_COMMAND, "$use_kdesu_backend", [Use su or sudo])
+AC_DEFINE_UNQUOTED(DEFAULT_SUPER_USER_COMMAND, "$use_tdesu_backend", [Use su or sudo])
diff --git a/kdesu/kdesu/CMakeLists.txt b/kdesu/kdesu/CMakeLists.txt
index b18fbfb57..7eb878140 100644
--- a/kdesu/kdesu/CMakeLists.txt
+++ b/kdesu/kdesu/CMakeLists.txt
@@ -21,10 +21,10 @@ link_directories(
)
-##### kdesu (executable) ########################
+##### tdesu (executable) ########################
-tde_add_executable( kdesu AUTOMOC
- SOURCES kdesu.cpp sudlg.cpp
- LINK kdesu-shared kio-shared
+tde_add_executable( tdesu AUTOMOC
+ SOURCES tdesu.cpp sudlg.cpp
+ LINK tdesu-shared kio-shared
DESTINATION ${BIN_INSTALL_DIR}
)
diff --git a/kdesu/kdesu/Makefile.am b/kdesu/kdesu/Makefile.am
index 4b18e7580..f322f0a6f 100644
--- a/kdesu/kdesu/Makefile.am
+++ b/kdesu/kdesu/Makefile.am
@@ -1,15 +1,15 @@
-## Makefile.am for kdesu by Geert Jansen
+## Makefile.am for tdesu by Geert Jansen
INCLUDES= $(all_includes)
-## kdesu
-bin_PROGRAMS = kdesu
-kdesu_SOURCES = kdesu.cpp sudlg.cpp
-kdesu_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
-kdesu_LDADD = $(LIB_KIO) -lkdesu
-kdesu_METASOURCES = AUTO
+## tdesu
+bin_PROGRAMS = tdesu
+tdesu_SOURCES = tdesu.cpp sudlg.cpp
+tdesu_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
+tdesu_LDADD = $(LIB_KIO) -ltdesu
+tdesu_METASOURCES = AUTO
noinst_HEADERS = sudlg.h
## Messages
messages:
- $(XGETTEXT) $(kdesu_SOURCES) -o $(podir)/kdesu.pot
+ $(XGETTEXT) $(tdesu_SOURCES) -o $(podir)/tdesu.pot
diff --git a/kdesu/kdesu/kdesu.cpp b/kdesu/kdesu/kdesu.cpp
index 3d18b8764..d6aeebc6f 100644
--- a/kdesu/kdesu/kdesu.cpp
+++ b/kdesu/kdesu/kdesu.cpp
@@ -1,6 +1,6 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 1998 Pietro Iglio <iglio@fub.it>
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
*/
@@ -39,9 +39,9 @@
#include <krun.h>
#include <kuser.h>
-#include <kdesu/defaults.h>
-#include <kdesu/su.h>
-#include <kdesu/client.h>
+#include <tdesu/defaults.h>
+#include <tdesu/su.h>
+#include <tdesu/client.h>
#include "sudlg.h"
@@ -96,7 +96,7 @@ int main(int argc, char *argv[])
if (duser && duser[0])
options[3].def = duser;
- KAboutData aboutData("kdesu", I18N_NOOP("KDE su"),
+ KAboutData aboutData("tdesu", I18N_NOOP("KDE su"),
Version, I18N_NOOP("Runs a program with elevated privileges."),
KAboutData::License_Artistic,
"Copyright (c) 1998-2000 Geert Jansen, Pietro Iglio");
@@ -108,7 +108,7 @@ int main(int argc, char *argv[])
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions(options);
KApplication::disableAutoDcopRegistration();
- // kdesu doesn't process SM events, so don't even connect to ksmserver
+ // tdesu doesn't process SM events, so don't even connect to ksmserver
TQCString session_manager = getenv( "SESSION_MANAGER" );
unsetenv( "SESSION_MANAGER" );
KApplication app;
@@ -272,7 +272,7 @@ static int startApp()
just_started = true;
}
- // Try to exec the command with kdesud.
+ // Try to exec the command with tdesud.
bool keep = !args->isSet("n") && have_daemon;
bool terminal = true;
bool new_dcop = args->isSet("newdcop");
diff --git a/kdesu/kdesu/sudlg.cpp b/kdesu/kdesu/sudlg.cpp
index 483633739..cfda9168c 100644
--- a/kdesu/kdesu/sudlg.cpp
+++ b/kdesu/kdesu/sudlg.cpp
@@ -1,6 +1,6 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 2000 Geert Jansen <jansen@kde.org>
*/
@@ -11,7 +11,7 @@
#include <klocale.h>
#include <kmessagebox.h>
-#include <kdesu/su.h>
+#include <tdesu/su.h>
#include "sudlg.h"
KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton)
diff --git a/kdesu/kdesu/sudlg.h b/kdesu/kdesu/sudlg.h
index 4277ca67c..64a283a0e 100644
--- a/kdesu/kdesu/sudlg.h
+++ b/kdesu/kdesu/sudlg.h
@@ -1,6 +1,6 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 2000 Geert Jansen <jansen@kde.org>
*/
diff --git a/kdesu/kdesud/CMakeLists.txt b/kdesu/kdesud/CMakeLists.txt
index 5e7fe6cbb..2696a8197 100644
--- a/kdesu/kdesud/CMakeLists.txt
+++ b/kdesu/kdesud/CMakeLists.txt
@@ -23,13 +23,13 @@ link_directories(
)
-##### kdesud (executable) #######################
+##### tdesud (executable) #######################
-tde_add_executable( kdesud
- SOURCES kdesud.cpp repo.cpp lexer.cpp handler.cpp secure.cpp
- LINK kdesu-shared
+tde_add_executable( tdesud
+ SOURCES tdesud.cpp repo.cpp lexer.cpp handler.cpp secure.cpp
+ LINK tdesu-shared
DESTINATION ${BIN_INSTALL_DIR}
)
-install( CODE "execute_process( COMMAND chown root:${nogroup} \$ENV{DESTDIR}${_destination}/kdesud )" )
-install( CODE "execute_process( COMMAND chmod 2755 \$ENV{DESTDIR}${_destination}/kdesud )" )
+install( CODE "execute_process( COMMAND chown root:${nogroup} \$ENV{DESTDIR}${_destination}/tdesud )" )
+install( CODE "execute_process( COMMAND chmod 2755 \$ENV{DESTDIR}${_destination}/tdesud )" )
diff --git a/kdesu/kdesud/Makefile.am b/kdesu/kdesud/Makefile.am
index 07e11dd15..140cbce06 100644
--- a/kdesu/kdesud/Makefile.am
+++ b/kdesu/kdesud/Makefile.am
@@ -1,31 +1,31 @@
-## Makefile.am for kdesud
+## Makefile.am for tdesud
INCLUDES = $(all_includes)
KDE_CXXFLAGS = $(KDE_USE_FPIE)
-bin_PROGRAMS = kdesud
-kdesud_SOURCES = kdesud.cpp repo.cpp lexer.cpp handler.cpp secure.cpp
-kdesud_LDFLAGS = $(KDE_USE_PIE) $(all_libraries) $(KDE_RPATH)
-kdesud_LDADD = $(LIB_KDECORE) -lkdesu $(LIBSOCKET)
+bin_PROGRAMS = tdesud
+tdesud_SOURCES = tdesud.cpp repo.cpp lexer.cpp handler.cpp secure.cpp
+tdesud_LDFLAGS = $(KDE_USE_PIE) $(all_libraries) $(KDE_RPATH)
+tdesud_LDADD = $(LIB_KDECORE) -ltdesu $(LIBSOCKET)
noinst_HEADERS = repo.h handler.h lexer.h secure.h
-## kdesud needs to be suid or sgid something
+## tdesud needs to be suid or sgid something
install-data-local:
@echo "********************************************************"
@echo ""
- @echo "For security reasons, kdesud is installed setgid nogroup."
+ @echo "For security reasons, tdesud is installed setgid nogroup."
@echo "Kdesud is the daemon that implements the password caching."
@echo ""
- @echo "You should NOT use the password caching feature if kdesud is"
+ @echo "You should NOT use the password caching feature if tdesud is"
@echo "not installed setgid nogroup."
@echo ""
@echo "********************************************************"
install-exec-hook:
- @(chown root:@nogroup@ $(DESTDIR)$(bindir)/kdesud && chmod 2755 $(DESTDIR)$(bindir)/kdesud) \
- || echo "Error: Could not install kdesud as setgid nogroup!!\n" \
+ @(chown root:@nogroup@ $(DESTDIR)$(bindir)/tdesud && chmod 2755 $(DESTDIR)$(bindir)/tdesud) \
+ || echo "Error: Could not install tdesud as setgid nogroup!!\n" \
"The password caching feature is disabled."
messages:
- $(XGETTEXT) $(kdesud_SOURCES) -o $(podir)/kdesud.pot
+ $(XGETTEXT) $(tdesud_SOURCES) -o $(podir)/tdesud.pot
diff --git a/kdesu/kdesud/handler.cpp b/kdesu/kdesud/handler.cpp
index 1d52a58ac..2a744b217 100644
--- a/kdesu/kdesud/handler.cpp
+++ b/kdesu/kdesud/handler.cpp
@@ -1,8 +1,8 @@
/*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
*
- * handler.cpp: A connection handler for kdesud.
+ * handler.cpp: A connection handler for tdesud.
*/
@@ -21,8 +21,8 @@
#include <tqcstring.h>
#include <kdebug.h>
-#include <kdesu/su.h>
-#include <kdesu/ssh.h>
+#include <tdesu/su.h>
+#include <tdesu/ssh.h>
#include "handler.h"
#include "repo.h"
@@ -32,7 +32,7 @@
// Global repository
extern Repository *repo;
-void kdesud_cleanup();
+void tdesud_cleanup();
ConnectionHandler::ConnectionHandler(int fd)
: SocketSecurity(fd), m_exitCode(0), m_hasExitCode(false), m_needExitCode(false), m_pid(0)
@@ -490,7 +490,7 @@ int ConnectionHandler::doCommand(TQCString buf)
goto parse_error;
kdDebug(1205) << "Stopping by command" << endl;
respond(Res_OK);
- kdesud_cleanup();
+ tdesud_cleanup();
exit(0);
default:
diff --git a/kdesu/kdesud/handler.h b/kdesu/kdesud/handler.h
index 785d1179f..8728efe78 100644
--- a/kdesu/kdesud/handler.h
+++ b/kdesu/kdesud/handler.h
@@ -1,6 +1,6 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
*/
diff --git a/kdesu/kdesud/kdesud.cpp b/kdesu/kdesud/kdesud.cpp
index f4b4081e9..d369aaf9b 100644
--- a/kdesu/kdesud/kdesud.cpp
+++ b/kdesu/kdesud/kdesud.cpp
@@ -1,12 +1,12 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
*
*
- * kdesud.cpp: KDE su daemon. Offers "keep password" functionality to kde su.
+ * tdesud.cpp: KDE su daemon. Offers "keep password" functionality to kde su.
*
- * The socket $KDEHOME/socket-$(HOSTNAME)/kdesud_$(display) is used for communication with
+ * The socket $KDEHOME/socket-$(HOSTNAME)/tdesud_$(display) is used for communication with
* client programs.
*
* The protocol: Client initiates the connection. All commands and responses
@@ -67,8 +67,8 @@
#include <kcmdlineargs.h>
#include <kstandarddirs.h>
#include <kaboutdata.h>
-#include <kdesu/client.h>
-#include <kdesu/defaults.h>
+#include <tdesu/client.h>
+#include <tdesu/defaults.h>
#include <ksockaddr.h>
#include "repo.h"
@@ -93,7 +93,7 @@ Display *x11Display;
int pipeOfDeath[2];
-void kdesud_cleanup()
+void tdesud_cleanup()
{
unlink(sock);
}
@@ -106,7 +106,7 @@ extern "C" int xio_errhandler(Display *);
int xio_errhandler(Display *)
{
kdError(1205) << "Fatal IO error, exiting...\n";
- kdesud_cleanup();
+ tdesud_cleanup();
exit(1);
return 1; //silence compilers
}
@@ -138,7 +138,7 @@ extern "C" {
void signal_exit(int sig)
{
kdDebug(1205) << "Exiting on signal " << sig << "\n";
- kdesud_cleanup();
+ tdesud_cleanup();
exit(1);
}
@@ -168,7 +168,7 @@ int create_socket()
// strip the screen number from the display
display.replace(TQRegExp("\\.[0-9]+$"), "");
- sock = TQFile::encodeName(locateLocal("socket", TQString("kdesud_%1").arg(static_cast<const char *>(display))));
+ sock = TQFile::encodeName(locateLocal("socket", TQString("tdesud_%1").arg(static_cast<const char *>(display))));
int stat_err=lstat(sock, &s);
if(!stat_err && S_ISLNK(s.st_mode)) {
kdWarning(1205) << "Someone is running a symlink attack on you\n";
@@ -191,7 +191,7 @@ int create_socket()
}
} else
{
- kdWarning(1205) << "kdesud is already running\n";
+ kdWarning(1205) << "tdesud is already running\n";
return -1;
}
@@ -251,8 +251,8 @@ int main(int argc, char *argv[])
{
prctl(PR_SET_DUMPABLE, 0);
- KAboutData aboutData("kdesud", I18N_NOOP("KDE su daemon"),
- Version, I18N_NOOP("Daemon used by kdesu"),
+ KAboutData aboutData("tdesud", I18N_NOOP("KDE su daemon"),
+ Version, I18N_NOOP("Daemon used by tdesu"),
KAboutData::License_Artistic,
"Copyright (c) 1999,2000 Geert Jansen");
aboutData.addAuthor("Geert Jansen", I18N_NOOP("Author"),
@@ -276,7 +276,7 @@ int main(int argc, char *argv[])
if (listen(sockfd, 1) < 0)
{
kdError(1205) << "listen(): " << ERR << "\n";
- kdesud_cleanup();
+ tdesud_cleanup();
exit(1);
}
int maxfd = sockfd;
@@ -286,7 +286,7 @@ int main(int argc, char *argv[])
if (pid == -1)
{
kdError(1205) << "fork():" << ERR << "\n";
- kdesud_cleanup();
+ tdesud_cleanup();
exit(1);
}
if (pid)
diff --git a/kdesu/kdesud/lexer.cpp b/kdesu/kdesud/lexer.cpp
index d9fbf4639..f1932f07d 100644
--- a/kdesu/kdesud/lexer.cpp
+++ b/kdesu/kdesud/lexer.cpp
@@ -1,9 +1,9 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
*
- * lexer.cpp: A lexer for the kdesud protocol. See kdesud.cpp for a
+ * lexer.cpp: A lexer for the tdesud protocol. See tdesud.cpp for a
* description of the protocol.
*/
diff --git a/kdesu/kdesud/lexer.h b/kdesu/kdesud/lexer.h
index 1ca55b907..d8f529cd8 100644
--- a/kdesu/kdesud/lexer.h
+++ b/kdesu/kdesud/lexer.h
@@ -1,6 +1,6 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
*/
@@ -10,7 +10,7 @@
class TQCString;
/**
- * This is a lexer for the kdesud protocol.
+ * This is a lexer for the tdesud protocol.
*/
class Lexer {
diff --git a/kdesu/kdesud/repo.cpp b/kdesu/kdesud/repo.cpp
index cc0f79ae5..e923d6411 100644
--- a/kdesu/kdesud/repo.cpp
+++ b/kdesu/kdesud/repo.cpp
@@ -1,6 +1,6 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 1999,2000 Geert Jansen <g.t.jansen@stud.tue.nl>
*/
diff --git a/kdesu/kdesud/repo.h b/kdesu/kdesud/repo.h
index 24c156a34..70027793f 100644
--- a/kdesu/kdesud/repo.h
+++ b/kdesu/kdesud/repo.h
@@ -1,6 +1,6 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
*/
diff --git a/kdesu/kdesud/secure.cpp b/kdesu/kdesud/secure.cpp
index 3abda20bc..9b30ab4ee 100644
--- a/kdesu/kdesud/secure.cpp
+++ b/kdesu/kdesud/secure.cpp
@@ -1,6 +1,6 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 1999,2000 Geert Jansen <g.t.jansen@stud.tue.nl>
*
* secure.cpp: Peer credentials for a UNIX socket.
@@ -67,7 +67,7 @@ SocketSecurity::SocketSecurity(int sockfd)
if (!warned_him) {
kdWarning() << "Using void socket security. Please add support for your" << endl;
- kdWarning() << "platform to kdesu/kdesud/secure.cpp" << endl;
+ kdWarning() << "platform to tdesu/tdesud/secure.cpp" << endl;
warned_him = TRUE;
}
diff --git a/kdesu/kdesud/secure.h b/kdesu/kdesud/secure.h
index 8e122fac3..edf58d9c6 100644
--- a/kdesu/kdesud/secure.h
+++ b/kdesu/kdesud/secure.h
@@ -1,6 +1,6 @@
/* vi: ts=8 sts=4 sw=4
*
- * This file is part of the KDE project, module kdesu.
+ * This file is part of the KDE project, module tdesu.
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
*/