[main] Third batch of migrations to enable `libguestfs`. (#2654)

This commit is contained in:
Pawel Winogrodzki 2022-04-05 17:42:27 -07:00 коммит произвёл GitHub
Родитель 3c49f0c44e
Коммит cb1fe832cb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
61 изменённых файлов: 341 добавлений и 582 удалений

Просмотреть файл

@ -1,65 +0,0 @@
.TH "ZEROFREE" "8"
.SH "NAME"
zerofree \(em zero free blocks from ext2/3 file-systems
.SH "SYNOPSIS"
.PP
\fBzerofree\fR [\fB-n\fP] [\fB-v\fP] \fIfilesystem\fR
.SH "DESCRIPTION"
.PP
\fBzerofree\fR finds the unallocated,
non-zeroed blocks in an ext2 or ext3
\fIfilesystem\fR (e.g. /dev/hda1) and
fills them with zeroes. This is useful if the device on which
this file-system resides is a disk image. In this case,
depending on the type of disk image, a secondary utility may be
able to reduce the size of the disk image after zerofree has
been run.
.PP
The usual way to achieve the same result (zeroing the
unallocated blocks) is to run \fBdd\fR (1) to
create a file full of zeroes that takes up the entire free
space on the drive, and then delete this file. This has many
disadvantages, which zerofree alleviates:
.IP " \(bu" 6
it is slow;
.IP " \(bu" 6
it makes the disk image (temporarily) grow to its maximal
extent;
.IP " \(bu" 6
it (temporarily) uses all free space on the disk, so other
concurrent write actions may fail.
.PP
\fIfilesystem\fR has to be unmounted or
mounted read-only for \fBzerofree\fR to work. It
will exit with an error message if the
\fIfilesystem\fR is mounted writable. To
remount the root file-system readonly, you can first switch to
single user runlevel (\fBtelinit 1\fR) then use
\fBmount \-o remount,ro
\fIfilesystem\fR\fR.
.PP
\fBzerofree\fR has been written to be
run from GNU/Linux systems installed as guest OSes inside a
virtual machine. It may however be useful in other
situations.
.SH "OPTIONS"
.IP "\fB-n\fP " 10
Perform a dry run (do not modify the file-system);
.IP "\fB-v\fP " 10
Be verbose.
.SH "SEE ALSO"
.PP
dd (1).
.SH "AUTHOR"
.PP
This manual page was written by Thibaut Paumard <paumard@users.sourceforge.net> for
the \fBDebian\fP system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under
the terms of the GNU General Public License, Version 2 or any
later version published by the Free Software Foundation.
.PP
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL-2.
.\" created by instant / docbook-to-man, Wed 25 Nov 2009, 17:45

Просмотреть файл

@ -1,163 +0,0 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'.
-->
<!ENTITY dhfirstname "<firstname>Thibaut</firstname>">
<!ENTITY dhsurname "<surname>Paumard</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>February 6, 2008</date>">
<!ENTITY dhsection "<manvolnum>8</manvolnum>">
<!ENTITY dhemail "<email>&lt;paumard@users.sourceforge.net&gt;</email>">
<!ENTITY dhusername "Thibaut Paumard">
<!ENTITY dhucpackage "<refentrytitle>ZEROFREE</refentrytitle>">
<!ENTITY dhpackage "zerofree">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2003</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>zero free blocks from ext2/3 file-systems</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option>-n</option></arg>
<arg><option>-v</option></arg>
<arg choice=req><replaceable>filesystem</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para><command>&dhpackage;</command> finds the unallocated,
non-zeroed blocks in an ext2 or ext3
<replaceable>filesystem</replaceable> (e.g. /dev/hda1) and
fills them with zeroes. This is useful if the device on which
this file-system resides is a disk image. In this case,
depending on the type of disk image, a secondary utility may be
able to reduce the size of the disk image after zerofree has
been run.</para>
<para>The usual way to achieve the same result (zeroing the
unallocated blocks) is to run <command>dd</command> (1) to
create a file full of zeroes that takes up the entire free
space on the drive, and then delete this file. This has many
disadvantages, which zerofree alleviates:</para>
<itemizedlist>
<listitem><para>it is slow;</para></listitem>
<listitem><para>it makes the disk image (temporarily) grow to its maximal
extent;</para></listitem>
<listitem><para>it (temporarily) uses all free space on the disk, so other
concurrent write actions may fail.</para></listitem>
</itemizedlist>
<para><replaceable>filesystem</replaceable> has to be unmounted or
mounted read-only for <command>&dhpackage;</command> to work. It
will exit with an error message if the
<replaceable>filesystem</replaceable> is mounted writable. To
remount the root file-system readonly, you can first switch to
single user runlevel (<command>telinit 1</command>) then use
<command>mount -o remount,ro
<replaceable>filesystem</replaceable></command>.</para>
<para><command>&dhpackage;</command> has been written to be
run from GNU/Linux systems installed as guest OSes inside a
virtual machine. It may however be useful in other
situations.</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term><option>-n</option>
</term>
<listitem>
<para>Perform a dry run (do not modify the file-system);</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-v</option>
</term>
<listitem>
<para>Be verbose.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para>dd (1).</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &dhusername; &dhemail; for
the &debian; system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; General Public License, Version 2 or any
later version published by the Free Software Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL-2.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->

Просмотреть файл

@ -1,48 +1,38 @@
Vendor: Microsoft Corporation Summary: Library to support the Advanced Forensic Format
Distribution: Mariner
Name: afflib Name: afflib
Version: 3.7.19 Version: 3.7.19
Release: 5%{?dist} Release: 6%{?dist}
Summary: Library to support the Advanced Forensic Format License: BSD WITH advertising AND Public Domain
Vendor: Microsoft Corporation
License: BSD with advertising Distribution: Mariner
URL: https://github.com/sshock/AFFLIBv3 URL: https://github.com/sshock/AFFLIBv3
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: curl-devel BuildRequires: curl-devel
BuildRequires: expat-devel BuildRequires: expat-devel
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: make
# GPLv2 FOSS incompatible with BSD with advertising # GPLv2 FOSS incompatible with BSD with advertising
##BuildRequires: fuse-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
# GPLv2 FOSS incompatible with BSD with advertising
##BuildRequires: readline-devel
#BuildRequires: libedit-devel - good replacement for readline - not supported for now
BuildRequires: zlib-devel
BuildRequires: make
BuildRequires: python3 BuildRequires: python3
BuildRequires: python3-Cython
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-Cython BuildRequires: zlib-devel
# Afflib format uses lzma-SDK 443 # Afflib format uses lzma-SDK 443
Provides: bundled(lzma) = 443 Provides: bundled(lzma) = 443
%description %description
AFF® is an open and extensible file format designed to store disk images and AFF® is an open and extensible file format designed to store disk images and
associated metadata. associated metadata.
afflib is library for support of the Advanced Forensic Format (AFF). afflib is library for support of the Advanced Forensic Format (AFF).
%package -n afftools %package -n afftools
Summary: Utilities for %{name} Summary: Utilities for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n afftools %description -n afftools
@ -50,34 +40,27 @@ The %{name}-utils package contains utilities for using %{name}.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: openssl-devel Requires: openssl-devel
Requires: pkgconfig Requires: pkg-config
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%package -n python%{python3_pkgversion}-pyaff %package -n python%{python3_pkgversion}-pyaff
%{?python_provide:%python_provide python%{python3_pkgversion}-pyaff}
Summary: Python3 binding for the AFFLIB Summary: Python3 binding for the AFFLIB
Group: Development/Libraries Group: Development/Libraries
%{?python_provide:%python_provide python%{python3_pkgversion}-pyaff}
%description -n python%{python3_pkgversion}-pyaff %description -n python%{python3_pkgversion}-pyaff
Python3 bindings for AFFLIB. Python3 bindings for AFFLIB.
These bindings currently support a read-only file-like interface to AFFLIB and These bindings currently support a read-only file-like interface to AFFLIB and
basic metadata accessor functions. The binding is not currently complete. basic metadata accessor functions. The binding is not currently complete.
%prep %prep
%autosetup -p1 -n AFFLIBv3-%{version} %autosetup -p1 -n AFFLIBv3-%{version}
# prevent internal lzma to be built - testing
#rm -rf lzma443
#fix spurious permissions with lzma443 #fix spurious permissions with lzma443
find lzma443 -type f -exec chmod 0644 {} ';' find lzma443 -type f -exec chmod 0644 {} ';'
@ -106,18 +89,15 @@ cd pyaff
%global py_setup_args build_ext --include-dirs %{_builddir}/AFFLIBv3-%{version}/include --library-dirs %{_builddir}/AFFLIBv3-%{version}/lib/.libs %global py_setup_args build_ext --include-dirs %{_builddir}/AFFLIBv3-%{version}/include --library-dirs %{_builddir}/AFFLIBv3-%{version}/lib/.libs
%py3_build %py3_build
%install %install
%make_install %make_install
find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -type f -name "*.la" -delete -print
cd pyaff cd pyaff
%py3_install %py3_install
%ldconfig_scriptlets %ldconfig_scriptlets
%files %files
%doc AUTHORS BUGLIST.txt ChangeLog NEWS README %doc AUTHORS BUGLIST.txt ChangeLog NEWS README
%doc doc/announce_2.2.txt %doc doc/announce_2.2.txt
@ -141,6 +121,9 @@ cd pyaff
%{python3_sitearch}/pyaff* %{python3_sitearch}/pyaff*
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.7.19-6
- Cleaning-up spec. License verified.
* Mon Aug 09 2021 Thomas Crain <thcrain@microsoft.com> - 3.7.19-5 * Mon Aug 09 2021 Thomas Crain <thcrain@microsoft.com> - 3.7.19-5
- Initial CBL-Mariner import from Fedora 35 (license: MIT). - Initial CBL-Mariner import from Fedora 35 (license: MIT).
- Remove Python 2 support - Remove Python 2 support
@ -442,4 +425,3 @@ cd pyaff
* Fri Nov 2 2007 kwizart < kwizart at gmail.com > - 2.4.0-1 * Fri Nov 2 2007 kwizart < kwizart at gmail.com > - 2.4.0-1
- Initial package for Fedora - Initial package for Fedora

Просмотреть файл

@ -1,27 +1,30 @@
Name: execstack
Version: 0.5.0
Release: 19%{?dist}
Summary: Utility to set/clear/query executable stack bit
%global commit 4c79120bcdbde0616f592458ccde7035e92ca3d8 %global commit 4c79120bcdbde0616f592458ccde7035e92ca3d8
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
License: GPLv2+ Summary: Utility to set/clear/query executable stack bit
Name: execstack
Version: 0.5.0
Release: 20%{?dist}
License: GPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
# work around for missing upstream tarball with latest checkin # work around for missing upstream tarball with latest checkin
Url: https://github.com/keszybz/prelink URL: https://github.com/keszybz/prelink
Source0: https://github.com/keszybz/prelink/archive/%{commit}.tar.gz#/prelink-%{shortcommit}.tar.gz Source0: https://github.com/keszybz/prelink/archive/%{commit}.tar.gz#/prelink-%{shortcommit}.tar.gz
Patch0: Add-PL_ARCH-for-AArch64.patch
BuildRequires: elfutils-libelf-devel
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: git
BuildRequires: libselinux-devel
BuildRequires: libselinux-utils
Patch0: Add-PL_ARCH-for-AArch64.patch Requires: coreutils
Requires: findutils
BuildRequires: gcc Requires: gawk
BuildRequires: gcc-c++ Requires: glibc >= 2.2.4-18
BuildRequires: elfutils-libelf-devel Requires: grep
BuildRequires: libselinux-devel, libselinux-utils Requires: util-linux
BuildRequires: git
Requires: glibc >= 2.2.4-18, coreutils, findutils
Requires: util-linux, gawk, grep
Obsoletes: prelink < 0.5.0-8
%description %description
This package is built from prelink sources but contains just the This package is built from prelink sources but contains just the
@ -58,6 +61,9 @@ install -Dm0644 doc/execstack.8 %{buildroot}%{_mandir}/man8/execstack.8
%{_mandir}/man8/execstack.8.* %{_mandir}/man8/execstack.8.*
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.5.0-20
- Cleaning-up spec. License verified.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.5.0-19 * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.5.0-19
- Initial CBL-Mariner import from Fedora 32 (license: MIT). - Initial CBL-Mariner import from Fedora 32 (license: MIT).

Просмотреть файл

@ -1,5 +1,3 @@
Vendor: Microsoft Corporation
Distribution: Mariner
############################################################################### ###############################################################################
############################################################################### ###############################################################################
## ##
@ -11,30 +9,32 @@ Distribution: Mariner
## ##
############################################################################### ###############################################################################
############################################################################### ###############################################################################
Summary: Utilities for managing the global file system (GFS2)
Name: gfs2-utils
Version: 3.2.0
Release: 9%{?dist}
License: GPLv2+ AND LGPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://pagure.io/gfs2-utils
Source: https://releases.pagure.org/gfs2-utils/gfs2-utils-%{version}.tar.gz
Patch0: 0-Fix_libuuid_linking.patch
Patch1: 1-Fix_more_linking_errors.patch
Name: gfs2-utils BuildRequires: automake
Version: 3.2.0 BuildRequires: bison
Release: 8%{?dist} BuildRequires: check-devel
License: GPLv2+ and LGPLv2+ BuildRequires: flex
Summary: Utilities for managing the global file system (GFS2) BuildRequires: gettext-devel
%ifnarch %{arm} BuildRequires: kernel-headers
%{?fedora:Recommends: kmod(gfs2.ko) kmod(dlm.ko)} BuildRequires: libblkid-devel
%endif BuildRequires: libtool
BuildRequires: ncurses-devel BuildRequires: libuuid-devel
BuildRequires: kernel-headers BuildRequires: ncurses-devel
BuildRequires: automake BuildRequires: zlib-devel
BuildRequires: libtool
BuildRequires: zlib-devel Recommends: kmod(dlm.ko)
BuildRequires: gettext-devel Recommends: kmod(gfs2.ko)
BuildRequires: bison
BuildRequires: flex
BuildRequires: libblkid-devel
BuildRequires: libuuid-devel
BuildRequires: check-devel
Source: https://releases.pagure.org/gfs2-utils/gfs2-utils-%{version}.tar.gz
URL: https://pagure.io/gfs2-utils
Patch0: 0-Fix_libuuid_linking.patch
Patch1: 1-Fix_more_linking_errors.patch
%prep %prep
%autosetup -p1 %autosetup -p1
@ -50,8 +50,8 @@ make check || { cat tests/testsuite.log; exit 1; }
%install %install
make -C gfs2 install DESTDIR=%{buildroot} make -C gfs2 install DESTDIR=%{buildroot}
# Don't ship gfs2_{trace,lockcapture} in this package # Don't ship gfs2_{trace,lockcapture} in this package
rm -f %{buildroot}/usr/sbin/gfs2_trace rm -f %{buildroot}%{_sbindir}/gfs2_trace
rm -f %{buildroot}/usr/sbin/gfs2_lockcapture rm -f %{buildroot}%{_sbindir}/gfs2_lockcapture
rm -f %{buildroot}%{_mandir}/man8/gfs2_trace.8 rm -f %{buildroot}%{_mandir}/man8/gfs2_trace.8
rm -f %{buildroot}%{_mandir}/man8/gfs2_lockcapture.8 rm -f %{buildroot}%{_mandir}/man8/gfs2_lockcapture.8
@ -60,8 +60,8 @@ The gfs2-utils package contains a number of utilities for creating, checking,
modifying, and correcting inconsistencies in GFS2 file systems. modifying, and correcting inconsistencies in GFS2 file systems.
%files %files
%doc doc/COPYING.* doc/COPYRIGHT doc/*.txt %license doc/COPYING.* doc/README.licence doc/COPYRIGHT
%doc doc/README.contributing doc/README.licence %doc doc/README.contributing doc/*.txt
%{_sbindir}/fsck.gfs2 %{_sbindir}/fsck.gfs2
%{_sbindir}/gfs2_grow %{_sbindir}/gfs2_grow
%{_sbindir}/gfs2_jadd %{_sbindir}/gfs2_jadd
@ -74,9 +74,12 @@ modifying, and correcting inconsistencies in GFS2 file systems.
%{_mandir}/man8/*gfs2* %{_mandir}/man8/*gfs2*
%{_mandir}/man8/glocktop* %{_mandir}/man8/glocktop*
%{_mandir}/man5/* %{_mandir}/man5/*
%{_prefix}/lib/udev/rules.d/82-gfs2-withdraw.rules %{_libdir}/udev/rules.d/82-gfs2-withdraw.rules
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.2.0-9
- Cleaning-up spec. License verified.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.2.0-8 * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.2.0-8
- Initial CBL-Mariner import from Fedora 32 (license: MIT). - Initial CBL-Mariner import from Fedora 32 (license: MIT).

Просмотреть файл

@ -1,20 +1,18 @@
Summary: A hexadecimal file viewer and editor
Name: hexedit
Version: 1.2.13
Release: 19%{?dist}
License: GPLv2+
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
Summary: A hexadecimal file viewer and editor URL: http://rigaux.org/hexedit.html
Name: hexedit Source: http://rigaux.org/%{name}-%{version}.src.tgz
Version: 1.2.13 Patch1: hexedit-1.2.13-config.patch
Release: 18%{?dist}
License: GPLv2+
URL: http://rigaux.org/hexedit.html
Source: http://rigaux.org/%{name}-%{version}.src.tgz
Patch1: hexedit-1.2.13-config.patch
# Document --color option. Sent upstream 2013-04-05. # Document --color option. Sent upstream 2013-04-05.
Patch2: hexedit-man-page-color.patch Patch2: hexedit-man-page-color.patch
BuildRequires: ncurses-devel BuildRequires: gcc
BuildRequires: gcc BuildRequires: ncurses-devel
%description %description
Hexedit shows a file both in ASCII and in hexadecimal. The file can be a device Hexedit shows a file both in ASCII and in hexadecimal. The file can be a device
@ -33,16 +31,20 @@ make %{_smp_mflags}
%install %install
make install \ make install \
mandir=$RPM_BUILD_ROOT%{_mandir} \ mandir=%{buildroot}%{_mandir} \
bindir=$RPM_BUILD_ROOT%{_bindir} \ bindir=%{buildroot}%{_bindir} \
INSTALL='install -p' INSTALL='install -p'
%files %files
%doc hexedit-%{version}.lsm COPYING Changes %license COPYING
%doc hexedit-%{version}.lsm Changes
%{_bindir}/hexedit %{_bindir}/hexedit
%{_mandir}/man1/hexedit.1* %{_mandir}/man1/hexedit.1*
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.2.13-19
- Cleaning-up spec. License verified.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.2.13-18 * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.2.13-18
- Initial CBL-Mariner import from Fedora 32 (license: MIT). - Initial CBL-Mariner import from Fedora 32 (license: MIT).

Просмотреть файл

@ -1,35 +1,31 @@
Vendor: Microsoft Corporation Summary: Library for the Expert Witness Compression Format (EWF)
Distribution: Mariner
Name: libewf Name: libewf
Version: 20140608 Version: 20140608
Release: 21%{?dist} Release: 22%{?dist}
Summary: Library for the Expert Witness Compression Format (EWF) License: LGPLv3
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://github.com/libyal/libewf
Source0: https://github.com/libyal/legacy/raw/main/%{name}/%{name}-%{version}.tar.gz
License: LGPLv3+
URL: http://sourceforge.net/projects/libewf/
Source0: https://53efc0a7187d0baa489ee347026b8278fe4020f6.googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/%{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: fuse-devel BuildRequires: fuse-devel
BuildRequires: gcc-c++
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: make
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
%description %description
Libewf is a library for support of the Expert Witness Compression Format (EWF), Libewf is a library for support of the Expert Witness Compression Format (EWF),
it support both the SMART format (EWF-S01) and the EnCase format (EWF-E01). it support both the SMART format (EWF-S01) and the EnCase format (EWF-E01).
Libewf allows you to read and write media information within the EWF files. Libewf allows you to read and write media information within the EWF files.
%package -n ewftools %package -n ewftools
Summary: Utilities for the Expert Witness Compression Format (EWF) Summary: Utilities for the Expert Witness Compression Format (EWF)
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: %{name}-tools = %{version}-%{release} Provides: %{name}-tools = %{version}-%{release}
Obsoletes: %{name}-tools <= %{version}-%{release}
%description -n ewftools %description -n ewftools
Several tools for reading and writing EWF files. Several tools for reading and writing EWF files.
@ -37,19 +33,18 @@ It contains tools to acquire, verify and export EWF files.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkg-config
Requires: zlib-devel Requires: zlib-devel
Requires: pkgconfig
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%prep %prep
%setup -q %setup -q
%build %build
# FIXME: Package suffers from c11/inline issues # FIXME: Package suffers from c11/inline issues
# Workaround by appending -std=gnu89 to CFLAGS # Workaround by appending -std=gnu89 to CFLAGS
@ -57,10 +52,10 @@ developing applications that use %{name}.
%configure --disable-static \ %configure --disable-static \
--enable-wide-character-type \ --enable-wide-character-type \
%if "%{version}" <= "20140608" %if "%{version}" <= "20140608"
CFLAGS="${RPM_OPT_FLAGS} -std=gnu89" CFLAGS="%{optflags} -std=gnu89"
%endif %endif
# Remove rpath from libtool # Remove rpath from libtool
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@ -69,16 +64,12 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
%make_build %make_build
%install %install
%make_install %make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find %{buildroot} -type f -name "*.la" -delete -print
%ldconfig_scriptlets %ldconfig_scriptlets
%files %files
%doc AUTHORS NEWS %doc AUTHORS NEWS
%license COPYING %license COPYING
@ -96,6 +87,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_mandir}/man3/*.gz %{_mandir}/man3/*.gz
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 20140608-22
- Cleaning-up spec. License verified.
* Mon Aug 09 2021 Thomas Crain <thcrain@microsoft.com> - 20140608-21 * Mon Aug 09 2021 Thomas Crain <thcrain@microsoft.com> - 20140608-21
- Initial CBL-Mariner import from Fedora 35 (license: MIT). - Initial CBL-Mariner import from Fedora 35 (license: MIT).
- Remove Python 2 support - Remove Python 2 support
@ -249,4 +243,3 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
* Fri Nov 2 2007 kwizart < kwizart at gmail.com > - 0-1.20070512 * Fri Nov 2 2007 kwizart < kwizart at gmail.com > - 0-1.20070512
- Initial package for Fedora - Initial package for Fedora

Просмотреть файл

@ -1,21 +1,23 @@
Vendor: Microsoft Corporation Summary: A tool to manage Windows dynamic disks
Distribution: Mariner
Name: libldm Name: libldm
Version: 0.2.4 Version: 0.2.4
Release: 8%{?dist} Release: 9%{?dist}
Summary: A tool to manage Windows dynamic disks License: LGPLv3+ AND GPLv3+
Vendor: Microsoft Corporation
License: LGPLv3+ and GPLv3+ Distribution: Mariner
URL: https://github.com/mdbooth/libldm URL: https://github.com/mdbooth/libldm
Source0: https://github.com/mdbooth/libldm/archive/%{name}-%{version}.tar.gz Source0: https://github.com/mdbooth/libldm/archive/%{name}-%{version}.tar.gz
BuildRequires: %{_bindir}/xsltproc BuildRequires: %{_bindir}/xsltproc
BuildRequires: autoconf, automake, libtool BuildRequires: autoconf
BuildRequires: automake
BuildRequires: device-mapper-devel >= 1.0
BuildRequires: glib2-devel >= 2.26.0 BuildRequires: glib2-devel >= 2.26.0
BuildRequires: json-glib-devel >= 0.14.0 BuildRequires: json-glib-devel >= 0.14.0
BuildRequires: device-mapper-devel >= 1.0 BuildRequires: libtool
BuildRequires: zlib-devel libuuid-devel readline-devel BuildRequires: libuuid-devel
BuildRequires: readline-devel
BuildRequires: zlib-devel
%description %description
libldm is a library for managing Microsoft Windows dynamic disks, which use libldm is a library for managing Microsoft Windows dynamic disks, which use
@ -25,7 +27,6 @@ exposes this functionality as a command-line tool.
libldm is released under LGPLv3+. ldmtool is released under GPLv3+. libldm is released under LGPLv3+. ldmtool is released under GPLv3+.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -34,7 +35,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%prep %prep
%setup -q -n %{name}-%{name}-%{version} %setup -q -n %{name}-%{name}-%{version}
sed -i -e 's/-Werror //' src/Makefile.* sed -i -e 's/-Werror //' src/Makefile.*
@ -48,28 +48,26 @@ autoreconf -i
%configure --disable-static --disable-gtk-doc %configure --disable-static --disable-gtk-doc
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
%install %install
%make_install %make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find %{buildroot} -type f -name "*.la" -delete -print
%ldconfig_scriptlets %ldconfig_scriptlets
%files %files
%license COPYING.lgpl COPYING.gpl %license COPYING.lgpl COPYING.gpl
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_bindir}/ldmtool %{_bindir}/ldmtool
%files devel %files devel
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/ldm-1.0.pc %{_libdir}/pkgconfig/ldm-1.0.pc
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.2.4-9
- Cleaning-up spec. License verified.
* Mon Mar 21 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.2.4-8 * Mon Mar 21 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.2.4-8
- Adding BR on '%%{_bindir}/xsltproc'. - Adding BR on '%%{_bindir}/xsltproc'.
- Disabled gtk doc generation to remove network dependency during build-time. - Disabled gtk doc generation to remove network dependency during build-time.

Просмотреть файл

@ -1,45 +1,40 @@
Vendor: Microsoft Corporation Summary: Tool to create a timeline of file activity for mounted file systems
Distribution: Mariner
Name: mac-robber Name: mac-robber
Version: 1.02 Version: 1.02
Release: 22%{?dist} Release: 23%{?dist}
Summary: Tool to create a timeline of file activity for mounted file systems License: GPLv2
Vendor: Microsoft Corporation
License: GPLv2+ Distribution: Mariner
URL: http://sourceforge.net/projects/mac-robber/ URL: https://sourceforge.net/projects/mac-robber/
Source0: http://downloads.sourceforge.net/mac-robber/mac-robber-%{version}.tar.gz Source0: http://downloads.sourceforge.net/mac-robber/mac-robber-%{version}.tar.gz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: make
%description %description
mac-robber is a digital forensics and incident response tool that can be used mac-robber is a digital forensics and incident response tool that can be used
with The Sleuth Kit to create a timeline of file activity for mounted with The Sleuth Kit to create a timeline of file activity for mounted
file systems. file systems.
%prep %prep
%setup -q %setup -q
%build %build
%make_build GCC_OPT="%{optflags}" %make_build GCC_OPT="%{optflags}"
%install %install
mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_bindir}
install -pm 0755 mac-robber %{buildroot}%{_bindir} install -pm 0755 mac-robber %{buildroot}%{_bindir}
%files %files
%doc CHANGES README
%license COPYING %license COPYING
%doc CHANGES README
%{_bindir}/mac-robber %{_bindir}/mac-robber
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.02-23
- Cleaning-up spec. License verified.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.02-22 * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.02-22
- Initial CBL-Mariner import from Fedora 35 (license: MIT). - Initial CBL-Mariner import from Fedora 35 (license: MIT).

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -1,8 +1,9 @@
%bcond_with libreport %bcond_with libreport
Summary: The mdadm program controls Linux md devices (software RAID arrays) Summary: The mdadm program controls Linux md devices (software RAID arrays)
Name: mdadm Name: mdadm
Version: 4.1 Version: 4.1
Release: 7%{?dist} Release: 8%{?dist}
License: GPLv2+ License: GPLv2+
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
@ -16,14 +17,16 @@ Source5: mdadm.conf
Source6: mdadm_event.conf Source6: mdadm_event.conf
Source7: raid-check.timer Source7: raid-check.timer
Source8: raid-check.service Source8: raid-check.service
# Build without -Werror. From Debian. # Build without -Werror. From Debian.
Patch00: https://sources.debian.org/data/main/m/mdadm/4.1-2/debian/patches/debian-no-Werror.diff#/mdadm-4.1-no-Werror.patch Patch00: https://sources.debian.org/data/main/m/mdadm/4.1-2/debian/patches/debian-no-Werror.diff#/mdadm-4.1-no-Werror.patch
# Fedora customization patches # Fedora customization patches, keeping in Mariner for now.
Patch97: mdadm-3.3-udev.patch Patch97: mdadm-3.3-udev.patch
Patch98: mdadm-2.5.2-static.patch Patch98: mdadm-2.5.2-static.patch
BuildRequires: binutils-devel BuildRequires: binutils-devel
BuildRequires: gcc BuildRequires: gcc
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
Requires(post): coreutils Requires(post): coreutils
Requires(post): systemd Requires(post): systemd
Requires(postun): coreutils Requires(postun): coreutils
@ -96,6 +99,9 @@ install -m644 %{SOURCE6} %{buildroot}%{_sysconfdir}/libreport/events.d
%endif %endif
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 4.1-8
- Cleaning-up spec. License verified.
* Tue Jan 18 2022 Thomas Crain <thcrain@microsoft.com> - 4.1-7 * Tue Jan 18 2022 Thomas Crain <thcrain@microsoft.com> - 4.1-7
- Disable usage of libreport by default - Disable usage of libreport by default
- License verified - License verified

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -1,19 +1,20 @@
Summary: NTFS-3G plugin for reading "system compressed" files
Name: ntfs-3g-system-compression
Version: 1.0
Release: 5%{?dist}
License: GPLv2+
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
Name: ntfs-3g-system-compression URL: https://github.com/ebiggers/ntfs-3g-system-compression
Summary: NTFS-3G plugin for reading "system compressed" files Source0: https://github.com/ebiggers/ntfs-3g-system-compression/archive/v%{version}/ntfs-3g-system-compression-%{version}.tar.gz
Version: 1.0
Release: 4%{?dist}
License: GPLv2+
URL: https://github.com/ebiggers/ntfs-3g-system-compression
Source0: https://github.com/ebiggers/ntfs-3g-system-compression/archive/v%{version}/ntfs-3g-system-compression-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig(libntfs-3g) >= 2017.3.23
BuildRequires: fuse-devel BuildRequires: fuse-devel
BuildRequires: gcc
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: pkgconfig(libntfs-3g) >= 2017.3.23
%description %description
System compression, also known as "Compact OS", is a Windows feature that System compression, also known as "Compact OS", is a Windows feature that
@ -37,7 +38,7 @@ autoreconf -i
%install %install
%make_install %make_install
rm -rf %{buildroot}%{_libdir}/ntfs-3g/*.la find %{buildroot} -type f -name "*.la" -delete -print
%files %files
%doc README.md %doc README.md
@ -46,6 +47,9 @@ rm -rf %{buildroot}%{_libdir}/ntfs-3g/*.la
%{_libdir}/ntfs-3g/ntfs-plugin-80000017.so %{_libdir}/ntfs-3g/ntfs-plugin-80000017.so
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.0-5
- Cleaning-up spec. License verified.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.0-4 * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.0-4
- Initial CBL-Mariner import from Fedora 32 (license: MIT). - Initial CBL-Mariner import from Fedora 32 (license: MIT).

Просмотреть файл

@ -1,40 +1,45 @@
Summary: Expect for Perl
Name: perl-Expect
Version: 1.35
Release: 13%{?dist}
License: GPL+ OR Artistic
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
Name: perl-Expect URL: https://metacpan.org/release/Expect
Version: 1.35 Source0: https://cpan.metacpan.org/modules/by-module/Expect/Expect-%{version}.tar.gz#/perl-Expect-%{version}.tar.gz
Release: 12%{?dist}
Summary: Expect for Perl BuildArch: noarch
License: GPL+ or Artistic
URL: https://metacpan.org/release/Expect
Source0: https://cpan.metacpan.org/modules/by-module/Expect/Expect-%{version}.tar.gz#/perl-Expect-%{version}.tar.gz
BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 BuildRequires: sed
BuildRequires: sed
# Module Runtime # Module Runtime
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Errno)
BuildRequires: perl(Exporter)
BuildRequires: perl(Fcntl)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IO::Pty) >= 1.11
BuildRequires: perl(IO::Tty) >= 1.11
BuildRequires: perl(POSIX)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Test Suite # Test Suite
BuildRequires: perl(Config) BuildRequires: perl(Config)
BuildRequires: perl(File::Temp) BuildRequires: perl(Errno)
BuildRequires: perl(Test::Builder) BuildRequires: perl(Exporter)
BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IO::Pty) >= 1.11
BuildRequires: perl(IO::Tty) >= 1.11
BuildRequires: perl(POSIX)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description %description
This module provides Expect-like functionality to Perl. Expect is This module provides Expect-like functionality to Perl. Expect is
@ -59,16 +64,15 @@ find %{buildroot} -type f -name .packlist -delete
make test make test
%files %files
%if 0%{?_licensedir:1}
%license LICENSE %license LICENSE
%else
%doc LICENSE
%endif
%doc Changes README.md examples/ tutorial/ %doc Changes README.md examples/ tutorial/
%{perl_vendorlib}/Expect.pm %{perl_vendorlib}/Expect.pm
%{_mandir}/man3/Expect.3* %{_mandir}/man3/Expect.3*
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.35-13
- Cleaning-up spec. License verified.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.35-12 * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.35-12
- Initial CBL-Mariner import from Fedora 32 (license: MIT). - Initial CBL-Mariner import from Fedora 32 (license: MIT).

Просмотреть файл

@ -1,12 +1,14 @@
Summary: Perl interface to pseudo tty's
Name: perl-IO-Tty Name: perl-IO-Tty
Version: 1.14 Version: 1.14
Release: 3%{?dist} Release: 4%{?dist}
Summary: Perl interface to pseudo tty's # Mostly licensed same as Perl. IO-Tty-1.14/Tty.xs is licensed under BSD.
License: (GPL+ or Artistic) and BSD License: (GPL+ OR Artistic) AND BSD
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
URL: https://metacpan.org/release/IO-Tty URL: https://metacpan.org/release/IO-Tty
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Tty-%{version}.tar.gz#/perl-IO-Tty-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Tty-%{version}.tar.gz#/perl-IO-Tty-%{version}.tar.gz
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
@ -15,21 +17,24 @@ BuildRequires: make
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(Cwd)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime # Module Runtime
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(Cwd)
BuildRequires: perl(DynaLoader) BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(IO::File) BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Handle)
BuildRequires: perl(POSIX) BuildRequires: perl(POSIX)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
# Test Suite # Test Suite
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -56,7 +61,8 @@ find %{buildroot} -type f -name '*.bs' -empty -delete
make test make test
%files %files
%doc ChangeLog README.md %license README.md
%doc ChangeLog
%{perl_vendorarch}/auto/IO/ %{perl_vendorarch}/auto/IO/
%{perl_vendorarch}/IO/ %{perl_vendorarch}/IO/
%{_mandir}/man3/IO::Pty.3* %{_mandir}/man3/IO::Pty.3*
@ -64,6 +70,9 @@ make test
%{_mandir}/man3/IO::Tty::Constant.3* %{_mandir}/man3/IO::Tty::Constant.3*
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.14-4
- Cleaning-up spec. License verified.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.14-3 * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.14-3
- Initial CBL-Mariner import from Fedora 32 (license: MIT). - Initial CBL-Mariner import from Fedora 32 (license: MIT).

Просмотреть файл

@ -1,12 +1,13 @@
Vendor: Microsoft Corporation Summary: Represent and manage a libvirt hypervisor connection
Distribution: Mariner
Name: perl-Sys-Virt Name: perl-Sys-Virt
Version: 6.1.0 Version: 6.1.0
Release: 3%{?dist} Release: 4%{?dist}
Summary: Represent and manage a libvirt hypervisor connection License: GPLv2+ OR Artistic
License: GPLv2+ or Artistic Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://metacpan.org/release/Sys-Virt URL: https://metacpan.org/release/Sys-Virt
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANBERR/Sys-Virt-v%{version}.tar.gz#/perl-Sys-Virt-v%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/D/DA/DANBERR/Sys-Virt-v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
# Build # Build
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
@ -16,27 +17,30 @@ BuildRequires: make
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: sed
BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build)
BuildRequires: sed BuildRequires: perl(XSLoader)
# Runtime # Runtime
BuildRequires: perl(overload) BuildRequires: perl(overload)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
%if %{with_check} %if %{with_check}
# Tests only
BuildRequires: perl(base)
BuildRequires: perl(Sys::Hostname) BuildRequires: perl(Sys::Hostname)
# Optional tests only
BuildRequires: perl(Test::CPAN::Changes)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
BuildRequires: perl(Time::HiRes) BuildRequires: perl(Time::HiRes)
BuildRequires: perl(XML::XPath) BuildRequires: perl(XML::XPath)
BuildRequires: perl(XML::XPath::XMLParser) BuildRequires: perl(XML::XPath::XMLParser)
# Optional tests only # Tests only
BuildRequires: perl(Test::CPAN::Changes) BuildRequires: perl(base)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
%endif %endif
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description %description
@ -53,9 +57,9 @@ perl Build.PL installdirs=vendor
./Build ./Build
%install %install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 ./Build install destdir=%{buildroot} create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} %{buildroot}/*
%check %check
./Build test ./Build test
@ -68,6 +72,9 @@ perl Build.PL installdirs=vendor
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 6.1.0-4
- Cleaning-up spec. License verified.
* Tue Jan 18 2022 Thomas Crain <thcrain@microsoft.com> - 6.1.0-3 * Tue Jan 18 2022 Thomas Crain <thcrain@microsoft.com> - 6.1.0-3
- Only pull in test dependencies during check builds - Only pull in test dependencies during check builds
- License verified - License verified

Просмотреть файл

@ -1,14 +1,15 @@
Summary: Disk scrubbing program
Name: scrub
Version: 2.5.2
Release: 18%{?dist}
License: GPLv2+
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
Name: scrub URL: https://code.google.com/archive/p/diskscrub
Version: 2.5.2 Source0: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/diskscrub/%{name}-%{version}.tar.bz2
Release: 17%{?dist}
Summary: Disk scrubbing program
License: GPLv2+
URL: https://code.google.com/archive/p/diskscrub
Source0: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/diskscrub/%{name}-%{version}.tar.bz2
BuildRequires: gcc BuildRequires: gcc
%description %description
Scrub writes patterns on files or disk devices to make Scrub writes patterns on files or disk devices to make
retrieving the data more difficult. It operates in one of three retrieving the data more difficult. It operates in one of three
@ -29,12 +30,15 @@ make %{?_smp_mflags}
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
%files %files
%doc DISCLAIMER COPYING %license COPYING
%doc README ChangeLog %doc DISCLAIMER README ChangeLog
%{_bindir}/scrub %{_bindir}/scrub
%{_mandir}/man1/scrub.1* %{_mandir}/man1/scrub.1*
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.5.2-18
- Cleaning-up spec. License verified.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.5.2-17 * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.5.2-17
- Initial CBL-Mariner import from Fedora 32 (license: MIT). - Initial CBL-Mariner import from Fedora 32 (license: MIT).

Просмотреть файл

@ -1,37 +1,21 @@
Vendor: Microsoft Corporation Summary: The Sleuth Kit (TSK)
Distribution: Mariner
# Could be part of http://fedoraproject.org/wiki/LukeMacken/SecurityLiveCD
Name: sleuthkit Name: sleuthkit
Version: 4.9.0 Version: 4.9.0
Release: 3%{?dist} Release: 4%{?dist}
Summary: The Sleuth Kit (TSK) License: BSD AND CPL AND GPLv2+ AND IBM AND MIT
Vendor: Microsoft Corporation
License: CPL and IBM and GPLv2+ Distribution: Mariner
URL: http://www.sleuthkit.org URL: https://www.sleuthkit.org
Source0: https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-%{version}/sleuthkit-%{version}.tar.gz Source0: https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-%{version}/sleuthkit-%{version}.tar.gz
#BuildRequires: libtool
# afflib - BSD with advertising, GPL incompatible
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: afflib-devel >= 3.3.4
# libewf - Newer versions are plain BSD (older are BSD with advertising)
BuildRequires: libewf-devel BuildRequires: libewf-devel
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
%{?_with_java: Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: java-devel >= 1.6.0 Requires: file
BuildRequires: jpackage-utils Requires: mac-robber
Requires: java >= 1.6.0
Requires: jpackage-utils
}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: file
Requires: mac-robber
%description %description
The Sleuth Kit (TSK) is a collection of UNIX-based command line tools that The Sleuth Kit (TSK) is a collection of UNIX-based command line tools that
@ -39,14 +23,12 @@ allow you to investigate a computer. The current focus of the tools is the
file and volume systems and TSK supports FAT, Ext2/3, NTFS, UFS, file and volume systems and TSK supports FAT, Ext2/3, NTFS, UFS,
and ISO 9660 file systems and ISO 9660 file systems
%package libs %package libs
Summary: Library for %{name} Summary: Library for %{name}
%description libs %description libs
The %{name}-libs package contains library for %{name}. The %{name}-libs package contains library for %{name}.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -56,15 +38,12 @@ Requires: sqlite-devel%{?_isa}
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q
%build %build
#export LIBS='-lpthread -ldl'
%configure --disable-static \ %configure --disable-static \
%{!?_with_java:--disable-java} --disable-java
# remove rpath from libtool # remove rpath from libtool
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -72,15 +51,12 @@ sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build %make_build
%install %install
%make_install INSTALL="install -p" %make_install INSTALL="install -p"
find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -type f -name "*.la" -delete -print
%ldconfig_scriptlets libs %ldconfig_scriptlets libs
%files %files
%doc ChangeLog.txt NEWS.txt %doc ChangeLog.txt NEWS.txt
%license licenses/* %license licenses/*
@ -89,8 +65,6 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_bindir}/blkcat %{_bindir}/blkcat
%{_bindir}/blkls %{_bindir}/blkls
%{_bindir}/blkstat %{_bindir}/blkstat
#{_bindir}/disk_sreset
#{_bindir}/disk_stat
#fcat conflicts with freeze fcat #fcat conflicts with freeze fcat
%exclude %{_bindir}/fcat %exclude %{_bindir}/fcat
%{_bindir}/ffind %{_bindir}/ffind
@ -129,8 +103,6 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_mandir}/man1/blkcat.1* %{_mandir}/man1/blkcat.1*
%{_mandir}/man1/blkls.1* %{_mandir}/man1/blkls.1*
%{_mandir}/man1/blkstat.1* %{_mandir}/man1/blkstat.1*
#{_mandir}/man1/disk_sreset.1*
#{_mandir}/man1/disk_stat.1*
%exclude %{_mandir}/man1/fcat.1* %exclude %{_mandir}/man1/fcat.1*
%{_mandir}/man1/ffind.1* %{_mandir}/man1/ffind.1*
%{_mandir}/man1/fls.1* %{_mandir}/man1/fls.1*
@ -167,8 +139,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_includedir}/tsk/ %{_includedir}/tsk/
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 4.9.0-4
- Cleaning-up spec. License verified.
* Wed Nov 03 2021 Muhammad Falak <mwani@microsft.com> - 4.9.0-3 * Wed Nov 03 2021 Muhammad Falak <mwani@microsft.com> - 4.9.0-3
- Remove epoch - Remove epoch
@ -343,5 +317,3 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
* Mon Oct 29 2007 kwizart < kwizart at gmail.com > - 2.09-1 * Mon Oct 29 2007 kwizart < kwizart at gmail.com > - 2.09-1
- Initial package for Fedora - Initial package for Fedora
(inspired from Oden Eriksson mdk spec). (inspired from Oden Eriksson mdk spec).

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -2,8 +2,6 @@
"Signatures": { "Signatures": {
"index.html": "1e842f92dfc8ca5c7aa515a5a41b512681f7a591eb27db821996b9832f1c6b1f", "index.html": "1e842f92dfc8ca5c7aa515a5a41b512681f7a591eb27db821996b9832f1c6b1f",
"sparsify.c": "a31d66ebad0a8177d4d4def2f10baa09f8d21cf47515dd754668a6bb70dd3870", "sparsify.c": "a31d66ebad0a8177d4d4def2f10baa09f8d21cf47515dd754668a6bb70dd3870",
"zerofree-1.1.1.tgz": "956bc861b55ba0a2b7593c58d32339dab1a0e7da6ea2b813d27c80f08b723867", "zerofree-1.1.1.tgz": "956bc861b55ba0a2b7593c58d32339dab1a0e7da6ea2b813d27c80f08b723867"
"zerofree.8": "d2e3c63d37a9a83676126da3bf89ac7c554bc443e1ab699fd916017f720d6e05",
"zerofree.sgml": "46f54d3ea8af335309e7103b35b5fc931f2ff09e2d2d93932ca1579f99a55e71"
} }
} }

Просмотреть файл

@ -1,26 +1,17 @@
Vendor: Microsoft Corporation
Distribution: Mariner
Summary: Utility to force unused ext2/3/4 inodes and blocks to zero Summary: Utility to force unused ext2/3/4 inodes and blocks to zero
Name: zerofree Name: zerofree
Version: 1.1.1 Version: 1.1.1
Release: 6%{?dist} Release: 7%{?dist}
License: GPLv2 License: GPLv2
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://frippery.org/uml/ URL: https://frippery.org/uml/
Source0: https://frippery.org/uml/%{name}-%{version}.tgz Source0: https://frippery.org/uml/%{name}-%{version}.tgz
Source1: https://frippery.org/uml/sparsify.c Source1: https://frippery.org/uml/sparsify.c
Source2: https://frippery.org/uml/index.html Source2: https://frippery.org/uml/index.html
# zerofree.sgml is the source for the man page from Debian. BuildRequires: e2fsprogs-devel
# Unfortunately we cannot build this in Fedora because of an apparent BuildRequires: gcc
# bug in our DocBook tools. Therefore I also include the generated
# man page (generated on a Debian system from this source).
Source3: zerofree.sgml
Source4: zerofree.8
BuildRequires: gcc, e2fsprogs-devel
%description %description
zerofree is a utility to set unused filesystem inodes and blocks of an zerofree is a utility to set unused filesystem inodes and blocks of an
@ -34,33 +25,29 @@ WARNING: The filesystem to be processed should be unmounted or mounted
read-only. The tool tries to check this before running, but you read-only. The tool tries to check this before running, but you
should be careful. should be careful.
%prep %prep
%setup -q %setup -q
cp -p %{SOURCE1} . cp -p %{SOURCE1} .
cp -p %{SOURCE2} . cp -p %{SOURCE2} .
%build %build
make CC="gcc $RPM_OPT_FLAGS" make CC="gcc %{optflags}"
gcc $RPM_OPT_FLAGS sparsify.c -o sparsify -lext2fs gcc %{optflags} sparsify.c -o sparsify -lext2fs
%install %install
install -D -p -m 755 zerofree $RPM_BUILD_ROOT%{_sbindir}/zerofree install -D -p -m 755 zerofree %{buildroot}%{_sbindir}/zerofree
install -D -p -m 755 sparsify $RPM_BUILD_ROOT%{_sbindir}/sparsify install -D -p -m 755 sparsify %{buildroot}%{_sbindir}/sparsify
install -D -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man8/zerofree.8
%files %files
%license COPYING %license COPYING
%doc index.html %doc index.html
%{_sbindir}/zerofree %{_sbindir}/zerofree
%{_sbindir}/sparsify %{_sbindir}/sparsify
%{_mandir}/man8/zerofree.8*
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.1.1-7
- Cleaning-up spec. License verified.
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.1.1-6 * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.1.1-6
- Initial CBL-Mariner import from Fedora 32 (license: MIT). - Initial CBL-Mariner import from Fedora 32 (license: MIT).

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -1,32 +1,46 @@
%define _hardened_build 1
Summary: ZFS ported to Linux FUSE
Name: zfs-fuse
Version: 0.7.2.2
Release: 17%{?dist}
License: CDDL
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
%define _hardened_build 1 URL: https://github.com/gordan-bobic/zfs-fuse
Name: zfs-fuse Source00: http://github.com/gordan-bobic/zfs-fuse/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Version: 0.7.2.2 Source01: zfs-fuse.service
Release: 16%{?dist} Source02: zfs-fuse.scrub
Summary: ZFS ported to Linux FUSE Source03: zfs-fuse.sysconfig
License: CDDL Source04: zfs-fuse-helper
URL: https://github.com/gordan-bobic/zfs-fuse Patch0: zfs-fuse-0.7.2.2-stack.patch
Source00: http://github.com/gordan-bobic/zfs-fuse/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch1: zfs-fuse-0.7.2.2-python3.patch
Source01: zfs-fuse.service Patch2: tirpc.patch
Source02: zfs-fuse.scrub Patch3: common.patch
Source03: zfs-fuse.sysconfig
Source04: zfs-fuse-helper
Patch0: zfs-fuse-0.7.2.2-stack.patch
Patch1: zfs-fuse-0.7.2.2-python3.patch
Patch2: tirpc.patch
Patch3: common.patch
BuildRequires: gcc
BuildRequires: fuse-devel libaio-devel perl-generators scons gcc-c++
BuildRequires: zlib-devel openssl-devel libattr-devel lzo-devel bzip2-devel xz-devel
BuildRequires: libtirpc-devel
%ifnarch aarch64 ppc64le
BuildRequires: /usr/bin/execstack
%endif
BuildRequires: systemd
Requires: fuse >= 2.7.4-1
# (2010 karsten@redhat.com) zfs-fuse doesn't have s390(x) implementations for atomic instructions # (2010 karsten@redhat.com) zfs-fuse doesn't have s390(x) implementations for atomic instructions
ExcludeArch: s390 s390x aarch64 ExcludeArch: s390 s390x aarch64
BuildRequires: bzip2-devel
BuildRequires: fuse-devel
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libaio-devel
BuildRequires: libattr-devel
BuildRequires: libtirpc-devel
BuildRequires: lzo-devel
BuildRequires: openssl-devel
BuildRequires: perl-generators
BuildRequires: scons
BuildRequires: systemd
BuildRequires: xz-devel
BuildRequires: zlib-devel
%ifnarch aarch64 ppc64le
BuildRequires: %{_bindir}/execstack
%endif
Requires: fuse >= 2.7.4-1
%description %description
ZFS is an advanced modern general-purpose filesystem from Sun ZFS is an advanced modern general-purpose filesystem from Sun
@ -38,10 +52,10 @@ operating system.
%prep %prep
%setup -q %setup -q
%patch0 -p0 %patch0
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p0 %patch3
f=LICENSE f=LICENSE
mv $f $f.iso88591 mv $f $f.iso88591
@ -74,14 +88,14 @@ install -Dp -m 0755 %{SOURCE4} %{buildroot}%{_sbindir}/zfs-fuse-helper
%ifnarch aarch64 ppc64le %ifnarch aarch64 ppc64le
#set stack not executable, BZ 911150 #set stack not executable, BZ 911150
for i in zdb zfs zfs-fuse zpool ztest; do for i in zdb zfs zfs-fuse zpool ztest; do
/usr/bin/execstack -c %{buildroot}%{_sbindir}/$i %{_bindir}/execstack -c %{buildroot}%{_sbindir}/$i
done done
%endif %endif
%post %post
# Move cache if upgrading # Move cache if upgrading
oldcache=/etc/zfs/zpool.cache # this changed per 0.6.9, only needed when upgrading from earlier versions oldcache=%{_sysconfdir}/zfs/zpool.cache # this changed per 0.6.9, only needed when upgrading from earlier versions
newcache=/var/lib/zfs/zpool.cache newcache=%{_sharedstatedir}/zfs/zpool.cache
if [[ -f $oldcache && ! -e $newcache ]]; then if [[ -f $oldcache && ! -e $newcache ]]; then
echo "Moving existing zpool.cache to new location" echo "Moving existing zpool.cache to new location"
@ -99,10 +113,10 @@ fi
%systemd_preun zfs-fuse.service %systemd_preun zfs-fuse.service
%postun %postun
%systemd_postun_with_restart zfs-fuse.service %systemd_postun_with_restart zfs-fuse.service
echo "Removing files since we removed the last package" echo "Removing files since we removed the last package"
rm -rf /var/run/zfs rm -rf %{_var}/run/zfs
rm -rf /var/lock/zfs rm -rf %{_var}/lock/zfs
%files %files
%license LICENSE %license LICENSE
@ -127,6 +141,9 @@ rm -rf /var/lock/zfs
%{_mandir}/man8/zstreamdump.8.gz %{_mandir}/man8/zstreamdump.8.gz
%changelog %changelog
* Fri Apr 01 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.7.2.2-17
- Cleaning-up spec.
* Tue Jan 18 2022 Thomas Crain <thcrain@microsoft.com> - 0.7.2.2-16 * Tue Jan 18 2022 Thomas Crain <thcrain@microsoft.com> - 0.7.2.2-16
- Remove copying of RPM's config.guess/config.sub into build dir (not shipped by RPM anymore) - Remove copying of RPM's config.guess/config.sub into build dir (not shipped by RPM anymore)
- Update Source0 URL - Update Source0 URL

Просмотреть файл

@ -9422,7 +9422,7 @@
"other": { "other": {
"name": "libewf", "name": "libewf",
"version": "20140608", "version": "20140608",
"downloadUrl": "https://53efc0a7187d0baa489ee347026b8278fe4020f6.googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-20140608.tar.gz" "downloadUrl": "https://github.com/libyal/legacy/raw/main/libewf/libewf-20140608.tar.gz"
} }
} }
}, },