forked from vmware/photon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sssd: initial addition for active directory management
SSSD is needed for active directory sign in/management. Change-Id: Iaa86f6b69686183b4eb5426fa389b156b33dd8e3 Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/19580 Tested-by: gerrit-photon <[email protected]> Reviewed-by: Shreenidhi Shedi <[email protected]>
- Loading branch information
1 parent
a39a2a1
commit 66fe2f1
Showing
13 changed files
with
2,183 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Summary: Domain Name System software | ||
Name: bindutils | ||
Version: 9.19.7 | ||
Release: 1%{?dist} | ||
Release: 2%{?dist} | ||
License: ISC | ||
URL: http://www.isc.org/downloads/bind | ||
Group: Development/Tools | ||
|
@@ -11,6 +11,8 @@ Distribution: Photon | |
Source0: ftp://ftp.isc.org/isc/bind9/%{version}/bind-%{version}.tar.xz | ||
%define sha512 bind=c4872daf71f4c0c108a2f0a68bf0b7ee12b6490d1ae7955419847c255bc5fcd092f935fa6ea68ae53db0510e7e9af13b6ab05cb0ca0058cb13339ccbda4ede43 | ||
|
||
Requires: krb5 | ||
Requires: e2fsprogs-libs | ||
Requires: openssl | ||
Requires: %{name}-libs = %{version}-%{release} | ||
Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd | ||
|
@@ -21,6 +23,8 @@ BuildRequires: libuv-devel | |
BuildRequires: nghttp2-devel | ||
BuildRequires: libcap-devel | ||
BuildRequires: systemd-rpm-macros | ||
BuildRequires: krb5-devel | ||
BuildRequires: e2fsprogs-devel | ||
|
||
%description | ||
BIND is open source software that implements the Domain Name System (DNS) protocols | ||
|
@@ -132,6 +136,8 @@ fi | |
%{_mandir}/man8/* | ||
|
||
%changelog | ||
* Tue Feb 14 2023 Brennan Lamoreaux <[email protected]> 9.19.7-2 | ||
- Add dependencies for realm support in nsupdate for SSSD. | ||
* Tue Dec 13 2022 Gerrit Photon <[email protected]> 9.19.7-1 | ||
- Automatic Version Bump | ||
* Thu May 26 2022 Gerrit Photon <[email protected]> 9.19.4-1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,276 @@ | ||
Name: ding-libs | ||
Version: 0.6.2 | ||
Release: 1%{?dist} | ||
Summary: "Ding is not GLib" assorted utility libraries | ||
Vendor: VMware, Inc. | ||
Distribution: Photon | ||
Group: Development/Libraries | ||
License: LGPLv3+ | ||
URL: https://github.com/SSSD/ding-libs | ||
|
||
Source0: https://github.com/SSSD/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz | ||
%define sha512 %{name}=566172e0addb0ee6e0ebd12874d3b72f2fa6bcb1ecc628c0c529984193290fae554efc40f52d2cec675bffab32a36183e47ec629db25e83ed2995f1049c64703 | ||
|
||
# ding-libs is a meta-package that will pull in all of its own | ||
# sub-packages | ||
|
||
# Cannot set different version numbers for subpackages, otherwise build process fails | ||
Requires: libpath-utils = %{version}-%{release} | ||
Requires: libdhash = %{version}-%{release} | ||
Requires: libcollection = %{version}-%{release} | ||
Requires: libref-array = %{version}-%{release} | ||
Requires: libini-config = %{version}-%{release} | ||
|
||
BuildRequires: build-essential | ||
BuildRequires: m4 | ||
BuildRequires: pkg-config | ||
BuildRequires: check | ||
BuildRequires: gettext | ||
BuildRequires: readline-devel | ||
|
||
%description | ||
A meta-package that pulls in libcollection, libdhash, libini-config, | ||
librefarray and libpath-utils. | ||
|
||
%package devel | ||
Summary: Development packages for ding-libs | ||
Group: Development/Libraries | ||
License: LGPLv3+ | ||
|
||
Requires: %{name} = %{version}-%{release} | ||
Requires: libpath-utils-devel = %{version}-%{release} | ||
Requires: libdhash-devel = %{version}-%{release} | ||
Requires: libcollection-devel = %{version}-%{release} | ||
Requires: libref-array-devel = %{version}-%{release} | ||
Requires: libbasicobjects-devel = %{version}-%{release} | ||
Requires: libini-config-devel = %{version}-%{release} | ||
|
||
%description devel | ||
Header files for ding-libs. | ||
|
||
%package -n libpath-utils | ||
Summary: Filesystem Path Utilities | ||
Group: Development/Libraries | ||
License: LGPLv3+ | ||
|
||
%description -n libpath-utils | ||
Utility functions to manipulate filesystem pathnames | ||
|
||
%package -n libpath-utils-devel | ||
Summary: Development files for libpath-utils | ||
Group: Development/Libraries | ||
Requires: libpath-utils = %{version}-%{release} | ||
License: LGPLv3+ | ||
|
||
%description -n libpath-utils-devel | ||
Utility functions to manipulate filesystem pathnames | ||
|
||
%package -n libdhash | ||
Group: Development/Libraries | ||
Summary: Dynamic hash table | ||
License: LGPLv3+ | ||
|
||
%description -n libdhash | ||
A hash table which will dynamically resize to achieve optimal storage & access | ||
time properties | ||
|
||
%package -n libdhash-devel | ||
Summary: Development files for libdhash | ||
Group: Development/Libraries | ||
Requires: libdhash = %{version}-%{release} | ||
License: LGPLv3+ | ||
|
||
%description -n libdhash-devel | ||
A hash table which will dynamically resize to achieve optimal storage & access | ||
time properties | ||
|
||
%package -n libcollection | ||
Summary: Collection data-type for C | ||
Group: Development/Libraries | ||
License: LGPLv3+ | ||
|
||
%description -n libcollection | ||
A data-type to collect data in a hierarchical structure for easy iteration | ||
and serialization | ||
|
||
%package -n libcollection-devel | ||
Summary: Development files for libcollection | ||
Group: Development/Libraries | ||
License: LGPLv3+ | ||
Requires: libcollection = %{version}-%{release} | ||
|
||
%description -n libcollection-devel | ||
Header/development files for libcollection. | ||
|
||
%package -n libref-array | ||
Summary: A refcounted array for C | ||
Group: Development/Libraries | ||
License: LGPLv3+ | ||
|
||
%description -n libref-array | ||
A dynamically-growing, reference-counted array | ||
|
||
%package -n libref-array-devel | ||
Summary: Development files for libref-array | ||
Group: Development/Libraries | ||
Requires: libref-array = %{version}-%{release} | ||
License: LGPLv3+ | ||
|
||
%description -n libref-array-devel | ||
Header/development files for libref-array | ||
|
||
%package -n libbasicobjects | ||
Summary: Basic object types for C | ||
Group: Development/Libraries | ||
License: GPLv3+ | ||
|
||
%description -n libbasicobjects | ||
Basic object types | ||
|
||
%package -n libbasicobjects-devel | ||
Summary: Development files for libbasicobjects | ||
Group: Development/Libraries | ||
License: GPLv3+ | ||
Requires: libbasicobjects = %{version}-%{release} | ||
|
||
%description -n libbasicobjects-devel | ||
Headers/development files for libbasicobjects | ||
|
||
%package -n libini-config | ||
Summary: INI file parser for C | ||
Group: Development/Libraries | ||
License: LGPLv3+ | ||
Requires: libcollection = %{version}-%{release} | ||
Requires: libref-array = %{version}-%{release} | ||
Requires: libbasicobjects = %{version}-%{release} | ||
Requires: libpath-utils = %{version}-%{release} | ||
|
||
%description -n libini-config | ||
Library to process config files in INI format into a libcollection data | ||
structure | ||
|
||
%package -n libini-config-devel | ||
Summary: Development files for libini-config | ||
Group: Development/Libraries | ||
License: LGPLv3+ | ||
Requires: libini-config = %{version}-%{release} | ||
Requires: libcollection-devel = %{version}-%{release} | ||
Requires: libref-array-devel = %{version}-%{release} | ||
Requires: libbasicobjects-devel = %{version}-%{release} | ||
|
||
%description -n libini-config-devel | ||
Header/development files for libini-config. | ||
|
||
%prep | ||
%autosetup | ||
|
||
%build | ||
autoreconf -ivf | ||
%configure --disable-static | ||
|
||
%make_build all docs | ||
|
||
%install | ||
%make_install %{?_smp_mflags} | ||
|
||
# Remove document install script. RPM is handling this | ||
rm -f */doc/html/installdox | ||
|
||
# Remove docs | ||
rm -rf %{buildroot}%{_datadir}/doc/%{name}/* | ||
|
||
%if 0%{?with_check} | ||
%check | ||
%make_build check | ||
%endif | ||
|
||
%post -p /sbin/ldconfig | ||
%postun -p /sbin/ldconfig | ||
|
||
%files | ||
%defattr(-,root,root,-) | ||
|
||
%files devel | ||
%defattr(-,root,root,-) | ||
|
||
%files -n libpath-utils | ||
%defattr(-,root,root,-) | ||
%{_libdir}/libpath_utils.so.1 | ||
%{_libdir}/libpath_utils.so.1.0.1 | ||
|
||
%files -n libpath-utils-devel | ||
%defattr(-,root,root,-) | ||
%{_includedir}/path_utils.h | ||
%{_libdir}/libpath_utils.so | ||
%{_libdir}/pkgconfig/path_utils.pc | ||
%doc path_utils/README.path_utils | ||
|
||
%files -n libdhash | ||
%defattr(-,root,root,-) | ||
%{_libdir}/libdhash.so.1 | ||
%{_libdir}/libdhash.so.1.1.0 | ||
|
||
%files -n libdhash-devel | ||
%defattr(-,root,root,-) | ||
%{_includedir}/dhash.h | ||
%{_libdir}/libdhash.so | ||
%{_libdir}/pkgconfig/dhash.pc | ||
%doc dhash/README.dhash | ||
%doc dhash/examples/*.c | ||
|
||
%files -n libcollection | ||
%defattr(-,root,root,-) | ||
%{_libdir}/libcollection.so.4 | ||
%{_libdir}/libcollection.so.4.1.1 | ||
|
||
%files -n libcollection-devel | ||
%defattr(-,root,root,-) | ||
%{_includedir}/collection.h | ||
%{_includedir}/collection_tools.h | ||
%{_includedir}/collection_queue.h | ||
%{_includedir}/collection_stack.h | ||
%{_libdir}/libcollection.so | ||
%{_libdir}/pkgconfig/collection.pc | ||
|
||
%files -n libref-array | ||
%defattr(-,root,root,-) | ||
%{_libdir}/libref_array.so.1 | ||
%{_libdir}/libref_array.so.1.2.1 | ||
|
||
%files -n libref-array-devel | ||
%defattr(-,root,root,-) | ||
%{_includedir}/ref_array.h | ||
%{_libdir}/libref_array.so | ||
%{_libdir}/pkgconfig/ref_array.pc | ||
%doc refarray/README.ref_array | ||
|
||
%files -n libbasicobjects | ||
%defattr(-,root,root,-) | ||
%{_libdir}/libbasicobjects.so.0 | ||
%{_libdir}/libbasicobjects.so.0.1.0 | ||
|
||
%files -n libbasicobjects-devel | ||
%defattr(-,root,root,-) | ||
%{_includedir}/simplebuffer.h | ||
%{_libdir}/libbasicobjects.so | ||
%{_libdir}/pkgconfig/basicobjects.pc | ||
|
||
%files -n libini-config | ||
%defattr(-,root,root,-) | ||
%{_libdir}/libini_config.so.5 | ||
%{_libdir}/libini_config.so.5.2.1 | ||
|
||
%files -n libini-config-devel | ||
%defattr(-,root,root,-) | ||
%{_includedir}/ini_config.h | ||
%{_includedir}/ini_configobj.h | ||
%{_includedir}/ini_valueobj.h | ||
%{_includedir}/ini_comment.h | ||
%{_includedir}/ini_configmod.h | ||
%{_libdir}/libini_config.so | ||
%{_libdir}/pkgconfig/ini_config.pc | ||
|
||
%changelog | ||
* Tue Feb 14 2023 Brennan Lamoreaux <[email protected]> 0.6.2-1 | ||
- Initial addition to Photon. Needed for addition of SSSD. | ||
- Modified from provided spec file in GitHub repository. |
Oops, something went wrong.