Accepting request 23178 from Base:System
Copy from Base:System/acl based on submit request 23178 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/23178 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/acl?expand=0&rev=14
This commit is contained in:
parent
6ac3fa08b3
commit
a8f1e20418
12
acl-fiximplicit.patch
Normal file
12
acl-fiximplicit.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: acl-2.2.48/libmisc/quote.c
|
||||||
|
===================================================================
|
||||||
|
--- acl-2.2.48.orig/libmisc/quote.c
|
||||||
|
+++ acl-2.2.48/libmisc/quote.c
|
||||||
|
@@ -19,6 +19,7 @@
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
+#include <string.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#include "misc.h"
|
||||||
|
|
11
acl.changes
11
acl.changes
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 26 14:42:05 CET 2009 - meissner@suse.de
|
||||||
|
|
||||||
|
- fixed implicit strchr() usage.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 27 21:21:14 CEST 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- do not package static libraries
|
||||||
|
- fix -devel package dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 1 04:26:07 CEST 2009 - bphilips@novell.com
|
Sat Aug 1 04:26:07 CEST 2009 - bphilips@novell.com
|
||||||
|
|
||||||
|
30
acl.spec
30
acl.spec
@ -24,9 +24,10 @@ Group: System/Filesystems
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: Commands for Manipulating POSIX Access Control Lists
|
Summary: Commands for Manipulating POSIX Access Control Lists
|
||||||
Version: 2.2.48
|
Version: 2.2.48
|
||||||
Release: 1
|
Release: 2
|
||||||
Source: %name-%version.src.tar.gz
|
Source: %name-%version.src.tar.gz
|
||||||
Patch0: builddefs.in.diff
|
Patch0: builddefs.in.diff
|
||||||
|
Patch1: acl-fiximplicit.patch
|
||||||
Url: http://download.savannah.gnu.org/releases-noredirect/acl/
|
Url: http://download.savannah.gnu.org/releases-noredirect/acl/
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -65,7 +66,7 @@ License: GPL v2 or later ; LGPL v2.1 or later
|
|||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libacl = %{version} libattr-devel
|
Requires: libacl = %{version} glibc-devel
|
||||||
Provides: acl-devel
|
Provides: acl-devel
|
||||||
Obsoletes: acl-devel
|
Obsoletes: acl-devel
|
||||||
# bug437293
|
# bug437293
|
||||||
@ -83,8 +84,9 @@ Authors:
|
|||||||
SGI
|
SGI
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n acl-%version
|
%setup -q -n acl-%version
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export OPTIMIZER="$RPM_OPT_FLAGS -fPIC"
|
export OPTIMIZER="$RPM_OPT_FLAGS -fPIC"
|
||||||
@ -92,17 +94,15 @@ export DEBUG=-DNDEBUG
|
|||||||
aclocal --acdir=m4
|
aclocal --acdir=m4
|
||||||
autoconf
|
autoconf
|
||||||
CFLAGS="$RPM_OPT_FLAGS"
|
CFLAGS="$RPM_OPT_FLAGS"
|
||||||
./configure \
|
%configure \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
--exec-prefix=/ \
|
--exec-prefix=/ \
|
||||||
--sbindir=/bin \
|
--sbindir=/bin \
|
||||||
--bindir=%{_bindir} \
|
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--includedir=%{_includedir} \
|
|
||||||
--libdir=/%{_lib} \
|
--libdir=/%{_lib} \
|
||||||
--datadir=/usr/share \
|
--libexecdir=/%{_lib} \
|
||||||
--libexecdir=%{_libdir}
|
--disable-static \
|
||||||
make
|
--with-pic
|
||||||
|
%{__make} %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
DIST_ROOT="$RPM_BUILD_ROOT"
|
DIST_ROOT="$RPM_BUILD_ROOT"
|
||||||
@ -113,14 +113,13 @@ export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
|
|||||||
/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL"
|
/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL"
|
||||||
/usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
|
/usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
|
||||||
/usr/bin/make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
|
/usr/bin/make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB"
|
||||||
ln -sf /%{_lib}/$(readlink $RPM_BUILD_ROOT/%{_lib}/libacl.so) \
|
%{__mkdir_p} %{buildroot}%{_libdir}
|
||||||
$RPM_BUILD_ROOT/%{_libdir}/libacl.so
|
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/lib%{name}.so) %{buildroot}%{_libdir}/lib%{name}.so
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libacl.la
|
%{__rm} -v %{buildroot}/%{_lib}/lib%{name}.{la,so}
|
||||||
rm -f $RPM_BUILD_ROOT/%{_lib}/libacl.{a,la,so}
|
|
||||||
%find_lang %name
|
%find_lang %name
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post -n libacl -p /sbin/ldconfig
|
%post -n libacl -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -147,7 +146,6 @@ rm -f $RPM_BUILD_ROOT/%{_lib}/libacl.{a,la,so}
|
|||||||
%dir %attr(755,root,root) %{_includedir}/acl
|
%dir %attr(755,root,root) %{_includedir}/acl
|
||||||
%attr(644,root,root) %{_includedir}/acl/libacl.h
|
%attr(644,root,root) %{_includedir}/acl/libacl.h
|
||||||
%attr(644,root,root) %{_includedir}/sys/acl.h
|
%attr(644,root,root) %{_includedir}/sys/acl.h
|
||||||
%attr(644,root,root) %{_libdir}/libacl.a
|
|
||||||
%attr(755,root,root) %{_libdir}/libacl.so
|
%attr(755,root,root) %{_libdir}/libacl.so
|
||||||
%doc %attr(644,root,root) %{_mandir}/man3/acl_add_perm.3.gz
|
%doc %attr(644,root,root) %{_mandir}/man3/acl_add_perm.3.gz
|
||||||
%doc %attr(644,root,root) %{_mandir}/man3/acl_calc_mask.3.gz
|
%doc %attr(644,root,root) %{_mandir}/man3/acl_calc_mask.3.gz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user