aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2005-01-19 14:09:46 +0800
committerijliao <ijliao@FreeBSD.org>2005-01-19 14:09:46 +0800
commitbdf0a968d9b70dbcbfc60eeddb277317b7c40e40 (patch)
treed7b8f9d37badb187a8d3381c72c488f95c0dafd1
parent061d88d7e5baa4013237b307290373d22bce256f (diff)
downloadfreebsd-ports-gnome-bdf0a968d9b70dbcbfc60eeddb277317b7c40e40.tar.gz
freebsd-ports-gnome-bdf0a968d9b70dbcbfc60eeddb277317b7c40e40.tar.zst
freebsd-ports-gnome-bdf0a968d9b70dbcbfc60eeddb277317b7c40e40.zip
add libgnomesu 0.9.6
A library which allows you to run programs as root or another user
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/libgnomesu/Makefile27
-rw-r--r--sysutils/libgnomesu/distinfo2
-rw-r--r--sysutils/libgnomesu/files/patch-ltmain.sh15
-rw-r--r--sysutils/libgnomesu/files/patch-pam-backend:pam.c10
-rw-r--r--sysutils/libgnomesu/pkg-descr4
-rw-r--r--sysutils/libgnomesu/pkg-plist44
7 files changed, 103 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index c4f332dcac88..727d69c83b71 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -227,6 +227,7 @@
SUBDIR += libchk
SUBDIR += libgksu
SUBDIR += libgksuui
+ SUBDIR += libgnomesu
SUBDIR += libieee1284
SUBDIR += libretto-config
SUBDIR += libutempter
diff --git a/sysutils/libgnomesu/Makefile b/sysutils/libgnomesu/Makefile
new file mode 100644
index 000000000000..b9c9f5d81097
--- /dev/null
+++ b/sysutils/libgnomesu/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# Ports collection makefile for: libgnomesu
+# Date created: Jan 18, 2005
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= libgnomesu
+PORTVERSION= 0.9.6
+CATEGORIES= sysutils gnome
+MASTER_SITES= http://members1.chello.nl/~h.lai/libgnomesu/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A library which allows you to run programs as root or another user
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomeprefix gnomehack pkgconfig glib20 gtk20 libglade2 gconf2 \
+ libgnomeui libbonobo
+USE_GETTEXT= yes
+USE_PERL5_BUILD= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-pam-dir=${PREFIX}/etc/pam.d
+
+.include <bsd.port.mk>
diff --git a/sysutils/libgnomesu/distinfo b/sysutils/libgnomesu/distinfo
new file mode 100644
index 000000000000..c849ed880bcf
--- /dev/null
+++ b/sysutils/libgnomesu/distinfo
@@ -0,0 +1,2 @@
+MD5 (libgnomesu-0.9.6.tar.gz) = f9f29d7c584ccc9610280e65de6af7e6
+SIZE (libgnomesu-0.9.6.tar.gz) = 435585
diff --git a/sysutils/libgnomesu/files/patch-ltmain.sh b/sysutils/libgnomesu/files/patch-ltmain.sh
new file mode 100644
index 000000000000..7940aae706bc
--- /dev/null
+++ b/sysutils/libgnomesu/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- ltmain.sh.orig Wed Jan 19 13:54:05 2005
++++ ltmain.sh Wed Jan 19 14:02:48 2005
+@@ -5428,10 +5428,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false ; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/sysutils/libgnomesu/files/patch-pam-backend:pam.c b/sysutils/libgnomesu/files/patch-pam-backend:pam.c
new file mode 100644
index 000000000000..f9f2c7379e8e
--- /dev/null
+++ b/sysutils/libgnomesu/files/patch-pam-backend:pam.c
@@ -0,0 +1,10 @@
+--- pam-backend/pam.c.orig Wed Jan 19 13:48:56 2005
++++ pam-backend/pam.c Wed Jan 19 13:49:01 2005
+@@ -17,7 +17,6 @@
+ */
+
+ #include <security/pam_appl.h>
+-#include <security/pam_misc.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <sys/types.h>
diff --git a/sysutils/libgnomesu/pkg-descr b/sysutils/libgnomesu/pkg-descr
new file mode 100644
index 000000000000..99edc83de15e
--- /dev/null
+++ b/sysutils/libgnomesu/pkg-descr
@@ -0,0 +1,4 @@
+libgnomesu is a library which allows you to run programs as root or another
+user.
+
+WWW: http://members1.chello.nl/~h.lai/libgnomesu/
diff --git a/sysutils/libgnomesu/pkg-plist b/sysutils/libgnomesu/pkg-plist
new file mode 100644
index 000000000000..f133debef116
--- /dev/null
+++ b/sysutils/libgnomesu/pkg-plist
@@ -0,0 +1,44 @@
+bin/gnomesu
+etc/pam.d/gnomesu-pam
+include/libgnomesu-1.0/libgnomesu/gnomesu-auth-dialog.h
+include/libgnomesu-1.0/libgnomesu/libgnomesu.h
+@dirrm include/libgnomesu-1.0/libgnomesu
+@dirrm include/libgnomesu-1.0
+lib/libgnomesu.so
+lib/libgnomesu.so.1
+libdata/pkgconfig/libgnomesu-1.0.pc
+libexec/gnomesu-backend
+libexec/gnomesu-pam-backend
+share/gnome/application-registry/gnomesu-nautilus.applications
+share/gnome/mime-info/gnomesu-nautilus.keys
+share/locale/az/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/bg/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/bs/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/ca/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/cs/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/da/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/de/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/el/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/en_CA/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/en_GB/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/es/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/fi/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/fr/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/gu/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/hr/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/hu/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/ko/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/lt/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/ms/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/nb/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/nl/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/pa/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/pl/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/pt/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/pt_BR/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/sk/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/sr/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/sr@Latn/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/sv/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/zh_CN/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/zh_TW/LC_MESSAGES/libgnomesu-1.0.mo