svn commit: r357394 - in head/security/libgnomesu: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jun 10 22:09:54 UTC 2014
Author: amdmi3
Date: Tue Jun 10 22:09:53 2014
New Revision: 357394
URL: http://svnweb.freebsd.org/changeset/ports/357394
QAT: https://qat.redports.org/buildarchive/r357394/
Log:
- Support staging
- Switch to USES=libtool, drop .la files
Added:
head/security/libgnomesu/files/pkg-message.in
- copied unchanged from r356240, head/security/libgnomesu/pkg-message
Deleted:
head/security/libgnomesu/pkg-message
Modified:
head/security/libgnomesu/Makefile
head/security/libgnomesu/pkg-plist
Modified: head/security/libgnomesu/Makefile
==============================================================================
--- head/security/libgnomesu/Makefile Tue Jun 10 22:08:00 2014 (r357393)
+++ head/security/libgnomesu/Makefile Tue Jun 10 22:09:53 2014 (r357394)
@@ -4,33 +4,33 @@
PORTNAME= libgnomesu
PORTVERSION= 1.0.0
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= security gnome
MASTER_SITES= http://members.chello.nl/~h.lai/libgnomesu/
MAINTAINER= ports at FreeBSD.org
COMMENT= Library and frontend for running commands as root
-USE_AUTOTOOLS= libtool
-USES= pathfix gmake pkgconfig
+USES= pathfix gmake pkgconfig libtool
+GNU_CONFIGURE= yes
USE_GNOME= gnomeprefix libgnomeui
CONFIGURE_ARGS+=--disable-install-pam
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
-NO_STAGE= yes
+SUB_FILES= pkg-message
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \
${WRKSRC}/src/Makefile.in
post-install:
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.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}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.sample ${STAGEDIR}${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/api.html ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/libgnomesu.css ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Copied: head/security/libgnomesu/files/pkg-message.in (from r356240, head/security/libgnomesu/pkg-message)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/libgnomesu/files/pkg-message.in Tue Jun 10 22:09:53 2014 (r357394, copy of r356240, head/security/libgnomesu/pkg-message)
@@ -0,0 +1,12 @@
+
+####################################################
+
+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.sample \
+ /etc/pam.d/gnomesu-pam
+
+####################################################
+
Modified: head/security/libgnomesu/pkg-plist
==============================================================================
--- head/security/libgnomesu/pkg-plist Tue Jun 10 22:08:00 2014 (r357393)
+++ head/security/libgnomesu/pkg-plist Tue Jun 10 22:09:53 2014 (r357394)
@@ -1,10 +1,9 @@
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
+lib/libgnomesu.so.0
+lib/libgnomesu.so.0.2.0
libdata/pkgconfig/libgnomesu-1.0.pc
libexec/gnomesu-backend
libexec/gnomesu-pam-backend
More information about the svn-ports-all
mailing list