[Fedora-directory-commits] adminserver bchecker.ini, 1.1.1.1, NONE buildpaths.mk, 1.11, NONE components.mk, 1.55, NONE internal_buildpaths.mk, 1.6, NONE nsarch, 1.5, NONE nsarch.bat, 1.1.1.1, NONE nsconfig.mk, 1.33, NONE nsdefs.mk, 1.11, NONE nsperl.mk, 1.6, NONE ntbomb.pl, 1.3, NONE ntversion.pl, 1.4, NONE pumpkin.pl, 1.3, NONE webint.mk, 1.1, NONE
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/adminserver
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28451/adminserver
Removed Files:
bchecker.ini buildpaths.mk components.mk
internal_buildpaths.mk nsarch nsarch.bat nsconfig.mk nsdefs.mk
nsperl.mk ntbomb.pl ntversion.pl pumpkin.pl webint.mk
Log Message:
remove obsolete files and directories
--- bchecker.ini DELETED ---
--- buildpaths.mk DELETED ---
--- components.mk DELETED ---
--- internal_buildpaths.mk DELETED ---
--- nsarch DELETED ---
--- nsarch.bat DELETED ---
--- nsconfig.mk DELETED ---
--- nsdefs.mk DELETED ---
--- nsperl.mk DELETED ---
--- ntbomb.pl DELETED ---
--- ntversion.pl DELETED ---
--- pumpkin.pl DELETED ---
--- webint.mk DELETED ---
16 years, 9 months
[Fedora-directory-commits] adminserver/admserv/newinst/src migrate-ds-admin.pl.in, 1.4, 1.5 setup-ds-admin.pl.in, 1.8, 1.9
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/adminserver/admserv/newinst/src
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5779/adminserver/admserv/newinst/src
Modified Files:
migrate-ds-admin.pl.in setup-ds-admin.pl.in
Log Message:
Resolves: bug 248145
Bug Description: Replace ds_newinst binary with perl script - remove dead code
Reviewed by: nhosoi (Thanks!)
Fix Description: This is my favorite part - removing all of the now dead code. I also had to fix the exit code so that you could use $? to test for the success or failure of the new setup scripts.
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: no
Index: migrate-ds-admin.pl.in
===================================================================
RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/migrate-ds-admin.pl.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- migrate-ds-admin.pl.in 13 Jul 2007 18:39:15 -0000 1.4
+++ migrate-ds-admin.pl.in 18 Jul 2007 20:43:14 -0000 1.5
@@ -60,7 +60,7 @@
if (!$mig->{inf}->{General}->{ConfigDirectoryAdminPwd}) {
$mig->msg('error_configds_adminpwd_required');
- exit 1;
+ $mig->doExit(1);
}
# first, migrate directory server instances
@@ -68,7 +68,7 @@
# should have already migrated the config DS
$mig->msg('begin_ds_migration', $mig->{oldsroot});
if (!migrateDS($mig)) {
- exit 1;
+ $mig->doExit(1);
}
# if the config ds is on the local machine, shut down the old one
@@ -83,7 +83,7 @@
# next, migrate the admin server - this also registers the directory servers
$mig->msg('begin_as_migration', $mig->{oldsroot});
if (!migrateAdminServer($mig)) {
- exit 1;
+ $mig->doExit(1);
}
# next, register/update the new directory servers
@@ -94,17 +94,17 @@
$mig->{configdir},
@{$mig->{instances}})) {
$mig->msg($FATAL, @errs);
- exit 1;
+ $mig->doExit(1);
}
$mig->msg('end_dsadmin_migration');
+$mig->doExit(0);
+
END {
if ($mig) {
if (!$mig->{keep}) {
unlink $mig->{inffile};
}
-
- $mig->doExit();
}
}
Index: setup-ds-admin.pl.in
===================================================================
RCS file: /cvs/dirsec/adminserver/admserv/newinst/src/setup-ds-admin.pl.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- setup-ds-admin.pl.in 13 Jul 2007 18:39:15 -0000 1.8
+++ setup-ds-admin.pl.in 18 Jul 2007 20:43:14 -0000 1.9
@@ -123,7 +123,7 @@
my $rc = $dialogmgr->run();
if ($rc) {
- $setup->doExit();
+ $setup->doExit($rc);
}
}
@@ -150,7 +150,7 @@
if (@errs) {
$setup->msg(@errs);
$setup->msg($FATAL, 'error_creating_dsinstance', $setup->{inf}->{slapd}->{ServerIdentifier});
- exit 1;
+ $setup->doExit(1);
} else {
$setup->msg('created_dsinstance', $setup->{inf}->{slapd}->{ServerIdentifier});
}
@@ -161,7 +161,7 @@
if (!createConfigDS($setup->{inf}, \@errs)) {
$setup->msg($FATAL, @errs);
$setup->msg($FATAL, 'error_create_configds');
- exit 1;
+ $setup->doExit(1);
}
}
else
@@ -170,7 +170,7 @@
if (!createSubDS($setup->{inf}, \@errs)) {
$setup->msg($FATAL, @errs);
$setup->msg($FATAL, 'error_create_configds');
- exit 1;
+ $setup->doExit(1);
}
}
@@ -180,7 +180,7 @@
$setup->{inf})) {
$setup->msg(@errs);
$setup->msg($FATAL, 'error_register_dirserver');
- exit 1;
+ $setup->doExit(1);
}
@@ -188,23 +188,21 @@
if (!$setup->{reconfigas}) {
if (!createAdminServer($setup)) {
$setup->msg($FATAL, 'error_create_adminserver');
- exit 1;
+ $setup->doExit(1);
}
} else {
if (!reconfigAdminServer($setup)) {
$setup->msg($FATAL, 'error_reconfig_adminserver');
- exit 1;
+ $setup->doExit(1);
}
}
-$setup->msg($SUCCESS, 'setup_complete');
+$setup->doExit(0);
END {
if ($setup) {
if (!$setup->{keep}) {
unlink $setup->{inffile};
}
-
- $setup->doExit();
}
}
16 years, 9 months
[Fedora-directory-commits] ldapserver/wrappers ds_newinst.in, 1.4, NONE
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/ldapserver/wrappers
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5444/ldapserver/wrappers
Removed Files:
ds_newinst.in
Log Message:
Resolves: bug 248145
Bug Description: Replace ds_newinst binary with perl script - remove dead code
Reviewed by: nhosoi (Thanks!)
Fix Description: This is my favorite part - removing all of the now dead code. I also had to fix the exit code so that you could use $? to test for the success or failure of the new setup scripts.
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: no
--- ds_newinst.in DELETED ---
16 years, 9 months
[Fedora-directory-commits] ldapserver/ldap/clients Makefile, 1.8, NONE
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/clients
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5444/ldapserver/ldap/clients
Removed Files:
Makefile
Log Message:
Resolves: bug 248145
Bug Description: Replace ds_newinst binary with perl script - remove dead code
Reviewed by: nhosoi (Thanks!)
Fix Description: This is my favorite part - removing all of the now dead code. I also had to fix the exit code so that you could use $? to test for the success or failure of the new setup scripts.
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: no
--- Makefile DELETED ---
16 years, 9 months
[Fedora-directory-commits] ldapserver/ldap/admin/src/scripts Setup.pm.in, 1.8, 1.9 migrate-ds.pl.in, 1.2, 1.3 setup-ds.pl.in, 1.6, 1.7 template-migrate5to7, 1.5, NONE template-migrate6to7, 1.7, NONE template-migrateInstance7, 1.6, NONE template-migrateTo7, 1.6, NONE
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5444/ldapserver/ldap/admin/src/scripts
Modified Files:
Setup.pm.in migrate-ds.pl.in setup-ds.pl.in
Removed Files:
template-migrate5to7 template-migrate6to7
template-migrateInstance7 template-migrateTo7
Log Message:
Resolves: bug 248145
Bug Description: Replace ds_newinst binary with perl script - remove dead code
Reviewed by: nhosoi (Thanks!)
Fix Description: This is my favorite part - removing all of the now dead code. I also had to fix the exit code so that you could use $? to test for the success or failure of the new setup scripts.
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: no
Index: Setup.pm.in
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/Setup.pm.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Setup.pm.in 29 Jun 2007 21:12:21 -0000 1.8
+++ Setup.pm.in 18 Jul 2007 20:37:11 -0000 1.9
@@ -215,8 +215,17 @@
sub doExit {
my $self = shift;
- $self->msg($FATAL, 'setup_exiting', $self->{log}->{filename});
- exit 1;
+ my $code = shift;
+ if (!defined($code)) {
+ $code = 1;
+ }
+
+ if ($code) {
+ $self->msg($FATAL, 'setup_exiting', $self->{log}->{filename});
+ } else {
+ $self->msg($SUCCESS, 'setup_exiting', $self->{log}->{filename});
+ }
+ exit $code;
}
# get a list of the directory servers in configdir
@@ -238,3 +247,10 @@
# Mandatory TRUE return value.
#
1;
+
+# emacs settings
+# Local Variables:
+# mode:perl
+# indent-tabs-mode: nil
+# tab-width: 4
+# End:
Index: migrate-ds.pl.in
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/migrate-ds.pl.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- migrate-ds.pl.in 13 Jul 2007 18:35:32 -0000 1.2
+++ migrate-ds.pl.in 18 Jul 2007 20:37:11 -0000 1.3
@@ -62,16 +62,15 @@
$mig->msg('begin_ds_migration', $mig->{oldsroot});
if (!migrateDS($mig)) {
- exit 1;
+ $mig->doExit(1);
}
$mig->msg('end_ds_migration');
+$mig->doExit(0);
END {
if ($mig) {
if (!$mig->{keep}) {
unlink $mig->{inffile};
}
-
- $mig->doExit();
}
}
Index: setup-ds.pl.in
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/setup-ds.pl.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- setup-ds.pl.in 13 Jul 2007 18:35:32 -0000 1.6
+++ setup-ds.pl.in 18 Jul 2007 20:37:11 -0000 1.7
@@ -76,17 +76,18 @@
$setup->msg(@errs);
$setup->msg($FATAL, 'error_creating_dsinstance',
$setup->{inf}->{slapd}->{ServerIdentifier});
+ $setup->doExit(1);
} else {
$setup->msg('created_dsinstance',
$setup->{inf}->{slapd}->{ServerIdentifier});
}
+$setup->doExit(0);
+
END {
if ($setup) {
if (!$setup->{keep}) {
unlink $setup->{inffile};
}
-
- $setup->doExit();
}
}
--- template-migrate5to7 DELETED ---
--- template-migrate6to7 DELETED ---
--- template-migrateInstance7 DELETED ---
--- template-migrateTo7 DELETED ---
16 years, 9 months
[Fedora-directory-commits] ldapserver/ldap/admin/src CGI_ENV, 1.4, NONE Cgi.pm, 1.4, NONE cfg_sspt.c, 1.13, NONE cfg_sspt.h, 1.5, NONE configure_instance.cpp, 1.11, NONE configure_instance.h, 1.5, NONE create_instance.c, 1.63, NONE create_instance.h, 1.18, NONE ds_newinst.c, 1.6, NONE ds_newinst.pl.in, 1.10, NONE ds_remove_uninst.cpp, 1.8, NONE ds_remove_uninst.h, 1.5, NONE fix_secmod_db_64, 1.3, NONE getConfigInfo, 1.5, NONE import2info, 1.5, NONE init_ds_env.c, 1.7, NONE init_ds_env.h, 1.5, NONE install_k
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/admin/src
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5444/ldapserver/ldap/admin/src
Removed Files:
CGI_ENV Cgi.pm cfg_sspt.c cfg_sspt.h configure_instance.cpp
configure_instance.h create_instance.c create_instance.h
ds_newinst.c ds_newinst.pl.in ds_remove_uninst.cpp
ds_remove_uninst.h fix_secmod_db_64 getConfigInfo import2info
init_ds_env.c init_ds_env.h install_keywords.h instindex.cpp
key.rc latest_file.c migrateInstance migrateLocalDB
migratePwdFile migrateTo11.in migrateTo4 migratedsgw namegen.c
script-gen.c sec_tools_wrapper uname.lib updatedsgw
Log Message:
Resolves: bug 248145
Bug Description: Replace ds_newinst binary with perl script - remove dead code
Reviewed by: nhosoi (Thanks!)
Fix Description: This is my favorite part - removing all of the now dead code. I also had to fix the exit code so that you could use $? to test for the success or failure of the new setup scripts.
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: no
--- CGI_ENV DELETED ---
--- Cgi.pm DELETED ---
--- cfg_sspt.c DELETED ---
--- cfg_sspt.h DELETED ---
--- configure_instance.cpp DELETED ---
--- configure_instance.h DELETED ---
--- create_instance.c DELETED ---
--- create_instance.h DELETED ---
--- ds_newinst.c DELETED ---
--- ds_newinst.pl.in DELETED ---
--- ds_remove_uninst.cpp DELETED ---
--- ds_remove_uninst.h DELETED ---
--- fix_secmod_db_64 DELETED ---
--- getConfigInfo DELETED ---
--- import2info DELETED ---
--- init_ds_env.c DELETED ---
--- init_ds_env.h DELETED ---
--- install_keywords.h DELETED ---
--- instindex.cpp DELETED ---
--- key.rc DELETED ---
--- latest_file.c DELETED ---
--- migrateInstance DELETED ---
--- migrateLocalDB DELETED ---
--- migratePwdFile DELETED ---
--- migrateTo11.in DELETED ---
--- migrateTo4 DELETED ---
--- migratedsgw DELETED ---
--- namegen.c DELETED ---
--- script-gen.c DELETED ---
--- sec_tools_wrapper DELETED ---
--- uname.lib DELETED ---
--- updatedsgw DELETED ---
16 years, 9 months
[Fedora-directory-commits] ldapserver/ldap/admin/lib dsalib_conf.c, 1.8, NONE dsalib_confs.c, 1.8, NONE dsalib_db.c, 1.7, NONE dsalib_debug.c, 1.7, NONE dsalib_dn.c, 1.6, NONE dsalib_filename.c, 1.7, NONE dsalib_html.c, 1.6, NONE dsalib_ldif.c, 1.7, NONE dsalib_location.c, 1.9, NONE dsalib_pw.c, 1.7, NONE dsalib_tailf.c, 1.6, NONE dsalib_updown.c, 1.10, NONE dsalib_util.c, 1.9, NONE
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/admin/lib
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5444/ldapserver/ldap/admin/lib
Removed Files:
dsalib_conf.c dsalib_confs.c dsalib_db.c dsalib_debug.c
dsalib_dn.c dsalib_filename.c dsalib_html.c dsalib_ldif.c
dsalib_location.c dsalib_pw.c dsalib_tailf.c dsalib_updown.c
dsalib_util.c
Log Message:
Resolves: bug 248145
Bug Description: Replace ds_newinst binary with perl script - remove dead code
Reviewed by: nhosoi (Thanks!)
Fix Description: This is my favorite part - removing all of the now dead code. I also had to fix the exit code so that you could use $? to test for the success or failure of the new setup scripts.
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: no
--- dsalib_conf.c DELETED ---
--- dsalib_confs.c DELETED ---
--- dsalib_db.c DELETED ---
--- dsalib_debug.c DELETED ---
--- dsalib_dn.c DELETED ---
--- dsalib_filename.c DELETED ---
--- dsalib_html.c DELETED ---
--- dsalib_ldif.c DELETED ---
--- dsalib_location.c DELETED ---
--- dsalib_pw.c DELETED ---
--- dsalib_tailf.c DELETED ---
--- dsalib_updown.c DELETED ---
--- dsalib_util.c DELETED ---
16 years, 9 months
[Fedora-directory-commits] ldapserver/ldap/admin/include dsalib.h, 1.8, NONE dsalib_pw.h, 1.5, NONE dsalib_schema.h, 1.5, NONE nterrors.h, 1.5, NONE
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/admin/include
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5444/ldapserver/ldap/admin/include
Removed Files:
dsalib.h dsalib_pw.h dsalib_schema.h nterrors.h
Log Message:
Resolves: bug 248145
Bug Description: Replace ds_newinst binary with perl script - remove dead code
Reviewed by: nhosoi (Thanks!)
Fix Description: This is my favorite part - removing all of the now dead code. I also had to fix the exit code so that you could use $? to test for the success or failure of the new setup scripts.
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: no
--- dsalib.h DELETED ---
--- dsalib_pw.h DELETED ---
--- dsalib_schema.h DELETED ---
--- nterrors.h DELETED ---
16 years, 9 months
[Fedora-directory-commits] ldapserver/l10n/dirserv/ja ns-slapd.txt, 1.4, NONE ns-slapd.txt.eucjp, 1.4, NONE
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/ldapserver/l10n/dirserv/ja
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5444/ldapserver/l10n/dirserv/ja
Removed Files:
ns-slapd.txt ns-slapd.txt.eucjp
Log Message:
Resolves: bug 248145
Bug Description: Replace ds_newinst binary with perl script - remove dead code
Reviewed by: nhosoi (Thanks!)
Fix Description: This is my favorite part - removing all of the now dead code. I also had to fix the exit code so that you could use $? to test for the success or failure of the new setup scripts.
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: no
--- ns-slapd.txt DELETED ---
--- ns-slapd.txt.eucjp DELETED ---
16 years, 9 months
[Fedora-directory-commits] ldapserver/l10n/dirserv/fr ns-slapd.txt, 1.4, NONE ns-slapd.txt.iso8859, 1.4, NONE
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/ldapserver/l10n/dirserv/fr
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5444/ldapserver/l10n/dirserv/fr
Removed Files:
ns-slapd.txt ns-slapd.txt.iso8859
Log Message:
Resolves: bug 248145
Bug Description: Replace ds_newinst binary with perl script - remove dead code
Reviewed by: nhosoi (Thanks!)
Fix Description: This is my favorite part - removing all of the now dead code. I also had to fix the exit code so that you could use $? to test for the success or failure of the new setup scripts.
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: no
--- ns-slapd.txt DELETED ---
--- ns-slapd.txt.iso8859 DELETED ---
16 years, 9 months