From e0a97944b01cbf5943172d8162081e7c12189a4c Mon Sep 17 00:00:00 2001
From: wiz pkgsrc-bugs -- a list where
- problem reports related to pkgsrc are sent and
- discussedchmod 755 .
pkgsrc-bulk -- a list where the + target="_top">pkgsrc-bulk: A list where the results of pkgsrc bulk builds are sent and - discussed
+ discussed.pkgsrc-changes -- a list where - all commit messages to pkgsrc are sent
+ target="_top">pkgsrc-changes: A list where all + commit messages to pkgsrc are sent.tech-pkg -- a general discussion - list for all things related to pkgsrc
+ target="_top">tech-pkg: A general discussion + list for all things related to pkgsrc.chmod 755 .
pkgtools/x11-links: symlinks - for use by buildlink
+ class="pkgname">pkgtools/x11-links: Symlinks + for use by buildlink. @@ -4142,8 +4142,8 @@ nbftp%chmod 755 .
pkgtools/digest: calculates - various kinds of checksums (including SHA1)
+ class="pkgname">pkgtools/digest: Calculates + various kinds of checksums (including SHA1).chmod 755 .
"http://www.w3.org/TR/xhtml1/transitional" href=
"ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/pkgtools/libnbcompat/README.html"
class="pkgname">pkgtools/libnbcompat:
- compatibility library for pkgsrc tools
+ Compatibility library for pkgsrc tools.
pkgtools/mtree: installed on - non-BSD systems due to lack of native mtree
+ class="pkgname">pkgtools/mtree: Installed on + non-BSD systems due to lack of native mtree.chmod 755 .
"http://www.w3.org/TR/xhtml1/transitional" href=
"ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/pkgtools/pkg_install/README.html"
class="pkgname">pkgtools/pkg_install:
- up-to-date replacement for /usr/sbin/pkg_install,
- or for use on operating systems where pkg_install
- is not present
+ Up-to-date replacement for /usr/sbin/pkg_install
, or for use
+ on operating systems where pkg_install is not
+ present.
chmod 755 .
pkgtools/pkg_tarup: create a + class="pkgname">pkgtools/pkg_tarup: Create a binary package from an already-installed package. - used by make - replace to save the old package
+ Used by make + replace to save the old + package.pkgtools/dfdisk: adds extra
+ class="pkgname">pkgtools/dfdisk: Adds extra
functionality to pkgsrc, allowing it to fetch
distfiles from multiple locations. It currently
supports the following methods: multiple CD-ROMs
@@ -4204,16 +4206,16 @@ nbftp% chmod 755 .
pkgtools/xpkgwedge: put X11 - packages someplace else (enabled by default)
+ class="pkgname">pkgtools/xpkgwedge: Put X11 + packages someplace else (enabled by default).devel/cpuflags: will determine - the best compiler flags to optimise code for your + class="pkgname">devel/cpuflags: Determine the + best compiler flags to optimise code for your current CPU and compiler.
chmod 755 .
pkgtools/pkg_chk: reports on + class="pkgname">pkgtools/pkg_chk: Reports on packages whose installed versions do not match the - latest pkgsrc entries
+ latest pkgsrc entries.pkgtools/pkgdep: makes + class="pkgname">pkgtools/pkgdep: Makes dependency graphs of packages, to aid in choosing a - strategy for updating
+ strategy for updating.pkgtools/pkgdepgraph: makes + class="pkgname">pkgtools/pkgdepgraph: Makes graphs from the output of pkgtools/pkgdep (uses - graphviz)
+ graphviz).pkgtools/pkglint: the + class="pkgname">pkgtools/pkglint: The pkglint(1) program checks a pkgsrc entry for errors, lintpkgsrc(1) does various checks on the complete pkgsrc system.
@@ -4268,8 +4270,8 @@ nbftp%chmod 755 .
pkgtools/pkgsurvey: report what - packages you have installed
+ class="pkgname">pkgtools/pkgsurvey: Report what + packages you have installed.chmod 755 .
pkgtools/pkgdiff: automate + class="pkgname">pkgtools/pkgdiff: Automate making and maintaining patches for a package - (includes pkgdiff, pkgvi, mkpatches, ...)
+ (includes pkgdiff, pkgvi, mkpatches, etc.).chmod 755 .
class="pkgname">pkgtools/rpm2pkg, pkgtools/url2pkg: aids in
- converting to pkgsrc
+ class="pkgname">pkgtools/url2pkg: Aids in
+ converting to pkgsrc.
pkgtools/gensolpkg: convert - pkgsrc to a Solaris package
+ class="pkgname">pkgtools/gensolpkg: Convert + pkgsrc to a Solaris package.chmod 755 .
pkgtools/pkgconflict: find + class="pkgname">pkgtools/pkgconflict: Find packages that conflict but aren't marked as - such
+ such.pkgtools/pkg_comp: build - packages in a chrooted area
+ class="pkgname">pkgtools/pkg_comp: Build + packages in a chrooted area.pkgtools/libkver: spoof kernel - version for chrooted cross builds
+ class="pkgname">pkgtools/libkver: Spoof kernel + version for chrooted cross builds.chmod 755 .
"filename">wget to resume downloads, you'll have
to use something like:
- FETCH_CMD=wget - FETCH_BEFORE_ARGS=--passive-ftp - FETCH_RESUME_ARGS=-c - FETCH_OUTPUT_ARGS=-O - +FETCH_CMD=wget +FETCH_BEFORE_ARGS=--passive-ftp +FETCH_RESUME_ARGS=-c +FETCH_OUTPUT_ARGS=-O@@ -4445,8 +4446,7 @@ nbftp%
chmod 755 .
add the following line into /etc/mk.conf
:
- X11_TYPE=XFree86 - +X11_TYPE=XFree86@@ -4469,8 +4469,7 @@ nbftp%
chmod 755 .
the following line into /etc/mk.conf
:
- X11_TYPE=xorg - +X11_TYPE=xorg@@ -4495,7 +4494,7 @@ nbftp%
chmod 755 .
firewalls, and it uses port 80 as the proxy port number.
So the proxy environment variables are:
- ftp_proxy=ftp://orpheus.amdahl.com:80/ +ftp_proxy=ftp://orpheus.amdahl.com:80/ http_proxy=http://orpheus.amdahl.com:80/@@ -4516,10 +4515,19 @@ http_proxy=http://orpheus.amdahl.com:80/ distfiles. From
bsd.pkg.mk
,
FETCH_CMD
is assigned the
first available command from the following list:
- -${LOCALBASE}/bin/ftp -/usr/bin/ftp -+ +
${LOCALBASE}/bin/ftp
/usr/bin/ftp
On a default NetBSD installation, this will be
/usr/bin/ftp
, which
@@ -4699,10 +4707,9 @@ ${LOCALBASE}/bin/ftp
following into your /etc/mk.conf
:
- .if exists(${LOCALBASE}/bin/sudo) - SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c - .endif - +.if exists(${LOCALBASE}/bin/sudo) +SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c +.endif@@ -4825,9 +4832,10 @@ ${LOCALBASE}/bin/ftp variable
PKG_CONFIG
prior to
package installation.
- Here is an example, taken from mail/mutt/Makefile:
+Here is an example, taken from mail/mutt/Makefile
:
- EGDIR= ${PREFIX}/share/doc/mutt/samples +EGDIR= ${PREFIX}/share/doc/mutt/samples CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc@@ -4870,8 +4878,8 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
“download-vulnerability-list”, +
download-vulnerability-list, an easy way to download a list of the security vulnerabilities information. This list is kept up to date by the NetBSD security officer and the @@ -4885,9 +4893,9 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
“audit-packages”, an easy way - to audit the current machine, checking each +
audit-packages, an easy + way to audit the current machine, checking each vulnerability which is known. If a vulnerable package is installed, it will be shown by output to stdout, including a description of the type of @@ -6942,7 +6950,7 @@ PLIST_SUBST+= SOMEVAR="somevalue" list of package names (without the “-dirs” part) together with the required version number (always pick the latest one when - writting new packages).
+ writing new packages).For example, if a package installs files under
share/applications
, it
@@ -8090,10 +8098,11 @@ CONFIGURE_ARGS+= --enable-sasl=${BUILDLINK_PREFIX.sasl}
Usually, X11 packages should be installed under
LOCALBASE
whenever
- possible. Note that you will need to set
- USE_X11
in them to
- request the presence of X11 and to get the right
- compilation flags.
../../mk/x11.buildlink3.mk
in
+ them to request the presence of X11 and to get the
+ right compilation flags.
Even though, there are some packages that cannot
be installed under USE_IMAKE
in your
package.
Some notes: USE_X11
- and USE_X11BASE
are
- mutually exclusive. If you need to find includes or
+
Some notes: If you need to find includes or
libraries installed by a pkg that has USE_IMAKE
or USE_X11BASE
in its pkg
Makefile
, you need to
- use both
+ look in both
${X11BASE}
and
${LOCALBASE}
. To
force installation of all X11 packages in
@@ -8120,8 +8127,8 @@ CONFIGURE_ARGS+= --enable-sasl=${BUILDLINK_PREFIX.sasl}
pkgtools/xpkgwedge is enabled
- by default.