2010-02-01 04:26:31 +01:00
|
|
|
Content-type: text/html
|
|
|
|
|
|
|
|
<HTML><HEAD><TITLE>Manpage of SBOPKG.CONF</TITLE>
|
|
|
|
</HEAD><BODY>
|
|
|
|
<H1>SBOPKG.CONF</H1>
|
2011-04-28 05:01:06 +02:00
|
|
|
Section: (5)<BR>Updated: April 2011<BR><A HREF="#index">Index</A>
|
2010-02-01 04:26:31 +01:00
|
|
|
<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
<A NAME="lbAB"> </A>
|
|
|
|
<H2>NAME</H2>
|
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
sbopkg.conf - configuration file for sbopkg
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<A NAME="lbAC"> </A>
|
|
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
The
|
|
|
|
<I>sbopkg.conf</I>
|
|
|
|
|
|
|
|
file contains configuration settings for
|
|
|
|
<B><A HREF="http://localhost/cgi-bin/man/man2html?8+sbopkg">sbopkg</A></B>(8),
|
|
|
|
|
|
|
|
a tool for interacting with the SlackBuilds.org (``SBo'') repository, a
|
|
|
|
collection of third-party SlackBuild scripts to build Slackware
|
|
|
|
packages.
|
|
|
|
The default configuration file is installed at
|
|
|
|
<I>/etc/sbopkg/sbopkg.conf</I>.
|
|
|
|
|
2011-04-28 05:01:06 +02:00
|
|
|
The user may override any settings in that file by creating
|
|
|
|
<I>~/.sbopkg.conf</I>.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
|
|
|
Please see the
|
|
|
|
<B>NOTES</B>
|
|
|
|
|
|
|
|
section for more information about variables, including
|
2010-11-12 05:07:45 +01:00
|
|
|
<B>ARCH</B>.
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-03-05 23:00:38 +01:00
|
|
|
<P>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
All boolean options require a
|
|
|
|
<B>YES</B>
|
|
|
|
|
|
|
|
or a
|
|
|
|
<B>NO</B>
|
|
|
|
|
|
|
|
without regard to case.
|
|
|
|
All path values must be full.
|
2010-02-01 04:26:31 +01:00
|
|
|
<P>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
The default configuration options are:
|
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
<DL COMPACT>
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><B>ALLOW_MULTI</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Boolean.
|
|
|
|
<DT><DD>
|
|
|
|
When set to
|
|
|
|
<B>YES</B>,
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
this option allows the user to run multiple instances of
|
|
|
|
<B>sbopkg</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
simultaneously.
|
|
|
|
<DT><DD>
|
|
|
|
Please understand that this option is provided for convenience, but
|
|
|
|
given the number of potential issues you can face when enabling this
|
|
|
|
(and we aren't going to try to work around users doing silly things),
|
|
|
|
you should consider this an EXPERIMENTAL UNSUPPORTED feature.
|
|
|
|
If you encounter problems, please try to make sure these aren't caused
|
|
|
|
by yourself doing improper things.
|
|
|
|
<DT><DD>
|
|
|
|
For reference, these are some of the things you shouldn't do with this
|
|
|
|
option enabled:
|
|
|
|
<DL COMPACT><DT><DD>
|
|
|
|
<DL COMPACT>
|
|
|
|
<DT>*<DD>
|
|
|
|
run instances with a mixture of
|
|
|
|
<B>YES</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
and
|
|
|
|
<B>NO</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
settings
|
|
|
|
<DT>*<DD>
|
|
|
|
sync a repository when another instance is using it
|
|
|
|
<DT>*<DD>
|
|
|
|
change the branch of a git repository when another instance is using it
|
|
|
|
(this caveat does not apply to rsync repositories)
|
|
|
|
<DT>*<DD>
|
|
|
|
simultaneously build or install the same package from different
|
|
|
|
instances
|
|
|
|
<DT>*<DD>
|
|
|
|
save a queue file while using it from another instance
|
|
|
|
</DL>
|
|
|
|
</DL>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><DD>
|
|
|
|
There can be more unsafe situations we haven't thought about.
|
|
|
|
Take care.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
ALLOW_MULTI=${ALLOW_MULTI:-NO}
|
|
|
|
|
|
|
|
<DT><B>CLEANUP</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Boolean.
|
|
|
|
<DT><DD>
|
|
|
|
When set to
|
|
|
|
<B>YES</B>,
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
the unpacked source files and package tree in
|
|
|
|
<I>$TMP</I>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
are deleted right after the build, though the downloaded source archive
|
|
|
|
and completed package are left in
|
|
|
|
<I>$SRCDIR</I>
|
|
|
|
|
|
|
|
and
|
|
|
|
<I>$OUTPUT</I>.
|
|
|
|
|
|
|
|
<DT><DD>
|
|
|
|
A side effect of setting
|
|
|
|
<B>CLEANUP</B>
|
|
|
|
|
|
|
|
to
|
|
|
|
<B>YES</B>
|
|
|
|
|
|
|
|
is that
|
|
|
|
<B>TMP</B>
|
|
|
|
|
2011-04-28 05:01:06 +02:00
|
|
|
is set to
|
|
|
|
<B>sbopkg</B>'s
|
|
|
|
|
|
|
|
own temporary directory
|
|
|
|
(<I>$TMPDIR/sbopkg.RANDOM_STRING</I>)
|
|
|
|
|
|
|
|
and any other
|
2010-11-12 05:07:45 +01:00
|
|
|
<B>TMP</B>
|
|
|
|
|
|
|
|
setting is ignored.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
CLEANUP=${CLEANUP:-NO}
|
|
|
|
|
|
|
|
<DT><B>DEBUG_UPDATES</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Enumeration.
|
|
|
|
<DT><DD>
|
|
|
|
This option should be set to
|
|
|
|
<B>0</B>,
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<B>1</B>,
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
or
|
|
|
|
<B>2</B>.
|
|
|
|
|
|
|
|
<B>DEBUG_UPDATES</B>
|
|
|
|
|
|
|
|
sets the default debugging level for the update list feature of
|
|
|
|
<B>sbopkg</B>.
|
|
|
|
|
|
|
|
When set to
|
|
|
|
<B>0</B>,
|
|
|
|
|
|
|
|
only potential updated (or downgraded) packages are listed.
|
|
|
|
When set to
|
|
|
|
<B>1</B>,
|
|
|
|
|
|
|
|
potential updates plus packages not in the repo and packages that are
|
|
|
|
newer than the repo are listed.
|
|
|
|
When set to
|
|
|
|
<B>2</B>,
|
|
|
|
|
|
|
|
all non-updated packages are also listed.
|
|
|
|
Changing
|
|
|
|
<B>DEBUG_UPDATES</B>
|
|
|
|
|
|
|
|
to
|
|
|
|
<B>1</B>
|
|
|
|
|
|
|
|
or
|
|
|
|
<B>2</B>
|
|
|
|
|
|
|
|
may be helpful if it appears the updatelist might be missing an update.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
DEBUG_UPDATES=${DEBUG_UPDATES:-0}
|
|
|
|
|
|
|
|
<DT><B>DIFF</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Command.
|
|
|
|
<DT><DD>
|
|
|
|
This option allows the user to set which diff program to use when
|
|
|
|
<B>sbopkg</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
displays differences between edited files.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
DIFF=${DIFF:-diff}
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><B>DIFFOPTS</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Command options.
|
|
|
|
<DT><DD>
|
|
|
|
This option allows the user to set which options are used by the
|
|
|
|
<I>$DIFF</I>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
program when
|
|
|
|
<B>sbopkg</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
displays differences between edited files.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
DIFFOPTS=${DIFFOPTS:--u}
|
|
|
|
|
|
|
|
<DT><B>KEEPLOG</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Boolean.
|
|
|
|
<DT><DD>
|
|
|
|
This option allows the user to choose whether to keep a permanent log of
|
|
|
|
packages that are built with
|
|
|
|
<B>sbopkg</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
in order to review the builds for historical or troubleshooting
|
|
|
|
purposes.
|
|
|
|
See
|
|
|
|
<B>LOGFILE</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
for the location of this log.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
KEEPLOG=${KEEPLOG:-YES}
|
|
|
|
|
|
|
|
<DT><B>LOGFILE</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Path.
|
|
|
|
<DT><DD>
|
|
|
|
This option sets the name for the build log if
|
|
|
|
<B>KEEPLOG</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
is set to
|
|
|
|
<B>YES</B>.
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
LOGFILE=${LOGFILE:-/var/log/sbopkg/sbopkg-build-log}
|
|
|
|
|
|
|
|
<DT><B>MKDIR_PROMPT</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Boolean.
|
|
|
|
<DT><DD>
|
|
|
|
When set to
|
|
|
|
<B>YES</B>,
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
will prompt for confirmation before changing the filesystem by creating
|
|
|
|
its directories.
|
|
|
|
If you do not wish to be prompted (for instance, if you have some of the
|
|
|
|
directories on a temporary filesystem and don't wish to be prompted for
|
|
|
|
confirmation each time the filesystem is reinitialized) you can set this
|
|
|
|
to
|
|
|
|
<B>NO</B>.
|
|
|
|
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
MKDIR_PROMPT=${MKDIR_PROMPT:-YES}
|
|
|
|
|
|
|
|
<DT><B>OUTPUT</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Path.
|
|
|
|
<DT><DD>
|
|
|
|
This option sets the default directory where compiled packages are
|
|
|
|
saved.
|
|
|
|
<B>OUTPUT</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
must be exported as it is also used by the SBo SlackBuilds.
|
|
|
|
Note that the default value of
|
|
|
|
<B>OUTPUT</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
is therefore the same as in the SBo SlackBuilds.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
export OUTPUT=${OUTPUT:-/tmp}
|
|
|
|
|
|
|
|
<DT><B>QUEUEDIR</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Path.
|
|
|
|
<DT><DD>
|
|
|
|
This option defines the directory under which saved queue files will be
|
|
|
|
kept.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
QUEUEDIR=${QUEUEDIR:-/var/lib/sbopkg/queues}
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><B>REPO_BRANCH</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Enumeration.
|
|
|
|
<DT><DD>
|
|
|
|
This option allows the user to set the default active repository branch.
|
|
|
|
The current standard values are listed in the default
|
|
|
|
<I>repos.d/*</I>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
files and can also be listed by issuing
|
2010-02-01 04:26:31 +01:00
|
|
|
<DL COMPACT><DT><DD>
|
|
|
|
<DL COMPACT>
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><DD>
|
|
|
|
<PRE>
|
|
|
|
# sbopkg -V ?
|
|
|
|
</PRE>
|
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
</DL>
|
|
|
|
</DL>
|
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
2011-04-28 05:01:06 +02:00
|
|
|
REPO_BRANCH=${REPO_BRANCH:-13.37}
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><B>REPO_NAME</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Enumeration.
|
|
|
|
<DT><DD>
|
|
|
|
This option allows the user to choose the repository to use.
|
|
|
|
See
|
|
|
|
<B>REPO_BRANCH</B>
|
|
|
|
|
|
|
|
for how to get an enumeration of standard values.
|
|
|
|
The ``local'' choice corresponds to a user-maintained repository whose
|
|
|
|
structure must be the same as the one used by SBo, in the sense of a
|
|
|
|
<I>category/package/files</I>
|
|
|
|
|
|
|
|
hierarchy.
|
|
|
|
Note: all of the
|
|
|
|
<B>REPO_*</B>
|
|
|
|
|
|
|
|
variables are affected by the repository files maintained in
|
|
|
|
<I>/etc/sbopkg/repos.d.</I>
|
|
|
|
|
|
|
|
Please see the
|
2011-04-28 05:01:06 +02:00
|
|
|
<I>README-repos</I>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
document in the
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
documentation directory.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
REPO_NAME=${REPO_NAME:-SBo}
|
|
|
|
|
|
|
|
<DT><B>REPO_ROOT</B>
|
2010-03-05 23:00:38 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Path.
|
|
|
|
<DT><DD>
|
|
|
|
This option allows the user to set the location of the local mirrors of
|
|
|
|
the remote repositories.
|
2011-04-28 05:01:06 +02:00
|
|
|
Currently, the size of a local copy of the SBo repository is about 96M.
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
REPO_ROOT=${REPO_ROOT:-/var/lib/sbopkg}
|
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
<DT><B>RSYNCFLAGS</B>
|
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Command options.
|
|
|
|
<DT><DD>
|
|
|
|
<B>Rsync</B>
|
|
|
|
|
|
|
|
is used by
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
to mirror the SBo repository.
|
|
|
|
This option allows the user to manually tweak the
|
|
|
|
<B>rsync</B>
|
|
|
|
|
|
|
|
flags (options) that are used by
|
|
|
|
<B>sbopkg</B>.
|
|
|
|
|
|
|
|
Users are cautioned against making any changes to the default values
|
|
|
|
since new flags may or may not work.
|
|
|
|
Note: the
|
|
|
|
<B>rsync</B>
|
|
|
|
|
|
|
|
command in
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
already uses the
|
|
|
|
<B>--archive</B>,
|
|
|
|
|
|
|
|
<B>--delete</B>,
|
|
|
|
|
|
|
|
<B>--no-owner</B>,
|
|
|
|
|
|
|
|
and
|
|
|
|
<B>--exclude</B>
|
|
|
|
|
|
|
|
flags, so there is no need to add them to the
|
|
|
|
<B>RSYNCFLAGS</B>
|
|
|
|
|
|
|
|
option.
|
|
|
|
Changing those internal default options is not recommended.
|
|
|
|
However,
|
|
|
|
<B>--timeout</B>
|
|
|
|
|
|
|
|
is a useful option to play with if getting syncing errors.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
RSYNCFLAGS="${RSYNCFLAGS:---verbose --timeout=30}"
|
|
|
|
|
|
|
|
<DT><B>SRCDIR</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Path.
|
|
|
|
<DT><DD>
|
|
|
|
This option contains the location of the cache directory where source
|
|
|
|
downloads will be saved.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
SRCDIR=${SRCDIR:-/var/cache/sbopkg}
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><B>TMP</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<DD>
|
|
|
|
Path.
|
|
|
|
<DT><DD>
|
|
|
|
This option sets the default directory where built packages are saved.
|
|
|
|
<B>TMP</B>
|
|
|
|
|
|
|
|
must be exported as it is also used by the SBo SlackBuilds.
|
|
|
|
Note that the default value of
|
|
|
|
<B>TMP</B>
|
|
|
|
|
|
|
|
is therefore the same as in the SBo SlackBuilds.
|
|
|
|
<DT><DD>
|
|
|
|
Also note that if the
|
|
|
|
<B>CLEANUP</B>
|
|
|
|
|
|
|
|
variable is set to
|
|
|
|
<B>YES</B>,
|
|
|
|
|
|
|
|
any custom
|
|
|
|
<B>TMP</B>
|
|
|
|
|
|
|
|
setting is ignored.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
export TMP=${TMP:-/tmp/SBo}
|
|
|
|
|
2011-02-05 05:34:55 +01:00
|
|
|
<DT><B>TMPDIR</B>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
Path.
|
|
|
|
<DT><DD>
|
|
|
|
This option sets the default directory where certain working files
|
|
|
|
specific to
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
are saved on a temporary basis. Note that this variable is actually used
|
|
|
|
by
|
|
|
|
<B><A HREF="http://localhost/cgi-bin/man/man2html?1+mktemp">mktemp</A></B>(1),
|
|
|
|
|
|
|
|
and that the actual directory is hardcoded internally to
|
|
|
|
<I>sbopkg.XXXXXX</I>
|
|
|
|
|
|
|
|
where 'XXXXXX' is a random string.
|
|
|
|
This variable determines the containing directory for that.
|
|
|
|
If /tmp is not a suitable containing directory, TMPDIR can be assigned
|
|
|
|
to on the command line when invoking
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
or the variable can be modified in
|
|
|
|
<I>sbopkg.conf</I>.
|
|
|
|
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
export TMPDIR=${TMPDIR:-/tmp}
|
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><B>WGETFLAGS</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
<DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
Command options.
|
|
|
|
<DT><DD>
|
|
|
|
<B>Wget</B>
|
|
|
|
|
|
|
|
is used by
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
to download the source files for package building.
|
|
|
|
This option allows the user to manually tweak the
|
|
|
|
<B>wget</B>
|
|
|
|
|
|
|
|
flags (options) that are used by
|
|
|
|
<B>sbopkg</B>.
|
|
|
|
|
|
|
|
Users are cautioned against making any changes to the default values
|
|
|
|
since new flags may or may not work.
|
|
|
|
However,
|
|
|
|
<B>--timeout</B>
|
|
|
|
|
|
|
|
is a useful option to play with if getting download errors.
|
|
|
|
<DT><DD>
|
|
|
|
The default assignment is:
|
|
|
|
<DT><DD>
|
|
|
|
WGETFLAGS="${WGETFLAGS:--c --progress=bar:force --timeout=30 --tries=5}"
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
</DL>
|
|
|
|
<A NAME="lbAD"> </A>
|
2010-11-12 05:07:45 +01:00
|
|
|
<H2>NOTES</H2>
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAE"> </A>
|
|
|
|
<H3>Overriding Environmental Variables</H3>
|
|
|
|
|
|
|
|
It is possible to set or override environmental variables and pass them
|
|
|
|
to the SlackBuilds when they are built from within
|
|
|
|
<B>sbopkg</B>.
|
|
|
|
|
|
|
|
This is already demonstrated in the following example line (and others
|
|
|
|
like it) in the
|
|
|
|
<I>sbopkg.conf</I>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
file:
|
2010-11-12 05:07:45 +01:00
|
|
|
<DL COMPACT><DT><DD>
|
2010-02-01 04:26:31 +01:00
|
|
|
<P>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
<PRE>
|
2010-02-01 04:26:31 +01:00
|
|
|
export TMP=${TMP:-/tmp/SBo}
|
2010-11-12 05:07:45 +01:00
|
|
|
</PRE>
|
|
|
|
|
|
|
|
</DL>
|
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
<P>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
This sets
|
|
|
|
<B>TMP</B>
|
|
|
|
|
|
|
|
to
|
|
|
|
<I>/tmp/SBo</I>
|
|
|
|
|
|
|
|
for building SBo packages within
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
(which is currently the default for SBo SlackBuilds already).
|
|
|
|
Since this variable is exported, it could be changed for both
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
and for building SBo packages within
|
|
|
|
<B>sbopkg</B>.
|
|
|
|
|
|
|
|
For example, changing this line so it reads:
|
|
|
|
<DL COMPACT><DT><DD>
|
2010-02-01 04:26:31 +01:00
|
|
|
<P>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
<PRE>
|
2010-02-01 04:26:31 +01:00
|
|
|
export TMP=${TMP:-/home/sbo/tmp}
|
2010-11-12 05:07:45 +01:00
|
|
|
</PRE>
|
|
|
|
|
|
|
|
</DL>
|
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
<P>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
would then set
|
|
|
|
<B>TMP</B>
|
|
|
|
|
|
|
|
to
|
|
|
|
<I>/home/sbo/tmp</I>
|
|
|
|
|
|
|
|
for building SBo packages and still allow it to be overridden at runtime
|
|
|
|
by invoking
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
as
|
|
|
|
<DL COMPACT><DT><DD>
|
2010-02-01 04:26:31 +01:00
|
|
|
<P>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
<PRE>
|
|
|
|
# export TMP=foo; sbopkg
|
|
|
|
</PRE>
|
|
|
|
|
|
|
|
</DL>
|
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
<P>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
<B>OUTPUT</B>
|
|
|
|
|
|
|
|
can also be changed to save compiled packages in a location other than
|
|
|
|
the default of
|
|
|
|
<I>/tmp</I>.
|
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
<P>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
You can also export variables in
|
|
|
|
<I>sbopkg.conf</I>
|
|
|
|
|
|
|
|
that are not used by
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
at all.
|
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
<A NAME="lbAF"> </A>
|
2010-11-12 05:07:45 +01:00
|
|
|
<H3>About the ARCH Variable</H3>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
You may be wondering why
|
|
|
|
<B>ARCH</B>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
is not a configuration setting in the default
|
|
|
|
<I>sbopkg.conf</I>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
file.
|
|
|
|
The reason is that it does not have to be.
|
|
|
|
If
|
|
|
|
<B>ARCH</B>
|
|
|
|
|
|
|
|
is not set,
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
does some checking (using the output of
|
|
|
|
<B>uname -m</B>)
|
|
|
|
|
|
|
|
to determine what the system's architecture is.
|
|
|
|
If the architecture is x86, x86_64, or arm*, then
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
automatically sets
|
|
|
|
<B>ARCH</B>
|
|
|
|
|
|
|
|
to i486, x86_64, or arm, respectively.
|
|
|
|
If
|
|
|
|
<B>ARCH</B>
|
|
|
|
|
|
|
|
is set,
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
will inherit that setting.
|
|
|
|
This means the user can add, for example,
|
|
|
|
<B>export ARCH=i686</B>
|
|
|
|
|
|
|
|
in their
|
|
|
|
<I>.bashrc</I>
|
|
|
|
|
|
|
|
or similar file, or the user can also execute something in the
|
|
|
|
root terminal like
|
|
|
|
<DL COMPACT><DT><DD>
|
2010-02-01 04:26:31 +01:00
|
|
|
<P>
|
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<PRE>
|
|
|
|
# export ARCH=i686; sbopkg
|
|
|
|
</PRE>
|
|
|
|
|
|
|
|
</DL>
|
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
<P>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
The user can also manually add it to their
|
|
|
|
<I>sbopkg.conf</I>
|
|
|
|
|
|
|
|
file if they wish.
|
|
|
|
Finally, if
|
|
|
|
<B>ARCH</B>
|
|
|
|
|
|
|
|
is not set by the user and
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
does not detect one of the previously mentioned architectures, then
|
|
|
|
<B>ARCH</B>
|
|
|
|
|
|
|
|
will be set by whatever is in the SlackBuilds.
|
|
|
|
Note that the SlackBuild may, in certain instances, discard or override
|
|
|
|
previous
|
|
|
|
<B>ARCH</B>
|
|
|
|
|
|
|
|
settings if this is required for the build.
|
|
|
|
|
2010-02-01 04:26:31 +01:00
|
|
|
<A NAME="lbAG"> </A>
|
2010-11-12 05:07:45 +01:00
|
|
|
<H2>FILES</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
|
|
<DT><I>/etc/sbopkg/sbopkg.conf</I>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
File to specify configuration options.
|
2011-04-28 05:01:06 +02:00
|
|
|
<DT><I>~/.sbopkg.conf</I>
|
|
|
|
|
|
|
|
<DD>
|
|
|
|
File to override system configuration options.
|
|
|
|
<DT><I>/etc/sbopkg/renames.d/*.renames</I>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
<DD>
|
2011-04-28 05:01:06 +02:00
|
|
|
Files that list software in the SBo repository that has been renamed.
|
2010-11-12 05:07:45 +01:00
|
|
|
See the
|
2011-04-28 05:01:06 +02:00
|
|
|
<I>README-renames</I>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
document in the
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
documentation directory for more information.
|
2011-04-28 05:01:06 +02:00
|
|
|
<DT><I>/etc/sbopkg/repos.d/*.repo</I>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
<DD>
|
2011-04-28 05:01:06 +02:00
|
|
|
Files for various types of
|
2010-11-12 05:07:45 +01:00
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
repositories.
|
|
|
|
See the
|
2011-04-28 05:01:06 +02:00
|
|
|
<I>README-repos</I>
|
2010-11-12 05:07:45 +01:00
|
|
|
|
|
|
|
document in the
|
|
|
|
<B>sbopkg</B>
|
|
|
|
|
|
|
|
documentation directory for more information.
|
|
|
|
|
|
|
|
</DL>
|
|
|
|
<A NAME="lbAH"> </A>
|
|
|
|
<H2>AUTHORS</H2>
|
|
|
|
|
|
|
|
Chess Griffin
|
|
|
|
<<A HREF="mailto:chess@chessgriffin.com">chess@chessgriffin.com</A>>
|
|
|
|
<P>
|
|
|
|
|
|
|
|
Mauro Giachero
|
|
|
|
<<A HREF="mailto:mauro.giachero@gmail.com">mauro.giachero@gmail.com</A>>
|
|
|
|
<P>
|
|
|
|
|
|
|
|
slakmagik
|
|
|
|
<<A HREF="mailto:slakmagik@gmail.com">slakmagik@gmail.com</A>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAI"> </A>
|
2010-02-01 04:26:31 +01:00
|
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<B><A HREF="http://localhost/cgi-bin/man/man2html?1+diff">diff</A></B>(1),
|
|
|
|
|
2011-02-05 05:34:55 +01:00
|
|
|
<B><A HREF="http://localhost/cgi-bin/man/man2html?1+mktemp">mktemp</A></B>(1),
|
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<B><A HREF="http://localhost/cgi-bin/man/man2html?1+rsync">rsync</A></B>(1),
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<B><A HREF="http://localhost/cgi-bin/man/man2html?8+sbopkg">sbopkg</A></B>(8),
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<B><A HREF="http://localhost/cgi-bin/man/man2html?1+uname">uname</A></B>(1),
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2010-11-12 05:07:45 +01:00
|
|
|
<B><A HREF="http://localhost/cgi-bin/man/man2html?1+wget">wget</A></B>(1),
|
2010-02-01 04:26:31 +01:00
|
|
|
|
2011-04-28 05:01:06 +02:00
|
|
|
<I>/usr/doc/sbopkg-0.35.0/*</I>
|
2010-02-01 04:26:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
|
|
|
<HR>
|
|
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
|
|
<DL>
|
|
|
|
<DT><A HREF="#lbAB">NAME</A><DD>
|
|
|
|
<DT><A HREF="#lbAC">DESCRIPTION</A><DD>
|
2010-11-12 05:07:45 +01:00
|
|
|
<DT><A HREF="#lbAD">NOTES</A><DD>
|
|
|
|
<DL>
|
|
|
|
<DT><A HREF="#lbAE">Overriding Environmental Variables</A><DD>
|
|
|
|
<DT><A HREF="#lbAF">About the ARCH Variable</A><DD>
|
|
|
|
</DL>
|
|
|
|
<DT><A HREF="#lbAG">FILES</A><DD>
|
|
|
|
<DT><A HREF="#lbAH">AUTHORS</A><DD>
|
|
|
|
<DT><A HREF="#lbAI">SEE ALSO</A><DD>
|
2010-02-01 04:26:31 +01:00
|
|
|
</DL>
|
|
|
|
<HR>
|
|
|
|
This document was created by
|
|
|
|
<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
|
|
|
|
using the manual pages.<BR>
|
2011-04-28 05:01:06 +02:00
|
|
|
Time: 02:57:11 GMT, April 28, 2011
|
2010-02-01 04:26:31 +01:00
|
|
|
</BODY>
|
|
|
|
</HTML>
|