Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 918461 Details for
Bug 491684
GUI (nfs4-acl-editor) for nfs4-acl-tools is missing
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch to fix, build, and package the GUI tool
Build-and-package-the-GUI-tool.patch (text/plain), 3.00 KB, created by
Nahum Shalman
on 2014-07-16 16:15:57 UTC
(
hide
)
Description:
Proposed patch to fix, build, and package the GUI tool
Filename:
MIME Type:
Creator:
Nahum Shalman
Created:
2014-07-16 16:15:57 UTC
Size:
3.00 KB
patch
obsolete
>From 6ae756ac1f0822d1f2f12ef816ffe169ded7ccb3 Mon Sep 17 00:00:00 2001 >From: Nahum Shalman <nshalman-rpm@elys.com> >Date: Tue, 15 Jul 2014 10:51:35 -0400 >Subject: [PATCH] Build and package the GUI tool > >Add patch to allow GUI tool to build correctly >Package GUI tool in a child package >--- > nfs4-acl-tools.spec | 23 ++++++++++++++++++++++- > nfs4acl-0.3.3-editor-strlcpy.patch | 12 ++++++++++++ > 2 files changed, 34 insertions(+), 1 deletion(-) > create mode 100644 nfs4acl-0.3.3-editor-strlcpy.patch > >diff --git a/nfs4-acl-tools.spec b/nfs4-acl-tools.spec >index 6ab3a68..1b4a8b9 100644 >--- a/nfs4-acl-tools.spec >+++ b/nfs4-acl-tools.spec >@@ -1,6 +1,6 @@ > Name: nfs4-acl-tools > Version: 0.3.3 >-Release: 12%{?dist} >+Release: 13%{?dist} > Summary: The nfs4 ACL tools > Group: Applications/System > License: BSD >@@ -11,9 +11,11 @@ Source0: http://www.citi.umich.edu/projects/nfsv4/linux/nfs4-acl-tools/%{ > > BuildRequires: libtool > BuildRequires: libattr-devel >+BuildRequires: qt-devel > > Patch001: nfs4acl-0.3.3-ace.patch > Patch002: nfs4acl-0.3.3-memleak.patch >+Patch003: nfs4acl-0.3.3-editor-strlcpy.patch > > Patch100: nfs4acl-0.2.0-compile.patch > >@@ -26,6 +28,7 @@ NFSv4 client. > > %patch001 -p1 > %patch002 -p1 >+%patch003 -p1 > > %patch100 -p1 > >@@ -40,10 +43,15 @@ export LDFLAGS="-pie" > %configure > make %{?_smp_mflags} > >+pushd GUI/nfs4-acl-editor >+qmake-qt4 nfs4-acl-editor.pro >+make %{?_smp_mflags} >+popd > > %install > rm -rf %{buildroot} > make DESTDIR=%{buildroot} install >+install -m 0755 GUI/nfs4-acl-editor/nfs4-acl-editor %{buildroot}/usr/bin/nfs4-acl-editor > > %clean > rm -rf %{buildroot} >@@ -57,7 +65,20 @@ rm -rf %{buildroot} > %{_mandir}/man1/* > %{_mandir}/man5/* > >+%package gui >+Summary: The nfs4 ACL editing GUI >+ >+%description gui >+This package contains GUI ACL utilities for the Linux NFSv4 client. >+ >+%files gui >+%{_bindir}/nfs4-acl-editor >+ > %changelog >+* Tue Jul 15 2014 Nahum Shalman <nshalman-rpm@elys.com> 0.3.3-13 >+- Add patch to allow GUI tool to build correctly >+- Package GUI tool in a child package >+ > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-12 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild > >diff --git a/nfs4acl-0.3.3-editor-strlcpy.patch b/nfs4acl-0.3.3-editor-strlcpy.patch >new file mode 100644 >index 0000000..d4ed9c2 >--- /dev/null >+++ b/nfs4acl-0.3.3-editor-strlcpy.patch >@@ -0,0 +1,12 @@ >+diff -urN nfs4-acl-tools-0.3.3/GUI/nfs4-acl-editor/nfs4acleditor.cpp nfs4-acl-tools-0.3.3-fixed/GUI/nfs4-acl-editor/nfs4acleditor.cpp >+--- nfs4-acl-tools-0.3.3/GUI/nfs4-acl-editor/nfs4acleditor.cpp 2008-12-03 17:18:24.000000000 -0500 >++++ nfs4-acl-tools-0.3.3-fixed/GUI/nfs4-acl-editor/nfs4acleditor.cpp 2010-09-08 13:23:49.000000000 -0400 >+@@ -569,7 +569,7 @@ >+ if (i > strlen(ace->who)) { >+ dprintf("syncWho(): fromlen %d tolen %u\n", strlen(ace->who), i); >+ } >+- strlcpy(ace->who, who, NFS4_MAX_PRINCIPALSIZE); >++ strncpy(ace->who, who, NFS4_MAX_PRINCIPALSIZE); >+ } >+ } >+ >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 491684
: 918461