Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libloc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
libloc
Commits
889b932a
Commit
889b932a
authored
Jun 03, 2020
by
Michael Tremer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
location-downloader: Merge man page into location-query
Signed-off-by:
Michael Tremer
<
michael.tremer@ipfire.org
>
parent
a6f1e346
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
62 deletions
+21
-62
Makefile.am
Makefile.am
+3
-1
man/location-downloader.txt
man/location-downloader.txt
+0
-61
man/location-query.txt
man/location-query.txt
+18
-0
No files found.
Makefile.am
View file @
889b932a
...
...
@@ -37,6 +37,9 @@ LIBLOC_CURRENT=0
LIBLOC_REVISION
=
0
LIBLOC_AGE
=
0
pythondir
=
$(prefix)
/lib/python3/dist-packages
pyexecdir
=
$(prefix)
/lib/python
$(PYTHON_VERSION)
/lib-dynload
DISTCHECK_CONFIGURE_FLAGS
=
\
--with-systemdsystemunitdir
=
$$
dc_install_base/
$(systemdsystemunitdir)
...
...
@@ -371,7 +374,6 @@ src_test_signature_LDADD = \
# ------------------------------------------------------------------------------
MANPAGES
=
\
man/location-downloader.8
\
man/location-query.8
MANPAGES_TXT
=
$(
patsubst
%.8,%.txt,
$(MANPAGES)
)
...
...
man/location-downloader.txt
deleted
100644 → 0
View file @
a6f1e346
= location-downloader(8)
== NAME
location-downloader - Download a location database
== SYNOPSIS
[verse]
`location-downloader update`
== DESCRIPTION
The `location-downloader` command updates the local version of the
location database.
== OPTIONS
--database FILE::
-d FILE::
The path of the database which is being updated.
+
If this option is omitted, the system's database will be opened.
--quiet::
Enable quiet mode
--debug::
Enable debugging mode
== COMMANDS
'update'::
This command will try to update the local database.
+
It will terminate with a return code of zero if the database has been
successfully updated. 1 on error, 2 on invalid call and 3 if the
database was already the latest version.
'verify'::
Verifies the downloaded database.
'--help'::
Shows a short help text on using this program.
'--version'::
Shows the program's version and exists.
== EXIT CODES
The 'location-downloader' command will normally exit with code zero.
If there has been a problem and the requested action could not be performed,
the exit code is unequal to zero.
== HOW IT WORKS
The downloader checks a DNS record for the latest version of the database.
It will then try to download a file with that version from a mirror server.
If the downloaded file is outdated, the next mirror will be tried until we
have found a file that is recent enough.
== BUGS
Please report all bugs to the bugtracker at https://bugzilla.ipfire.org/.
== AUTHORS
Michael Tremer
man/location-query.txt
View file @
889b932a
...
...
@@ -8,6 +8,8 @@ location-query - Query the location database
`location-query lookup ADDRESS [ADDRESS...]`
`location-query get-as ASN [ASN...]`
`location-query search-as STRING`
`location-query update`
`location-query verify`
`location-query list-networks-by-as ASN`
`location-query list-networks-by-cc COUNTRY_CODE`
`location-query list-networks-by-flags [--anonymous-proxy|--satellite-provider|--anycast]`
...
...
@@ -47,6 +49,16 @@ or countries.
+
The search will be performed case-insensitively.
'update'::
This command will try to update the local database.
+
It will terminate with a return code of zero if the database has been
successfully updated. 1 on error, 2 on invalid call and 3 if the
database was already the latest version.
'verify'::
Verifies the downloaded database.
'list-networks-by-as [--family=[ipv6|ipv4]] [--output-format FORMAT] ASN'::
Lists all networks which belong to this Autonomous System.
+
...
...
@@ -85,6 +97,12 @@ The 'location-query' command will normally exit with code zero.
If there has been a problem and the requested action could not be performed,
the exit code is unequal to zero.
== HOW IT WORKS
The downloader checks a DNS record for the latest version of the database.
It will then try to download a file with that version from a mirror server.
If the downloaded file is outdated, the next mirror will be tried until we
have found a file that is recent enough.
== BUGS
Please report all bugs to the bugtracker at https://bugzilla.ipfire.org/.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment