*sigh*
missed the 's' of 'su' spotted by naddy@, thanks!
This commit is contained in:
parent
fe0e9402bd
commit
8f4200ea3b
@ -1,49 +0,0 @@
|
|||||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/17 18:10:50 jasper Exp $
|
|
||||||
|
|
||||||
COMMENT= library providing su and sudo functionality
|
|
||||||
|
|
||||||
DISTNAME= libgksu-2.0.5
|
|
||||||
SHARED_LIBS= gksu2 0.0 # .0.1
|
|
||||||
CATEGORIES= sysutils
|
|
||||||
|
|
||||||
HOMEPAGE= http://www.nongnu.org/gksu/
|
|
||||||
|
|
||||||
# LGPL
|
|
||||||
PERMIT_PACKAGE_CDROM= Yes
|
|
||||||
PERMIT_PACKAGE_FTP= Yes
|
|
||||||
PERMIT_DISTFILES_CDROM= Yes
|
|
||||||
PERMIT_DISTFILES_FTP= Yes
|
|
||||||
|
|
||||||
WANTLIB= ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp \
|
|
||||||
Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo \
|
|
||||||
dbus-1 expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
|
|
||||||
glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 \
|
|
||||||
gtk-x11-2.0 kvm m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
|
||||||
pcre png pthread util xml2 z
|
|
||||||
|
|
||||||
MASTER_SITES= http://people.debian.org/~kov/gksu/
|
|
||||||
|
|
||||||
MODULES= devel/gettext \
|
|
||||||
textproc/intltool
|
|
||||||
|
|
||||||
LIB_DEPENDS= gconf-2::devel/gconf2 \
|
|
||||||
gtop-2.0::devel/libgtop2 \
|
|
||||||
glade-2.0::devel/libglade2 \
|
|
||||||
startup-notification-1::devel/startup-notification \
|
|
||||||
gnome-keyring::x11/gnome/keyring
|
|
||||||
RUN_DEPENDS= ::devel/desktop-file-utils
|
|
||||||
|
|
||||||
USE_X11= Yes
|
|
||||||
USE_LIBTOOL= Yes
|
|
||||||
USE_GMAKE= Yes
|
|
||||||
|
|
||||||
CONFIGURE_STYLE= gnu
|
|
||||||
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gksu2 \
|
|
||||||
--enable-gtk-doc="no"
|
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
||||||
LDFLAGS="-L${LOCALBASE}/lib"
|
|
||||||
|
|
||||||
post-extract:
|
|
||||||
@perl -pi -e 's,/bin/su,/usr/bin/su,g' ${WRKSRC}/po/*.po
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
@ -1,5 +0,0 @@
|
|||||||
MD5 (libgksu-2.0.5.tar.gz) = k/YSWHUetzlnISgfj3hMRg==
|
|
||||||
RMD160 (libgksu-2.0.5.tar.gz) = RjtcVv+r2bjsk9IECLEQ4N8Iwao=
|
|
||||||
SHA1 (libgksu-2.0.5.tar.gz) = oZlHhn2L/2I6vZu2whNQmALHUEs=
|
|
||||||
SHA256 (libgksu-2.0.5.tar.gz) = 56IDULmq3Dp57OT3D7wrxfSDYGPa/VDK52uY4SIhOD8=
|
|
||||||
SIZE (libgksu-2.0.5.tar.gz) = 497012
|
|
@ -1,12 +0,0 @@
|
|||||||
$OpenBSD: patch-libgksu_Makefile_in,v 1.1.1.1 2008/01/17 18:10:50 jasper Exp $
|
|
||||||
--- libgksu/Makefile.in.orig Sat Dec 15 23:22:23 2007
|
|
||||||
+++ libgksu/Makefile.in Sat Dec 15 23:22:36 2007
|
|
||||||
@@ -264,7 +264,7 @@ sbindir = @sbindir@
|
|
||||||
sharedstatedir = @sharedstatedir@
|
|
||||||
sysconfdir = @sysconfdir@
|
|
||||||
target_alias = @target_alias@
|
|
||||||
-AM_CFLAGS = -g -O2 -Wall
|
|
||||||
+AM_CFLAGS =
|
|
||||||
INCLUDES = ${LIBGKSU_CFLAGS}
|
|
||||||
AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\"
|
|
||||||
lib_LTLIBRARIES = libgksu2.la
|
|
@ -1,34 +0,0 @@
|
|||||||
$OpenBSD: patch-libgksu_libgksu_c,v 1.1.1.1 2008/01/17 18:10:50 jasper Exp $
|
|
||||||
--- libgksu/libgksu.c.orig Sun Jun 10 20:28:43 2007
|
|
||||||
+++ libgksu/libgksu.c Sat Dec 15 22:12:24 2007
|
|
||||||
@@ -23,7 +23,12 @@
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
+#ifdef __OpenBSD__
|
|
||||||
+#include <sys/termios.h>
|
|
||||||
+#include <util.h>
|
|
||||||
+#else
|
|
||||||
#include <pty.h>
|
|
||||||
+#endif
|
|
||||||
#include <pwd.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/wait.h>
|
|
||||||
@@ -1897,7 +1902,7 @@ gksu_su_full (GksuContext *context,
|
|
||||||
gchar **cmd = g_malloc (sizeof(gchar*)*7);
|
|
||||||
|
|
||||||
setsid(); // make us session leader
|
|
||||||
- cmd[i] = g_strdup ("/bin/su"); i++;
|
|
||||||
+ cmd[i] = g_strdup ("/usr/bin/su"); i++;
|
|
||||||
if (context->login_shell)
|
|
||||||
{
|
|
||||||
cmd[i] = g_strdup ("-"); i++;
|
|
||||||
@@ -1919,7 +1924,7 @@ gksu_su_full (GksuContext *context,
|
|
||||||
if (execv (cmd[0], cmd) == -1)
|
|
||||||
{
|
|
||||||
fprintf (stderr,
|
|
||||||
- "Unable to run /bin/su: %s",
|
|
||||||
+ "Unable to run /usr/bin/su: %s",
|
|
||||||
strerror(errno));
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
This library comes from the gksu program. It provides a simple API to
|
|
||||||
use su and sudo in programs that need to execute tasks as other user. It
|
|
||||||
provides X authentication facilities for running programs in a X
|
|
||||||
session.
|
|
@ -1,2 +0,0 @@
|
|||||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/01/17 18:10:50 jasper Exp $
|
|
||||||
@lib lib/libgksu2.so.${LIBgksu2_VERSION}
|
|
@ -1,49 +0,0 @@
|
|||||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/17 18:10:50 jasper Exp $
|
|
||||||
%%SHARED%%
|
|
||||||
bin/gksu-properties
|
|
||||||
include/libgksu/
|
|
||||||
include/libgksu/gksu.h
|
|
||||||
include/libgksu/libgksu.h
|
|
||||||
lib/libgksu/
|
|
||||||
lib/libgksu/gksu-run-helper
|
|
||||||
lib/libgksu2.a
|
|
||||||
lib/libgksu2.la
|
|
||||||
lib/pkgconfig/
|
|
||||||
lib/pkgconfig/libgksu2.pc
|
|
||||||
share/applications/
|
|
||||||
share/applications/gksu-properties.desktop
|
|
||||||
share/libgksu/
|
|
||||||
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/
|
|
||||||
share/locale/eu/LC_MESSAGES/
|
|
||||||
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/
|
|
||||||
share/locale/lt/LC_MESSAGES/
|
|
||||||
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/
|
|
||||||
share/pixmaps/gksu.png
|
|
||||||
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/gksu2/*.schemas > /dev/null
|
|
||||||
share/schemas/
|
|
||||||
share/schemas/gksu2/
|
|
||||||
share/schemas/gksu2/gksu.schemas
|
|
||||||
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/share/schemas/gksu2/*.schemas > /dev/null
|
|
||||||
@exec %D/bin/update-desktop-database
|
|
||||||
@unexec %D/bin/update-desktop-database
|
|
@ -1,40 +0,0 @@
|
|||||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/17 18:12:03 jasper Exp $
|
|
||||||
|
|
||||||
COMMENT= graphical frontend to su (library to the interface)
|
|
||||||
|
|
||||||
V= 1.0.7
|
|
||||||
DISTNAME= libgksuui1.0-$V
|
|
||||||
PKGNAME= libgksuui-$V
|
|
||||||
SHARED_LIBS= gksuui1.0 0.0 # .1.0
|
|
||||||
CATEGORIES= sysutils
|
|
||||||
|
|
||||||
HOMEPAGE= http://www.nongnu.org/gksu/
|
|
||||||
|
|
||||||
# LGPL
|
|
||||||
PERMIT_PACKAGE_CDROM= Yes
|
|
||||||
PERMIT_PACKAGE_FTP= Yes
|
|
||||||
PERMIT_DISTFILES_CDROM= Yes
|
|
||||||
PERMIT_DISTFILES_FTP= Yes
|
|
||||||
|
|
||||||
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
|
||||||
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
|
|
||||||
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 m pango-1.0 \
|
|
||||||
pangocairo-1.0 pangoft2-1.0 pcre png z
|
|
||||||
|
|
||||||
MASTER_SITES= http://people.debian.org/~kov/gksu/old_stuff/libgksuui1.0/
|
|
||||||
|
|
||||||
MODULES= devel/gettext
|
|
||||||
|
|
||||||
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
|
|
||||||
|
|
||||||
USE_LIBTOOL= Yes
|
|
||||||
USE_GMAKE= Yes
|
|
||||||
CONFIGURE_STYLE= gnu old
|
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
||||||
LDFLAGS="-L${LOCALBASE}/lib"
|
|
||||||
CONFIGURE_ARGS= --disable-gtk-doc
|
|
||||||
|
|
||||||
post-extract:
|
|
||||||
@perl -pi -e 's,/bin/su,/usr/bin/su,g' ${WRKSRC}/po/*.po
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
@ -1,5 +0,0 @@
|
|||||||
MD5 (libgksuui1.0-1.0.7.tar.gz) = wiZIu7F6qUKpfMMl46hXUg==
|
|
||||||
RMD160 (libgksuui1.0-1.0.7.tar.gz) = WWCY1rMXhrMa9FEKMhU9SDelH3M=
|
|
||||||
SHA1 (libgksuui1.0-1.0.7.tar.gz) = /FyPUwGOQDyMn76+DMo1mvY7MNQ=
|
|
||||||
SHA256 (libgksuui1.0-1.0.7.tar.gz) = 5R8Z2brmurGVAuFiVNUGeAUz1Q2w/GPv5+VSgjx0uek=
|
|
||||||
SIZE (libgksuui1.0-1.0.7.tar.gz) = 567721
|
|
@ -1,3 +0,0 @@
|
|||||||
This library comes from the gksu program. It provides a Gtk+ dialog and
|
|
||||||
X authentication facilities for running programs as root or another user
|
|
||||||
in a X session.
|
|
@ -1,2 +0,0 @@
|
|||||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/01/17 18:12:03 jasper Exp $
|
|
||||||
@lib lib/libgksuui1.0.so.${LIBgksuui1.0_VERSION}
|
|
@ -1,26 +0,0 @@
|
|||||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/17 18:12:03 jasper Exp $
|
|
||||||
%%SHARED%%
|
|
||||||
include/libgksuui1.0/
|
|
||||||
include/libgksuui1.0/gksuui-convenience.h
|
|
||||||
include/libgksuui1.0/gksuui-dialog.h
|
|
||||||
include/libgksuui1.0/gksuui.h
|
|
||||||
lib/libgksuui1.0.a
|
|
||||||
lib/libgksuui1.0.la
|
|
||||||
lib/pkgconfig/
|
|
||||||
lib/pkgconfig/libgksuui1.0.pc
|
|
||||||
share/libgksuui1.0/
|
|
||||||
share/libgksuui1.0/gksu-auth.png
|
|
||||||
share/locale/ca/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/cs/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/da/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/de/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/es/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/fr/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/hu/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/nb/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/nl/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/pl/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/pt_BR/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/ro/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/ru/LC_MESSAGES/libgksuui1.0.mo
|
|
||||||
share/locale/sk/LC_MESSAGES/libgksuui1.0.mo
|
|
Loading…
Reference in New Issue
Block a user