aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-11-05 14:12:59 +0800
committermarcus <marcus@FreeBSD.org>2004-11-05 14:12:59 +0800
commit765e98ad7c1aa4b1336b85fd2fe83a0a1838cc77 (patch)
tree142df8443e69231c5da5f5b0d4cc09f3ee282393 /sysutils
parent065f8022565e06025b38fd7b7cd95cbd494181c3 (diff)
downloadfreebsd-ports-gnome-765e98ad7c1aa4b1336b85fd2fe83a0a1838cc77.tar.gz
freebsd-ports-gnome-765e98ad7c1aa4b1336b85fd2fe83a0a1838cc77.tar.zst
freebsd-ports-gnome-765e98ad7c1aa4b1336b85fd2fe83a0a1838cc77.zip
Add gksu, a GTK+ frontend to su. It supports login shells and
preserving environment when acting as a su frontend. It is useful to menu items or other graphical programs that need to ask a user's password to run programs as another user. PR: 72258 Submitted by: Jesse van den Kieboom <troplosti@orcaweb.cjb.net>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/gksu/Makefile27
-rw-r--r--sysutils/gksu/distinfo2
-rw-r--r--sysutils/gksu/files/patch-gksu_Makefile.in11
-rw-r--r--sysutils/gksu/pkg-descr9
-rw-r--r--sysutils/gksu/pkg-plist14
6 files changed, 64 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index a427c6daf3a8..bf7be790557c 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -161,6 +161,7 @@
SUBDIR += gkrellmwho
SUBDIR += gkrellmwho2
SUBDIR += gkrelltop
+ SUBDIR += gksu
SUBDIR += glload
SUBDIR += gnome-pkgview
SUBDIR += gnomecontrolcenter
diff --git a/sysutils/gksu/Makefile b/sysutils/gksu/Makefile
new file mode 100644
index 000000000000..1970def14539
--- /dev/null
+++ b/sysutils/gksu/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: gksu
+# Date created: 2 October 2004
+# Whom: Jesse van den Kieboom <troplosti@orcaweb.cjb.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gksu
+PORTVERSION= 1.2.2
+CATEGORIES= sysutils
+MASTER_SITES= http://people.debian.org/~kov/gksu/gksu1.2/
+
+MAINTAINER= troplosti@orcaweb.cjb.net
+COMMENT= Graphical frontend to su
+
+LIB_DEPENDS= libgksu1.2:${PORTSDIR}/sysutils/libgksu \
+ libgksuui1.0:${PORTSDIR}/sysutils/libgksuui
+
+USE_X_PREFIX= yes
+USE_GNOME= gtk20 pkgconfig gnomeprefix gnomehack
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= gksu.1 gksuexec.1
+
+.include <bsd.port.mk>
diff --git a/sysutils/gksu/distinfo b/sysutils/gksu/distinfo
new file mode 100644
index 000000000000..9746ada916e3
--- /dev/null
+++ b/sysutils/gksu/distinfo
@@ -0,0 +1,2 @@
+MD5 (gksu-1.2.2.tar.gz) = 564504badbd41fbe554a8133d07b5e94
+SIZE (gksu-1.2.2.tar.gz) = 553299
diff --git a/sysutils/gksu/files/patch-gksu_Makefile.in b/sysutils/gksu/files/patch-gksu_Makefile.in
new file mode 100644
index 000000000000..4540380412b8
--- /dev/null
+++ b/sysutils/gksu/files/patch-gksu_Makefile.in
@@ -0,0 +1,11 @@
+--- gksu/Makefile.in.orig Fri Nov 5 00:55:23 2004
++++ gksu/Makefile.in Fri Nov 5 00:55:33 2004
+@@ -167,7 +167,7 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-AM_CFLAGS = -g -O2 -Wall
++AM_CFLAGS = $(CFLAGS)
+ INCLUDES = `pkg-config --cflags gtk+-2.0 libgksu1.2 libgksuui1.0`
+ AM_CPPFLAGS = -DLOCALEDIR=\"$(prefix)/share/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\"
+
diff --git a/sysutils/gksu/pkg-descr b/sysutils/gksu/pkg-descr
new file mode 100644
index 000000000000..cd37cdb35f1e
--- /dev/null
+++ b/sysutils/gksu/pkg-descr
@@ -0,0 +1,9 @@
+gksu is a Gtk+ frontend to /bin/su. It supports login shells and preserving
+environment when acting as a su frontend. It is useful to menu items or other
+graphical programs that need to ask a user's password to run another program
+as another user.
+
+WWW: http://www.gnu.org/non-gnu/gksu/
+
+- Jesse van den Kieboom
+troplosti@orcaweb.cjb.net
diff --git a/sysutils/gksu/pkg-plist b/sysutils/gksu/pkg-plist
new file mode 100644
index 000000000000..c3c4815e94ca
--- /dev/null
+++ b/sysutils/gksu/pkg-plist
@@ -0,0 +1,14 @@
+bin/gksu
+bin/gksudo
+bin/gksuexec
+share/gnome/applications/gksu.desktop
+share/gnome/applications/gksuexec.desktop
+share/gnome/pixmaps/gksu-icon.png
+share/gnome/pixmaps/gksu-root-terminal.png
+share/locale/ca/LC_MESSAGES/gksu.mo
+share/locale/da/LC_MESSAGES/gksu.mo
+share/locale/de/LC_MESSAGES/gksu.mo
+share/locale/es/LC_MESSAGES/gksu.mo
+share/locale/no_NB/LC_MESSAGES/gksu.mo
+share/locale/pt_BR/LC_MESSAGES/gksu.mo
+share/locale/ru/LC_MESSAGES/gksu.mo