diff options
Diffstat (limited to 'sysutils/gnome-system-tools')
-rw-r--r-- | sysutils/gnome-system-tools/Makefile | 44 | ||||
-rw-r--r-- | sysutils/gnome-system-tools/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gnome-system-tools/files/patch-configure | 11 | ||||
-rw-r--r-- | sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c | 110 | ||||
-rw-r--r-- | sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c | 26 | ||||
-rw-r--r-- | sysutils/gnome-system-tools/pkg-descr | 10 | ||||
-rw-r--r-- | sysutils/gnome-system-tools/pkg-plist | 229 |
7 files changed, 433 insertions, 0 deletions
diff --git a/sysutils/gnome-system-tools/Makefile b/sysutils/gnome-system-tools/Makefile new file mode 100644 index 000000000..8cb6c9f3c --- /dev/null +++ b/sysutils/gnome-system-tools/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: gnomesystemtools +# Date created: 17 May 2004 +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gnome-system-tools +PORTVERSION= 2.14.0 +PORTREVISION= 1 +CATEGORIES= sysutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-system-tools/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DISTNAME= gnome-system-tools-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Tools to configure workstations + +BUILD_DEPENDS= ${LOCALBASE}/share/setup-tool-backends/scripts/xml.pl:${PORTSDIR}/sysutils/system-tools-backends +RUN_DEPENDS= ${LOCALBASE}/share/setup-tool-backends/scripts/xml.pl:${PORTSDIR}/sysutils/system-tools-backends + +USE_BZIP2= yes +USE_GMAKE= yes +USE_GETTEXT= yes +USE_XLIB= yes +GNOME_DESKTOP_VERSION=2 +USE_GNOME= gnomehack gnomeprefix gnometarget intlhack nautilus2 +USE_AUTOTOOLS= libtool:15 +INSTALLS_OMF= yes +CONFIGURE_ARGS= --enable-services +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= gnome-system-tools.schemas + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +IGNORE= uses symbols not present in 4.X +.endif + +.include <bsd.port.post.mk> diff --git a/sysutils/gnome-system-tools/distinfo b/sysutils/gnome-system-tools/distinfo new file mode 100644 index 000000000..dea2f0713 --- /dev/null +++ b/sysutils/gnome-system-tools/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gnome-system-tools-2.14.0.tar.bz2) = 3aded3a37f4f5b4962bf253d25cebea1 +SHA256 (gnome2/gnome-system-tools-2.14.0.tar.bz2) = 39f37363001b1cc2f5d2f5d2d7024a7a36e7dd227862b1dd9ce8c3325157ea7c +SIZE (gnome2/gnome-system-tools-2.14.0.tar.bz2) = 2120911 diff --git a/sysutils/gnome-system-tools/files/patch-configure b/sysutils/gnome-system-tools/files/patch-configure new file mode 100644 index 000000000..712bb1def --- /dev/null +++ b/sysutils/gnome-system-tools/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Thu Jan 13 17:15:39 2005 ++++ configure Thu Jan 13 17:17:13 2005 +@@ -22990,7 +22990,7 @@ + GST_CFLAGS="$GST_DEPENDS_CFLAGS $GST_CRACK_LIB_CFLAGS $GST_DEPRECATED_FLAGS" + + GST_TOOL_LIBS="$GST_LIBS -lutil \$(top_builddir)/src/common/libsetuptool.a" +-GST_TOOL_CFLAGS="$GST_CFLAGS -I\$(top_srcdir)/src/common" ++GST_TOOL_CFLAGS="-I\$(top_srcdir)/src/common $GST_CFLAGS" + + GST_TOOL_CLEANFILES="\$(desktop) \$(desktop).in" + GST_TOOL_EXTRA_DIST="\$(toolpixmaps) \$(desktop).in.in" diff --git a/sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c b/sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c new file mode 100644 index 000000000..f73b28ae4 --- /dev/null +++ b/sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c @@ -0,0 +1,110 @@ +--- src/common/gst-auth.c.orig Mon Aug 8 15:00:01 2005 ++++ src/common/gst-auth.c Sat Sep 10 01:47:35 2005 +@@ -55,6 +55,82 @@ + static int root; /* if we are root, no password is + required */ + ++#ifdef __FreeBSD__ ++static int ++_forkpty (int *amaster, char *name, ++ struct termios *termp, struct winsize *winp) ++{ ++ int master, slave; ++ char *line; ++ pid_t pid; ++ ++ master = posix_openpt (O_RDWR); ++ if (master == -1) ++ return (-1); ++ ++ if (grantpt (master) == -1) ++ { ++ (void) close (master); ++ return (-1); ++ } ++ ++ if (unlockpt (master) == -1) ++ { ++ (void) close (master); ++ return (-1); ++ } ++ ++ line = ptsname (master); ++ if (line == NULL) ++ { ++ (void) close (master); ++ return (-1); ++ } ++ ++ slave = open (line, O_RDWR); ++ if (slave < 0) ++ { ++ (void) close (master); ++ return (-1); ++ } ++ ++ if (amaster) ++ *amaster = master; ++ ++ if (name) ++ strcpy (name, line); ++ ++ if (termp) ++ (void) tcsetattr(slave, TCSAFLUSH, termp); ++ ++ if (winp) ++ (void) ioctl(slave, TIOCSWINSZ, (char *) winp); ++ ++ pid = fork (); ++ switch (pid) ++ { ++ case -1: ++ (void) close (slave); ++ (void) close (master); ++ return (-1); ++ case 0: ++ (void) close (master); ++ dup2 (slave, STDIN_FILENO); ++ dup2 (slave, STDOUT_FILENO); ++ dup2 (slave, STDERR_FILENO); ++ return (0); ++ default: ++ (void) close (slave); ++ return (pid); ++ } ++ ++ (void) close (master); ++ return (-1); ++} ++#else ++#define _forkpty forkpty ++#endif ++ + static void + gst_auth_display_error_message (GstTool *tool, gchar *primary_text, gchar *secondary_text) + { +@@ -125,7 +201,7 @@ gst_auth_run_term (GstTool *tool, gchar + int p[2]; + + pipe (p); +- tool->backend_pid = forkpty (&tool->write_fd, NULL, NULL, NULL); ++ tool->backend_pid = _forkpty (&tool->write_fd, NULL, NULL, NULL); + + if (tool->backend_pid < 0) { + gst_auth_display_error_message (tool, +@@ -142,12 +218,12 @@ gst_auth_run_term (GstTool *tool, gchar + unsetenv("LANG"); + unsetenv("LANGUAGE"); + +- dup2 (p[1], 1); +- dup2 (p[1], 2); ++ dup2 (p[1], STDOUT_FILENO); ++ dup2 (p[1], STDERR_FILENO); + close (p[0]); + + execv (args[0], args); +- exit (255); ++ _exit (255); + } else { + #ifndef __FreeBSD__ + /* Linux's su works ok with echo disabling */ diff --git a/sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c b/sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c new file mode 100644 index 000000000..9aaef1503 --- /dev/null +++ b/sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c @@ -0,0 +1,26 @@ +--- src/common/gst-tool.c.orig Tue Jun 21 15:07:05 2005 ++++ src/common/gst-tool.c Wed Jul 6 01:28:22 2005 +@@ -598,7 +598,14 @@ gst_tool_kill_backend_cb (GstDirectiveEn + if (tool->root_access == ROOT_ACCESS_SIMULATED_DISABLED) + tool->root_access = ROOT_ACCESS_SIMULATED; + ++#if 0 ++ /* ++ * We do not need to wait for the tool, ++ * as it will get SIGPIPE anyway. ++ * This waitpid causes problems on FreeBSD. ++ */ + waitpid (tool->backend_pid, NULL, 0); ++#endif + } + } + +@@ -1655,7 +1662,7 @@ poll_backend (GstTool *tool) + struct pollfd fd; + + fd.fd = tool->read_fd; +- fd.events = POLLIN || POLLPRI; ++ fd.events = POLLIN | POLLPRI; + + while (poll (&fd, 1, 100) <= 0) { + while (gtk_events_pending ()) diff --git a/sysutils/gnome-system-tools/pkg-descr b/sysutils/gnome-system-tools/pkg-descr new file mode 100644 index 000000000..b0b69e539 --- /dev/null +++ b/sysutils/gnome-system-tools/pkg-descr @@ -0,0 +1,10 @@ +Various tools to assist in administration and configuration of a workstation. +Included are tools to: + + * Administer user and group accounts + * Change the date, time, and time zone + * Set up and configure network interfaces + * Modify bootloader settings + * Start, stop, and modify system services + +WWW: http://www.gnome.org/projects/gst/ diff --git a/sysutils/gnome-system-tools/pkg-plist b/sysutils/gnome-system-tools/pkg-plist new file mode 100644 index 000000000..7954d30d1 --- /dev/null +++ b/sysutils/gnome-system-tools/pkg-plist @@ -0,0 +1,229 @@ +bin/network-admin +bin/services-admin +bin/shares-admin +bin/time-admin +bin/users-admin +lib/nautilus/extensions-1.0/libnautilus-gst-shares.a +lib/nautilus/extensions-1.0/libnautilus-gst-shares.la +lib/nautilus/extensions-1.0/libnautilus-gst-shares.so +libdata/pkgconfig/gnome-system-tools.pc +%%DATADIR%%/interfaces/boot.glade +%%DATADIR%%/interfaces/common.glade +%%DATADIR%%/interfaces/disks.glade +%%DATADIR%%/interfaces/network.glade +%%DATADIR%%/interfaces/services.glade +%%DATADIR%%/interfaces/shares.glade +%%DATADIR%%/interfaces/time.glade +%%DATADIR%%/interfaces/users.glade +%%DATADIR%%/pixmaps/16_ethernet.xpm +%%DATADIR%%/pixmaps/16_loopback.xpm +%%DATADIR%%/pixmaps/16_plip.xpm +%%DATADIR%%/pixmaps/16_ppp.xpm +%%DATADIR%%/pixmaps/archlinux.png +%%DATADIR%%/pixmaps/black_panther.png +%%DATADIR%%/pixmaps/boot.png +%%DATADIR%%/pixmaps/computer.png +%%DATADIR%%/pixmaps/conectiva.png +%%DATADIR%%/pixmaps/connection-ethernet.png +%%DATADIR%%/pixmaps/connection-modem.png +%%DATADIR%%/pixmaps/debian.png +%%DATADIR%%/pixmaps/disks.png +%%DATADIR%%/pixmaps/fedora.png +%%DATADIR%%/pixmaps/freebsd.png +%%DATADIR%%/pixmaps/gentoo.png +%%DATADIR%%/pixmaps/gnome-dev-cdrom-data.png +%%DATADIR%%/pixmaps/gnome-dev-cdrom-mixed.png +%%DATADIR%%/pixmaps/irda-16.png +%%DATADIR%%/pixmaps/irda-48.png +%%DATADIR%%/pixmaps/mandrake.png +%%DATADIR%%/pixmaps/nameresolution.png +%%DATADIR%%/pixmaps/nameresolution_alias.png +%%DATADIR%%/pixmaps/nameresolution_id.png +%%DATADIR%%/pixmaps/network.png +%%DATADIR%%/pixmaps/openna.png +%%DATADIR%%/pixmaps/pld.png +%%DATADIR%%/pixmaps/plip-48.png +%%DATADIR%%/pixmaps/ppp.png +%%DATADIR%%/pixmaps/reading.png +%%DATADIR%%/pixmaps/redhat.png +%%DATADIR%%/pixmaps/server.png +%%DATADIR%%/pixmaps/services.png +%%DATADIR%%/pixmaps/settings.png +%%DATADIR%%/pixmaps/shares.png +%%DATADIR%%/pixmaps/slackware.png +%%DATADIR%%/pixmaps/specifix.png +%%DATADIR%%/pixmaps/suse.png +%%DATADIR%%/pixmaps/talk-userlist.png +%%DATADIR%%/pixmaps/time.png +%%DATADIR%%/pixmaps/timezone.png +%%DATADIR%%/pixmaps/turbolinux.png +%%DATADIR%%/pixmaps/unsupported-distro.png +%%DATADIR%%/pixmaps/users-groups.png +%%DATADIR%%/pixmaps/users.png +%%DATADIR%%/pixmaps/vidalinux.png +%%DATADIR%%/pixmaps/vine.png +%%DATADIR%%/pixmaps/wavelan-16.png +%%DATADIR%%/pixmaps/wavelan-48.png +%%DATADIR%%/pixmaps/world_map-960.png +share/gnome/applications/network.desktop +share/gnome/applications/services.desktop +share/gnome/applications/shares.desktop +share/gnome/applications/time.desktop +share/gnome/applications/users.desktop +share/gnome/help/boot-admin/C/boot-admin.xml +share/gnome/help/boot-admin/C/figures/boot-tool.png +share/gnome/help/boot-admin/C/legal.xml +share/gnome/help/boot-admin/es/boot-admin.xml +share/gnome/help/boot-admin/es/figures/boot-tool.png +share/gnome/help/network-admin/C/figures/network-tool.png +share/gnome/help/network-admin/C/legal.xml +share/gnome/help/network-admin/C/network-admin.xml +share/gnome/help/network-admin/es/figures/network-tool.png +share/gnome/help/network-admin/es/network-admin.xml +share/gnome/help/services-admin/C/figures/service-properties.png +share/gnome/help/services-admin/C/figures/services-tool.png +share/gnome/help/services-admin/C/legal.xml +share/gnome/help/services-admin/C/services-admin.xml +share/gnome/help/services-admin/es/figures/service-properties.png +share/gnome/help/services-admin/es/figures/services-tool.png +share/gnome/help/services-admin/es/services-admin.xml +share/gnome/help/services-admin/nl/figures/service-properties.png +share/gnome/help/services-admin/nl/figures/services-tool.png +share/gnome/help/services-admin/nl/legal.xml +share/gnome/help/services-admin/nl/services-admin.xml +share/gnome/help/time-admin/C/figures/time-map.png +share/gnome/help/time-admin/C/figures/time-servers.png +share/gnome/help/time-admin/C/figures/time-tool.png +share/gnome/help/time-admin/C/legal.xml +share/gnome/help/time-admin/C/time-admin.xml +share/gnome/help/time-admin/es/figures/time-map.png +share/gnome/help/time-admin/es/figures/time-servers.png +share/gnome/help/time-admin/es/figures/time-tool.png +share/gnome/help/time-admin/es/time-admin.xml +share/gnome/help/time-admin/nl/figures/time-map.png +share/gnome/help/time-admin/nl/figures/time-servers.png +share/gnome/help/time-admin/nl/figures/time-tool.png +share/gnome/help/time-admin/nl/legal.xml +share/gnome/help/time-admin/nl/time-admin.xml +share/gnome/help/users-admin/C/figures/users-tool.png +share/gnome/help/users-admin/C/legal.xml +share/gnome/help/users-admin/C/users-admin.xml +share/gnome/help/users-admin/es/figures/users-tool.png +share/gnome/help/users-admin/es/users-admin.xml +share/gnome/omf/boot-admin/boot-admin-C.omf +share/gnome/omf/boot-admin/boot-admin-es.omf +share/gnome/omf/gnome-system-tools/services-admin-nl.omf +share/gnome/omf/gnome-system-tools/time-admin-nl.omf +share/gnome/omf/network-admin/network-admin-C.omf +share/gnome/omf/network-admin/network-admin-es.omf +share/gnome/omf/services-admin/services-admin-C.omf +share/gnome/omf/services-admin/services-admin-es.omf +share/gnome/omf/time-admin/time-admin-C.omf +share/gnome/omf/time-admin/time-admin-es.omf +share/gnome/omf/users-admin/users-admin-C.omf +share/gnome/omf/users-admin/users-admin-es.omf +share/locale/am/LC_MESSAGES/gnome-system-tools.mo +share/locale/ar/LC_MESSAGES/gnome-system-tools.mo +share/locale/az/LC_MESSAGES/gnome-system-tools.mo +share/locale/bg/LC_MESSAGES/gnome-system-tools.mo +share/locale/bn/LC_MESSAGES/gnome-system-tools.mo +share/locale/ca/LC_MESSAGES/gnome-system-tools.mo +share/locale/cs/LC_MESSAGES/gnome-system-tools.mo +share/locale/cy/LC_MESSAGES/gnome-system-tools.mo +share/locale/da/LC_MESSAGES/gnome-system-tools.mo +share/locale/de/LC_MESSAGES/gnome-system-tools.mo +share/locale/el/LC_MESSAGES/gnome-system-tools.mo +share/locale/en_CA/LC_MESSAGES/gnome-system-tools.mo +share/locale/en_GB/LC_MESSAGES/gnome-system-tools.mo +share/locale/es/LC_MESSAGES/gnome-system-tools.mo +share/locale/et/LC_MESSAGES/gnome-system-tools.mo +share/locale/eu/LC_MESSAGES/gnome-system-tools.mo +share/locale/fi/LC_MESSAGES/gnome-system-tools.mo +share/locale/fr/LC_MESSAGES/gnome-system-tools.mo +share/locale/ga/LC_MESSAGES/gnome-system-tools.mo +share/locale/gl/LC_MESSAGES/gnome-system-tools.mo +share/locale/gu/LC_MESSAGES/gnome-system-tools.mo +share/locale/he/LC_MESSAGES/gnome-system-tools.mo +share/locale/hi/LC_MESSAGES/gnome-system-tools.mo +share/locale/hr/LC_MESSAGES/gnome-system-tools.mo +share/locale/hu/LC_MESSAGES/gnome-system-tools.mo +share/locale/id/LC_MESSAGES/gnome-system-tools.mo +share/locale/it/LC_MESSAGES/gnome-system-tools.mo +share/locale/ja/LC_MESSAGES/gnome-system-tools.mo +share/locale/ko/LC_MESSAGES/gnome-system-tools.mo +share/locale/ku/LC_MESSAGES/gnome-system-tools.mo +share/locale/lt/LC_MESSAGES/gnome-system-tools.mo +share/locale/lv/LC_MESSAGES/gnome-system-tools.mo +share/locale/mk/LC_MESSAGES/gnome-system-tools.mo +share/locale/ml/LC_MESSAGES/gnome-system-tools.mo +share/locale/mn/LC_MESSAGES/gnome-system-tools.mo +share/locale/ms/LC_MESSAGES/gnome-system-tools.mo +share/locale/nb/LC_MESSAGES/gnome-system-tools.mo +share/locale/ne/LC_MESSAGES/gnome-system-tools.mo +share/locale/nl/LC_MESSAGES/gnome-system-tools.mo +share/locale/nn/LC_MESSAGES/gnome-system-tools.mo +share/locale/no/LC_MESSAGES/gnome-system-tools.mo +share/locale/pa/LC_MESSAGES/gnome-system-tools.mo +share/locale/pl/LC_MESSAGES/gnome-system-tools.mo +share/locale/pt/LC_MESSAGES/gnome-system-tools.mo +share/locale/pt_BR/LC_MESSAGES/gnome-system-tools.mo +share/locale/ro/LC_MESSAGES/gnome-system-tools.mo +share/locale/ru/LC_MESSAGES/gnome-system-tools.mo +share/locale/rw/LC_MESSAGES/gnome-system-tools.mo +share/locale/sk/LC_MESSAGES/gnome-system-tools.mo +share/locale/sq/LC_MESSAGES/gnome-system-tools.mo +share/locale/sr/LC_MESSAGES/gnome-system-tools.mo +share/locale/sr@Latn/LC_MESSAGES/gnome-system-tools.mo +share/locale/sv/LC_MESSAGES/gnome-system-tools.mo +share/locale/ta/LC_MESSAGES/gnome-system-tools.mo +share/locale/th/LC_MESSAGES/gnome-system-tools.mo +share/locale/tr/LC_MESSAGES/gnome-system-tools.mo +share/locale/uk/LC_MESSAGES/gnome-system-tools.mo +share/locale/vi/LC_MESSAGES/gnome-system-tools.mo +share/locale/wa/LC_MESSAGES/gnome-system-tools.mo +share/locale/xh/LC_MESSAGES/gnome-system-tools.mo +share/locale/zh_CN/LC_MESSAGES/gnome-system-tools.mo +share/locale/zh_HK/LC_MESSAGES/gnome-system-tools.mo +share/locale/zh_TW/LC_MESSAGES/gnome-system-tools.mo +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrm share/gnome/omf/users-admin +@dirrm share/gnome/omf/time-admin +@dirrm share/gnome/omf/services-admin +@dirrm share/gnome/omf/network-admin +@dirrm share/gnome/omf/gnome-system-tools +@dirrm share/gnome/omf/boot-admin +@dirrm share/gnome/help/users-admin/C/figures +@dirrm share/gnome/help/users-admin/C +@dirrm share/gnome/help/users-admin/es/figures +@dirrm share/gnome/help/users-admin/es +@dirrm share/gnome/help/users-admin +@dirrm share/gnome/help/time-admin/nl/figures +@dirrm share/gnome/help/time-admin/nl +@dirrm share/gnome/help/time-admin/es/figures +@dirrm share/gnome/help/time-admin/es +@dirrm share/gnome/help/time-admin/C/figures +@dirrm share/gnome/help/time-admin/C +@dirrm share/gnome/help/time-admin +@dirrm share/gnome/help/services-admin/nl/figures +@dirrm share/gnome/help/services-admin/nl +@dirrm share/gnome/help/services-admin/es/figures +@dirrm share/gnome/help/services-admin/es +@dirrm share/gnome/help/services-admin/C/figures +@dirrm share/gnome/help/services-admin/C +@dirrm share/gnome/help/services-admin +@dirrm share/gnome/help/network-admin/es/figures +@dirrm share/gnome/help/network-admin/es +@dirrm share/gnome/help/network-admin/C/figures +@dirrm share/gnome/help/network-admin/C +@dirrm share/gnome/help/network-admin +@dirrm share/gnome/help/boot-admin/es/figures +@dirrm share/gnome/help/boot-admin/es +@dirrm share/gnome/help/boot-admin/C/figures +@dirrm share/gnome/help/boot-admin/C +@dirrm share/gnome/help/boot-admin +@dirrm %%DATADIR%%/pixmaps +@dirrm %%DATADIR%%/interfaces +@dirrm %%DATADIR%% |