diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-18 12:18:26 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-18 14:18:05 +0900 |
commit | ad1287674b3d1beb2c160116aca626d9a56dd578 (patch) | |
tree | 51a5e1602d07f16f88246e6b296a6506b33bf57f /packaging | |
parent | d76b866444462dbb7a0ab10c0f92b9452d989682 (diff) | |
download | ecryptfs-utils-accepted/tizen_7.0_unified.tar.gz ecryptfs-utils-accepted/tizen_7.0_unified.tar.bz2 ecryptfs-utils-accepted/tizen_7.0_unified.zip |
Bump to ecryptfs-utils 111HEADtizen_9.0_m2_releasetizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen/20211111.001607accepted/tizen/unified/20211112.135707accepted/tizen/9.0/unified/20241031.000004accepted/tizen/8.0/unified/20231005.094808accepted/tizen/7.0/unified/hotfix/20221116.110724accepted/tizen/7.0/unified/20221110.061622tizen_9.0tizen_8.0tizen_7.0_hotfixtizen_7.0tizensandbox/dh0128.kwak/ecryptfs-utils-111-20211018accepted/tizen_unifiedaccepted/tizen_9.0_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
Change-Id: Id020cacc103b775c51c0aa3bfa24f619c4425903
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/ecryptfs-utils.manifest | 5 | ||||
-rw-r--r-- | packaging/ecryptfs-utils.spec | 119 |
2 files changed, 124 insertions, 0 deletions
diff --git a/packaging/ecryptfs-utils.manifest b/packaging/ecryptfs-utils.manifest new file mode 100644 index 0000000..75b0fa5 --- /dev/null +++ b/packaging/ecryptfs-utils.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/ecryptfs-utils.spec b/packaging/ecryptfs-utils.spec new file mode 100644 index 0000000..dbcabcb --- /dev/null +++ b/packaging/ecryptfs-utils.spec @@ -0,0 +1,119 @@ +Name: ecryptfs-utils +Summary: Userspace Utilities for ecryptfs +Version: 111 +Release: 0 +Group: System/Libraries +License: GPL-2.0+ +Source: %{name}_%{version}.orig.tar.gz +Source1: %{name}.manifest +URL: http://ecryptfs.org + +Requires: keyutils +Requires: cryptsetup +Requires: libecryptfs = %{version}-%{release} + +BuildRequires: intltool +BuildRequires: python-devel +BuildRequires: keyutils-devel +BuildRequires: nss-devel +BuildRequires: pam-devel +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: fdupes + +%description +A stacked cryptographic filesystem for Linux. +eCryptfs user space utilities + + +%package -n libecryptfs +Summary: ECryptfs library +Group: System/Libraries + +%description -n libecryptfs +eCryptfs runtime library. + + +%package -n libecryptfs-devel +Summary: Devel files for libecryptfs +Group: Development/Libraries +Requires: libecryptfs = %{version}-%{release} +Requires: keyutils-devel + +%description -n libecryptfs-devel +Development files for eCryptfs library. + + +%package -n libecryptfs-python +Summary: Python bindings for libecryptfs +Group: Development/Libraries +Requires: libecryptfs = %{version}-%{release} + +%description -n libecryptfs-python +Python bindings for eCryptfs library. + + +%prep +%setup -q -n %{name}-%{version} +cp %{SOURCE1} . + + +%build +export CFLAGS+=" -fPIC" +export LDFLAGS+=" -pie" +%define nss_library_list %(pkg-config --libs nss | cut -d " " -f -4) +%reconfigure --disable-openssl NSS_LIBS="%{nss_library_list}" +%__make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +%make_install + +%find_lang %{name} + +%fdupes %{buildroot} + + +%post -n libecryptfs -p /sbin/ldconfig + +%postun -n libecryptfs -p /sbin/ldconfig + + +%lang_package -f %{name} + + +%files +%manifest %{name}.manifest +%license COPYING +%doc AUTHORS NEWS +%{_bindir}/ecryptfs* +/sbin/mount.ecryptfs* +/sbin/umount.ecryptfs* +/%{_lib}/security/pam_ecryptfs.so +%{_mandir}/man1/*ecryptfs* +%{_mandir}/man7/*ecryptfs* +%{_mandir}/man8/*ecryptfs* +%{_datadir}/doc/%{name}/* +%{_datadir}/ecryptfs-utils/* + + +%files -n libecryptfs +%manifest %{name}.manifest +%license COPYING +%{_libdir}/libecryptfs.so.* +%{_libdir}/ecryptfs/* + + +%files -n libecryptfs-devel +%manifest %{name}.manifest +%license COPYING +%{_includedir}/ecryptfs.h +%{_libdir}/libecryptfs.so +%{_libdir}/pkgconfig/libecryptfs.pc + + +%files -n libecryptfs-python +%manifest %{name}.manifest +%license COPYING +%{python_sitelib}/ecryptfs-utils/* +%{python_sitearch}/ecryptfs-utils/* |