Add Tizen packaging accepted/tizen_base accepted/tizen_base_asan accepted/tizen_base_toolchain accepted/tizen_base_x accepted/tizen_base_x_asan tizen_base accepted/tizen/base/20240226.011148 accepted/tizen/base/asan/20240305.000513 accepted/tizen/base/toolchain/20240301.141838 accepted/tizen/base/toolchain/20240301.141945 accepted/tizen/base/x/20240226.065406 accepted/tizen/base/x/asan/20240412.003524
authorAnas Nashif <anas.nashif@intel.com>
Wed, 24 Oct 2012 21:01:55 +0000 (14:01 -0700)
committerDariusz Michaluk <d.michaluk@samsung.com>
Thu, 22 Feb 2024 17:30:32 +0000 (18:30 +0100)
Change-Id: I8e95d9e508f19294b0190cf8dd8a965a5327563f

packaging/acl.manifest [new file with mode: 0644]
packaging/acl.spec [new file with mode: 0644]
packaging/baselibs.conf [new file with mode: 0644]

diff --git a/packaging/acl.manifest b/packaging/acl.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/acl.spec b/packaging/acl.spec
new file mode 100644 (file)
index 0000000..50deeb6
--- /dev/null
@@ -0,0 +1,81 @@
+Name:           acl
+Summary:        Commands for Manipulating POSIX Access Control Lists
+License:        LGPL-2.1+ and GPL-2.0+
+Group:          Security/Access Control
+Version:        2.3.2
+Release:        0
+Url:            http://download.savannah.gnu.org/releases/acl/
+Source:         %{name}-%{version}.src.tar.gz
+Source1001:     acl.manifest
+
+BuildRequires:  libattr-devel
+
+%description
+getfacl and setfacl commands for retrieving and setting POSIX access
+control lists.
+
+%package -n libacl
+Summary:        A dynamic library for accessing POSIX Access Control Lists
+Group:          Security/Access Control
+
+%description -n libacl
+This package contains the libacl.so dynamic library which contains the
+POSIX 1003.1e draft standard 17 functions for manipulating access
+control lists.
+
+%package -n libacl-devel
+Summary:        Include Files and Libraries mandatory for Development
+Group:          Development/Libraries
+Requires:       libacl = %{version}
+Requires:       glibc-devel
+# the .so file references libattr.so.x, so require libattr-devel
+Requires:       libattr-devel
+
+%description -n libacl-devel
+This package contains all necessary include files and libraries needed
+to develop applications that require libacl.
+
+%prep
+%setup -q -n acl-%version
+cp %{SOURCE1001} .
+
+%build
+CFLAGS="$CFLAGS -fPIE"
+LDFLAGS="$LDFLAGS -pie -Wl,-z,relro,-z,now"
+
+%configure \
+       --disable-nls \
+       --disable-static \
+       --docdir=%{_defaultdocdir}/%{name}
+
+make %{?_smp_mflags} --output-sync=recurse
+
+%install
+%make_install
+rm -rf %{buildroot}%{_defaultdocdir}/%{name}/COPYING*
+
+%post -n libacl -p /sbin/ldconfig
+
+%postun -n libacl -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%license doc/COPYING doc/COPYING.LGPL
+%{_bindir}/chacl
+%{_bindir}/getfacl
+%{_bindir}/setfacl
+
+%files -n libacl-devel
+%manifest %{name}.manifest
+%{_includedir}/acl/libacl.h
+%{_includedir}/sys/acl.h
+%{_libdir}/libacl.so
+%{_libdir}/pkgconfig/libacl.pc
+%exclude %{_mandir}/
+%exclude %{_defaultdocdir}/%{name}
+
+%files -n libacl
+%manifest %{name}.manifest
+%license doc/COPYING doc/COPYING.LGPL
+%{_libdir}/libacl.so.1*
+
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644 (file)
index 0000000..c23d29b
--- /dev/null
@@ -0,0 +1,8 @@
+libacl
+       obsoletes "libacl-<targettype> < <version>"
+       provides "libacl-<targettype> = <version>"
+libacl-devel
+       requires -libacl-<targettype>
+       requires "libacl-<targettype> = <version>"
+       obsoletes "acl-devel-<targettype> < <version>"
+       provides "acl-devel-<targettype> = <version>"