diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-10-25 11:37:29 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-10-25 11:37:29 +0800 |
commit | e934b106497f17545e236bb9644bed935cd118ad (patch) | |
tree | 29839e0cbcfadbf35eac8fc26b9ad2afe1301370 /sysutils/system-tools-backends/files | |
parent | 14c9f603eb5d9868d374e46ac865925da109a838 (diff) | |
download | marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.gz marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.bz2 marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.lz marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.xz marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.zst marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.zip |
Remove these now that they have been committed to the FreeBSD ports tree.
Next stop GNOME 2.21.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9875 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/system-tools-backends/files')
3 files changed, 0 insertions, 84 deletions
diff --git a/sysutils/system-tools-backends/files/patch-Users_Users.pm b/sysutils/system-tools-backends/files/patch-Users_Users.pm deleted file mode 100644 index 5e2598972..000000000 --- a/sysutils/system-tools-backends/files/patch-Users_Users.pm +++ /dev/null @@ -1,47 +0,0 @@ ---- Users/Users.pm.orig Thu Oct 5 09:27:21 2006 -+++ Users/Users.pm Sun Apr 22 23:05:41 2007 -@@ -458,7 +458,7 @@ - - if ($Utils::Backend::tool{"system"} eq "FreeBSD") - { -- $command = "$cmd_pw userdel -n \'" . $$user[$LOGIN] . "\' "; -+ $command = "$cmd_pw userdel -n \'" . $$user[$LOGIN] . "\' -r "; - } - else - { -@@ -538,10 +538,10 @@ - { - my $pwdpipe; - my $home; -+ my $user; - -- # FreeBSD doesn't create the home directory - $home = $$user[$HOME]; -- &Utils::File::run ("$tool_mkdir -p $home"); -+ $user = $$user[$LOGIN]; - - $command = "$cmd_pw useradd " . - " -n \'" . $$user[$LOGIN] . "\'" . -@@ -549,11 +549,12 @@ - " -d \'" . $$user[$HOME] . "\'" . - " -g \'" . $$user[$GID] . "\'" . - " -s \'" . $$user[$SHELL] . "\'" . -- " -H 0"; # pw(8) reads password from STDIN -+ " -m -h 0"; # pw(8) reads password from STDIN - - $pwdpipe = &Utils::File::run_pipe_write ($command); - print $pwdpipe $$user[$PASSWD]; - &Utils::File::close_file ($pwdpipe); -+ &Utils::File::run ("chown -R $user $home"); - } - elsif ($Utils::Backend::tool{"system"} eq "SunOS") - { -@@ -629,7 +630,7 @@ - " -d \'" . $$new_user[$HOME] . "\'" . - " -g \'" . $$new_user[$GID] . "\'" . - " -s \'" . $$new_user[$SHELL] . "\'" . -- " -H 0"; # pw(8) reads password from STDIN -+ " -h 0"; # pw(8) reads password from STDIN - - $pwdpipe = &Utils::File::run_pipe_write ($command); - print $pwdpipe $$new_user[$PASSWD]; diff --git a/sysutils/system-tools-backends/files/patch-dispatcher_dispatcher.c b/sysutils/system-tools-backends/files/patch-dispatcher_dispatcher.c deleted file mode 100644 index f1f49929e..000000000 --- a/sysutils/system-tools-backends/files/patch-dispatcher_dispatcher.c +++ /dev/null @@ -1,11 +0,0 @@ ---- dispatcher/dispatcher.c.orig Thu Apr 12 23:55:38 2007 -+++ dispatcher/dispatcher.c Thu Apr 12 23:57:40 2007 -@@ -203,7 +203,7 @@ daemonize (void) - - setsid (); - -- if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY)) != -1) -+ if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY, 0600)) != -1) - { - str = g_strdup_printf ("%d", getpid ()); - write (pidfile_fd, str, strlen (str)); diff --git a/sysutils/system-tools-backends/files/system-tools-backends.in b/sysutils/system-tools-backends/files/system-tools-backends.in deleted file mode 100644 index dcaff5e34..000000000 --- a/sysutils/system-tools-backends/files/system-tools-backends.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -# $MCom: ports/sysutils/system-tools-backends/files/system-tools-backends.in,v 1.3 2006/12/06 19:31:12 marcus Exp $ - -# PROVIDE: system-tools-backends -# REQUIRE: DAEMON dbus -# -# Add the following to /etc/rc.conf to start SystemToolsBackends at boot time: -# -# system_tools_backends_enable="YES" -# - -. %%RC_SUBR%% -. %%GNOME_SUBR%% - -export PATH=${PATH}:%%PREFIX%%/bin - -system_tools_backends_enable=${system_tools_backends_enable-${gnome_enable}} - -name=system_tools_backends -rcvar=`set_rcvar` -command="%%PREFIX%%/bin/system-tools-backends" -pidfile="/var/run/system-tools-backends.pid" - -load_rc_config ${name} -run_rc_command "$1" |