Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions LICENSES-AND-NOTICES/SPECS/data/licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -2355,6 +2355,7 @@
"gflags",
"gh",
"go-md2man",
"groff",
"grpc",
"grub2-efi-binary-signed",
"GSL",
Expand Down Expand Up @@ -2831,7 +2832,6 @@
"gpgme",
"gptfdisk",
"grep",
"groff",
"grub2",
"gtest",
"gtk-doc",
Expand Down Expand Up @@ -3011,7 +3011,6 @@
"perl-Crypt-SSLeay",
"perl-DBD-SQLite",
"perl-DBI",
"perl-DBIx-Simple",
"perl-Exporter-Tiny",
"perl-File-HomeDir",
"perl-File-Which",
Expand Down
1 change: 0 additions & 1 deletion SPECS/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ gpgme
gptfdisk
graphviz
grep
groff
grpc
grubby
gsettings-desktop-schemas
Expand Down
1 change: 1 addition & 0 deletions SPECS/groff/CVE-2000-0803.nopatch
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# No patch has been made available for CVE-2000-0803
5 changes: 5 additions & 0 deletions SPECS/groff/groff.signatures.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Signatures": {
"groff-1.23.0.tar.gz": "6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13"
}
}
104 changes: 104 additions & 0 deletions SPECS/groff/groff.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
Summary: Programs for processing and formatting text
Name: groff
Version: 1.23.0
Release: 2%{?dist}
License: GPLv3+
Vendor: Intel Corporation
Distribution: Edge Microvisor Toolkit
Group: Applications/Text
URL: https://www.gnu.org/software/groff/
Source0: https://ftp.gnu.org/gnu/groff/%{name}-%{version}.tar.gz
# No patch has been made available for CVE-2000-0803
Patch0: CVE-2000-0803.nopatch
Requires: perl-DBD-SQLite
Requires: perl-DBI
Requires: perl-File-HomeDir
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Provides: perl(oop_fh.pl) = %{version}-%{release}
Provides: perl(main_subs.pl) = %{version}-%{release}
Provides: perl(man.pl) = %{version}-%{release}
Provides: perl(subs.pl) = %{version}-%{release}
Provides: groff-base = %{version}-%{release}
AutoReq: no

%description
The Groff package contains programs for processing
and formatting text.

%prep
%setup -q

%build
PAGE=letter ./configure \
--prefix=%{_prefix} \
--with-grofferdir=%{_datadir}/%{name}/%{version}/groffer \
--without-x
make

%install
install -vdm 755 %{_defaultdocdir}/%{name}-1.22/pdf
make DESTDIR=%{buildroot} install

# some binaries need alias with 'g' or 'z' prefix
for file in g{nroff,troff,tbl,pic,eqn,neqn,refer,lookbib,indxbib,soelim} zsoelim; do
ln -s ${file#?} %{buildroot}%{_bindir}/${file}
ln -s ${file#?}.1.gz %{buildroot}%{_mandir}/man1/${file}.1.gz
done

rm -rf %{buildroot}%{_infodir}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%license LICENSES
%{_bindir}/*
%{_libdir}/groff/*
%{_defaultdocdir}/%{name}-%{version}/*
%{_datarootdir}/%{name}/*
%{_mandir}/*/*

%changelog
* Tue Jan 6 2025 Lee Chee Yang <chee.yang.lee@intel.com> - 1.23.0-2
- drop Required on perl-DBIx-Simple
- Initial Edge Microvisor Toolkit import from Azure Linux (license: MIT).

* Mon Oct 16 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.23.0-1
- Auto-upgrade to 1.23.0 - Azure Linux 3.0 - package upgrades

* Wed Sep 20 2023 Jon Slobodzian <joslobo@microsoft.com> - 1.22.4-2
- Recompile with stack-protection fixed gcc version (CVE-2023-4039)

* Sat Nov 20 2021 Chris Co <chrco@microsoft.com> - 1.22.4-1
- Update to 1.22.4
- License verified

* Fri Apr 30 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.22.3-7
- Adding Fedora's symbolic links to provide the same set of file paths.

* Mon Oct 12 2020 Joe Schmitt <joschmit@microsoft.com> - 1.22.3-6 (from dev branch)
- Use new perl package names.
- Provide groff-base.

* Mon Oct 05 2020 Daniel Burgener <daburgen@microsoft.com> - 1.22.3-6 (from 1.0 branch)
- Ensure build without X11 support
- Don't automatically add requirements when built in the toolchain

* Mon Sep 28 2020 Daniel McIlvaney <damcilva@microsoft.com> - 1.22.3-5
- Nopatch CVE-2000-0803.nopatch

* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.22.3-4
- Added %%license line automatically

* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 1.22.3-3
- Initial CBL-Mariner import from Photon (license: Apache2).

* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 1.22.3-2
- GA - Bump release of all rpms

* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> - 1.22.3-1
- Updated to version 1.22.3

* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> - 1.22.2-1
- Initial build. First version
10 changes: 0 additions & 10 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17508,16 +17508,6 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "perl-DBIx-Simple",
"version": "1.37",
"downloadUrl": "https://cpan.metacpan.org/authors/id/J/JU/JUERD/DBIx-Simple-1.37.tar.gz"
}
}
},
{
"component": {
"type": "other",
Expand Down
1 change: 0 additions & 1 deletion toolkit/resources/manifests/package/toolchain_x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ perl-DBD-SQLite-1.74-2.emt3.x86_64.rpm
perl-DBD-SQLite-debuginfo-1.74-2.emt3.x86_64.rpm
perl-DBI-1.643-3.emt3.x86_64.rpm
perl-DBI-debuginfo-1.643-3.emt3.x86_64.rpm
perl-DBIx-Simple-1.37-7.emt3.noarch.rpm
perl-DBM_Filter-0.06-509.emt3.noarch.rpm
perl-debugger-1.60-509.emt3.noarch.rpm
perl-debuginfo-5.38.2-509.emt3.x86_64.rpm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ -d "${REPO_ROOT}/azurelinux" ]; then
git reset --hard &> /dev/null
git submodule update --init &> /dev/null
cd ${REPO_ROOT}
skip_list=("cloud-provider-kubevirt" "dcos-cli" "vitess" "fwctl" "mlx-bootctl" "kernel-mshv" "srp" "mft_kernel" "knem" "xpmem" "xpmem-lib" "iser" "isert" "mlnx-ethtool" "mlnx-iproute2" "mlnx-nfsrdma" "mlnx-ofa_kernel" "mlnx-tools" "azurelinux-release" "azurelinux-repos" "azurelinux-rpm-macros")
skip_list=("cloud-provider-kubevirt" "perl-DBIx-Simple" "dcos-cli" "vitess" "fwctl" "mlx-bootctl" "kernel-mshv" "srp" "mft_kernel" "knem" "xpmem" "xpmem-lib" "iser" "isert" "mlnx-ethtool" "mlnx-iproute2" "mlnx-nfsrdma" "mlnx-ofa_kernel" "mlnx-tools" "azurelinux-release" "azurelinux-repos" "azurelinux-rpm-macros")
for folder in azurelinux/SPECS/*; do
fbasename=$(basename "$folder")
skip=false
Expand Down
Loading