summaryrefslogtreecommitdiffstats
path: root/sysutils/system-tools-backends
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-01-18 14:40:01 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-01-18 14:40:01 +0800
commitfbd79df1da5776fe53edca9b0e8a7783df3532ce (patch)
tree8bf51921846b3933faa847ad21f2c4d8c20b3478 /sysutils/system-tools-backends
parent3dece2b2665454585e986546440ed493649a2741 (diff)
downloadmarcuscom-ports-fbd79df1da5776fe53edca9b0e8a7783df3532ce.tar
marcuscom-ports-fbd79df1da5776fe53edca9b0e8a7783df3532ce.tar.gz
marcuscom-ports-fbd79df1da5776fe53edca9b0e8a7783df3532ce.tar.bz2
marcuscom-ports-fbd79df1da5776fe53edca9b0e8a7783df3532ce.tar.lz
marcuscom-ports-fbd79df1da5776fe53edca9b0e8a7783df3532ce.tar.xz
marcuscom-ports-fbd79df1da5776fe53edca9b0e8a7783df3532ce.tar.zst
marcuscom-ports-fbd79df1da5776fe53edca9b0e8a7783df3532ce.zip
Update to 2.9.1. Some of Larry's recent Users.pm work was added upstream,
but some more work may need to be done for the new Users protocol. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13483 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/system-tools-backends')
-rw-r--r--sysutils/system-tools-backends/Makefile38
-rw-r--r--sysutils/system-tools-backends/distinfo3
-rw-r--r--sysutils/system-tools-backends/files/patch-dispatcher_main.c11
-rw-r--r--sysutils/system-tools-backends/pkg-descr4
-rw-r--r--sysutils/system-tools-backends/pkg-plist140
5 files changed, 196 insertions, 0 deletions
diff --git a/sysutils/system-tools-backends/Makefile b/sysutils/system-tools-backends/Makefile
new file mode 100644
index 000000000..47f28208a
--- /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: ports/sysutils/system-tools-backends/Makefile,v 1.54 2009/10/11 19:13:30 marcus Exp $
+#
+
+PORTNAME= system-tools-backends
+PORTVERSION= 2.9.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..dc57a6bf1
--- /dev/null
+++ b/sysutils/system-tools-backends/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/system-tools-backends-2.9.1.tar.bz2) = 4dd5ebf514c65f51437cded51b2cf282
+SHA256 (gnome2/system-tools-backends-2.9.1.tar.bz2) = 1a2d819f3b5f89eb1dd1d9595e0097477b956f4590e073d36908421c298d4517
+SIZE (gnome2/system-tools-backends-2.9.1.tar.bz2) = 460312
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..d3496c140
--- /dev/null
+++ b/sysutils/system-tools-backends/pkg-plist
@@ -0,0 +1,140 @@
+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.GroupConfig2.service
+share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.GroupsConfig2.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.SelfConfig2.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.UserConfig2.service
+share/dbus-1/system-services/org.freedesktop.SystemToolsBackends.UsersConfig2.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/eu/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/nb/LC_MESSAGES/system-tools-backends.mo
+share/locale/nds/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/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/sr/LC_MESSAGES/system-tools-backends.mo
+share/locale/sr@latin/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/GroupConfig.pm
+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/SelfConfig.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/sr@latin/LC_MESSAGES
+@dirrmtry share/locale/sr@latin
+@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/nds/LC_MESSAGES
+@dirrmtry share/locale/nds
+@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