...
 
Commits (2)
project(akabei)
include(Manpage)
install(DIRECTORY ./
DESTINATION "/usr/share/man/man8"
FILES_MATCHING PATTERN "*.8.gz"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ WORLD_READ
)
install(DIRECTORY ./
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man5"
FILES_MATCHING PATTERN "*.5.gz"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ WORLD_READ
)
\ No newline at end of file
if (A2X_FOUND)
add_manpage(akabei 8)
add_manpage(pakabei 8)
add_manpage(akabei-clean-cache 8)
add_manpage(akabei-conf-import 8)
add_manpage(akabei-db-import 8)
add_manpage(akabei-key 8)
add_manpage(akabei.conf 5)
else()
MESSAGE(WARNING "Unable to find the a2x executable, the man pages will not be generated.")
endif()
......@@ -54,6 +54,9 @@ BUGS
----
Report any bug in the official Chakra BugTracker, https://code.chakralinux.org in the Akabei section. Try to include as much detail as possible in your explanation.
SEE ALSO
--------
akabei.conf(5), akabei-config(8)
AKABEI-CONF-IMPORT(8)
=====================
:doctype: manpage
:Author: Luca Giambonini
:Email: <almack@chakralinux.org>
:Date: 2018
NAME
----
akabei-conf-import - Chakra package manager: Convert a Pacman config and mirrorlist file into an Akabei's counterpart
SYNOPSIS
--------
_akabei-conf-import_ [options]
DESCRIPTION
-----------
akabei-db-import is a script to convert a Pacman config and mirrorlist file into an Akabei config file and mirrorlist.
OPTIONS
-------
If run without arguments, the default behavior is to import _/etc/pacman.conf_ and _/etc/pacman.d/mirrorlist_.
Note: if your destination paths already exists, they will be overwritten.
*-h, --help*::
Prints this help message
*-p, --pacman <file>*::
Reads pacman configuration from <file> (default: /etc/pacman.conf)
*-a, --akabei <file>*::
Writes akabei configuration in <file> (default: /etc/akabei.conf)
*-m, --pacman-mirrors <file>*::
Reads pacman mirrorlist from <file> (default: /etc/pacman.d/mirrorlist)
*-n --akabei-mirrors <file>*::
Writes akabei mirrorlist to <file> (default: /etc/akabei.d/mirrorlist)
BUGS
----
Report any bug in the official Chakra BugTracker, https://code.chakralinux.org in the Akabei section. Try to include as much detail as possible in your explanation.
SEE ALSO
--------
akabei.conf(5), akabei-config(8)
AKABEI-DB-IMPORT(8)
===================
:doctype: manpage
:Author: Luca Giambonini
:Email: <almack@chakralinux.org>
:Date: 2018
NAME
----
akabei-db-import - Chakra package manager: A script to convert the Pacman local database into an Akabei one
SYNOPSIS
--------
_akabei-db-import_ [options]
DESCRIPTION
-----------
akabei-db-import is a script to convert the Pacman local database into an Akabei one. Is used during the first setup of akabei to import the existing packages installed by Pacman.
OPTIONS
-------
If run without arguments, the default behavior is to import all the packages installed locally into the akabei local.db.
*-h, --help*::
Prints this help message
*-p, --pacman <file>*::
Reads pacman configuration from <file> (default: /etc/pacman.conf)
*-o, --db-output <file> *::
Prints the Akabei database on <file> (default: local.db)
*-s, --db-scheme <file>*::
Reads the database scheme from <file> (default: /usr/share/akabei/dbschema.sql)
BUGS
----
Report any bug in the official Chakra BugTracker, https://code.chakralinux.org in the Akabei section. Try to include as much detail as possible in your explanation.
SEE ALSO
--------
akabei.conf(5), akabei-config(8)
AKABEI-KEY(8)
=============
:doctype: manpage
:Author: Luca Giambonini
:Email: <almack@chakralinux.org>
:Date: 2018
NAME
----
akabei-key - Chakra package manager: manage akabei's list of trusted keys
SYNOPSIS
--------
_akabei-key_ <operation>
DESCRIPTION
-----------
akabei-key is a wrapper script for GnuPG used to manage akabei’s keyring, which is the collection of PGP keys used to check signed packages and databases. It provides the ability to import and export keys, fetch keys from keyservers and update the key trust database.
More complex keyring management can be achieved using GnuPG directly combined with the --homedir option pointing at the pacman keyring (located in /etc/akabei.d/keyring by default).
OPERATIONS
----------
*help, -h, --help*::
prints this message
*version*::
prints version information
*list*::
list all keys in the keyring
*print <ID>*::
prints information about the key identified by ID
*import <file>*::
imports and edits a new key from file
*get <ID>*::
imports the key ID from the keyserver specified in gpg.conf
*remove <ID>*::
remove the key identified by ID from akabei's keyring
BUGS
----
Report any bug in the official Chakra BugTracker, https://code.chakralinux.org in the Akabei section. Try to include as much detail as possible in your explanation.
SEE ALSO
--------
akabei.conf(5), akabei-config(8)
......@@ -73,7 +73,7 @@ def usage():
print(" -p, --pacman <file> Reads pacman configuration from <file> (default: /etc/pacman.conf)")
print(" -a, --akabei <file> Writes akabei configuration in <file> (default: /etc/akabei.conf)")
print(" -m, --pacman-mirrors <file> Reads pacman mirrorlist from <file> (default: /etc/pacman.d/mirrorlist)")
print(" -n --akabei-mirrors <file> Writes akabei mirrorlist to <file> (default: /etc/akabei.d/mirrorlist))")
print(" -n --akabei-mirrors <file> Writes akabei mirrorlist to <file> (default: /etc/akabei.d/mirrorlist)")
print("Note: if your destination paths already exists, they will be overwritten.")
# Start point
......@@ -148,4 +148,4 @@ if __name__ == "__main__":
akabeiConf.close()
CopyMirrorlist(pacmanMirrorFile, akabeiMirrorFile)
print("[**] Your akabei mirrorlist was created successfully.")
\ No newline at end of file
print("[**] Your akabei mirrorlist was created successfully.")