1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-05 12:45:46 +01:00

Add apk2solv man page

This commit is contained in:
Michael Schroeder
2025-04-15 13:11:30 +02:00
parent 5c99be44c4
commit 22964c8a91
4 changed files with 133 additions and 1 deletions

View File

@@ -42,6 +42,10 @@ IF (ENABLE_APPDATA)
SET (libsolv_MANPAGES1 ${libsolv_MANPAGES1} appdata2solv.1)
ENDIF (ENABLE_APPDATA)
IF (ENABLE_APK)
SET (libsolv_MANPAGES1 ${libsolv_MANPAGES1} apk2solv.1)
ENDIF (ENABLE_APK)
# prepend gen directory
STRING(REGEX REPLACE "([^;]+)" "gen/\\1" libsolv_MANPAGES1 "${libsolv_MANPAGES1}")
STRING(REGEX REPLACE "([^;]+)" "gen/\\1" libsolv_MANPAGES3 "${libsolv_MANPAGES3}")

View File

@@ -7,7 +7,7 @@ man3: libsolv.3 libsolv-bindings.3 libsolv-constantids.3 libsolv-history.3 libso
man1: mergesolv.1 dumpsolv.1 installcheck.1 testsolv.1 rpmdb2solv.1 rpms2solv.1 \
rpmmd2solv.1 repomdxml2solv.1 updateinfoxml2solv.1 deltainfoxml2solv.1 \
helix2solv.1 susetags2solv.1 comps2solv.1 deb2solv.1 mdk2solv.1 \
helix2solv.1 susetags2solv.1 comps2solv.1 deb2solv.1 mdk2solv.1 apk2solv.1 \
archpkgs2solv.1 archrepo2solv.1 appdata2solv.1 repo2solv.1 solv.1
html: libsolv.html libsolv-bindings.html libsolv-constantids.html libsolv-history.html libsolv-pool.html

52
doc/apk2solv.txt Normal file
View File

@@ -0,0 +1,52 @@
apk2solv(1)
============
:man manual: LIBSOLV
:man source: libsolv
Name
----
apk2solv - convert one or more apk package files into a solv file
Synopsis
--------
*apk2solv* ['OPTIONS'] 'PKG1.apk' ...
Description
-----------
The apk2solv tool converts the meta data from one or more
Apk packages into the solv file written to standard output.
*-m* 'MANIFESTFILE'::
Read the rpm file names from the specified 'MANIFESTFILE'. You can
use *-* to read the manifest from standard input.
*-0*::
Use a null byte as line terminator for manifest files instead of
a newline. This is useful if the file names can contain newlines.
See also the *-print0* option in *find*.
*-C*::
Add the apk checksum to the meta data.
*-r*::
Enable repository metadata mode. The specified file is not an
apk package, but a file containing repository metadata (e.g.
'APKINDEX.tar.gz').
*-l*::
Enable local database mode. The specified file is not an
apk package, but a database file containing information about
the installed packages (e.g. '/lib/apk/db/installed').
See Also
--------
apk(8)
Author
------
Michael Schroeder <mls@suse.de>
////
vim: syntax=asciidoc
////

76
doc/gen/apk2solv.1 Normal file
View File

@@ -0,0 +1,76 @@
'\" t
.\" Title: apk2solv
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 04/15/2025
.\" Manual: LIBSOLV
.\" Source: libsolv
.\" Language: English
.\"
.TH "APK2SOLV" "1" "04/15/2025" "libsolv" "LIBSOLV"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
apk2solv \- convert one or more apk package files into a solv file
.SH "SYNOPSIS"
.sp
\fBapk2solv\fR [\fIOPTIONS\fR] \fIPKG1\&.apk\fR \&...
.SH "DESCRIPTION"
.sp
The apk2solv tool converts the meta data from one or more Apk packages into the solv file written to standard output\&.
.PP
\fB\-m\fR \fIMANIFESTFILE\fR
.RS 4
Read the rpm file names from the specified
\fIMANIFESTFILE\fR\&. You can use
\fB\-\fR
to read the manifest from standard input\&.
.RE
.PP
\fB\-0\fR
.RS 4
Use a null byte as line terminator for manifest files instead of a newline\&. This is useful if the file names can contain newlines\&. See also the
\fB\-print0\fR
option in
\fBfind\fR\&.
.RE
.PP
\fB\-C\fR
.RS 4
Add the apk checksum to the meta data\&.
.RE
.PP
\fB\-r\fR
.RS 4
Enable repository metadata mode\&. The specified file is not an apk package, but a file containing repository metadata (e\&.g\&.
\fIAPKINDEX\&.tar\&.gz\fR)\&.
.RE
.PP
\fB\-l\fR
.RS 4
Enable local database mode\&. The specified file is not an apk package, but a database file containing information about the installed packages (e\&.g\&.
\fI/lib/apk/db/installed\fR)\&.
.RE
.SH "SEE ALSO"
.sp
apk(8)
.SH "AUTHOR"
.sp
Michael Schroeder <mls@suse\&.de>