]> git.pld-linux.org Git - packages/VMware-server.git/commitdiff
- drop obsolete files
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 5 Jul 2009 17:30:56 +0000 (17:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    VMware-server-config-pam.patch -> 1.2
    VMware-server-config-rc-inetd.patch -> 1.4

VMware-server-config-pam.patch [deleted file]
VMware-server-config-rc-inetd.patch [deleted file]

diff --git a/VMware-server-config-pam.patch b/VMware-server-config-pam.patch
deleted file mode 100644 (file)
index 385d2eb..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
---- vmware-server-distrib/bin/vmware-config.pl~        2008-04-08 08:31:09.000000000 +0300
-+++ vmware-server-distrib/bin/vmware-config.pl 2008-04-08 09:17:56.468815748 +0300
-@@ -7671,10 +7671,6 @@
-          . '>/dev/null 2>&1');
-   configure_superserver();
--  if (vmware_product() ne 'server') {
--    # authd pam file is automatically installed in ESX Server
--    configure_wgs_pam_d();
--  }
-   fix_vmlist_permissions();
- }
diff --git a/VMware-server-config-rc-inetd.patch b/VMware-server-config-rc-inetd.patch
deleted file mode 100644 (file)
index de95dc0..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
---- vmware-server-distrib/bin/vmware-config.pl 2007-11-09 14:22:03.000000000 +0200
-+++ vmware-server-distrib/bin/vmware-config.pl 2008-04-07 14:56:57.510937518 +0300
-@@ -7499,6 +7500,7 @@
-   my $inetd_conf  = "/etc/inetd.conf";
-   my $xinetd_conf = "/etc/xinetd.conf";
-   my $xinetd_dir  = "/etc/xinetd.d";
-+  my $rcinetd_dir  = "/etc/sysconfig/rc-inetd";
-   my $success     = 0;
-   my $port;
-@@ -7550,12 +7552,16 @@
-                . ' clients on other machines.' . "\n", 0);
-   }
-+  if (-d $rcinetd_dir) {
-+        $success = configure_rcinetd($rcinetd_dir, $port);
-+  }
-+
-   # check for xinetd
-   # XXX Could be a problem, as they could start xinetd with '-f config_file'.
-   #     We could do a ps -ax, look for xinetd, parse the line, find the config
-   #     file, parse the config file to find the xinet.d directory.  Bah.  Or
-   #     parse if from the init.d script somewhere.  If they use init.d.
--  if (check_is_running('xinetd')) {
-+  if (!$success && check_is_running('xinetd')) {
-     if (open(CONF, $xinetd_conf)) {
-       # Let's try to find it here
-       while (<CONF>) {
-@@ -7732,6 +7738,17 @@
-   }
- }
-+#Restart rc-inetd
-+sub restart_rcinetd {
-+  my $rcinetd_restart = db_get_answer('INITSCRIPTSDIR') . '/rc-inetd';
-+  if (-e $rcinetd_restart) {
-+    if (!system(shell_string($rcinetd_restart) . ' restart')) {
-+      return;
-+    }
-+  }
-+}
-+
-+
- # Update the Internet super-server's configuration file, and make the
- # super-server read it
- sub configure_xinetd {
-@@ -7758,6 +7775,26 @@
-   restart_xinetd();
- }
-+# Update the Internet super-server's configuration file, and make the
-+# super-server read it
-+sub configure_rcinetd {
-+  my $conf_dir  = shift;
-+  my $port      = shift;
-+
-+  my $authd_conf_file = "$conf_dir/vmware-authd";
-+  my $authd = db_get_answer('SBINDIR') . "/vmware-authd";
-+
-+  my %patch = ( '%port%' => $port, '%authd%' => $authd );
-+
-+  install_file(db_get_answer('LIBDIR') . '/configurator/authd-rc-inetd.conf',
-+               $authd_conf_file, \%patch,
-+               $cFlagTimestamp | $cFlagConfig);
-+
-+  restart_rcinetd();
-+  return 1;
-+}
-+
-+
- # Setup the hostd configuration files
- sub configure_hostd {
-    my %patch;
This page took 0.035835 seconds and 4 git commands to generate.