public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-nds/389-ds-base/files/
@ 2017-01-15  2:33 Göktürk Yüksek
  0 siblings, 0 replies; 4+ messages in thread
From: Göktürk Yüksek @ 2017-01-15  2:33 UTC (permalink / raw
  To: gentoo-commits

commit:     88d27f3a9457019a5d3f109dec88606a79ea14bd
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Jan  8 12:35:07 2017 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 02:32:25 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88d27f3a

net-nds/389-ds-base: remove unused files

 net-nds/389-ds-base/files/restart-dirsrv | 30 ------------------------------
 net-nds/389-ds-base/files/start-dirsrv   | 14 --------------
 2 files changed, 44 deletions(-)

diff --git a/net-nds/389-ds-base/files/restart-dirsrv b/net-nds/389-ds-base/files/restart-dirsrv
deleted file mode 100644
index 90654ec..00000000
--- a/net-nds/389-ds-base/files/restart-dirsrv
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-# Script that restarts the ns-slapd server.
-# Exit status can be:
-#       0: Server restarted successfully
-#       1: Server could not be started
-#       2: Server started successfully (was not running)
-#       3: Server could not be stopped
-
-sleep_time=8
-/etc/init.d/389-ds status &> /dev/null
-running="${?}"
-
-rc-config stop 389-ds
-if [ "${?}" = "1" ]; then
-	sleep ${sleep_time}
-	exit 3
-fi
-rc-config start 389-ds
-if [ "${?}" = "1" ]; then
-	sleep ${sleep_time}
-	exit 1
-fi
-if [ "${running}" = "0" ]; then
-	sleep ${sleep_time}
-	exit 0
-else
-	sleep ${sleep_time}
-	exit 2
-fi

diff --git a/net-nds/389-ds-base/files/start-dirsrv b/net-nds/389-ds-base/files/start-dirsrv
deleted file mode 100644
index 45c2a6c..00000000
--- a/net-nds/389-ds-base/files/start-dirsrv
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-# Script that starts the ns-slapd server.
-# Exit status can be:
-#       0: Server started successfully
-#       1: Server could not be started
-#       2: Server already running
-
-rc-config stop 389-ds
-rc-config start 389-ds
-rc="${?}"
-# give the daemon a chance to start
-sleep 8
-exit "${rc:-1}"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nds/389-ds-base/files/
@ 2017-05-14 22:04 Patrice Clement
  0 siblings, 0 replies; 4+ messages in thread
From: Patrice Clement @ 2017-05-14 22:04 UTC (permalink / raw
  To: gentoo-commits

commit:     848e5203017193e3c668363f336f2460e61b4acf
Author:     Wes Cilldhaire <wes <AT> sol1 <DOT> com <DOT> au>
AuthorDate: Thu May 11 23:52:16 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun May 14 22:04:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=848e5203

net-nds/389-ds-base: Remove now-superfluous patch.

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4609

 net-nds/389-ds-base/files/389-ds-base-1.3.5-stdc.patch | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/net-nds/389-ds-base/files/389-ds-base-1.3.5-stdc.patch b/net-nds/389-ds-base/files/389-ds-base-1.3.5-stdc.patch
deleted file mode 100644
index a43048b6e7c..00000000000
--- a/net-nds/389-ds-base/files/389-ds-base-1.3.5-stdc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 3e0f8aa..846e3b4 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -29,6 +29,7 @@ AC_PROG_CXX
- AC_PROG_CC
- AM_PROG_CC_C_O
- AM_PROG_AS
-+AC_PROG_CC_STDC
- # disable static libs by default - we only use a couple
- AC_DISABLE_STATIC
- AC_PROG_LIBTOOL
-


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nds/389-ds-base/files/
@ 2017-11-18 18:03 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2017-11-18 18:03 UTC (permalink / raw
  To: gentoo-commits

commit:     0ac0e0fcef7a625a7e9abd76fa0571694c3687bc
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Nov 18 12:44:16 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 18:03:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac0e0fc

net-nds/389-ds-base: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/6223

 .../389-ds-base-1.3.4-no-instance-script.patch     | 396 ---------------------
 1 file changed, 396 deletions(-)

diff --git a/net-nds/389-ds-base/files/389-ds-base-1.3.4-no-instance-script.patch b/net-nds/389-ds-base/files/389-ds-base-1.3.4-no-instance-script.patch
deleted file mode 100644
index 8af7ad2be45..00000000000
--- a/net-nds/389-ds-base/files/389-ds-base-1.3.4-no-instance-script.patch
+++ /dev/null
@@ -1,396 +0,0 @@
-From 7b75e7a4c60637a86acf6c757f207550294279ef Mon Sep 17 00:00:00 2001
-From: William Brown <wibrown@redhat.com>
-Date: Wed, 28 Oct 2015 14:25:26 +1000
-Subject: [PATCH] Ticket 47840 - add configure option to disable instance
- specific scripts https://fedorahosted.org/389/ticket/47840
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Bug Description:  Now that ​https://fedorahosted.org/389/ticket/528 is
-fixed, the next step is to allow building the server with the instance specific
-scripts disabled.
-
-Fix Description:  Instead of defining a configure option, we provide a new
-option in setup-ds.pl, slapd.InstScriptsEnabled, which defaults to false. All
-new installs of 389 will NOT install with a inst_dir nor the scripts that are in
-that directory.
-
-Additionally, this change fixes setup-ds.pl to correctly use the sbindir scripts
-to start/stop the server instance during installation.
-
-Finally, we add support for setup-ds.pl so that in --update if the inst_dir
-exists, scripts will be updated, but if it does not exist, no action is taken.
-
-In time, we will alter --update to *remove* the scripts within inst_dir during
-the update (We have no way of knowing if a customer has put custom scripts in
-inst_dir)
-
-Example:
-/opt/dirsrv/sbin/setup-ds.pl slapd.InstScriptsEnabled=false
-
-Author: wibrown
-
-Review by: nhosoi (Thanks!)
----
- ldap/admin/src/scripts/DSCreate.pm.in  | 204 +++++++++++++++++++--------------
- ldap/admin/src/scripts/DSUpdate.pm.in  |  12 +-
- ldap/admin/src/scripts/setup-ds.res.in |   1 +
- 3 files changed, 124 insertions(+), 93 deletions(-)
-
-diff --git a/ldap/admin/src/scripts/DSCreate.pm.in b/ldap/admin/src/scripts/DSCreate.pm.in
-index 3ce5a73..6425be4 100644
---- a/ldap/admin/src/scripts/DSCreate.pm.in
-+++ b/ldap/admin/src/scripts/DSCreate.pm.in
-@@ -130,6 +130,15 @@ sub sanityCheckParams {
-         return @errs;
-     }
- 
-+    # We need to make sure this value is lowercase
-+    $inf->{slapd}->{InstScriptsEnabled} = lc $inf->{slapd}->{InstScriptsEnabled};
-+
-+    if ("true" ne $inf->{slapd}->{InstScriptsEnabled} && "false" ne $inf->{slapd}->{InstScriptsEnabled}) {
-+        debug(1, "InstScriptsEnabled is not a valid boolean");
-+        return ('error_invalid_boolean', $inf->{slapd}->{InstScriptsEnabled});
-+    }
-+
-+
-     return ();
- }
- 
-@@ -204,13 +213,17 @@ sub makeDSDirs {
-     my $mode = getMode($inf, 7);
-     my @errs;
- 
-+    my @dsdirs = qw(config_dir schema_dir log_dir lock_dir run_dir tmp_dir cert_dir db_dir ldif_dir bak_dir);
-+    if ($inf->{slapd}->{InstScriptsEnabled} eq "true") {
-+        @dsdirs = qw(inst_dir config_dir schema_dir log_dir lock_dir run_dir tmp_dir cert_dir db_dir ldif_dir bak_dir);
-+    }
-+
-     # These paths are owned by the SuiteSpotGroup
-     # This allows the admin server to run as a different,
-     # more privileged user than the directory server, but
-     # still allows the admin server to manage directory
-     # server files/dirs without being root
--    for my $kw (qw(inst_dir config_dir schema_dir log_dir lock_dir run_dir tmp_dir
--            cert_dir db_dir ldif_dir bak_dir)) {
-+    for my $kw (@dsdirs) {
-         my $dir = $inf->{slapd}->{$kw};
-         @errs = makePaths($dir, $mode, $inf->{General}->{SuiteSpotUserID},
-                           $inf->{General}->{SuiteSpotGroup});
-@@ -262,56 +275,66 @@ sub createInstanceScripts {
-     my $myperl = "!$perlexec";
-     my $mydevnull = (-f "/dev/null" ? " /dev/null " : " NUL ");
- 
--    # determine initconfig_dir
--    my $initconfig_dir = $inf->{slapd}->{initconfig_dir} || get_initconfigdir($inf->{General}->{prefix});
--
--    my %maptable = (
--        "DS-ROOT" => $inf->{General}->{prefix},
--        "SEP" => "/", # works on all platforms
--        "SERVER-NAME" => $inf->{General}->{FullMachineName},
--        "SERVER-PORT" => $inf->{slapd}->{ServerPort},
--        "PERL-EXEC" => $myperl,
--        "DEV-NULL" => $mydevnull,
--        "ROOT-DN" => $inf->{slapd}->{RootDN},
--        "LDIF-DIR" => $inf->{slapd}->{ldif_dir},
--        "SERV-ID" => $inf->{slapd}->{ServerIdentifier},
--        "BAK-DIR" => $inf->{slapd}->{bak_dir},
--        "SERVER-DIR" => $inf->{General}->{ServerRoot},
--        "CONFIG-DIR" => $inf->{slapd}->{config_dir},
--        "INITCONFIG-DIR" => $initconfig_dir,
--        "INST-DIR" => $inf->{slapd}->{inst_dir},
--        "RUN-DIR" => $inf->{slapd}->{run_dir},
--        "PRODUCT-NAME" => "slapd",
--        "SERVERBIN-DIR" => $inf->{slapd}->{sbindir},
--        "DB-DIR" => $inf->{slapd}->{db_dir}
--    );
--
--    my $dir = "$inf->{General}->{prefix}@taskdir@";
--    for my $file (glob("$dir/template-*")) {
--        my $basename = $file;
--        $basename =~ s/^.*template-//;
--        my $destfile = "$inf->{slapd}->{inst_dir}/$basename";
--
--        next if ($skip and -f $destfile); # in skip mode, skip files that already exist
--
--        if (!open(SRC, "< $file")) {
--            return ("error_opening_scripttmpl", $file, $!);
--        }
--        if (!open(DEST, "> $destfile")) {
--            return ("error_opening_scripttmpl", $destfile, $!);
--        }
--        my $contents; # slurp entire file into memory
--        read SRC, $contents, int(-s $file);
--        close(SRC);
--        while (my ($key, $val) = each %maptable) {
--            $contents =~ s/\{\{$key\}\}/$val/g;
--        }
--        print DEST $contents;
--        close(DEST);
--        my @errs = changeOwnerMode($inf, 5, $destfile);
--        if (@errs) {
--            return @errs;
-+    # If we have InstScriptsEnabled, we likely have setup.inf or the argument.
-+    # However, during an upgrade, we need to know if we should upgrade the template files or not.
-+    # For now, the easiest way is to check to if the directory exists, and if is does, we assume we want to upgrade / create the updated scripts.
-+    if ($inf->{slapd}->{InstScriptsEnabled} eq "true" || -d $inf->{slapd}->{inst_dir} ) {
-+        debug(1, "Creating or updating instance directory scripts\n");
-+        # determine initconfig_dir
-+        my $initconfig_dir = $inf->{slapd}->{initconfig_dir} || get_initconfigdir($inf->{General}->{prefix});
-+
-+        my %maptable = (
-+            "DS-ROOT" => $inf->{General}->{prefix},
-+            "SEP" => "/", # works on all platforms
-+            "SERVER-NAME" => $inf->{General}->{FullMachineName},
-+            "SERVER-PORT" => $inf->{slapd}->{ServerPort},
-+            "PERL-EXEC" => $myperl,
-+            "DEV-NULL" => $mydevnull,
-+            "ROOT-DN" => $inf->{slapd}->{RootDN},
-+            "LDIF-DIR" => $inf->{slapd}->{ldif_dir},
-+            "SERV-ID" => $inf->{slapd}->{ServerIdentifier},
-+            "BAK-DIR" => $inf->{slapd}->{bak_dir},
-+            "SERVER-DIR" => $inf->{General}->{ServerRoot},
-+            "CONFIG-DIR" => $inf->{slapd}->{config_dir},
-+            "INITCONFIG-DIR" => $initconfig_dir,
-+            "INST-DIR" => $inf->{slapd}->{inst_dir},
-+            "RUN-DIR" => $inf->{slapd}->{run_dir},
-+            "PRODUCT-NAME" => "slapd",
-+            "SERVERBIN-DIR" => $inf->{slapd}->{sbindir},
-+            "DB-DIR" => $inf->{slapd}->{db_dir}
-+        );
-+
-+
-+        my $dir = "$inf->{General}->{prefix}@taskdir@";
-+        for my $file (glob("$dir/template-*")) {
-+            my $basename = $file;
-+            $basename =~ s/^.*template-//;
-+            my $destfile = "$inf->{slapd}->{inst_dir}/$basename";
-+            debug(1, "$destfile\n");
-+
-+            next if ($skip and -f $destfile); # in skip mode, skip files that already exist
-+
-+            if (!open(SRC, "< $file")) {
-+                return ("error_opening_scripttmpl", $file, $!);
-+            }
-+            if (!open(DEST, "> $destfile")) {
-+                return ("error_opening_scripttmpl", $destfile, $!);
-+            }
-+            my $contents; # slurp entire file into memory
-+            read SRC, $contents, int(-s $file);
-+            close(SRC);
-+            while (my ($key, $val) = each %maptable) {
-+                $contents =~ s/\{\{$key\}\}/$val/g;
-+            }
-+            print DEST $contents;
-+            close(DEST);
-+            my @errs = changeOwnerMode($inf, 5, $destfile);
-+            if (@errs) {
-+                return @errs;
-+            }
-         }
-+    } else {
-+        debug(1, "No instance directory scripts will be updated or created\n");
-     }
- 
-     return ();
-@@ -639,7 +662,7 @@ sub initDatabase {
-         return ();
-     }
- 
--    my $cmd = "$inf->{slapd}->{inst_dir}/ldif2db -n $inf->{slapd}->{ds_bename} -i \'$ldiffile\'";
-+    my $cmd = "$inf->{slapd}->{sbindir}/ldif2db -Z $inf->{slapd}->{ServerIdentifier} -n $inf->{slapd}->{ds_bename} -i \'$ldiffile\'";
-     $? = 0; # clear error condition
-     my $output = `$cmd 2>&1`;
-     my $result = $?;
-@@ -662,7 +685,7 @@ sub startServer {
-     my @errs;
-     # get error log
-     my $errLog = "$inf->{slapd}->{log_dir}/errors";
--    my $startcmd = "$inf->{slapd}->{inst_dir}/start-slapd";
-+    my $startcmd = "$inf->{slapd}->{sbindir}/start-dirsrv $inf->{slapd}->{ServerIdentifier}";
-     if ("@systemdsystemunitdir@" and (getLogin() eq 'root')) {
-         $startcmd = "/bin/systemctl start @package_name@\@$inf->{slapd}->{ServerIdentifier}.service";
-     }
-@@ -875,6 +898,10 @@ sub setDefaults {
-                                                   "@datadir@",
-                                                   $inf->{General}->{prefix});
- 
-+    if (!defined($inf->{slapd}->{InstScriptsEnabled})) {
-+        $inf->{slapd}->{InstScriptsEnabled} = "false";
-+    }
-+
-     if (!defined($inf->{slapd}->{inst_dir})) {
-         $inf->{slapd}->{inst_dir} = "$inf->{General}->{ServerRoot}/slapd-$servid";
-     }
-@@ -975,9 +1002,12 @@ sub updateSelinuxPolicy {
-             system("restorecon -R $localstatedir/lib/@PACKAGE_NAME@");
-         }
- 
-+        my @inst_dirs = qw(config_dir schema_dir log_dir lock_dir run_dir tmp_dir cert_dir db_dir ldif_dir bak_dir);
-+        if ($inf->{slapd}->{InstScriptsEnabled} eq "true") {
-+            @inst_dirs = qw(inst_dir config_dir schema_dir log_dir lock_dir run_dir tmp_dir cert_dir db_dir ldif_dir bak_dir);
-+        }
-         # run restorecon on all instance directories we created
--        for my $kw (qw(inst_dir config_dir schema_dir log_dir lock_dir run_dir tmp_dir
--                cert_dir db_dir ldif_dir bak_dir)) {
-+        for my $kw (@inst_dirs) {
-             my $dir = $inf->{slapd}->{$kw};
-             system("restorecon -R $dir");
-         }
-@@ -1231,14 +1261,14 @@ sub createDSInstance {
- }
- 
- sub stopServer {
--    my $instancedir = shift;
--    my $prog = $instancedir . "/stop-slapd";
-+    my $instance = shift;
-+    my $prog = "@sbindir@/stop-dirsrv";
-     if (-x $prog) {
-         $? = 0;
-         # run the stop command
--        my $output = `$prog 2>&1`;
-+        my $output = `$prog $instance 2>&1`;
-         my $status = $?;
--        debug(3, "stopping server $instancedir returns status $status: output $output\n");
-+        debug(3, "stopping server $instance returns status $status: output $output\n");
-         if ($status) {
-             debug(1,"Warning: Could not stop directory server: status $status: output $output\n");
-             # if the server is not running, that's ok
-@@ -1254,7 +1284,7 @@ sub stopServer {
-         return;
-     }
- 
--    debug(1, "Successfully stopped server $instancedir\n");
-+    debug(1, "Successfully stopped server $instance\n");
-     return 1;
- }
- 
-@@ -1331,23 +1361,16 @@ sub removeDSInstance {
-     $conn->close();
- 
-     # stop the server
--    my $instdir = "";
--    if ($entry) {
--        foreach my $path ( @{$entry->{"nsslapd-instancedir"}} )
--        {
--            if (!stopServer($path)) {
--                if ($force) {
--                    debug(1, "Warning: Could not stop directory server - Error: $! - forcing continue\n");
--                } elsif ($! == ENOENT) { # stop script not found or server not running
--                    debug(1, "Warning: Could not stop directory server: already removed or not running\n");
--                    push @errs, [ 'error_stopping_server', $path, $! ];
--                } else { # real error
--                    debug(1, "Error: Could not stop directory server - aborting - use -f flag to force removal\n");
--                    push @errs, [ 'error_stopping_server', $path, $! ];
--                    return @errs;
--                }
--            }
--            $instdir = $path;
-+    if (!stopServer($inst)) {
-+        if ($force) {
-+            debug(1, "Warning: Could not stop directory server - Error: $! - forcing continue\n");
-+        } elsif ($! == ENOENT) { # stop script not found or server not running
-+            debug(1, "Warning: Could not stop directory server: already removed or not running\n");
-+            push @errs, [ 'error_stopping_server', $inst, $! ];
-+        } else { # real error
-+            debug(1, "Error: Could not stop directory server - aborting - use -f flag to force removal\n");
-+            push @errs, [ 'error_stopping_server', $inst, $! ];
-+            return @errs;
-         }
-     }
- 
-@@ -1363,18 +1386,25 @@ sub removeDSInstance {
-         push @errs, remove_tree($entry, "nsslapd-errorlog", $instname, 1);
-     }
- 
--    # instance dir
--    if ( -d $instdir && $instdir =~ /$instname/ )
--    {
--        # clean up pid files (if any)
--        remove_pidfile("STARTPIDFILE", $inst, $instdir, $instname, $rundir, $product_name);
--        remove_pidfile("PIDFILE", $inst, $instdir, $instname, $rundir, $product_name);
- 
--        my $rc = rmtree($instdir);
--        if ( 0 == $rc )
-+    # instance dir
-+    my $instdir = "";
-+    if ($entry) {
-+        foreach my $instdir ( @{$entry->{"nsslapd-instancedir"}} )
-         {
--            push @errs, [ 'error_removing_path', $instdir, $! ];
--            debug(1, "Warning: $instdir was not removed.  Error: $!\n");
-+            if ( -d $instdir && $instdir =~ /$instname/ )
-+            {
-+                # clean up pid files (if any)
-+                remove_pidfile("STARTPIDFILE", $inst, $instdir, $instname, $rundir, $product_name);
-+                remove_pidfile("PIDFILE", $inst, $instdir, $instname, $rundir, $product_name);
-+
-+                my $rc = rmtree($instdir);
-+                if ( 0 == $rc )
-+                {
-+                    push @errs, [ 'error_removing_path', $instdir, $! ];
-+                    debug(1, "Warning: $instdir was not removed.  Error: $!\n");
-+                }
-+            }
-         }
-     }
-     # Finally, config dir
-diff --git a/ldap/admin/src/scripts/DSUpdate.pm.in b/ldap/admin/src/scripts/DSUpdate.pm.in
-index be1e67c..e84a9a9 100644
---- a/ldap/admin/src/scripts/DSUpdate.pm.in
-+++ b/ldap/admin/src/scripts/DSUpdate.pm.in
-@@ -226,10 +226,10 @@ sub updateDS {
-     for my $upd (@updates) {
-         my @localerrs;
-         if ($upd->{$PRE_STAGE}) {
--            debug(1, "Running stage $PRE_STAGE update ", $upd->{path}, "\n");
-+            debug(1, "Running updateDS stage $PRE_STAGE update ", $upd->{path}, "\n");
-             @localerrs = &{$upd->{$PRE_STAGE}}($inf, $setup->{configdir});
-         } elsif ($upd->{file}) {
--            debug(1, "Running stage $PRE_STAGE update ", $upd->{path}, "\n");
-+            debug(1, "Running updateDS stage $PRE_STAGE update ", $upd->{path}, "\n");
-             @localerrs = processUpdate($upd, $inf, $setup->{configdir}, $PRE_STAGE);
-         }
-         if (@localerrs) {
-@@ -276,10 +276,10 @@ sub updateDS {
-     for my $upd (@updates) {
-         my @localerrs;
-         if ($upd->{$POST_STAGE}) {
--            debug(1, "Running stage $POST_STAGE update ", $upd->{path}, "\n");
-+            debug(1, "Running updateDS stage $POST_STAGE update ", $upd->{path}, "\n");
-             @localerrs = &{$upd->{$POST_STAGE}}($inf, $setup->{configdir});
-         } elsif ($upd->{file}) {
--            debug(1, "Running stage $POST_STAGE update ", $upd->{path}, "\n");
-+            debug(1, "Running updateDS stage $POST_STAGE update ", $upd->{path}, "\n");
-             @localerrs = processUpdate($upd, $inf, $setup->{configdir}, $POST_STAGE);
-         }
-         if (@localerrs) {
-@@ -385,10 +385,10 @@ sub updateDSInstance {
-         for my $upd (@{$updates}) {
-             my @localerrs;
-             if ($upd->{$stage}) {
--                debug(1, "Running stage $stage update ", $upd->{path}, "\n");
-+                debug(1, "Running updateDSInstance stage $stage update ", $upd->{path}, "\n");
-                 @localerrs = &{$upd->{$stage}}($inf, $inst, $dseldif, $conn);
-             } elsif ($upd->{file}) {
--                debug(1, "Running stage $stage update ", $upd->{path}, "\n");
-+                debug(1, "Running updateDSInstance stage $stage update ", $upd->{path}, "\n");
-                 @localerrs = processUpdate($upd, $inf, $configdir, $stage,
-                                            $inst, $dseldif, $conn);
-             }
-diff --git a/ldap/admin/src/scripts/setup-ds.res.in b/ldap/admin/src/scripts/setup-ds.res.in
-index 7134e25..fa37567 100644
---- a/ldap/admin/src/scripts/setup-ds.res.in
-+++ b/ldap/admin/src/scripts/setup-ds.res.in
-@@ -116,6 +116,7 @@ error_creating_file = Could not create file '%s'.  Error: %s\n
- error_copying_file = Could not copy file '%s' to '%s'.  Error: %s\n
- error_enabling_feature = Could not enable the directory server feature '%s'.  Error: %s\n
- error_importing_ldif = Could not import LDIF file '%s'.  Error: %s.  Output: %s\n
-+error_invalid_boolean = Could not convert value '%s' to boolean. Valid values are true or false.\n
- error_starting_server = Could not start the directory server using command '%s'.  The last line from the error log was '%s'.  Error: %s\n
- error_stopping_server = Could not stop the directory server '%s'.  Error: %s\n
- error_missing_userid = The SuiteSpotUserID is missing.  This must be set to valid user\n
--- 
-2.4.3
-


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nds/389-ds-base/files/
@ 2023-03-10  8:46 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2023-03-10  8:46 UTC (permalink / raw
  To: gentoo-commits

commit:     25a11d6428561f0ff9f76d211163bb9c1379f8e6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 10 08:46:30 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 10 08:46:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a11d64

net-nds/389-ds-base: add bug ref to patch

Bug: https://bugs.gentoo.org/899702
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../389-ds-base/files/389-ds-base-2.3.2-setuptools-67-packaging-23.patch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-nds/389-ds-base/files/389-ds-base-2.3.2-setuptools-67-packaging-23.patch b/net-nds/389-ds-base/files/389-ds-base-2.3.2-setuptools-67-packaging-23.patch
index 1e45e69f456e..130ff673fae8 100644
--- a/net-nds/389-ds-base/files/389-ds-base-2.3.2-setuptools-67-packaging-23.patch
+++ b/net-nds/389-ds-base/files/389-ds-base-2.3.2-setuptools-67-packaging-23.patch
@@ -1,3 +1,4 @@
+https://bugs.gentoo.org/899702
 https://github.com/389ds/389-ds-base/commit/c0e2f68423ddde9bb91250d3f96dfc8617889514
 
 From c0e2f68423ddde9bb91250d3f96dfc8617889514 Mon Sep 17 00:00:00 2001


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-10  8:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-18 18:03 [gentoo-commits] repo/gentoo:master commit in: net-nds/389-ds-base/files/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2023-03-10  8:46 Sam James
2017-05-14 22:04 Patrice Clement
2017-01-15  2:33 Göktürk Yüksek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox