pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/libgksu Initial import of libgksu-2.0.7. I pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62602dd8903f
branches:  trunk
changeset: 550134:62602dd8903f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Nov 15 19:36:09 2008 +0000

description:
Initial import of libgksu-2.0.7. I packaged it for Gnome, but currently
it looks like it's not really needed, so it's untested.

GKSu is a library that provides a Gtk+ frontend to su and sudo. 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.

diffstat:

 sysutils/libgksu/DESCR            |   5 ++++
 sysutils/libgksu/Makefile         |  32 ++++++++++++++++++++++++++
 sysutils/libgksu/PLIST            |  48 +++++++++++++++++++++++++++++++++++++++
 sysutils/libgksu/buildlink3.mk    |  25 ++++++++++++++++++++
 sysutils/libgksu/distinfo         |   6 ++++
 sysutils/libgksu/patches/patch-aa |  17 +++++++++++++
 6 files changed, 133 insertions(+), 0 deletions(-)

diffs (157 lines):

diff -r d8161bb5a651 -r 62602dd8903f sysutils/libgksu/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgksu/DESCR    Sat Nov 15 19:36:09 2008 +0000
@@ -0,0 +1,5 @@
+GKSu is a library that provides a Gtk+ frontend to su and sudo. 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.
diff -r d8161bb5a651 -r 62602dd8903f sysutils/libgksu/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgksu/Makefile Sat Nov 15 19:36:09 2008 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/15 19:36:09 wiz Exp $
+#
+
+DISTNAME=      libgksu-2.0.7
+CATEGORIES=    sysutils
+MASTER_SITES=  http://people.debian.org/~kov/gksu/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.nongnu.org/gksu/
+COMMENT=       Library that provides a GTK+ frontend to su and sudo
+
+GNU_CONFIGURE= yes
+
+CONFIGURE_ENV+=        GCONF_SCHEMA_FILE_DIR=${PREFIX}/share/gconf/schemas/
+MAKE_ENV+=     GCONF_SCHEMA_FILE_DIR=${PREFIX}/share/gconf/schemas/
+
+USE_DIRS+=     xdg-1.4
+USE_LIBTOOL=   yes
+USE_TOOLS+=    gmake intltool pkg-config
+
+GCONF_SCHEMAS+=                gksu.schemas
+PKGCONFIG_OVERRIDE+=   libgksu/libgksu2.pc.in
+
+.include "../../devel/GConf/schemas.mk"
+.include "../../devel/libglade/buildlink3.mk"
+.include "../../textproc/gtk-doc/buildlink3.mk"
+.include "../../security/gnome-keyring/buildlink3.mk"
+.include "../../sysutils/libgtop/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.include "../../x11/startup-notification/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d8161bb5a651 -r 62602dd8903f sysutils/libgksu/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgksu/PLIST    Sat Nov 15 19:36:09 2008 +0000
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/15 19:36:09 wiz Exp $
+bin/gksu-properties
+include/libgksu/gksu.h
+include/libgksu/libgksu.h
+lib/libgksu/gksu-run-helper
+lib/libgksu2.la
+lib/pkgconfig/libgksu2.pc
+share/applications/gksu-properties.desktop
+share/gconf/schemas/gksu.schemas
+share/gtk-doc/html/libgksu/home.png
+share/gtk-doc/html/libgksu/index.html
+share/gtk-doc/html/libgksu/index.sgml
+share/gtk-doc/html/libgksu/left.png
+share/gtk-doc/html/libgksu/libgksu-API-Reference.html
+share/gtk-doc/html/libgksu/libgksu.devhelp
+share/gtk-doc/html/libgksu/libgksu.devhelp2
+share/gtk-doc/html/libgksu/right.png
+share/gtk-doc/html/libgksu/style.css
+share/gtk-doc/html/libgksu/up.png
+share/libgksu/gksu-properties.glade
+share/locale/ca/LC_MESSAGES/libgksu.mo
+share/locale/cs/LC_MESSAGES/libgksu.mo
+share/locale/da/LC_MESSAGES/libgksu.mo
+share/locale/de/LC_MESSAGES/libgksu.mo
+share/locale/es/LC_MESSAGES/libgksu.mo
+share/locale/eu/LC_MESSAGES/libgksu.mo
+share/locale/fr/LC_MESSAGES/libgksu.mo
+share/locale/hu/LC_MESSAGES/libgksu.mo
+share/locale/it/LC_MESSAGES/libgksu.mo
+share/locale/ko/LC_MESSAGES/libgksu.mo
+share/locale/lt/LC_MESSAGES/libgksu.mo
+share/locale/nb/LC_MESSAGES/libgksu.mo
+share/locale/nl/LC_MESSAGES/libgksu.mo
+share/locale/pl/LC_MESSAGES/libgksu.mo
+share/locale/pt_BR/LC_MESSAGES/libgksu.mo
+share/locale/ro/LC_MESSAGES/libgksu.mo
+share/locale/ru/LC_MESSAGES/libgksu.mo
+share/locale/sk/LC_MESSAGES/libgksu.mo
+share/locale/sv/LC_MESSAGES/libgksu.mo
+share/locale/zh_CN/LC_MESSAGES/libgksu.mo
+share/pixmaps/gksu.png
+@comment in xdg-dirs: @dirrm share/pixmaps
+@dirrm share/libgksu
+@dirrm share/gtk-doc/html/libgksu
+@comment in GConf: @dirrm share/gconf/schemas
+@comment in xdg-dirs: @dirrm share/applications
+@dirrm lib/libgksu
+@dirrm include/libgksu
diff -r d8161bb5a651 -r 62602dd8903f sysutils/libgksu/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgksu/buildlink3.mk    Sat Nov 15 19:36:09 2008 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/15 19:36:09 wiz Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBGKSU_BUILDLINK3_MK:=        ${LIBGKSU_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    libgksu
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibgksu}
+BUILDLINK_PACKAGES+=   libgksu
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgksu
+
+.if ${LIBGKSU_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libgksu+=        libgksu>=2.0.7
+BUILDLINK_PKGSRCDIR.libgksu?=  ../../zzz/libgksu
+.endif # LIBGKSU_BUILDLINK3_MK
+
+.include "../../security/gnome-keyring/buildlink3.mk"
+.include "../../sysutils/libgtop/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.include "../../x11/startup-notification/buildlink3.mk"
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff -r d8161bb5a651 -r 62602dd8903f sysutils/libgksu/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgksu/distinfo Sat Nov 15 19:36:09 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/11/15 19:36:09 wiz Exp $
+
+SHA1 (libgksu-2.0.7.tar.gz) = e72b3366a879ee4ece7717da8957715c848d2a5e
+RMD160 (libgksu-2.0.7.tar.gz) = a93cb7c5198b3581e80b7399d797da285fefbd64
+Size (libgksu-2.0.7.tar.gz) = 510752 bytes
+SHA1 (patch-aa) = 65dc525d4cc7f65023c88006c6f775474ad58136
diff -r d8161bb5a651 -r 62602dd8903f sysutils/libgksu/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgksu/patches/patch-aa Sat Nov 15 19:36:09 2008 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/11/15 19:36:09 wiz Exp $
+
+--- libgksu/libgksu.c.orig     2008-05-28 00:00:44.000000000 +0000
++++ libgksu/libgksu.c
+@@ -23,7 +23,12 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <fcntl.h>
++#ifdef __linux__
+ #include <pty.h>
++#endif
++#ifdef __NetBSD__
++#include <util.h>
++#endif
+ #include <pwd.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>



Home | Main Index | Thread Index | Old Index