diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-20 16:31:13 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-20 16:31:13 +0800 |
commit | 1acf8e10c9976dd38a166eebefa4da36081d1b43 (patch) | |
tree | 19f0f1f06d3208ee94917ec0e10327fb9381c5e7 /sysutils/system-tools-backends | |
parent | b45ea481a667440b91676ff7505984145278e10c (diff) | |
download | marcuscom-ports-1acf8e10c9976dd38a166eebefa4da36081d1b43.tar marcuscom-ports-1acf8e10c9976dd38a166eebefa4da36081d1b43.tar.gz marcuscom-ports-1acf8e10c9976dd38a166eebefa4da36081d1b43.tar.bz2 marcuscom-ports-1acf8e10c9976dd38a166eebefa4da36081d1b43.tar.lz marcuscom-ports-1acf8e10c9976dd38a166eebefa4da36081d1b43.tar.xz marcuscom-ports-1acf8e10c9976dd38a166eebefa4da36081d1b43.tar.zst marcuscom-ports-1acf8e10c9976dd38a166eebefa4da36081d1b43.zip |
Update to 2.8.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12666 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/system-tools-backends')
-rw-r--r-- | sysutils/system-tools-backends/Makefile | 38 | ||||
-rw-r--r-- | sysutils/system-tools-backends/distinfo | 3 | ||||
-rw-r--r-- | sysutils/system-tools-backends/files/patch-Users_Users.pm | 47 | ||||
-rw-r--r-- | sysutils/system-tools-backends/files/patch-dispatcher_main.c | 11 | ||||
-rw-r--r-- | sysutils/system-tools-backends/pkg-descr | 4 | ||||
-rw-r--r-- | sysutils/system-tools-backends/pkg-plist | 126 |
6 files changed, 229 insertions, 0 deletions
diff --git a/sysutils/system-tools-backends/Makefile b/sysutils/system-tools-backends/Makefile new file mode 100644 index 000000000..3e73b2a9f --- /dev/null +++ b/sysutils/system-tools-backends/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: system-tools-backends +# Date created: 11 February 2005 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= system-tools-backends +PORTVERSION= 2.8.1 +CATEGORIES= sysutils gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Backend system admin scripts for gnome-system-tools + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DBus.pm:${PORTSDIR}/devel/p5-Net-DBus +LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ + polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DBus.pm:${PORTSDIR}/devel/p5-Net-DBus + +USE_BZIP2= yes +USE_GMAKE= yes +USE_PERL5= yes +USE_GNOME= gnomehack intlhack glib20 +GNU_CONFIGURE= yes +USE_GNOME_SUBR= yes +CONFIGURE_ARGS= --with-stb-group=wheel \ + --localstatedir=/var +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-configure: + @${REINPLACE_CMD} -e 's|@GETTEXT_PACKAGE@|system-tools-backends|g' \ + ${WRKSRC}/po/Makefile + +.include <bsd.port.mk> diff --git a/sysutils/system-tools-backends/distinfo b/sysutils/system-tools-backends/distinfo new file mode 100644 index 000000000..8a8632212 --- /dev/null +++ b/sysutils/system-tools-backends/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/system-tools-backends-2.8.1.tar.bz2) = 2aecff382af4d8ba7fcd69298cc79413 +SHA256 (gnome2/system-tools-backends-2.8.1.tar.bz2) = c1f5746d22ef439ee47c9b012273ccbefbb2621075f05876bdb6ad5cfe4e1bbe +SIZE (gnome2/system-tools-backends-2.8.1.tar.bz2) = 455050 diff --git a/sysutils/system-tools-backends/files/patch-Users_Users.pm b/sysutils/system-tools-backends/files/patch-Users_Users.pm new file mode 100644 index 000000000..5e2598972 --- /dev/null +++ b/sysutils/system-tools-backends/files/patch-Users_Users.pm @@ -0,0 +1,47 @@ +--- 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_main.c b/sysutils/system-tools-backends/files/patch-dispatcher_main.c new file mode 100644 index 000000000..d21e2c24e --- /dev/null +++ b/sysutils/system-tools-backends/files/patch-dispatcher_main.c @@ -0,0 +1,11 @@ +--- dispatcher/main.c.orig 2009-03-17 02:57:49.000000000 +0100 ++++ dispatcher/main.c 2009-04-16 10:05:33.000000000 +0200 +@@ -48,7 +48,7 @@ daemonize (void) + setsid (); + + if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", +- O_CREAT | O_WRONLY, ++ O_CREAT | O_WRONLY, 0600, + S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) != -1) + { + str = g_strdup_printf ("%d", getpid ()); diff --git a/sysutils/system-tools-backends/pkg-descr b/sysutils/system-tools-backends/pkg-descr new file mode 100644 index 000000000..3434030ae --- /dev/null +++ b/sysutils/system-tools-backends/pkg-descr @@ -0,0 +1,4 @@ +System-tools-backends is a collection of scripts (mostly Perl) used by +gnome-system-tools to perform system administration tasks. + +WWW: http://www.gnome.org/projects/gst/ diff --git a/sysutils/system-tools-backends/pkg-plist b/sysutils/system-tools-backends/pkg-plist new file mode 100644 index 000000000..bc3753250 --- /dev/null +++ b/sysutils/system-tools-backends/pkg-plist @@ -0,0 +1,126 @@ +etc/dbus-1/system.d/org.freedesktop.SystemToolsBackends.conf +sbin/system-tools-backends +libdata/pkgconfig/system-tools-backends-2.0.pc +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.GroupsConfig.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.HostsConfig.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.IfacesConfig.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.NFSConfig.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.NTPConfig.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.Platform.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.SMBConfig.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.ServicesConfig.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.TimeConfig.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.UserConfig.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.UsersConfig.service +share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.service +share/locale/ar/LC_MESSAGES/system-tools-backends.mo +share/locale/bg/LC_MESSAGES/system-tools-backends.mo +share/locale/bn_IN/LC_MESSAGES/system-tools-backends.mo +share/locale/ca/LC_MESSAGES/system-tools-backends.mo +share/locale/cs/LC_MESSAGES/system-tools-backends.mo +share/locale/da/LC_MESSAGES/system-tools-backends.mo +share/locale/de/LC_MESSAGES/system-tools-backends.mo +share/locale/el/LC_MESSAGES/system-tools-backends.mo +share/locale/en_GB/LC_MESSAGES/system-tools-backends.mo +share/locale/es/LC_MESSAGES/system-tools-backends.mo +share/locale/et/LC_MESSAGES/system-tools-backends.mo +share/locale/fi/LC_MESSAGES/system-tools-backends.mo +share/locale/fr/LC_MESSAGES/system-tools-backends.mo +share/locale/gl/LC_MESSAGES/system-tools-backends.mo +share/locale/gu/LC_MESSAGES/system-tools-backends.mo +share/locale/he/LC_MESSAGES/system-tools-backends.mo +share/locale/hi/LC_MESSAGES/system-tools-backends.mo +share/locale/hu/LC_MESSAGES/system-tools-backends.mo +share/locale/it/LC_MESSAGES/system-tools-backends.mo +share/locale/ja/LC_MESSAGES/system-tools-backends.mo +share/locale/kn/LC_MESSAGES/system-tools-backends.mo +share/locale/or/LC_MESSAGES/system-tools-backends.mo +share/locale/pa/LC_MESSAGES/system-tools-backends.mo +share/locale/pl/LC_MESSAGES/system-tools-backends.mo +share/locale/pt_BR/LC_MESSAGES/system-tools-backends.mo +share/locale/ro/LC_MESSAGES/system-tools-backends.mo +share/locale/sl/LC_MESSAGES/system-tools-backends.mo +share/locale/sv/LC_MESSAGES/system-tools-backends.mo +share/locale/ta/LC_MESSAGES/system-tools-backends.mo +share/locale/te/LC_MESSAGES/system-tools-backends.mo +share/locale/th/LC_MESSAGES/system-tools-backends.mo +share/locale/tr/LC_MESSAGES/system-tools-backends.mo +share/locale/uk/LC_MESSAGES/system-tools-backends.mo +share/locale/zh_CN/LC_MESSAGES/system-tools-backends.mo +share/locale/zh_HK/LC_MESSAGES/system-tools-backends.mo +share/locale/zh_TW/LC_MESSAGES/system-tools-backends.mo +share/polkit-1/actions/org.freedesktop.SystemToolsBackends.policy +share/system-tools-backends-2.0/files/general_gprs_chatscript +share/system-tools-backends-2.0/files/general_isdn_ppp_options +share/system-tools-backends-2.0/files/general_pppoe_ppp_options +share/system-tools-backends-2.0/scripts/GroupsConfig.pm +share/system-tools-backends-2.0/scripts/HostsConfig.pm +share/system-tools-backends-2.0/scripts/IfacesConfig.pm +share/system-tools-backends-2.0/scripts/Init/Services.pm +share/system-tools-backends-2.0/scripts/Init/ServicesList.pm +share/system-tools-backends-2.0/scripts/NFSConfig.pm +share/system-tools-backends-2.0/scripts/NTPConfig.pm +share/system-tools-backends-2.0/scripts/Network/Hosts.pm +share/system-tools-backends-2.0/scripts/Network/Ifaces.pm +share/system-tools-backends-2.0/scripts/Platform.pm +share/system-tools-backends-2.0/scripts/SMBConfig.pm +share/system-tools-backends-2.0/scripts/ServicesConfig.pm +share/system-tools-backends-2.0/scripts/Shares/NFS.pm +share/system-tools-backends-2.0/scripts/Shares/SMB.pm +share/system-tools-backends-2.0/scripts/StbObject.pm +share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl +share/system-tools-backends-2.0/scripts/Time/NTP.pm +share/system-tools-backends-2.0/scripts/Time/TimeDate.pm +share/system-tools-backends-2.0/scripts/TimeConfig.pm +share/system-tools-backends-2.0/scripts/UserConfig.pm +share/system-tools-backends-2.0/scripts/Users/Groups.pm +share/system-tools-backends-2.0/scripts/Users/Shells.pm +share/system-tools-backends-2.0/scripts/Users/Users.pm +share/system-tools-backends-2.0/scripts/UsersConfig.pm +share/system-tools-backends-2.0/scripts/Utils/Backend.pm +share/system-tools-backends-2.0/scripts/Utils/DBus.pm +share/system-tools-backends-2.0/scripts/Utils/File.pm +share/system-tools-backends-2.0/scripts/Utils/Monitor.pm +share/system-tools-backends-2.0/scripts/Utils/Parse.pm +share/system-tools-backends-2.0/scripts/Utils/Platform.pm +share/system-tools-backends-2.0/scripts/Utils/Replace.pm +share/system-tools-backends-2.0/scripts/Utils/Report.pm +share/system-tools-backends-2.0/scripts/Utils/Util.pm +share/system-tools-backends-2.0/scripts/Utils/XML.pm +@dirrm share/system-tools-backends-2.0/scripts/Utils +@dirrm share/system-tools-backends-2.0/scripts/Users +@dirrm share/system-tools-backends-2.0/scripts/Time +@dirrm share/system-tools-backends-2.0/scripts/Shares +@dirrm share/system-tools-backends-2.0/scripts/Network +@dirrm share/system-tools-backends-2.0/scripts/Init +@dirrm share/system-tools-backends-2.0/scripts +@dirrm share/system-tools-backends-2.0/files +@dirrm share/system-tools-backends-2.0 +@dirrmtry share/locale/zh_TW/LC_MESSAGES +@dirrmtry share/locale/zh_TW +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/zh_CN +@dirrmtry share/locale/uk/LC_MESSAGES +@dirrmtry share/locale/uk +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sl/LC_MESSAGES +@dirrmtry share/locale/sl +@dirrmtry share/locale/ro/LC_MESSAGES +@dirrmtry share/locale/ro +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl +@dirrmtry share/locale/gl/LC_MESSAGES +@dirrmtry share/locale/gl +@dirrmtry share/locale/fi/LC_MESSAGES +@dirrmtry share/locale/fi +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/el +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/cs +@dirrmtry share/locale/ca/LC_MESSAGES +@dirrmtry share/locale/ca +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN |