pkgng

Check-in [bcb0a9a324]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add some documentation about URL schemes in PACKAGESITE settings. Issue #550
Timelines: family | ancestors | descendants | both | trunk | multi-repos | stash
Files: files | file ages | folders
SHA1:bcb0a9a324090264550cf3139cdfed72c54bd0bf
User & Date: m.seaman@infracaninophile.co.uk 2013-09-29 09:18:02
Context
2013-09-30
15:25
Spelling and typo fixes check-in: 7b72276121 user: bryan@shatow.net tags: trunk, multi-repos, stash
2013-09-29
09:18
Add some documentation about URL schemes in PACKAGESITE settings. Issue #550 check-in: bcb0a9a324 user: m.seaman@infracaninophile.co.uk tags: trunk, multi-repos, stash
09:07
Use new pkg+http:// URL scheme issue #550 check-in: 8451c7bec8 user: m.seaman@infracaninophile.co.uk tags: trunk, multi-repos, stash
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pkg/pkg.conf.5.

11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
..
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
..
84
85
86
87
88
89
90
91


92












93










94
95
96
97
98
99
100
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\"
.\"     @(#)pkg.1
.\" $FreeBSD$
.\"
.Dd June 8, 2013
.Dt PKG.CONF 5
.Os
.Sh NAME
.Nm "pkg.conf"
.Nd System-wide configuration file for
.Xr pkg 1
.Sh DESCRIPTION
................................................................................
will automatically perform start/stop of services during package
installation and deinstallation.
Services are started on installation only
if they are enabled in
.Pa /etc/rc.conf .
By default this option is disabled.
.It Cm PACKAGESITE: string
Specifies the remote location to use
when fetching the database file and packages.
This supports using
.Sy ${ABI}
to create a dynamic URL based on the ABI being used.
.It Cm MIRROR_TYPE: string
Specifies which mirror type to use for
.Sy PACKAGESITE .
................................................................................
Either
.Dv HTTP
or
.Dv SRV
or
.Dv NONE
can be used.
By default


.Dv SRV












is used.










.It Cm PKG_CACHEDIR: string
Specifies the cache directory for packages.
The default value
for this option is
.Pa /var/cache/pkg
.It Cm PKG_DBDIR: string
Specifies the directory to use for storing the package







|







 







|







 







|
>
>
|
>
>
>
>
>
>
>
>
>
>
>
>
|
>
>
>
>
>
>
>
>
>
>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
..
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
..
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\"
.\"     @(#)pkg.1
.\" $FreeBSD$
.\"
.Dd September 29, 2013
.Dt PKG.CONF 5
.Os
.Sh NAME
.Nm "pkg.conf"
.Nd System-wide configuration file for
.Xr pkg 1
.Sh DESCRIPTION
................................................................................
will automatically perform start/stop of services during package
installation and deinstallation.
Services are started on installation only
if they are enabled in
.Pa /etc/rc.conf .
By default this option is disabled.
.It Cm PACKAGESITE: string
Specifies the URL of the remote location to use
when fetching the database file and packages.
This supports using
.Sy ${ABI}
to create a dynamic URL based on the ABI being used.
.It Cm MIRROR_TYPE: string
Specifies which mirror type to use for
.Sy PACKAGESITE .
................................................................................
Either
.Dv HTTP
or
.Dv SRV
or
.Dv NONE
can be used.
For a
.Cm MIRROR_TYPE
of
.Dv NONE ,
any of the URL schemes supported by
.Xr libfetch 3
can be used, including:
.Dv http:// ,
.Dv https:// ,
.Dv ftp:// ,
or
.Dv file://
plus
.Dv ssh:// .
Where
.Sy MIRROR_TYPE
is
.Dv SRV ,
you should use a
.Dv pkg+http://
or
.Dv pkg+https://
(etc.) URL scheme.
Using
.Dv http://
URLS implies that the hostname part is a simple hostname according to RFC 2616,
and is deprecated.
.It Cm PKG_CACHEDIR: string
Specifies the cache directory for packages.
The default value
for this option is
.Pa /var/cache/pkg
.It Cm PKG_DBDIR: string
Specifies the directory to use for storing the package