Skip to content

Commit 22964c8

Browse files
committed
Add apk2solv man page
1 parent 5c99be4 commit 22964c8

File tree

4 files changed

+133
-1
lines changed

4 files changed

+133
-1
lines changed

doc/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ IF (ENABLE_APPDATA)
4242
SET (libsolv_MANPAGES1 ${libsolv_MANPAGES1} appdata2solv.1)
4343
ENDIF (ENABLE_APPDATA)
4444

45+
IF (ENABLE_APK)
46+
SET (libsolv_MANPAGES1 ${libsolv_MANPAGES1} apk2solv.1)
47+
ENDIF (ENABLE_APK)
48+
4549
# prepend gen directory
4650
STRING(REGEX REPLACE "([^;]+)" "gen/\\1" libsolv_MANPAGES1 "${libsolv_MANPAGES1}")
4751
STRING(REGEX REPLACE "([^;]+)" "gen/\\1" libsolv_MANPAGES3 "${libsolv_MANPAGES3}")

doc/Makefile.gen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ man3: libsolv.3 libsolv-bindings.3 libsolv-constantids.3 libsolv-history.3 libso
77

88
man1: mergesolv.1 dumpsolv.1 installcheck.1 testsolv.1 rpmdb2solv.1 rpms2solv.1 \
99
rpmmd2solv.1 repomdxml2solv.1 updateinfoxml2solv.1 deltainfoxml2solv.1 \
10-
helix2solv.1 susetags2solv.1 comps2solv.1 deb2solv.1 mdk2solv.1 \
10+
helix2solv.1 susetags2solv.1 comps2solv.1 deb2solv.1 mdk2solv.1 apk2solv.1 \
1111
archpkgs2solv.1 archrepo2solv.1 appdata2solv.1 repo2solv.1 solv.1
1212

1313
html: libsolv.html libsolv-bindings.html libsolv-constantids.html libsolv-history.html libsolv-pool.html

doc/apk2solv.txt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
apk2solv(1)
2+
============
3+
:man manual: LIBSOLV
4+
:man source: libsolv
5+
6+
7+
Name
8+
----
9+
apk2solv - convert one or more apk package files into a solv file
10+
11+
Synopsis
12+
--------
13+
*apk2solv* ['OPTIONS'] 'PKG1.apk' ...
14+
15+
Description
16+
-----------
17+
The apk2solv tool converts the meta data from one or more
18+
Apk packages into the solv file written to standard output.
19+
20+
*-m* 'MANIFESTFILE'::
21+
Read the rpm file names from the specified 'MANIFESTFILE'. You can
22+
use *-* to read the manifest from standard input.
23+
24+
*-0*::
25+
Use a null byte as line terminator for manifest files instead of
26+
a newline. This is useful if the file names can contain newlines.
27+
See also the *-print0* option in *find*.
28+
29+
*-C*::
30+
Add the apk checksum to the meta data.
31+
32+
*-r*::
33+
Enable repository metadata mode. The specified file is not an
34+
apk package, but a file containing repository metadata (e.g.
35+
'APKINDEX.tar.gz').
36+
37+
*-l*::
38+
Enable local database mode. The specified file is not an
39+
apk package, but a database file containing information about
40+
the installed packages (e.g. '/lib/apk/db/installed').
41+
42+
See Also
43+
--------
44+
apk(8)
45+
46+
Author
47+
------
48+
Michael Schroeder <mls@suse.de>
49+
50+
////
51+
vim: syntax=asciidoc
52+
////

doc/gen/apk2solv.1

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
'\" t
2+
.\" Title: apk2solv
3+
.\" Author: [see the "Author" section]
4+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5+
.\" Date: 04/15/2025
6+
.\" Manual: LIBSOLV
7+
.\" Source: libsolv
8+
.\" Language: English
9+
.\"
10+
.TH "APK2SOLV" "1" "04/15/2025" "libsolv" "LIBSOLV"
11+
.\" -----------------------------------------------------------------
12+
.\" * Define some portability stuff
13+
.\" -----------------------------------------------------------------
14+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15+
.\" http://bugs.debian.org/507673
16+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18+
.ie \n(.g .ds Aq \(aq
19+
.el .ds Aq '
20+
.\" -----------------------------------------------------------------
21+
.\" * set default formatting
22+
.\" -----------------------------------------------------------------
23+
.\" disable hyphenation
24+
.nh
25+
.\" disable justification (adjust text to left margin only)
26+
.ad l
27+
.\" -----------------------------------------------------------------
28+
.\" * MAIN CONTENT STARTS HERE *
29+
.\" -----------------------------------------------------------------
30+
.SH "NAME"
31+
apk2solv \- convert one or more apk package files into a solv file
32+
.SH "SYNOPSIS"
33+
.sp
34+
\fBapk2solv\fR [\fIOPTIONS\fR] \fIPKG1\&.apk\fR \&...
35+
.SH "DESCRIPTION"
36+
.sp
37+
The apk2solv tool converts the meta data from one or more Apk packages into the solv file written to standard output\&.
38+
.PP
39+
\fB\-m\fR \fIMANIFESTFILE\fR
40+
.RS 4
41+
Read the rpm file names from the specified
42+
\fIMANIFESTFILE\fR\&. You can use
43+
\fB\-\fR
44+
to read the manifest from standard input\&.
45+
.RE
46+
.PP
47+
\fB\-0\fR
48+
.RS 4
49+
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
50+
\fB\-print0\fR
51+
option in
52+
\fBfind\fR\&.
53+
.RE
54+
.PP
55+
\fB\-C\fR
56+
.RS 4
57+
Add the apk checksum to the meta data\&.
58+
.RE
59+
.PP
60+
\fB\-r\fR
61+
.RS 4
62+
Enable repository metadata mode\&. The specified file is not an apk package, but a file containing repository metadata (e\&.g\&.
63+
\fIAPKINDEX\&.tar\&.gz\fR)\&.
64+
.RE
65+
.PP
66+
\fB\-l\fR
67+
.RS 4
68+
Enable local database mode\&. The specified file is not an apk package, but a database file containing information about the installed packages (e\&.g\&.
69+
\fI/lib/apk/db/installed\fR)\&.
70+
.RE
71+
.SH "SEE ALSO"
72+
.sp
73+
apk(8)
74+
.SH "AUTHOR"
75+
.sp
76+
Michael Schroeder <mls@suse\&.de>

0 commit comments

Comments
 (0)