libtirpc: upgrade to v1.3.3

And corresponding version bumps.

Change-Id: I644323ebd229e1d2c1984e47e4efbf153b9fbb3c
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/18010
This commit is contained in:
Shreenidhi Shedi 2022-09-29 11:56:55 -07:00 committed by Michelle Wang
parent 35d253adb0
commit 33a23ea48b
14 changed files with 277 additions and 195 deletions

View File

@ -1,19 +1,21 @@
%global debug_package %{nil}
Summary: A kernel-based automounter for Linux
Name: autofs
Version: 5.1.8
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
URL: http://www.kernel.org/pub/linux/daemons/autofs
Group: System Environment/Daemons
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://www.kernel.org/pub/linux/daemons/%{name}/v5/%{name}-%{version}.tar.xz
%define sha512 %{name}=6ee6283c0977c82848a654dc24745ee687f6916de441c3688fa91f67ca7295e632ee3808cc2358984a4b9f19841e6e1a91ab48aad6341ac8e63827fe8c32d223
Source0: http://www.kernel.org/pub/linux/daemons/%{name}/v5/%{name}-%{version}.tar.xz
%define sha512 %{name}=6ee6283c0977c82848a654dc24745ee687f6916de441c3688fa91f67ca7295e632ee3808cc2358984a4b9f19841e6e1a91ab48aad6341ac8e63827fe8c32d223
Source1: %{name}.service
BuildRequires: systemd
BuildRequires: systemd-devel
BuildRequires: rpcsvc-proto-devel
BuildRequires: libtirpc-devel
@ -29,33 +31,32 @@ Automounting is the process of automatically mounting and unmounting of file sys
%build
%configure --with-libtirpc
make %{?_smp_mflags}
%make_build
%install
mkdir -p -m755 %{buildroot}/lib/systemd/system \
%{buildroot}/etc/auto.master.d
mkdir -p -m755 %{buildroot}%{_unitdir} \
%{buildroot}%{_sysconfdir}/auto.master.d
make install mandir=%{_mandir} INSTALLROOT=%{buildroot} %{?_smp_mflags}
%make_install mandir=%{_mandir} INSTALLROOT=%{buildroot}
mkdir -p -m755 %{buildroot}/etc/sysconfig
mkdir -p -m755 %{buildroot}%{_sysconfdir}/sysconfig
make -C redhat %{?_smp_mflags}
install -p -D -m 0644 %{SOURCE1} %{buildroot}/lib/systemd/system/autofs.service
install -m 644 redhat/autofs.conf %{buildroot}/etc/autofs.conf
install -m 644 redhat/autofs.sysconfig %{buildroot}/etc/sysconfig/autofs
install -m 644 samples/auto.master %{buildroot}/etc/auto.master
install -m 644 samples/auto.misc %{buildroot}/etc/auto.misc
install -m 755 samples/auto.net %{buildroot}/etc/auto.net
install -m 755 samples/auto.smb %{buildroot}/etc/auto.smb
install -m 600 samples/autofs_ldap_auth.conf %{buildroot}/etc/autofs_ldap_auth.conf
rm -rf %{buildroot}/etc/rc.d
#%%check
#This package does not come with a test suite.
install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}
install -m 644 redhat/autofs.conf %{buildroot}%{_sysconfdir}/autofs.conf
install -m 644 redhat/autofs.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/autofs
install -m 644 samples/auto.master %{buildroot}%{_sysconfdir}/auto.master
install -m 644 samples/auto.misc %{buildroot}%{_sysconfdir}/auto.misc
install -m 755 samples/auto.net %{buildroot}%{_sysconfdir}/auto.net
install -m 755 samples/auto.smb %{buildroot}%{_sysconfdir}/auto.smb
install -m 600 samples/autofs_ldap_auth.conf %{buildroot}%{_sysconfdir}/autofs_ldap_auth.conf
rm -rf %{buildroot}%{_sysconfdir}/rc.d
%post
/sbin/ldconfig
%systemd_post autofs.service
%postun
/sbin/ldconfig
%systemd_postun_with_restart autofs.service
%preun
@ -79,9 +80,11 @@ rm -rf %{buildroot}/*
%dir %{_sysconfdir}/auto.master.d
%{_mandir}/man5/*
%{_mandir}/man8/*
/lib/systemd/system/autofs.service
%{_unitdir}/autofs.service
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 5.1.8-2
- Bump version as a part of libtirpc upgrade
* Thu Aug 25 2022 Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com> 5.1.8-1
- Update version to 5.1.8
* Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 5.1.7-1

View File

@ -1,16 +1,20 @@
Summary: Connection tracking userspace tools for Linux.
Name: conntrack-tools
Version: 1.4.7
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
URL: http://conntrack-tools.netfilter.org/
Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
%define sha512 %{name}=3d37a6b8cd13fd3c149ab80009d686d2184920ba2d0d5c1b57abed6e92e0dd92cba868bfe22f1a155479fe5ab2e291b8bb8a7e72123a73788032202ac142653b
Source1: conntrackd.conf
Source2: conntrackd.service
URL: http://conntrack-tools.netfilter.org
Group: Development/Tools
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
%define sha512 %{name}=3d37a6b8cd13fd3c149ab80009d686d2184920ba2d0d5c1b57abed6e92e0dd92cba868bfe22f1a155479fe5ab2e291b8bb8a7e72123a73788032202ac142653b
Source1: conntrackd.conf
Source2: conntrackd.service
BuildRequires: gcc
BuildRequires: systemd-devel
BuildRequires: libtirpc-devel
@ -22,7 +26,7 @@ BuildRequires: libnetfilter_cthelper-devel
BuildRequires: libnetfilter_queue-devel
BuildRequires: bison
BuildRequires: flex
BuildRequires: systemd
Requires: systemd
Requires: libmnl
Requires: libnetfilter_conntrack
@ -42,39 +46,49 @@ which is the module that provides stateful packet inspection for iptables.
%build
autoreconf -fi
%configure --disable-static --enable-systemd
%configure \
--disable-static \
--enable-systemd
%make_build %{?_smp_mflags}
%install
%make_install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
mkdir -p %{buildroot}%{_sysconfdir}/conntrackd
install -d -m 0755 %{buildroot}%{_unitdir}
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/conntrackd/
install -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/conntrackd
install -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}
%files
%dir %{_sysconfdir}/conntrackd
%config(noreplace) %{_sysconfdir}/conntrackd/conntrackd.conf
%{_unitdir}/conntrackd.service
%{_sbindir}/conntrack
%{_sbindir}/conntrackd
%{_sbindir}/nfct
%dir %{_libdir}/conntrack-tools
%{_libdir}/conntrack-tools/*
%{_mandir}/man5/*
%{_mandir}/man8/*
%clean
rm -rf %{buildroot}/*
%post
/sbin/ldconfig
%systemd_post conntrackd.service
%preun
%systemd_preun conntrackd.service
%postun
/sbin/ldconfig
%systemd_postun conntrackd.service
%files
%defattr(-, root, root)
%dir %{_sysconfdir}/conntrackd
%config(noreplace) %{_sysconfdir}/conntrackd/conntrackd.conf
%{_unitdir}/conntrackd.service
%{_sbindir}/conntrack
%{_sbindir}/conntrackd
%{_sbindir}/nfct
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*
%{_mandir}/man5/*
%{_mandir}/man8/*
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.4.7-2
- Bump version as a part of libtirpc upgrade
* Tue Nov 01 2022 Susant Sahani <ssahani@vmware.com.com> 1.4.7-1
- Version bump
* Sun Oct 17 2021 Susant Sahani <ssahani@vmware.com.com> 1.4.6-3

View File

@ -1,7 +1,7 @@
Summary: GSSAPI NTLMSSP Mechanism
Name: gssntlmssp
Version: 1.1.0
Release: 3%{?dist}
Release: 4%{?dist}
Vendor: VMware, Inc.
Distribution: Photon
License: LGPLv3+
@ -81,6 +81,9 @@ install -pm644 examples/mech.ntlmssp %{buildroot}%{_sysconfdir}/gss/mech.d/ntlms
make %{?_smp_mflags} test_gssntlmssp
%endif
%clean
rm -rf %{buildroot}/*
%files -f %{name}.lang
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/gss/mech.d/ntlmssp.conf
@ -92,6 +95,8 @@ make %{?_smp_mflags} test_gssntlmssp
%{_includedir}/gssapi/gssapi_ntlmssp.h
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.1.0-4
- Bump version as a part of libtirpc upgrade
* Fri Oct 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.1.0-3
- Bump version as a part of libxslt upgrade
* Tue Aug 30 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.1.0-2

View File

@ -1,15 +1,15 @@
Summary: Libraries for the public client interface for NIS(YP) and NIS+.
Name: libnsl
Version: 2.0.0
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: https://github.com/thkukuk/libnsl
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://github.com/thkukuk/libnsl/archive/v%{version}/libnsl-%{version}.tar.gz
%define sha512 %{name}=86a7738707a3e4e56b60c8de0445fb576e66148bc12fa2a6aab422ea81eb4b42be3287a12f78384acd2b8bfb3885e9a0ce4f7328f078da3a5099acb66a35a935
Source0: https://github.com/thkukuk/libnsl/archive/v%{version}/libnsl-%{version}.tar.gz
%define sha512 %{name}=86a7738707a3e4e56b60c8de0445fb576e66148bc12fa2a6aab422ea81eb4b42be3287a12f78384acd2b8bfb3885e9a0ce4f7328f078da3a5099acb66a35a935
Requires: libtirpc
Requires: rpcsvc-proto
@ -45,16 +45,23 @@ autoreconf -fi
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/rpcsvc/*
%{_libdir}/pkgconfig/*
%{_libdir}/*.a
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.0.0-3
- Bump version as a part of libtirpc upgrade
* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.0.0-2
- Remove .la files
* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 2.0.0-1

View File

@ -1,7 +1,7 @@
Summary: Libraries for Transport Independent RPC
Name: libtirpc
Version: 1.3.2
Release: 2%{?dist}
Version: 1.3.3
Release: 1%{?dist}
License: BSD
Group: System Environment/Libraries
URL: http://nfsv4.bullopensource.org/
@ -9,7 +9,7 @@ Vendor: VMware, Inc.
Distribution: Photon
Source0: http://downloads.sourceforge.net/project/libtirpc/libtirpc/0.3.2/%{name}-%{version}.tar.bz2
%define sha512 %{name}=8664d5c4f842ee5acf83b9c1cadb7871f17b8157a7c4500e2236dcfb3a25768cab39f7c5123758dcd7381e30eb028ddfa26a28f458283f2dcea3426c9878c255
%define sha512 %{name}=df0781a74ff9ded2d3c4f5eb7e05496b9f58eac8060c02c68331dc14c4a00304dcd19f46836f5756fe0d9d27095fd463d42dd696fcdff891516711b7d63deabe
BuildRequires: krb5-devel
BuildRequires: e2fsprogs-devel
@ -70,6 +70,8 @@ sed '/stdlib.h/a#include <stdint.h>' -i src/xdr_sizeof.c
%{_libdir}/*.a
%changelog
* Thu Sep 29 2022 Gerrit Photon <photon-checkins@vmware.com> 1.3.3-1
- Automatic Version Bump
* Tue Sep 20 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.3.2-2
- Remove .la files
* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.3.2-1

View File

@ -1,7 +1,7 @@
Summary: Virtualization API library that supports KVM, QEMU, Xen, ESX etc
Name: libvirt
Version: 8.8.0
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPL
URL: http://libvirt.org
Group: Virtualization/Libraries
@ -155,6 +155,12 @@ CONFIGURE_OPTS=(
%meson_test
%endif
%clean
rm -rf %{buildroot}/*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*
@ -197,6 +203,8 @@ CONFIGURE_OPTS=(
%{_datadir}/libvirt/schemas/*.rng
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 8.8.0-2
- Bump version as a part of libtirpc upgrade
* Thu Nov 03 2022 Nitesh Kumar <kunitesh@vmware.com> 8.8.0-1
- Version upgrade to v8.8.0
* Fri Oct 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 8.2.0-4

View File

@ -1,44 +1,53 @@
Summary: List Open Files
Name: lsof
Version: 4.95.0
Release: 1%{?dist}
License: BSD
URL: https://people.freebsd.org/~abe/
Group: System Environment/Tools
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://fossies.org/linux/misc/%{name}_%{version}.tar.gz
%define sha512 lsof=09c5c4b0ea0530e23b98b96df8485f37c2594028b604097a816aee216a8b1a7bc887071e8727cbaf3c765d0992314a5aa49723572cfe926f88806be18a6b8aef
BuildRequires: libtirpc-devel
Requires: libtirpc
Summary: List Open Files
Name: lsof
Version: 4.95.0
Release: 2%{?dist}
License: BSD
URL: https://people.freebsd.org/~abe
Group: System Environment/Tools
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://fossies.org/linux/misc/%{name}_%{version}.tar.gz
%define sha512 %{name}=09c5c4b0ea0530e23b98b96df8485f37c2594028b604097a816aee216a8b1a7bc887071e8727cbaf3c765d0992314a5aa49723572cfe926f88806be18a6b8aef
BuildRequires: libtirpc-devel
Requires: libtirpc
%description
Contains programs for generating Makefiles for use with Autoconf.
%prep
%autosetup -n %{name}-%{version}
%autosetup -p1 -n %{name}-%{version}
%build
./Configure -n linux
make CFGL="-L./lib -ltirpc" %{?_smp_mflags}
%install
mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_sbindir} \
%{buildroot}%{_mandir}/man8
install -v -m 0755 lsof %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_mandir}/man8
install -v -m 0644 Lsof.8 %{buildroot}%{_mandir}/man8
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_sbindir}/*
%{_mandir}/man8/*
%changelog
* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 4.95.0-1
- Automatic Version Bump
* Wed Sep 05 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 4.91-1
- Update to version 4.91
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.89-2
- GA - Bump release of all rpms
* Thu Jul 23 2015 Divya Thaluru <dthaluru@vmware.com> 4.89-1
- Initial build.
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 4.95.0-2
- Bump version as a part of libtirpc upgrade
* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 4.95.0-1
- Automatic Version Bump
* Wed Sep 05 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 4.91-1
- Update to version 4.91
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.89-2
- GA - Bump release of all rpms
* Thu Jul 23 2015 Divya Thaluru <dthaluru@vmware.com> 4.89-1
- Initial build.

View File

@ -1,7 +1,7 @@
Summary: MySQL.
Name: mysql
Version: 8.0.31
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
Group: Applications/Databases
Vendor: VMware, Inc.
@ -77,9 +77,14 @@ cd %{__cmake_builddir}
make test %{?_smp_mflags}
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%doc LICENSE README
%{_libdir}/plugin/*
%{_libdir}/*.so.*
%{_bindir}/*
@ -91,6 +96,7 @@ make test %{?_smp_mflags}
%exclude %{_datadir}
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/*.a
%{_includedir}/*
@ -98,10 +104,11 @@ make test %{?_smp_mflags}
%files icu-data-files
%defattr(-, root, root, -)
%doc LICENSE README
%{_libdir}/private/icudt69l
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 8.0.31-2
- Bump version as a part of libtirpc upgrade
* Mon Oct 24 2022 Shreenidhi Shedi <sshedi@vmware.com> 8.0.31-1
- Upgrade to v8.0.31
* Tue Oct 04 2022 Shreenidhi Shedi <sshedi@vmware.com> 8.0.29-3

View File

@ -1,7 +1,7 @@
Summary: NFS client utils
Name: nfs-utils
Version: 2.6.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
URL: http://sourceforge.net/projects/nfs
Group: Applications/Nfs-utils-client
@ -60,11 +60,12 @@ sed '/unistd.h/a#include <stdint.h>' -i support/nsm/rpc.c
sed -i 's/RPCGEN_PATH" =/rpcgen_path" =/' configure
%build
%configure --enable-libmount-mount \
--without-tcp-wrappers \
--enable-gss \
--enable-nfsv4 \
--disable-static
%configure \
--enable-libmount-mount \
--without-tcp-wrappers \
--enable-gss \
--enable-nfsv4 \
--disable-static
# fix building against new gcc
sed -i 's/CFLAGS = -g/CFLAGS = -Wno-error=strict-prototypes/' support/nsm/Makefile
%make_build
@ -123,6 +124,9 @@ fi
/sbin/ldconfig
%systemd_postun_with_restart nfs-server.service
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/default/%{name}
@ -145,6 +149,8 @@ fi
%{_libdir}/pkgconfig/libnfsidmap.pc
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.6.2-2
- Bump version as a part of libtirpc upgrade
* Tue Oct 04 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.6.2-1
- Upgrade to v2.6.2
* Sat Jul 30 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.6.1-3

View File

@ -4,7 +4,7 @@
Summary: Usermode tools for VMware virts
Name: open-vm-tools
Version: 12.1.0
Release: 2%{?dist}
Release: 3%{?dist}
License: LGPLv2+
URL: https://github.com/vmware/open-vm-tools
Group: Applications/System
@ -133,6 +133,9 @@ fi
/sbin/ldconfig
%systemd_postun_with_restart vmtoolsd.service vgauthd.service
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%dir %{_libdir}/%{name}
@ -177,6 +180,8 @@ fi
%{_datadir}/%{name}/%{gosc_scripts}
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 12.1.0-3
- Bump version as a part of libtirpc upgrade
* Fri Oct 21 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 12.1.0-2
- Bump version as a part of xmlsec1 upgrade
* Sat Aug 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 12.1.0-1

View File

@ -1,18 +1,19 @@
Summary: RPC program number mapper
Name: rpcbind
Version: 1.2.6
Release: 2%{?dist}
Release: 3%{?dist}
License: BSD
URL: http://nfsv4.bullopensource.org
Group: Applications/Daemons
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
%define sha512 rpcbind=fb89c61be4c533fe2e6057749d97079a2d1c9fac0d35d6be1a159a0edbf86092b3fc121f19fa920e75aac5ecdd3f59f5978e6401d5cad16cd438c977736206a7
Source1: rpcbind.service
Source2: rpcbind.socket
Source3: rpcbind.sysconfig
Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
%define sha512 %{name}=fb89c61be4c533fe2e6057749d97079a2d1c9fac0d35d6be1a159a0edbf86092b3fc121f19fa920e75aac5ecdd3f59f5978e6401d5cad16cd438c977736206a7
Source1: %{name}.service
Source2: %{name}.socket
Source3: %{name}.sysconfig
BuildRequires: libtirpc-devel
BuildRequires: systemd-devel
@ -32,11 +33,11 @@ The rpcbind utility is a server that converts RPC program numbers into universal
%autosetup -p1
%build
sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c
sed -i "/servname/s:%{name}:sunrpc:" src/%{name}.c
%configure \
--enable-warmstarts \
--disable-debug \
--with-statedir=%{_localstatedir}/lib/rpcbind \
--with-statedir=%{_sharedstatedir}/%{name} \
--with-rpcuser=rpc
%make_build
@ -44,16 +45,18 @@ sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c
%install
%make_install %{?_smp_mflags}
mkdir -p %{buildroot}%{_sharedstatedir}/rpcbind \
mkdir -p %{buildroot}%{_sharedstatedir}/%{name} \
%{buildroot}%{_unitdir} \
%{buildroot}%{_sysconfdir}/sysconfig
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}
install -m644 %{SOURCE2} %{buildroot}%{_unitdir}
install -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/rpcbind
install -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
install -vdm755 %{buildroot}%{_presetdir}
echo "disable rpcbind.socket" > %{buildroot}%{_presetdir}/50-rpcbind.preset
echo "disable rpcbind.service" >> %{buildroot}%{_presetdir}/50-rpcbind.preset
cat > %{buildroot}%{_presetdir}/50-%{name}.preset << EOF
disable %{name}.socket
disable %{name}.service
EOF
%if 0%{?with_check}
%check
@ -63,28 +66,18 @@ make %{?_smp_mflags} check
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/sysconfig/rpcbind
%{_sbindir}/*
%{_bindir}/*
%{_mandir}/man8/*
%dir %{_localstatedir}/lib/rpcbind
%{_unitdir}/*
%{_presetdir}/50-rpcbind.preset
%pre
getent group rpc >/dev/null || groupadd -f -g 31 -r rpc
if ! getent passwd rpc >/dev/null ; then
if ! getent passwd 31 >/dev/null ; then
useradd -d %{_sharedstatedir}/rpcbind -g rpc -s /bin/false -u 31 rpc > /dev/null 2>&1
useradd -d %{_sharedstatedir}/%{name} -g rpc -s /bin/false -u 31 rpc > /dev/null 2>&1
else
useradd -d %{_sharedstatedir}/rpcbind -g rpc -s /bin/false rpc > /dev/null 2>&1
useradd -d %{_sharedstatedir}/%{name} -g rpc -s /bin/false rpc > /dev/null 2>&1
fi
fi
%preun
%systemd_preun rpcbind.service rpcbind.socket
%systemd_preun %{name}.service %{name}.socket
if [ $1 -eq 0 ]; then
userdel rpc 2>/dev/null || :
groupdel rpc 2>/dev/null || :
@ -93,15 +86,27 @@ fi
%post
/sbin/ldconfig
if [ $1 -eq 1 ]; then
chown -v root:sys %{_sharedstatedir}/rpcbind
chown -v root:sys %{_sharedstatedir}/%{name}
fi
%systemd_post rpcbind.socket rpcbind.service
%systemd_post %{name}.socket %{name}.service
%postun
/sbin/ldconfig
%systemd_postun_with_restart rpcbind.service rpcbind.socket
%systemd_postun_with_restart %{name}.service %{name}.socket
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
%{_sbindir}/*
%{_bindir}/*
%{_mandir}/man8/*
%dir %{_localstatedir}/lib/%{name}
%{_unitdir}/*
%{_presetdir}/50-%{name}.preset
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.2.6-3
- Bump version as a part of libtirpc upgrade
* Sun May 29 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.2.6-2
- Fix binary path
* Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 1.2.6-1

View File

@ -1,7 +1,7 @@
Summary: Samba Client Programs
Name: samba-client
Version: 4.14.4
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv3+ and LGPLv3+
Group: Productivity/Networking
Vendor: VMware, Inc.
@ -333,6 +333,9 @@ done
%postun libs
/sbin/ldconfig
%clean
rm -rf %{buildroot}/*
# Samba Client
%files
%defattr(-,root,root,-)
@ -529,6 +532,7 @@ done
# Devel
%files -n %{name}-devel
%defattr(-,root,root,-)
%{_includedir}/samba-4.0/libsmbclient.h
%{_libdir}/libsmbclient.so
%{_libdir}/libsmbdcerpc.so
@ -563,6 +567,8 @@ done
%{_libdir}/pkgconfig/wbclient.pc
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 4.14.4-6
- Bump version as a part of libtirpc upgrade
* Fri Oct 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 4.14.4-5
- Bump version as a part of libxslt upgrade
* Tue Aug 30 2022 Shreenidhi Shedi <sshedi@vmware.com> 4.14.4-4

View File

@ -8,7 +8,7 @@
Name: systemtap
Version: 4.7
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Programmable system-wide instrumentation system
Group: Development/System
Vendor: VMware, Inc.
@ -16,7 +16,7 @@ Distribution: Photon
URL: http://sourceware.org/systemtap
License: GPLv2+
Source0: http://sourceware.org/systemtap/ftp/releases/%{name}-%{version}.tar.gz
Source0: http://sourceware.org/systemtap/ftp/releases/%{name}-%{version}.tar.gz
%define sha512 %{name}=7d7c213dc4f7c5430f81763668da21403fbc351d1701b1096eb1ad233e3f0325e35f01dfd0a33e75f277b26fdde88c46d42dd32e32e4d4f27a45d53e2dd0f831
BuildRequires: elfutils-devel
@ -61,8 +61,6 @@ Requires: %{name}-runtime = %{version}-%{release}
Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd
Requires(postun):/usr/sbin/userdel /usr/sbin/groupdel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
SystemTap is an instrumentation system for systems running Linux.
Developers can write instrumentation scripts to collect data on
@ -212,7 +210,7 @@ make %{?_smp_mflags} check
%endif
%clean
rm -rf "%{buildroot}"
rm -rf %{buildroot}
%pre
getent group stap-server >/dev/null || groupadd -g 155 -r stap-server || groupadd -r stap-server
@ -230,7 +228,7 @@ test -e ~stap-server && chmod 755 ~stap-server
exit 0
%post server
if [ $1 -eq 1 ] ; then
if [ $1 -eq 1 ]; then
test -e %{_localstatedir}/log/stap-server/log || {
touch %{_localstatedir}/log/stap-server/log
chmod 664 %{_localstatedir}/log/stap-server/log
@ -248,45 +246,45 @@ if [ $1 -eq 1 ] ; then
fi
%preun server
if [ $1 = 0 ] ; then
if [ $1 = 0 ]; then
/sbin/service stap-server stop >/dev/null 2>&1
/sbin/chkconfig --del stap-server
fi
exit 0
%postun server
if [ "$1" -ge "1" ] ; then
if [ "$1" -ge "1" ]; then
/sbin/service stap-server condrestart >/dev/null 2>&1 || :
fi
exit 0
%post initscript
if [ $1 -eq 1 ] ; then
if [ $1 -eq 1 ]; then
/sbin/chkconfig --add %{name}
exit 0
fi
%preun initscript
if [ $1 = 0 ] ; then
if [ $1 = 0 ]; then
/sbin/service %{name} stop >/dev/null 2>&1
/sbin/chkconfig --del %{name}
fi
exit 0
%postun initscript
if [ "$1" -ge "1" ] ; then
if [ "$1" -ge "1" ]; then
/sbin/service %{name} condrestart >/dev/null 2>&1 || :
fi
exit 0
%post
if [ $1 -eq 1 ] ; then
if [ $1 -eq 1 ]; then
(make -C %{_datadir}/%{name}/runtime/linux/uprobes clean) >/dev/null 3>&1 || true
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
fi
%preun
if [ $1 -eq 0 ] ; then
if [ $1 -eq 0 ]; then
(make -C %{_datadir}/%{name}/runtime/linux/uprobes clean) >/dev/null 3>&1 || true
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
fi
@ -378,6 +376,7 @@ fi
%{_mandir}/man8/stap-server.8*
%files exporter
%defattr(-,root,root)
%{_sysconfdir}/stap-exporter
%{_sysconfdir}/sysconfig/stap-exporter
%{_libdir}/systemd/system/stap-exporter.service
@ -385,11 +384,14 @@ fi
%{_sbindir}/stap-exporter
%files runtime-python3
%defattr(-,root,root)
%{python3_sitearch}/HelperSDT
%{python3_sitearch}/HelperSDT-*.egg-info
%{_libexecdir}/systemtap/python/stap-resolve-module-function.py
%changelog
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 4.7-3
- Bump version as a part of libtirpc upgrade
* Wed Sep 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 4.7-2
- Add boost to requires
* Wed Sep 14 2022 Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com> 4.7-1

View File

@ -1,94 +1,97 @@
Summary: xinetd -- A better inetd.
Name: xinetd
Version: 2.3.15
Release: 9%{?dist}
License: BSD
Group: System Environment/Daemons
Vendor: VMware, Inc.
Distribution: Photon
URL: http://www.xinetd.org
Source0: https://github.com/xinetd-org/xinetd/archive/%{name}-%{version}.tar.gz
%define sha1 xinetd=168d54aeb181e271e68f4c53847c3e6b2574dba6
Source1: xinetd.service
Summary: xinetd - A better inetd.
Name: xinetd
Version: 2.3.15
Release: 10%{?dist}
License: BSD
Group: System Environment/Daemons
Vendor: VMware, Inc.
Distribution: Photon
URL: http://www.xinetd.org
BuildRequires: systemd
BuildRequires: libtirpc-devel
Requires: systemd
Requires: libtirpc
Source0: https://github.com/xinetd-org/xinetd/archive/%{name}-%{version}.tar.gz
%define sha512 %{name}=9d6fee1fbc90329629d84086ae7de5cd51c25af7b68e52aa704d6f74bee5f0e3d54ca1bcf780f90f74ddc8d336ae0abb5e5e368d43c426a26b8dd2c4676d26aa
Source1: %{name}.service
BuildRequires: systemd-devel
BuildRequires: libtirpc-devel
Requires: systemd
Requires: libtirpc
%description
Xinetd is a powerful inetd replacement. Xinetd has access control
mechanisms, extensive logging capabilities, the ability to make
services available based on time, can place limits on the number
of servers that can be started, and has a configurable defence
Xinetd is a powerful inetd replacement. Xinetd has access control
mechanisms, extensive logging capabilities, the ability to make
services available based on time, can place limits on the number
of servers that can be started, and has a configurable defence
mechanism to protect against port scanners, among other things.
%prep
%setup -q
%autosetup -p1
%build
%configure \
--sbindir=%{buildroot}/%{_sbindir} \
--mandir=%{buildroot}/%{_datadir}/man
export LDFLAGS=-ltirpc CFLAGS=-I/usr/include/tirpc
export LDFLAGS=-ltirpc
export CFLAGS=-I%{_includedir}/tirpc
%configure
%make_build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_sbindir}
mkdir -p %{buildroot}/etc/xinetd.d
mkdir -p %{buildroot}%{_sysconfdir}/%{name}.d \
%{buildroot}%{_unitdir}
%makeinstall
install -m 0600 contrib/xinetd.conf %{buildroot}/etc/
cp contrib/xinetd.d/* %{buildroot}/etc/xinetd.d
mkdir -p %{buildroot}/lib/systemd/system
cp %{SOURCE1} %{buildroot}/lib/systemd/system/xinetd.service
%make_install %{?_smp_mflags} DAEMONDIR=%{buildroot}%{_sbindir} MANDIR=%{buildroot}%{_mandir}
install -vdm755 %{buildroot}%{_libdir}/systemd/system-preset
echo "disable xinetd.service" > %{buildroot}%{_libdir}/systemd/system-preset/50-xinetd.preset
install -m 0600 contrib/%{name}.conf %{buildroot}%{_sysconfdir}
cp contrib/%{name}.d/* %{buildroot}%{_sysconfdir}/%{name}.d
cp %{SOURCE1} %{buildroot}%{_unitdir}
install -vdm755 %{buildroot}%{_presetdir}
echo "disable %{name}.service" > %{buildroot}%{_presetdir}/50-%{name}.preset
%clean
rm -rf %{buildroot}
%post
%{_sbindir}/ldconfig
%systemd_post xinetd.service
/sbin/ldconfig
%systemd_post %{name}.service
%preun
%systemd_preun xinetd.service
%systemd_preun %{name}.service
%postun
%systemd_postun_with_restart xinetd.service
/sbin/ldconfig
%systemd_postun_with_restart %{name}.service
%files
%defattr(-, root, root)
%doc CHANGELOG COPYRIGHT README xinetd/sample.conf contrib/empty.conf
%doc %{name}/sample.conf contrib/empty.conf
%{_sbindir}/*
%{_datadir}/man/*/*
%attr(0750, root, root) %config(noreplace) /etc/xinetd.conf
%attr(0750, root, root) %config(noreplace) /etc/xinetd.d/*
/lib/systemd/system/xinetd.service
%{_libdir}/systemd/system-preset/50-xinetd.preset
%{_mandir}/*/*
%attr(0750, root, root) %config(noreplace) %{_sysconfdir}/%{name}.conf
%attr(0750, root, root) %config(noreplace) %{_sysconfdir}/%{name}.d/*
%{_unitdir}/%{name}.service
%{_presetdir}/50-%{name}.preset
%changelog
* Tue Sep 25 2018 Alexey Makhalov <amakhalov@vmware.com> 2.3.15-9
- Use libtirpc
* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.3.15-8
- Use standard configure macros
* Thu Jun 29 2017 Divya Thaluru <dthaluru@vmware.com> 2.3.15-7
- Disabled xinetd service by default
* Thu May 26 2016 Divya Thaluru <dthaluru@vmware.com> 2.3.15-6
- Fixed logic to restart the active services after upgrade
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.15-5
- GA - Bump release of all rpms
* Wed May 4 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.15-4
- Fix upgrade issues
* Thu Dec 10 2015 Xiaolin Li <xiaolinl@vmware.com> 2.3.15-3
- Add systemd to Requires and BuildRequires.
* Thu Dec 03 2015 Xiaolin Li <xiaolinl@vmware.com> 2.3.15-2
- Remove rc files
* Fri Aug 07 2015 Xiaolin Li <xiaolinl@vmware.com> 2.3.15-1
- Add xinetd library to photon
* Sun Sep 07 2003 Steve Grubb <linux_4ever@yahoo.com>
- Refined installation and added services.
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.3.15-10
- Bump version as a part of libtirpc upgrade
* Tue Sep 25 2018 Alexey Makhalov <amakhalov@vmware.com> 2.3.15-9
- Use libtirpc
* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.3.15-8
- Use standard configure macros
* Thu Jun 29 2017 Divya Thaluru <dthaluru@vmware.com> 2.3.15-7
- Disabled xinetd service by default
* Thu May 26 2016 Divya Thaluru <dthaluru@vmware.com> 2.3.15-6
- Fixed logic to restart the active services after upgrade
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.15-5
- GA - Bump release of all rpms
* Wed May 4 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.15-4
- Fix upgrade issues
* Thu Dec 10 2015 Xiaolin Li <xiaolinl@vmware.com> 2.3.15-3
- Add systemd to Requires and BuildRequires.
* Thu Dec 03 2015 Xiaolin Li <xiaolinl@vmware.com> 2.3.15-2
- Remove rc files
* Fri Aug 07 2015 Xiaolin Li <xiaolinl@vmware.com> 2.3.15-1
- Add xinetd library to photon
* Sun Sep 07 2003 Steve Grubb <linux_4ever@yahoo.com>
- Refined installation and added services.