[Midnightbsd-cvs] mports: mports/security: Add libgnomesu

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Mar 4 21:20:29 EST 2008


Log Message:
-----------
Add libgnomesu

Modified Files:
--------------
    mports/security:
        Makefile (r1.72 -> r1.73)

Added Files:
-----------
    mports/security/libgnomesu:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-message (r1.1)
        pkg-plist (r1.1)
    mports/security/libgnomesu/files:
        gnomesu-pam.5.x.sample (r1.1)

-------------- next part --------------
--- /dev/null
+++ security/libgnomesu/pkg-message
@@ -0,0 +1,6 @@
+The gnomesu part of libgnomesu will use su(1) without
+any further work. To utilize the PAM support, however,
+you must perform the following:
+
+  cp %%EXAMPLESDIR%%/gnomesu-pam.5.x.sample \
+  	/etc/pam.d/gnomesu-pam
--- /dev/null
+++ security/libgnomesu/pkg-descr
@@ -0,0 +1,17 @@
+libgnomesu is a library for providing superuser privileges to GNOME
+applications. It supports consolehelper, PAM and su.
+
+libgnomesu will use one the following services (in order of priority),
+depending on which one is available:
+- consolehelper
+- PAM
+- su
+
+libgnomesu will use the su-based backend as final fallback, if no other
+services are available. This service uses a backend which is a modified
+version of GNU su.
+
+libgnomesu comes with the GUI frontend 'gnomesu' and a Nautilus component
+for Nautilus integration.
+
+WWW: http://members.chello.nl/~h.lai/libgnomesu/
--- /dev/null
+++ security/libgnomesu/pkg-plist
@@ -0,0 +1,57 @@
+bin/gnomesu
+include/libgnomesu-1.0/libgnomesu/gnomesu-auth-dialog.h
+include/libgnomesu-1.0/libgnomesu/libgnomesu.h
+lib/libgnomesu.a
+lib/libgnomesu.la
+lib/libgnomesu.so
+lib/libgnomesu.so.2
+libdata/pkgconfig/libgnomesu-1.0.pc
+libexec/gnomesu-backend
+libexec/gnomesu-pam-backend
+%%PORTDOCS%%%%DOCSDIR%%/api.html
+%%PORTDOCS%%%%DOCSDIR%%/libgnomesu.css
+%%EXAMPLESDIR%%/gnomesu-pam.4.x.sample
+%%EXAMPLESDIR%%/gnomesu-pam.5.x.sample
+share/application-registry/gnomesu-nautilus.applications
+share/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/eu/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/it/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/ja/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/rw/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/sk/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/sq/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/sr/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/sr at Latn/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/sv/LC_MESSAGES/libgnomesu-1.0.mo
+share/locale/tr/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
+ at dirrm include/libgnomesu-1.0/libgnomesu
+ at dirrm include/libgnomesu-1.0
+ at dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- /dev/null
+++ security/libgnomesu/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for:	libgnomesu
+# Date created:				12 January 2005
+# Whom:					Adam Weinberger <adamw at FreeBSD.org>
+#
+# $MidnightBSD: mports/security/libgnomesu/Makefile,v 1.1 2008/03/05 02:20:27 laffer1 Exp $
+# $FreeBSD: ports/security/libgnomesu/Makefile,v 1.19 2007/10/24 23:36:32 marcus Exp $
+
+PORTNAME=	libgnomesu
+PORTVERSION=	1.0.0
+CATEGORIES=	security gnome
+MASTER_SITES=	http://members.chello.nl/~h.lai/libgnomesu/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Library and frontend for running commands as root
+LICENSE=	gpl2
+# while the library is lgpl, it uses GPL components directly.
+
+USE_XLIB=	yes
+USE_GETOPT_LONG=yes
+USE_AUTOTOOLS=	libtool:15
+USE_GMAKE=	yes
+USE_GNOME=	gnomehack gnomeprefix libgnomeui
+CONFIGURE_ARGS+=--disable-install-pam
+CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LIBS="-L${LOCALBASE}/lib"
+
+post-install:
+	${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.4.x.sample ${EXAMPLESDIR}
+	${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.5.x.sample ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/api.html ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/libgnomesu.css ${DOCSDIR}
+.endif
+	@${SED} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" ${PKGMESSAGE}
+
+.include <bsd.port.mk>
--- /dev/null
+++ security/libgnomesu/distinfo
@@ -0,0 +1,3 @@
+MD5 (libgnomesu-1.0.0.tar.gz) = 9f1cb8c3f61ad2fb31ad05a5d3eb211d
+SHA256 (libgnomesu-1.0.0.tar.gz) = c09529708289a3bda1c0f02d9d73bfcd6f66b8c4f99cbc0fe996fc95948c5d37
+SIZE (libgnomesu-1.0.0.tar.gz) = 448457
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/Makefile,v
retrieving revision 1.72
retrieving revision 1.73
diff -L security/Makefile -L security/Makefile -u -r1.72 -r1.73
--- security/Makefile
+++ security/Makefile
@@ -30,6 +30,7 @@
     SUBDIR += l0phtcrack
     SUBDIR += libassuan
     SUBDIR += libgcrypt
+    SUBDIR += libgnomesu
     SUBDIR += libgpg-error
     SUBDIR += libksba
     SUBDIR += libmcrypt
--- /dev/null
+++ security/libgnomesu/files/gnomesu-pam.5.x.sample
@@ -0,0 +1,3 @@
+auth	required	pam_unix.so	try_first_pass
+session	required	pam_permit.so
+account	required	pam_permit.so


More information about the Midnightbsd-cvs mailing list