Debian Codegraph @

upstream/mageia-cauldron/man1/libnetcfg.1

raw
1 .\" -*- mode: troff; coding: utf-8 -*-
2 .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45)
3 .\"
4 .\" Standard preamble:
5 .\" ========================================================================
6 .de Sp \" Vertical space (when we can't use .PP)
7 .if t .sp .5v
8 .if n .sp
9 ..
10 .de Vb \" Begin verbatim text
11 .ft CW
12 .nf
13 .ne \\$1
14 ..
15 .de Ve \" End verbatim text
16 .ft R
17 .fi
18 ..
19 .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
20 .ie n \{\
21 . ds C` ""
22 . ds C' ""
23 'br\}
24 .el\{\
25 . ds C`
26 . ds C'
27 'br\}
28 .\"
29 .\" Escape single quotes in literal strings from groff's Unicode transform.
30 .ie \n(.g .ds Aq \(aq
31 .el .ds Aq '
32 .\"
33 .\" If the F register is >0, we'll generate index entries on stderr for
34 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
35 .\" entries marked with X<> in POD. Of course, you'll have to process the
36 .\" output yourself in some meaningful fashion.
37 .\"
38 .\" Avoid warning from groff about undefined register 'F'.
39 .de IX
40 ..
41 .nr rF 0
42 .if \n(.g .if rF .nr rF 1
43 .if (\n(rF:(\n(.g==0)) \{\
44 . if \nF \{\
45 . de IX
46 . tm Index:\\$1\t\\n%\t"\\$2"
47 ..
48 . if !\nF==2 \{\
49 . nr % 0
50 . nr F 2
51 . \}
52 . \}
53 .\}
54 .rr rF
55 .\"
56 .\" Required to disable full justification in groff 1.23.0.
57 .if n .ds AD l
58 .\" ========================================================================
59 .\"
60 .IX Title "LIBNETCFG 1"
61 .TH LIBNETCFG 1 2026-05-26 "perl v5.42.0" "Perl Programmers Reference Guide"
62 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
63 .\" way too many mistakes in technical documents.
64 .if n .ad l
65 .nh
66 .SH NAME
67 libnetcfg \- configure libnet
68 .SH DESCRIPTION
69 .IX Header "DESCRIPTION"
70 The libnetcfg utility can be used to configure the libnet.
71 Starting from perl 5.8 libnet is part of the standard Perl
72 distribution, but the libnetcfg can be used for any libnet
73 installation.
74 .SH USAGE
75 .IX Header "USAGE"
76 Without arguments libnetcfg displays the current configuration.
77 .PP
78 .Vb 10
79 \& $ libnetcfg
80 \& # old config ./libnet.cfg
81 \& daytime_hosts ntp1.none.such
82 \& ftp_int_passive 0
83 \& ftp_testhost ftp.funet.fi
84 \& inet_domain none.such
85 \& nntp_hosts nntp.none.such
86 \& ph_hosts
87 \& pop3_hosts pop.none.such
88 \& smtp_hosts smtp.none.such
89 \& snpp_hosts
90 \& test_exist 1
91 \& test_hosts 1
92 \& time_hosts ntp.none.such
93 \& # libnetcfg \-h for help
94 \& $
95 .Ve
96 .PP
97 It tells where the old configuration file was found (if found).
98 .PP
99 The \f(CW\*(C`\-h\*(C'\fR option will show a usage message.
100 .PP
101 To change the configuration you will need to use either the \f(CW\*(C`\-c\*(C'\fR or
102 the \f(CW\*(C`\-d\*(C'\fR options.
103 .PP
104 The default name of the old configuration file is by default
105 "libnet.cfg", unless otherwise specified using the \-i option,
106 \&\f(CW\*(C`\-i oldfile\*(C'\fR, and it is searched first from the current directory,
107 and then from your module path.
108 .PP
109 The default name of the new configuration file is "libnet.cfg", and by
110 default it is written to the current directory, unless otherwise
111 specified using the \-o option, \f(CW\*(C`\-o newfile\*(C'\fR.
112 .SH "SEE ALSO"
113 .IX Header "SEE ALSO"
114 Net::Config, libnetFAQ
115 .SH AUTHORS
116 .IX Header "AUTHORS"
117 Graham Barr, the original Configure script of libnet.
118 .PP
119 Jarkko Hietaniemi, conversion into libnetcfg for inclusion into Perl 5.8.