From 24a741e9cb391486e4729fa9a4613fcf48e1827d Mon Sep 17 00:00:00 2001 From: xtraeme Date: Tue, 8 Mar 2005 01:25:09 +0000 Subject: Regen (typo in editing.xml and added a new section "Packages installing startup scripts). --- doc/pkgsrc.html | 1102 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 585 insertions(+), 517 deletions(-) (limited to 'doc/pkgsrc.html') diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html index 3d86432f143..56ccbe9a9cf 100644 --- a/doc/pkgsrc.html +++ b/doc/pkgsrc.html @@ -8,7 +8,7 @@ The pkgsrc guide + "DocBook XSL Stylesheets V1.68.1" /> @@ -19,8 +19,8 @@ alink="#0000FF">
-

The pkgsrc guide

+

The pkgsrc guide

@@ -93,7 +93,7 @@ alink="#0000FF">
-
1.1. +
1.1. Introduction
1.2. @@ -117,13 +117,13 @@ alink="#0000FF">
-
2.1. +
2.1. As tar file
-
2.2. +
2.2. Via SUP
-
2.3. +
2.3. Via CVS
@@ -133,32 +133,32 @@ alink="#0000FF">
-
3.1. +
3.1. Bootstrapping pkgsrc
-
3.2. +
3.2. Platform specific notes
3.2.1. Darwin (Mac OS + "#id2518162">3.2.1. Darwin (Mac OS X)
3.2.2. FreeBSD
+ "#id2518324">3.2.2. FreeBSD
3.2.3. Interix
+ "#id2518494">3.2.3. Interix
3.2.4. IRIX
+ "#id2519063">3.2.4. IRIX
3.2.5. OpenBSD
+ "#id2519180">3.2.5. OpenBSD
3.2.6. Solaris
+ "#id2519292">3.2.6. Solaris
@@ -176,38 +176,38 @@ alink="#0000FF">
4.1.1. Where to get binary + "#id2519429">4.1.1. Where to get binary packages
4.1.2. How to use binary + "#id2519469">4.1.2. How to use binary packages
4.1.3. A word of + "#id2519604">4.1.3. A word of warning
-
4.2. +
4.2. Building packages from source
4.2.1. + "#id2519625">4.2.1. Requirements
4.2.2. Fetching + "#id2519645">4.2.2. Fetching distfiles
4.2.3. How to build and + "#id2519698">4.2.3. How to build and install
4.2.4. Selecting the + "#id2520014">4.2.4. Selecting the compiler
@@ -219,10 +219,10 @@ alink="#0000FF">
-
5.1. +
5.1. Building a single binary package
-
5.2. +
5.2. Settings for creation of binary packages
@@ -236,26 +236,26 @@ alink="#0000FF"> Configuration
5.3.2. Other environmental + "#id2520865">5.3.2. Other environmental considerations
5.3.3. Operation
+ "#id2585963">5.3.3. Operation
5.3.4. What it + "#id2586101">5.3.4. What it does
5.3.5. Disk space + "#id2586157">5.3.5. Disk space requirements
5.3.6. Setting up a sandbox for + "#id2586184">5.3.6. Setting up a sandbox for chroot'ed builds
5.3.7. Building a partial set of + "#id2586645">5.3.7. Building a partial set of packages
-
5.4. +
5.4. Creating a multiple CD-ROM packages collection
5.4.1. Example of + "#id2587097">5.4.1. Example of cdpack
@@ -283,54 +283,54 @@ alink="#0000FF">
-
6.1. - Is there a mailing list for pkg-related +
6.1. + Are there any mailing lists for pkg-related discussion?
-
6.2. +
6.2. Where's the pkgviews documentation?
6.3. Utilities for package management (pkgtools)
-
6.4. +
6.4. How to use pkgsrc as non-root
-
6.5. +
6.5. How to resume transfers when fetching distfiles?
-
6.6. +
6.6. How can I install/use XFree86 from pkgsrc?
-
6.7. +
6.7. How can I install/use X.org from pkgsrc?
-
6.8. +
6.8. How to fetch files from behind a firewall
-
6.9. +
6.9. How do I tell make fetch to do passive FTP?
-
6.10. +
6.10. How to fetch all distfiles at once
-
6.11. +
6.11. What does “Don't know how to make /usr/share/tmac/tmac.andoc” mean?
-
6.12. +
6.12. What does “Could not find bsd.own.mk” mean?
-
6.13. +
6.13. Using 'sudo' with pkgsrc
6.14. @@ -368,17 +368,17 @@ alink="#0000FF"> "#components.patches">7.3. patches/*
-
7.4. +
7.4. Other mandatory files
7.5. Optional files
-
7.6. +
7.6. work*
-
7.7. +
7.7. files/*
@@ -389,10 +389,10 @@ alink="#0000FF">
-
8.1. +
8.1. RCS ID
-
8.2. +
8.2. Semi-automatic PLIST generation
@@ -404,14 +404,14 @@ alink="#0000FF">
8.4. Variable substitution in PLIST
-
8.5. +
8.5. Manpage-compression
-
8.6. +
8.6. Changing PLIST source with PLIST_SRC
-
8.7. +
8.7. Platform specific and differing PLISTs
@@ -426,22 +426,22 @@ alink="#0000FF">
-
9.1. +
9.1. Converting packages to use buildlink3
-
9.2. +
9.2. Writing buildlink3.mk files
9.2.1. Anatomy of a buildlink3.mk + "#id2590737">9.2.1. Anatomy of a buildlink3.mk file
9.2.2. Updating 9.2.2. Updating BUILDLINK_DEPENDS.pkg in buildlink3.mk @@ -449,19 +449,19 @@ alink="#0000FF">
-
9.3. +
9.3. Writing builtin.mk files
9.3.1. Anatomy of a 9.3.1. Anatomy of a builtin.mk file
9.3.2. Global preferences for + "#id2591769">9.3.2. Global preferences for native or pkgsrc software
@@ -473,10 +473,10 @@ alink="#0000FF">
-
10.1. +
10.1. Global default options
-
10.2. +
10.2. Converting packages to use bsd.options.mk
@@ -491,7 +491,7 @@ alink="#0000FF"> "#build.prefix">11.1. Program location -
11.2. +
11.2. Main targets
-
12.1. +
12.1. General operation
12.1.1. How to pull in variables + "#id2593800">12.1.1. How to pull in variables from /etc/mk.conf
12.1.2. Restricted + "#id2593952">12.1.2. Restricted packages
dependencies
12.1.4. Handling conflicts with + "#id2594467">12.1.4. Handling conflicts with other packages
12.1.5. Packages that cannot or + "#id2594517">12.1.5. Packages that cannot or should not be built
12.1.6. Packages which should not + "#id2594542">12.1.6. Packages which should not be deleted, once installed
with security problems
12.1.8. How to handle compiler + "#id2594702">12.1.8. How to handle compiler bugs
12.1.9. How to handle incrementing + "#id2594725">12.1.9. How to handle incrementing versions when fixing an existing package
12.1.10. Portability of + "#id2594774">12.1.10. Portability of packages
-
12.2. +
12.2. Possible downloading issues
12.2.1. Packages whose distfiles + "#id2594802">12.2.1. Packages whose distfiles aren't available for plain downloading
12.2.2. How to handle modified + "#id2594865">12.2.2. How to handle modified distfiles with the 'old' name
-
12.3. +
12.3. Configuration gotchas
@@ -579,66 +579,66 @@ alink="#0000FF"> libtool
12.3.2. Using libtool on GNU + "#id2595352">12.3.2. Using libtool on GNU packages that already support libtool
12.3.3. GNU + "#id2595436">12.3.3. GNU Autoconf/Automake
-
12.4. +
12.4. Building considerations
12.4.1. CPP + "#id2595484">12.4.1. CPP defines
-
12.5. +
12.5. Package specific actions
12.5.1. Package configuration + "#id2595654">12.5.1. Package configuration files
12.5.2. User + "#id2595825">12.5.2. User interaction
12.5.3. Handling + "#id2595869">12.5.3. Handling licenses
12.5.4. Creating an account from a + "#id2596089">12.5.4. Creating an account from a package
12.5.5. Installing score + "#id2596151">12.5.5. Installing score files
12.5.6. Packages providing login + "#id2596195">12.5.6. Packages providing login shells
12.5.7. Packages containing perl + "#id2596252">12.5.7. Packages containing perl scripts
12.5.8. Packages with hardcoded + "#id2596270">12.5.8. Packages with hardcoded paths to other interpreters
12.5.9. Packages installing perl + "#id2596292">12.5.9. Packages installing perl modules
info files
12.5.11. Packages installing + "#id2596512">12.5.11. Packages installing GConf2 data files
12.5.12. Packages installing + "#id2596612">12.5.12. Packages installing scrollkeeper data files
12.5.13. Packages installing X11 + "#id2596731">12.5.13. Packages installing X11 fonts
12.5.14. Packages installing GTK2 + "#id2596778">12.5.14. Packages installing GTK2 modules
12.5.15. Packages installing SGML + "#id2596916">12.5.15. Packages installing SGML or XML data
12.5.16. Packages installing + "#id2596968">12.5.16. Packages installing extensions to the MIME database
12.5.17. Packages using + "#id2597107">12.5.17. Packages using intltool
+ +
12.5.18. Packages installing + startup scripts
-
12.6. +
12.6. Feedback to the author
@@ -688,18 +692,18 @@ alink="#0000FF">
-
14.1. +
14.1. Submitting your packages
-
14.2. +
14.2. Committing: Importing a package into CVS
-
14.3. +
14.3. Updating a package to a newer version
-
14.4. +
14.4. Moving a package in pkgsrc
@@ -711,27 +715,27 @@ alink="#0000FF">
-
A.1. +
A.1. files
-
A.1.1. +
A.1.1. Makefile
-
A.1.2. +
A.1.2. DESCR
-
A.1.3. +
A.1.3. PLIST
-
A.1.4. +
A.1.4. Checking a package with pkglint
-
A.2. Steps +
A.2. Steps for building, installing, packaging
@@ -757,10 +761,10 @@ alink="#0000FF">
-
D.1. +
D.1. Targets
-
D.2. +
D.2. Procedure
@@ -781,7 +785,7 @@ alink="#0000FF">

Table of Contents

-
1.1. +
1.1. Introduction
1.2. @@ -800,8 +804,8 @@ alink="#0000FF">

1.1. Introduction

+ "id2517094" id= + "id2517094">1.1. Introduction
@@ -1111,13 +1115,13 @@ alink="#0000FF">
-
2.1. As +
2.1. As tar file
-
2.2. Via +
2.2. Via SUP
-
2.3. Via +
2.3. Via CVS
@@ -1127,32 +1131,32 @@ alink="#0000FF">
-
3.1. +
3.1. Bootstrapping pkgsrc
-
3.2. +
3.2. Platform specific notes
3.2.1. Darwin (Mac OS + "#id2518162">3.2.1. Darwin (Mac OS X)
3.2.2. FreeBSD
+ "#id2518324">3.2.2. FreeBSD
3.2.3. Interix
+ "#id2518494">3.2.3. Interix
3.2.4. IRIX
+ "#id2519063">3.2.4. IRIX
3.2.5. OpenBSD
+ "#id2519180">3.2.5. OpenBSD
3.2.6. Solaris
+ "#id2519292">3.2.6. Solaris
@@ -1170,37 +1174,37 @@ alink="#0000FF">
4.1.1. Where to get binary + "#id2519429">4.1.1. Where to get binary packages
4.1.2. How to use binary + "#id2519469">4.1.2. How to use binary packages
4.1.3. A word of + "#id2519604">4.1.3. A word of warning
-
4.2. +
4.2. Building packages from source
4.2.1. Requirements
+ "#id2519625">4.2.1. Requirements
4.2.2. Fetching + "#id2519645">4.2.2. Fetching distfiles
4.2.3. How to build and + "#id2519698">4.2.3. How to build and install
4.2.4. Selecting the + "#id2520014">4.2.4. Selecting the compiler
@@ -1212,10 +1216,10 @@ alink="#0000FF">
-
5.1. +
5.1. Building a single binary package
-
5.2. +
5.2. Settings for creation of binary packages
@@ -1229,25 +1233,25 @@ alink="#0000FF"> Configuration
5.3.2. Other environmental + "#id2520865">5.3.2. Other environmental considerations
5.3.3. Operation
+ "#id2585963">5.3.3. Operation
5.3.4. What it does
+ "#id2586101">5.3.4. What it does
5.3.5. Disk space + "#id2586157">5.3.5. Disk space requirements
5.3.6. Setting up a sandbox for + "#id2586184">5.3.6. Setting up a sandbox for chroot'ed builds
5.3.7. Building a partial set of + "#id2586645">5.3.7. Building a partial set of packages
-
5.4. +
5.4. Creating a multiple CD-ROM packages collection
5.4.1. Example of + "#id2587097">5.4.1. Example of cdpack
@@ -1275,52 +1279,52 @@ alink="#0000FF">
-
6.1. Is - there a mailing list for pkg-related +
6.1. Are + there any mailing lists for pkg-related discussion?
-
6.2. +
6.2. Where's the pkgviews documentation?
6.3. Utilities for package management (pkgtools)
-
6.4. How +
6.4. How to use pkgsrc as non-root
-
6.5. How +
6.5. How to resume transfers when fetching distfiles?
-
6.6. How +
6.6. How can I install/use XFree86 from pkgsrc?
-
6.7. How +
6.7. How can I install/use X.org from pkgsrc?
-
6.8. How +
6.8. How to fetch files from behind a firewall
-
6.9. How +
6.9. How do I tell make fetch to do passive FTP?
-
6.10. +
6.10. How to fetch all distfiles at once
-
6.11. +
6.11. What does “Don't know how to make /usr/share/tmac/tmac.andoc” mean?
-
6.12. +
6.12. What does “Could not find bsd.own.mk” mean?
-
6.13. +
6.13. Using 'sudo' with pkgsrc
6.14. @@ -1350,13 +1354,13 @@ alink="#0000FF">

Table of Contents

-
2.1. As +
2.1. As tar file
-
2.2. Via +
2.2. Via SUP
-
2.3. Via +
2.3. Via CVS
@@ -1370,7 +1374,7 @@ alink="#0000FF">

2.1. As tar + "id2517748" id="id2517748">2.1. As tar file

@@ -1388,7 +1392,7 @@ alink="#0000FF">

2.2. Via + "id2517764" id="id2517764">2.2. Via SUP

@@ -1414,7 +1418,7 @@ release=pkgsrc

2.3. Via + "id2517796" id="id2517796">2.3. Via CVS

@@ -1471,30 +1475,30 @@ release=pkgsrc

Table of Contents

-
3.1. +
3.1. Bootstrapping pkgsrc
-
3.2. +
3.2. Platform specific notes
-
3.2.1. +
3.2.1. Darwin (Mac OS X)
-
3.2.2. +
3.2.2. FreeBSD
-
3.2.3. +
3.2.3. Interix
-
3.2.4. +
3.2.4. IRIX
-
3.2.5. +
3.2.5. OpenBSD
-
3.2.6. +
3.2.6. Solaris
@@ -1506,8 +1510,8 @@ release=pkgsrc

3.1. Bootstrapping pkgsrc

+ "id2517906" id= + "id2517906">3.1. Bootstrapping pkgsrc
@@ -1597,7 +1601,7 @@ release=pkgsrc

3.2. Platform + "id2518155" id="id2518155">3.2. Platform specific notes

@@ -1610,8 +1614,8 @@ release=pkgsrc
-

3.2.1. Darwin (Mac OS +

3.2.1. Darwin (Mac OS X)

@@ -1743,8 +1747,8 @@ release=pkgsrc
-

3.2.2. FreeBSD

+

3.2.2. FreeBSD

@@ -1800,8 +1804,8 @@ release=pkgsrc
-

3.2.3. Interix

+

3.2.3. Interix

@@ -1971,8 +1975,8 @@ release=pkgsrc
-

3.2.4. IRIX

+

3.2.4. IRIX

@@ -2024,8 +2028,8 @@ release=pkgsrc
-

3.2.5. OpenBSD

+

3.2.5. OpenBSD

@@ -2091,8 +2095,8 @@ release=pkgsrc
-

3.2.6. Solaris

+

3.2.6. Solaris

@@ -2136,8 +2140,8 @@ release=pkgsrc
-

3.2.6.1. If you are using +

3.2.6.1. If you are using gcc

@@ -2166,8 +2170,8 @@ release=pkgsrc
-

3.2.6.2. If you are using +

3.2.6.2. If you are using Sun WorkShop

@@ -2244,32 +2248,32 @@ CFLAGS= -xtarget=ultra -xarch=v9
-
4.1.1. +
4.1.1. Where to get binary packages
-
4.1.2. +
4.1.2. How to use binary packages
-
4.1.3. +
4.1.3. A word of warning
-
4.2. +
4.2. Building packages from source
-
4.2.1. +
4.2.1. Requirements
-
4.2.2. +
4.2.2. Fetching distfiles
-
4.2.3. +
4.2.3. How to build and install
-
4.2.4. +
4.2.4. Selecting the compiler
@@ -2296,8 +2300,8 @@ CFLAGS= -xtarget=ultra -xarch=v9
-

4.1.1. Where to get binary +

4.1.1. Where to get binary packages

@@ -2328,8 +2332,8 @@ CFLAGS= -xtarget=ultra -xarch=v9
-

4.1.2. How to use binary +

4.1.2. How to use binary packages

@@ -2373,8 +2377,8 @@ CFLAGS= -xtarget=ultra -xarch=v9
-

4.1.3. A word of +

4.1.3. A word of warning

@@ -2397,7 +2401,7 @@ CFLAGS= -xtarget=ultra -xarch=v9

4.2. Building + "id2519616" id="id2519616">4.2. Building packages from source

@@ -2412,8 +2416,8 @@ CFLAGS= -xtarget=ultra -xarch=v9
-

4.2.1. Requirements

+

4.2.1. Requirements

@@ -2432,8 +2436,8 @@ CFLAGS= -xtarget=ultra -xarch=v9
-

4.2.2. Fetching +

4.2.2. Fetching distfiles

@@ -2474,8 +2478,8 @@ CFLAGS= -xtarget=ultra -xarch=v9
-

4.2.3. How to build and +

4.2.3. How to build and install

@@ -2639,8 +2643,8 @@ CFLAGS= -xtarget=ultra -xarch=v9
-

4.2.4. Selecting the +

4.2.4. Selecting the compiler

@@ -2740,10 +2744,10 @@ CFLAGS= -xtarget=ultra -xarch=v9

Table of Contents

-
5.1. +
5.1. Building a single binary package
-
5.2. +
5.2. Settings for creation of binary packages
@@ -2756,23 +2760,23 @@ CFLAGS= -xtarget=ultra -xarch=v9 "#binary.configuration">5.3.1. Configuration -
5.3.2. +
5.3.2. Other environmental considerations
-
5.3.3. +
5.3.3. Operation
-
5.3.4. +
5.3.4. What it does
-
5.3.5. +
5.3.5. Disk space requirements
-
5.3.6. +
5.3.6. Setting up a sandbox for chroot'ed builds
-
5.3.7. +
5.3.7. Building a partial set of packages
-
5.4. +
5.4. Creating a multiple CD-ROM packages collection
-
5.4.1. +
5.4.1. Example of cdpack
@@ -2799,7 +2803,7 @@ CFLAGS= -xtarget=ultra -xarch=v9

5.1. Building a + "id2520101" id="id2520101">5.1. Building a single binary package

@@ -2853,7 +2857,7 @@ CFLAGS= -xtarget=ultra -xarch=v9

5.2. Settings + "id2520247" id="id2520247">5.2. Settings for creation of binary packages

@@ -2935,8 +2939,8 @@ _ACCEPTABLE= yes
-

5.3.1.2. 5.3.1.2. build.conf

@@ -2961,8 +2965,8 @@ _ACCEPTABLE= yes
-

5.3.1.3. 5.3.1.3. pre-build.local

@@ -2993,8 +2997,8 @@ _ACCEPTABLE= yes
-

5.3.2. Other environmental +

5.3.2. Other environmental considerations

@@ -3035,8 +3039,8 @@ fi
-

5.3.3. Operation

+

5.3.3. Operation

@@ -3082,8 +3086,8 @@ fi
-

5.3.4. What it does

+

5.3.4. What it does

@@ -3141,8 +3145,8 @@ fi
-

5.3.5. Disk space +

5.3.5. Disk space requirements

@@ -3184,8 +3188,8 @@ fi
-

5.3.6. Setting up a sandbox +

5.3.6. Setting up a sandbox for chroot'ed builds

@@ -3374,8 +3378,8 @@ fi
-

5.3.7. Building a partial +

5.3.7. Building a partial set of packages

@@ -3558,7 +3562,7 @@ nbftp% chmod 755 .

5.4. Creating a + "id2587082" id="id2587082">5.4. Creating a multiple CD-ROM packages collection

@@ -3581,8 +3585,8 @@ nbftp% chmod 755 . -

Yes, - is the list for discussing package related issues. To - subscribe do:

+

The following mailing lists may be of interest to + pkgsrc users:

+ +
+
    +
  • +

    pkgsrc-bugs -- a list where + problem reports related to pkgsrc are sent and + discussed

    +
  • + +
  • +

    pkgsrc-bulk -- a list where the + results of pkgsrc bulk builds are sent and + discussed

    +
  • + +
  • +

    pkgsrc-changes -- a list where + all commit messages to pkgsrc are sent

    +
  • + +
  • +

    tech-pkg -- a general discussion + list for all things related to pkgsrc

    +
  • +
+
+ +

To subscribe, do:

-% echo subscribe tech-pkg | mail majordomo@NetBSD.org
+% echo subscribe listname | mail majordomo@NetBSD.org
 
-

An archive of the list is available at http://mail-index.NetBSD.org/tech-pkg/.

+

Archives for all these mailing lists are available + from http://mail-index.NetBSD.org/.

@@ -3746,7 +3784,7 @@ nbftp% chmod 755 .

6.2. Where's + "id2587492" id="id2587492">6.2. Where's the pkgviews documentation?

@@ -4001,7 +4039,7 @@ nbftp% chmod 755 .

6.4. How to use + "id2587676" id="id2587676">6.4. How to use pkgsrc as non-root

@@ -4019,7 +4057,7 @@ nbftp% chmod 755 .

6.5. How to + "id2587688" id="id2587688">6.5. How to resume transfers when fetching distfiles?

@@ -4058,7 +4096,7 @@ nbftp% chmod 755 .

6.6. How can I + "id2587731" id="id2587731">6.6. How can I install/use XFree86 from pkgsrc?

@@ -4081,7 +4119,7 @@ nbftp% chmod 755 .

6.7. How can I + "id2587758" id="id2587758">6.7. How can I install/use X.org from pkgsrc?

@@ -4104,7 +4142,7 @@ nbftp% chmod 755 .

6.8. How to + "id2587786" id="id2587786">6.8. How to fetch files from behind a firewall

@@ -4129,7 +4167,7 @@ http_proxy=http://orpheus.amdahl.com:80/

6.9. How do I + "id2587800" id="id2587800">6.9. How do I tell make fetch to do passive FTP?

@@ -4163,7 +4201,7 @@ ${LOCALBASE}/bin/ftp

6.10. How to + "id2587851" id="id2587851">6.10. How to fetch all distfiles at once

@@ -4232,7 +4270,7 @@ ${LOCALBASE}/bin/ftp

6.11. What does + "id2588059" id="id2588059">6.11. What does “Don't know how to make /usr/share/tmac/tmac.andoc” mean?

@@ -4264,7 +4302,7 @@ ${LOCALBASE}/bin/ftp

6.12. What does + "id2588098" id="id2588098">6.12. What does “Could not find bsd.own.mk” mean?

@@ -4293,7 +4331,7 @@ ${LOCALBASE}/bin/ftp

6.13. Using + "id2588224" id="id2588224">6.13. Using 'sudo' with pkgsrc

@@ -4516,7 +4554,7 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc audit-packages installation procedure:

 ===========================================================================
-$NetBSD: faq.xml,v 1.4 2005/01/11 16:05:20 wiz Exp $
+$NetBSD: faq.xml,v 1.5 2005/02/24 14:24:32 jschauma Exp $
 
 You may wish to have the vulnerabilities file downloaded daily so that
 it remains current.  This may be done by adding an appropriate entry
@@ -4575,17 +4613,17 @@ fi
               
7.3. patches/*
-
7.4. +
7.4. Other mandatory files
7.5. Optional files
-
7.6. +
7.6. work*
-
7.7. +
7.7. files/*
@@ -4595,10 +4633,10 @@ fi
-
8.1. RCS +
8.1. RCS ID
-
8.2. +
8.2. Semi-automatic PLIST generation
@@ -4609,14 +4647,14 @@ fi
8.4. Variable substitution in PLIST
-
8.5. +
8.5. Manpage-compression
-
8.6. +
8.6. Changing PLIST source with PLIST_SRC
-
8.7. +
8.7. Platform specific and differing PLISTs
@@ -4631,21 +4669,21 @@ fi
-
9.1. +
9.1. Converting packages to use buildlink3
-
9.2. +
9.2. Writing buildlink3.mk files
9.2.1. Anatomy of a buildlink3.mk + "#id2590737">9.2.1. Anatomy of a buildlink3.mk file
9.2.2. Updating 9.2.2. Updating BUILDLINK_DEPENDS.pkg in buildlink3.mk @@ -4653,18 +4691,18 @@ fi
-
9.3. +
9.3. Writing builtin.mk files
9.3.1. Anatomy of a 9.3.1. Anatomy of a builtin.mk file
9.3.2. Global preferences for native + "#id2591769">9.3.2. Global preferences for native or pkgsrc software
@@ -4676,10 +4714,10 @@ fi
-
10.1. +
10.1. Global default options
-
10.2. +
10.2. Converting packages to use bsd.options.mk
@@ -4693,7 +4731,7 @@ fi
11.1. Program location
-
11.2. +
11.2. Main targets
-
12.1. +
12.1. General operation
12.1.1. How to pull in variables + "#id2593800">12.1.1. How to pull in variables from /etc/mk.conf
12.1.2. Restricted + "#id2593952">12.1.2. Restricted packages
12.1.4. Handling conflicts with + "#id2594467">12.1.4. Handling conflicts with other packages
12.1.5. Packages that cannot or + "#id2594517">12.1.5. Packages that cannot or should not be built
12.1.6. Packages which should not be + "#id2594542">12.1.6. Packages which should not be deleted, once installed
12.1.8. How to handle compiler + "#id2594702">12.1.8. How to handle compiler bugs
12.1.9. How to handle incrementing + "#id2594725">12.1.9. How to handle incrementing versions when fixing an existing package
12.1.10. Portability of + "#id2594774">12.1.10. Portability of packages
-
12.2. +
12.2. Possible downloading issues
12.2.1. Packages whose distfiles + "#id2594802">12.2.1. Packages whose distfiles aren't available for plain downloading
12.2.2. How to handle modified + "#id2594865">12.2.2. How to handle modified distfiles with the 'old' name
-
12.3. +
12.3. Configuration gotchas
@@ -4781,65 +4819,65 @@ fi libtool
12.3.2. Using libtool on GNU + "#id2595352">12.3.2. Using libtool on GNU packages that already support libtool
12.3.3. GNU + "#id2595436">12.3.3. GNU Autoconf/Automake
-
12.4. +
12.4. Building considerations
12.4.1. CPP defines
+ "#id2595484">12.4.1. CPP defines
-
12.5. +
12.5. Package specific actions
12.5.1. Package configuration + "#id2595654">12.5.1. Package configuration files
12.5.2. User + "#id2595825">12.5.2. User interaction
12.5.3. Handling + "#id2595869">12.5.3. Handling licenses
12.5.4. Creating an account from a + "#id2596089">12.5.4. Creating an account from a package
12.5.5. Installing score + "#id2596151">12.5.5. Installing score files
12.5.6. Packages providing login + "#id2596195">12.5.6. Packages providing login shells
12.5.7. Packages containing perl + "#id2596252">12.5.7. Packages containing perl scripts
12.5.8. Packages with hardcoded + "#id2596270">12.5.8. Packages with hardcoded paths to other interpreters
12.5.9. Packages installing perl + "#id2596292">12.5.9. Packages installing perl modules
12.5.11. Packages installing GConf2 + "#id2596512">12.5.11. Packages installing GConf2 data files
12.5.12. Packages installing + "#id2596612">12.5.12. Packages installing scrollkeeper data files
12.5.13. Packages installing X11 + "#id2596731">12.5.13. Packages installing X11 fonts
12.5.14. Packages installing GTK2 + "#id2596778">12.5.14. Packages installing GTK2 modules
12.5.15. Packages installing SGML or + "#id2596916">12.5.15. Packages installing SGML or XML data
12.5.16. Packages installing + "#id2596968">12.5.16. Packages installing extensions to the MIME database
12.5.17. Packages using + "#id2597107">12.5.17. Packages using intltool
+ +
12.5.18. Packages installing startup + scripts
-
12.6. +
12.6. Feedback to the author
@@ -4889,17 +4931,17 @@ fi
-
14.1. +
14.1. Submitting your packages
-
14.2. +
14.2. Committing: Importing a package into CVS
-
14.3. +
14.3. Updating a package to a newer version
-
14.4. +
14.4. Moving a package in pkgsrc
@@ -4932,17 +4974,17 @@ fi
7.3. patches/*
-
7.4. Other +
7.4. Other mandatory files
7.5. Optional files
-
7.6. +
7.6. work*
-
7.7. +
7.7. files/*
@@ -5277,7 +5319,7 @@ converters games mbone print x11

7.4. Other + "id2589337" id="id2589337">7.4. Other mandatory files

@@ -5401,8 +5443,8 @@ MESSAGE_SUBST+= SOMEVAR="somevalue"

7.6. 7.6. work*

@@ -5462,8 +5504,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix

7.7. 7.7. files/*

@@ -5495,10 +5537,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix

Table of Contents

-
8.1. RCS +
8.1. RCS ID
-
8.2. +
8.2. Semi-automatic PLIST generation
@@ -5509,14 +5551,14 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
8.4. Variable substitution in PLIST
-
8.5. +
8.5. Manpage-compression
-
8.6. +
8.6. Changing PLIST source with PLIST_SRC
-
8.7. +
8.7. Platform specific and differing PLISTs
8.8. @@ -5542,7 +5584,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix

8.1. RCS + "id2589673" id="id2589673">8.1. RCS ID

@@ -5560,8 +5602,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix

8.2. Semi-automatic + "id2589688" id= + "id2589688">8.2. Semi-automatic PLIST generation

@@ -5755,8 +5797,8 @@ PLIST_SUBST+= SOMEVAR="somevalue"

8.5. Manpage-compression

+ "id2590077" id= + "id2590077">8.5. Manpage-compression
@@ -5780,7 +5822,7 @@ PLIST_SUBST+= SOMEVAR="somevalue"

8.6. Changing + "id2590119" id="id2590119">8.6. Changing PLIST source with PLIST_SRC

@@ -5800,7 +5842,7 @@ PLIST_SUBST+= SOMEVAR="somevalue"

8.7. Platform + "id2590136" id="id2590136">8.7. Platform specific and differing PLISTs

@@ -5942,19 +5984,19 @@ PLIST_SUBST+= SOMEVAR="somevalue"

Table of Contents

-
9.1. +
9.1. Converting packages to use buildlink3
-
9.2. +
9.2. Writing buildlink3.mk files
-
9.2.1. +
9.2.1. Anatomy of a buildlink3.mk file
-
9.2.2. +
9.2.2. Updating BUILDLINK_DEPENDS.pkg in @@ -5963,17 +6005,17 @@ PLIST_SUBST+= SOMEVAR="somevalue"
-
9.3. +
9.3. Writing builtin.mk files
-
9.3.1. +
9.3.1. Anatomy of a builtin.mk file
-
9.3.2. +
9.3.2. Global preferences for native or pkgsrc software
@@ -6024,7 +6066,7 @@ PLIST_SUBST+= SOMEVAR="somevalue"

9.1. Converting + "id2590476" id="id2590476">9.1. Converting packages to use buildlink3

@@ -6175,7 +6217,7 @@ DEPENDS+= foo>=1.1.0:../../category/foo

9.2. Writing + "id2590667" id="id2590667">9.2. Writing buildlink3.mk files

@@ -6215,8 +6257,8 @@ DEPENDS+= foo>=1.1.0:../../category/foo
-

9.2.1. Anatomy of a buildlink3.mk +

9.2.1. Anatomy of a buildlink3.mk file

@@ -6446,8 +6488,8 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
-

9.2.2. Updating 9.2.2. Updating BUILDLINK_DEPENDS.pkg in buildlink3.mk @@ -6516,7 +6558,7 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}

9.3. Writing + "id2591256" id="id2591256">9.3. Writing builtin.mk files

@@ -6568,8 +6610,8 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
-

9.3.1. Anatomy of a +

9.3.1. Anatomy of a builtin.mk file

@@ -6694,8 +6736,8 @@ CHECK_BUILTIN.foo?= no
-

9.3.2. Global preferences +

9.3.2. Global preferences for native or pkgsrc software

@@ -6753,10 +6795,10 @@ CHECK_BUILTIN.foo?= no

Table of Contents

-
10.1. +
10.1. Global default options
-
10.2. +
10.2. Converting packages to use bsd.options.mk
@@ -6776,7 +6818,7 @@ CHECK_BUILTIN.foo?= no

10.1. Global + "id2591842" id="id2591842">10.1. Global default options

@@ -6794,8 +6836,8 @@ CHECK_BUILTIN.foo?= no

10.2. Converting packages to + "id2591857" id= + "id2591857">10.2. Converting packages to use bsd.options.mk

@@ -6958,7 +7000,7 @@ CONFIGURE_ARGS+= --enable-sasl=${BUILDLINK_PREFIX.sasl}
11.1. Program location
-
11.2. Main +
11.2. Main targets

11.2. Main + "id2592396" id="id2592396">11.2. Main targets

@@ -7921,17 +7963,17 @@ make build

Table of Contents

-
12.1. +
12.1. General operation
12.1.1. How to pull in variables from + "#id2593800">12.1.1. How to pull in variables from /etc/mk.conf
12.1.2. Restricted + "#id2593952">12.1.2. Restricted packages
12.1.4. Handling conflicts with other + "#id2594467">12.1.4. Handling conflicts with other packages
12.1.5. Packages that cannot or should + "#id2594517">12.1.5. Packages that cannot or should not be built
12.1.6. Packages which should not be + "#id2594542">12.1.6. Packages which should not be deleted, once installed
12.1.8. How to handle compiler + "#id2594702">12.1.8. How to handle compiler bugs
12.1.9. How to handle incrementing + "#id2594725">12.1.9. How to handle incrementing versions when fixing an existing package
12.1.10. Portability of + "#id2594774">12.1.10. Portability of packages
-
12.2. +
12.2. Possible downloading issues
12.2.1. Packages whose distfiles + "#id2594802">12.2.1. Packages whose distfiles aren't available for plain downloading
12.2.2. How to handle modified + "#id2594865">12.2.2. How to handle modified distfiles with the 'old' name
-
12.3. +
12.3. Configuration gotchas
@@ -7995,64 +8037,64 @@ make build libtool
12.3.2. Using libtool on GNU packages + "#id2595352">12.3.2. Using libtool on GNU packages that already support libtool
12.3.3. GNU + "#id2595436">12.3.3. GNU Autoconf/Automake

-
12.4. +
12.4. Building considerations
12.4.1. CPP defines
+ "#id2595484">12.4.1. CPP defines
-
12.5. +
12.5. Package specific actions
12.5.1. Package configuration + "#id2595654">12.5.1. Package configuration files
12.5.2. User + "#id2595825">12.5.2. User interaction
12.5.3. Handling + "#id2595869">12.5.3. Handling licenses
12.5.4. Creating an account from a + "#id2596089">12.5.4. Creating an account from a package
12.5.5. Installing score + "#id2596151">12.5.5. Installing score files
12.5.6. Packages providing login + "#id2596195">12.5.6. Packages providing login shells
12.5.7. Packages containing perl + "#id2596252">12.5.7. Packages containing perl scripts
12.5.8. Packages with hardcoded paths + "#id2596270">12.5.8. Packages with hardcoded paths to other interpreters
12.5.9. Packages installing perl + "#id2596292">12.5.9. Packages installing perl modules
12.5.11. Packages installing GConf2 + "#id2596512">12.5.11. Packages installing GConf2 data files
12.5.12. Packages installing + "#id2596612">12.5.12. Packages installing scrollkeeper data files
12.5.13. Packages installing X11 + "#id2596731">12.5.13. Packages installing X11 fonts
12.5.14. Packages installing GTK2 + "#id2596778">12.5.14. Packages installing GTK2 modules
12.5.15. Packages installing SGML or + "#id2596916">12.5.15. Packages installing SGML or XML data
12.5.16. Packages installing + "#id2596968">12.5.16. Packages installing extensions to the MIME database
12.5.17. Packages using + "#id2597107">12.5.17. Packages using intltool
+ +
12.5.18. Packages installing startup + scripts
-
12.6. +
12.6. Feedback to the author
@@ -8099,7 +8145,7 @@ make build

12.1. General + "id2593797" id="id2593797">12.1. General operation

@@ -8109,8 +8155,8 @@ make build
-

12.1.1. How to pull in +

12.1.1. How to pull in variables from /etc/mk.conf

@@ -8170,8 +8216,8 @@ CFLAGS+= -your -flags
-

12.1.2. Restricted +

12.1.2. Restricted packages

@@ -8291,7 +8337,7 @@ CFLAGS+= -your -flags

Please note that the “pre-req-package-name” may include - any of the wildcard version numbers recognised by + any of the wildcard version numbers recognized by

-

12.1.4. Handling conflicts +

12.1.4. Handling conflicts with other packages

@@ -8522,8 +8568,8 @@ CONFLICTS= Xaw3d-[0-9]*
-

12.1.5. Packages that cannot +

12.1.5. Packages that cannot or should not be built

@@ -8554,8 +8600,8 @@ CONFLICTS= Xaw3d-[0-9]*
-

12.1.6. Packages which +

12.1.6. Packages which should not be deleted, once installed

@@ -8618,8 +8664,8 @@ CONFLICTS= Xaw3d-[0-9]*
-

12.1.8. How to handle +

12.1.8. How to handle compiler bugs

@@ -8644,8 +8690,8 @@ CONFLICTS= Xaw3d-[0-9]*
-

12.1.9. How to handle +

12.1.9. How to handle incrementing versions when fixing an existing package

@@ -8685,8 +8731,8 @@ DISTNAME= foo-17.43
-

12.1.10. Portability of +

12.1.10. Portability of packages

@@ -8702,8 +8748,8 @@ DISTNAME= foo-17.43
-

12.1.10.1. ${INSTALL}, +

12.1.10.1. ${INSTALL}, ${INSTALL_DATA_DIR}, ...

@@ -8728,7 +8774,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2

12.2. Possible + "id2594798" id="id2594798">12.2. Possible downloading issues

@@ -8738,8 +8784,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2
-

12.2.1. Packages whose +

12.2.1. Packages whose distfiles aren't available for plain downloading

@@ -8800,8 +8846,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2
-

12.2.2. How to handle +

12.2.2. How to handle modified distfiles with the 'old' name

@@ -8830,8 +8876,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2

12.3. Configuration + "id2594876" id= + "id2594876">12.3. Configuration gotchas

@@ -9059,8 +9105,8 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib
-

12.3.2. Using libtool on GNU +

12.3.2. Using libtool on GNU packages that already support libtool

@@ -9139,8 +9185,8 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib
-

12.3.3. GNU +

12.3.3. GNU Autoconf/Automake

@@ -9206,7 +9252,7 @@ pre-configure:

12.4. Building + "id2595481" id="id2595481">12.4. Building considerations

@@ -9216,8 +9262,8 @@ pre-configure:
-

12.4.1. CPP defines

+

12.4.1. CPP defines

@@ -9256,7 +9302,7 @@ pre-configure:

12.5. Package + "id2595651" id="id2595651">12.5. Package specific actions

@@ -9266,8 +9312,8 @@ pre-configure:
-

12.5.1. Package +

12.5.1. Package configuration files

@@ -9339,8 +9385,8 @@ pre-configure:
-

12.5.2. User +

12.5.2. User interaction

@@ -9389,8 +9435,8 @@ INTERACTIVE_STAGE= configure install
-

12.5.3. Handling +

12.5.3. Handling licenses

@@ -9464,8 +9510,8 @@ ACCEPTABLE_LICENSES+=graphviz-license
-

12.5.4. Creating an account +

12.5.4. Creating an account from a package

@@ -9519,8 +9565,8 @@ user:group[:[userid][:[description][:[home][:shell]]]]
-

12.5.5. Installing score +

12.5.5. Installing score files

@@ -9557,8 +9603,8 @@ user:group[:[userid][:[description][:[home][:shell]]]]
-

12.5.6. Packages providing +

12.5.6. Packages providing login shells

@@ -9593,8 +9639,8 @@ user:group[:[userid][:[description][:[home][:shell]]]]
-

12.5.7. Packages containing +

12.5.7. Packages containing perl scripts

@@ -9612,8 +9658,8 @@ user:group[:[userid][:[description][:[home][:shell]]]]
-

12.5.8. Packages with +

12.5.8. Packages with hardcoded paths to other interpreters

@@ -9639,8 +9685,8 @@ user:group[:[userid][:[description][:[home][:shell]]]]
-

12.5.9. Packages installing +

12.5.9. Packages installing perl modules

@@ -9779,8 +9825,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

12.5.11. Packages installing +

12.5.11. Packages installing GConf2 data files

@@ -9854,8 +9900,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

12.5.12. Packages installing +

12.5.12. Packages installing scrollkeeper data files

@@ -9899,8 +9945,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

12.5.13. Packages installing +

12.5.13. Packages installing X11 fonts

@@ -9937,8 +9983,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

12.5.14. Packages installing +

12.5.14. Packages installing GTK2 modules

@@ -10004,8 +10050,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

12.5.15. Packages installing +

12.5.15. Packages installing SGML or XML data

@@ -10066,8 +10112,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

12.5.16. Packages installing +

12.5.16. Packages installing extensions to the MIME database

@@ -10125,8 +10171,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

12.5.17. Packages using +

12.5.17. Packages using intltool

@@ -10144,6 +10190,28 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist package benefits of any bug fixes that may have appeared since it was released.

+ +
+
+
+
+

12.5.18. Packages installing + startup scripts

+
+
+
+ +

If a package contains a rc.d script, it won't be + copied into the startup directory by default, but you + can enable it, by adding the option PKG_RCD_SCRIPTS=YES in /etc/mk.conf. This option will copy + the scripts into /etc/rc.d when a package is + installed, and it will automatically remove the scripts + when the package is deinstalled.

+
@@ -10151,7 +10219,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

12.6. Feedback + "id2597210" id="id2597210">12.6. Feedback to the author

@@ -10387,17 +10455,17 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

Table of Contents

-
14.1. +
14.1. Submitting your packages
-
14.2. +
14.2. Committing: Importing a package into CVS
-
14.3. +
14.3. Updating a package to a newer version
-
14.4. +
14.4. Moving a package in pkgsrc
@@ -10407,8 +10475,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

14.1. Submitting your + "id2597672" id= + "id2597672">14.1. Submitting your packages

@@ -10474,8 +10542,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

14.2. Committing: Importing a + "id2597723" id= + "id2597723">14.2. Committing: Importing a package into CVS

@@ -10531,7 +10599,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

14.3. Updating + "id2597854" id="id2597854">14.3. Updating a package to a newer version

@@ -10566,7 +10634,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

Please also recognise that, just because a new version +

Please also recognize that, just because a new version of a package has been released, it should not automatically be upgraded in the CVS repository. We prefer to be conservative in the packages that are @@ -10582,7 +10650,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

14.4. Moving a + "id2597874" id="id2597874">14.4. Moving a package in pkgsrc

@@ -10683,27 +10751,27 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

Table of Contents

-
A.1. +
A.1. files
-
A.1.1. +
A.1.1. Makefile
-
A.1.2. +
A.1.2. DESCR
-
A.1.3. +
A.1.3. PLIST
-
A.1.4. +
A.1.4. Checking a package with pkglint
-
A.2. Steps +
A.2. Steps for building, installing, packaging
@@ -10721,7 +10789,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

A.1. files

+ "id2598100" id="id2598100">A.1. files
@@ -10730,8 +10798,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

A.1.1. Makefile

+

A.1.1. Makefile

@@ -10758,8 +10826,8 @@ INFO_FILES= bison.info
-

A.1.2. DESCR

+

A.1.2. DESCR

@@ -10775,8 +10843,8 @@ of the NetBSD source tree is beyond me.
-

A.1.3. PLIST

+

A.1.3. PLIST

@@ -10793,8 +10861,8 @@ share/bison.hairy
-

A.1.4. Checking a package with +

A.1.4. Checking a package with pkglint

@@ -10832,7 +10900,7 @@ looks fine.

A.2. Steps for + "id2598173" id="id2598173">A.2. Steps for building, installing, packaging

@@ -11250,10 +11318,10 @@ Registering depends:.

Table of Contents

-
D.1. +
D.1. Targets
-
D.2. +
D.2. Procedure
@@ -11266,7 +11334,7 @@ Registering depends:.

D.1. Targets

+ "id2599093" id="id2599093">D.1. Targets
@@ -11319,8 +11387,8 @@ Registering depends:.

D.2. Procedure

+ "id2599163" id= + "id2599163">D.2. Procedure
@@ -11387,7 +11455,7 @@ Registering depends:.

Until the webserver on www.NetBSD.org is really updated automatically to pick up changes to the pkgsrc guide automatically, also run - make install-htdoc + make install-htdocs HTDOCSDIR=../../../htdocs (or similar, adjust HTDOCSDIR!).

-- cgit v1.2.3