Commit graph

336 commits

Author SHA1 Message Date
itojun
53325e243b refer MASTER_SITE_{GNOME,SOURCEFORGE}. warn about use of ACCEPTABLE_LICENSES
in sample mk.conf fragment
2001-01-28 03:17:41 +00:00
skrll
82700cffcd Remove reference to LIBTOOL_OVERRIDE. It no longer exists. 2001-01-26 09:17:55 +00:00
garbled
5eec60b1d5 Add a sed string that mangles the uname -r output correctly for the new
binary packages layout on the FTP server..

Pointed out by Hubert F.
2001-01-24 09:53:52 +00:00
hubertf
e5f918615f Make it clear that it's a bad idea to try having multiple (different)
settings for LOCALBASE etc., noted by Paul Hoffman <phoffman@proper.com>
2001-01-06 03:10:02 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
hubertf
dbecf1c0f4 Remove paragraph about PLIST-mi/md.shared/md.static 2000-12-30 11:24:31 +00:00
hubertf
4605da6728 Note that ssh doesn't need to be installed in /etc/rc.conf on 1.5 systems. 2000-12-17 23:32:39 +00:00
abs
de332ebfb6 Update for fact that PATCH_FUZZ_FACTOR is on by default 2000-12-15 14:03:31 +00:00
wiz
8184259f54 REQ is no more, its place is taken by INSTALL & friends. 2000-12-08 10:17:36 +00:00
hubertf
0b03f41b02 Note that -release should not be used in libtool - says Rene :) 2000-12-07 01:23:48 +00:00
hubertf
a5a4e36cf2 For libtool section, make clear what gets into PLIST 2000-12-06 17:15:58 +00:00
hubertf
0f52a134a1 Add some information to lighten up the recent libtool confusion:
* When compiling a shared lib, always include -version-info x:y (even if
   x, y are 0). PLIST gets .la and libfoo.so.x.y entries.
 * ONLY when compiling a shared object (that's later opened with dlopen(3),
   NOT a shared lib, use -module -avoid-version. PLIST only gets the foo.so
   entry.
2000-12-06 17:12:32 +00:00
wiz
45723e0e3b USE_CURSES logic moved to bsd.prefs.mk 2000-11-02 03:03:39 +00:00
hubertf
92d344c0ce One package per pr, please! 2000-11-01 12:05:15 +00:00
hubertf
397fc51439 Expand section on fetching all distfiles (9.6) a bit, after discussion
with Robert Elz <kre@munnari.OZ.AU> in PR 11286.
2000-10-22 21:25:14 +00:00
garbled
bac3060297 Add a note to appendix B noting the changes to how binary packages are to be
uploaded to ftp.netbsd.org.  If you are building binary packages for 1.5,
you should read this change.
2000-10-18 03:53:41 +00:00
hubertf
c7c89fb095 * Move section 4.7 (Importing to CVS), and merge with section 10 (Submitting)
* Remove stray TOC for FAQs
 * Some polishing up
2000-10-17 15:51:34 +00:00
hubertf
af4dbc20ce Remove some clutter (obviously some vi user wanted to save... :-) 2000-10-17 15:29:47 +00:00
hubertf
78a0614cef Put documentation on print-PLIST in one place. 2000-10-17 15:12:00 +00:00
hubertf
7f53f739f0 Make description of X11BASE line up with the rest of the described
variables.
2000-10-17 15:00:18 +00:00
hubertf
f8755e5cd2 capitalize properly 2000-10-17 14:52:31 +00:00
jlam
752a0bc119 Document SHLIB_HANDLING in misc section where it talks about ldconfig. 2000-10-13 23:21:53 +00:00
hubertf
af9e19e90c Flesh out description of 'readme' target a bit, text submitted by
Jeremy C. Reed <reed@rainier.reedmedia.net> in PR 11156
2000-10-11 14:02:27 +00:00
abs
ea7b33d406 sam has moved from plan9 to editors - refer to it under its new location 2000-09-18 10:24:59 +00:00
hubertf
0e7843f045 Bulk build framework 2000-09-15 22:05:46 +00:00
hubertf
58c7337c60 Mention some more variables needed for bulk builds, most
important DEPENDS_TARGET.
2000-09-08 12:55:12 +00:00
hubertf
1617f0113f When prepare a machien for bulk builds, take into account that the
ssh pkg could be deleted by some amok running script, and install ssh
via "make bulk-install".
2000-09-07 09:53:13 +00:00
jlam
262f886e68 Add new section 5.3 which describes PLISTs for perl5 modules. 2000-08-27 10:59:53 +00:00
tron
27fb135785 Add a "Requirements" sections to chapter 2 (Installing by Building)
which lists the NetBSD distribution sets required to build packages.
2000-08-25 20:30:20 +00:00
wiz
e4a3950337 remove paragraph about pkglibtool 2000-08-17 15:53:58 +00:00
dmcmahill
40e6f0a5ed add a note suggesting that LOCALBASE should only be for pkgsrc and not
shared with other programs to prevent conflicts.  Hopefully this will help
avoid people trying to do things like LOCALBASE=/usr as in PR pkg/10783.
2000-08-16 19:08:20 +00:00
hubertf
cf40ac0c62 Clarify the idea behind the "Table of contents" a bit 2000-08-03 14:56:51 +00:00
tron
239a6c7828 Document "info" target. 2000-07-30 08:57:54 +00:00
wiz
c9a72635de Add section about how to use USE_CURSES, NEED_NCURSES, and
REPLACE_NCURSES.
Unrelated whitespace fix.
2000-07-29 10:10:43 +00:00
hubertf
b77b5aae39 One more preparational step for people who want to try the bulk
targets (cut&paste-ready)
2000-07-28 01:40:05 +00:00
hubertf
97ac5b5ed4 Document bulk bilding (process for portmasters etc., and the targets,
in case someone cares for what they do ;-)
2000-07-28 01:19:43 +00:00
rh
738f98133b Sync description of REINSTALL with reality. 2000-07-21 06:56:35 +00:00
rh
be656b61f3 Add NO_CDROM to the list of deprecated variables for package restriction. 2000-07-20 12:58:11 +00:00
rh
4def0c7794 Add an FAQ entry about restricted packages noting usage of the new
NO_{SRC,BIN}_ON_{FTP,CDROM} variables.
2000-07-20 12:56:13 +00:00
hubertf
3a62e9fa04 fix missing ", pointed out by Federico Lupi in private mail 2000-07-19 02:27:16 +00:00
hubertf
99f60b5a42 clarify auto-handling of ELF shlib-links a bit 2000-07-16 17:20:20 +00:00
hubertf
3867cd7950 Add note on 'make bin-install' 2000-07-06 16:52:12 +00:00
hubertf
4df5e2aa07 Add some bits for PKG_DEVELOPER 2000-07-06 15:08:30 +00:00
hubertf
28c9349cb0 Add FAQ entry: "Could not find bsd.own.mk" - what's wrong? 2000-07-01 20:12:03 +00:00
wiz
1a12583bd9 Update list of categories (no more corba).
Add two paragraphs recommending use of the pkgdiff package.
Improve wording of paragraph about pkg-CHANGES.
2000-06-30 11:09:53 +00:00
agc
75243c759e Update Packages.txt to reflect reality - there has been a way of
installing X11 packages in ${LOCALBASE} for a while now.
Document the new X11PREFIX definition, which points to X11BASE by
default, or LOCALBASE if xpkgwedge is installed.
2000-06-30 10:23:28 +00:00
hubertf
3645a9985d Document print-PLIST target 2000-06-16 09:18:34 +00:00
rh
d859221894 Actually, we describe how to use libtool in six simple steps, not seven :-) 2000-06-02 06:08:41 +00:00
hubertf
913cd375ae * Remove an obsolete paragraph which tried to describe how to use libtool
* Put description on how to use the libtool pkg on GNU pkgs that come with
   their own libtool
2000-06-02 01:52:10 +00:00
rh
c0635e1933 Add note about obsolete pkglibtool. 2000-06-01 11:28:08 +00:00
agc
4046badfc9 Fix typo, pointed out by Hubert Feyrer 2000-05-11 14:55:56 +00:00
agc
ef268dcf91 Define a new target, "show-pkgsrc-dir", which prints the directory
from which an installed package can be re-installed.  This can be used
to build up a list of host specific packages, which is useful, for
example, in re-building all packages on a machine for a.out to ELF
transition.
2000-05-11 11:23:20 +00:00
jdolecek
c650583872 Warn about too-generous wildcard dependencies, which may prove bogus (using
tk-* as example). Also fix no more accurate info regarding wildcard deps -
they are now retained even for binary packages.

Suggested by David Brownlee.
2000-04-20 16:06:23 +00:00
hubertf
5afe583924 Stop phantasizing about merging pkgs back into FreeBSD, instead tell people
to submit patches that apply without fuzz. (Maybe someone could explain the
exact issues with this).
2000-03-10 17:57:11 +00:00
abs
52bb66fc8a A raft of changes from David Maxwell 2000-02-10 22:39:34 +00:00
abs
a9baf2aa5a Add a brief section explaining the 'nb<N>' suffix. 2000-02-10 02:09:17 +00:00
abs
22537540b0 some corrections by David Maxwell 2000-01-14 10:32:35 +00:00
rh
c678ed3481 Clarify that resuming 'make update' on an unclean source tree will most
certainly fail if the package to be updated changes between the initial
and subsequent 'make update's.
2000-01-14 09:20:47 +00:00
hubertf
cda3fc5a87 Add:
9.16 What does "Don't know how to make /usr/share/tmap/tmac.andoc" mean?

I've seen this the second time now, which sure makes it a FAQ :)
2000-01-13 23:39:18 +00:00
hubertf
fbdf39802a Note that the debugging procedure not only applies to packages that
come from FreeBSD.
2000-01-05 21:59:16 +00:00
hubertf
b90923a714 Use += consistently for assigning any DEPENDS
Noted by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
2000-01-05 19:40:21 +00:00
sakamoto
d7099c8d23 Add notes for LTCONFIG_OVERRIDE and LIBTOOL_OVERRIDE definition
to "FOR GNU PKGS THAT ALREADY SUPPORT LIBTOOL" subsection.
1999-12-07 08:58:59 +00:00
hubertf
e9a3a55f97 s/troja/trojan/k, noted by Thomas Klausner. 1999-12-04 18:00:08 +00:00
hubertf
1b58af972a Add #9.15: How to handle modified distfiles with the 'old' name 1999-11-26 18:06:21 +00:00
dmcmahill
24ec42da86 Update the DEPENDS section to remove the depricated RUN_DEPENDS variable. 1999-11-23 16:38:22 +00:00
agc
e98596a0c4 Fix a typo. Noted by Yuji Yamano, in PR 8818. 1999-11-17 15:57:45 +00:00
rh
c22d93ea1d Document new behaviour of "update" target. 1999-10-31 19:45:15 +00:00
agc
b1b7a25cb8 Mention the port2pkg package in the section about converting a FreeBSD
port to a NetBSD package.
1999-09-29 15:23:54 +00:00
hubertf
a8a1ae2142 Add note about our policy of handling user-supplied binary packages. 1999-09-12 01:40:02 +00:00
tron
c468f841bb Suggest that package submission include package name and version
number in the synopsis line of the PR.
1999-09-09 22:10:56 +00:00
hubertf
71597461f7 pkg/DEINSTALL is called before and after the files are removed.
Noted by Jim Wise.
1999-09-08 20:57:22 +00:00
rh
13581fab28 Remove bogus information about ${INSTALL_TARGET}. 1999-08-31 08:38:57 +00:00
tron
84cd2d419a Mention that wildcard dependences now work at source level. 1999-08-30 22:54:26 +00:00
tron
8fd422e297 Update section 9.13 to mention auto conflicts between package with the
same name and a different version string. Fixes PR pkg/8293 by
Geoff C. Wing.
1999-08-30 22:48:05 +00:00
rh
454bf9c068 Describe 'update' target. 1999-08-29 22:27:11 +00:00
dmcmahill
e09ade7e72 replaced an old reference to 'portlint' with 'pkglint'
fixed a typo
1999-08-28 11:36:22 +00:00
hubertf
e7ce537af3 Document readme-all target 1999-08-22 01:31:16 +00:00
hubertf
320990d515 Document PKG_VERBOSE and DEINSTALLDEPENDS in conjunction with
"make deinstall".

Thanks to Ross for reminding me to commit these :-PPP
1999-08-21 02:15:23 +00:00
bad
f3bc1adf32 PATCHFILES are fetched from PATCH_SITES. 1999-08-16 14:12:40 +00:00
agc
8ed964a4e5 Document the show-downlevel target. 1999-07-09 15:29:43 +00:00
agc
b1196f9c83 Add a very short paragraph explaining what the "show-distfiles" target
does.
1999-07-09 15:26:42 +00:00
agc
43e28739b1 Add documentation on the patch-sum file, and how to generate it using
the "makepatchsum" target
1999-07-09 14:53:11 +00:00
agc
fd7b118f38 Some packages use bsd-style .mk files when building, and so any manual
pages that are installed will be gzip-compressed, if MANZ is set, or
not if MANZ is not set.  If the package uses bsd-style .mk files, the
variable MANCOMPRESSED_IF_MANZ should be set to a value of "yes" in
the package Makefile.  This replaces the previous method of specific
inclusion of bsd.prefs.mk, followed by a check for MANZ and
conditional assignment of MANCOMPRESSED.

Add appropriate documentation, and change all necessary ocurrences in
package Makefiles.
1999-07-02 08:37:20 +00:00
tron
23e0063766 Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" with
variable substituition of "MASTER_SITES" and "PATCH_SITES".
1999-04-15 20:39:38 +00:00
agc
2d178604c1 Correct the wrong information about ldconfig in PLIST files. 1999-02-24 10:40:58 +00:00
tv
7d4ae5f0e4 Document ${MASTER_SITE_BLAH:=/subdir/name/}. 1999-02-19 01:44:41 +00:00
frueauf
4a3b8b4f77 Remove full path for install-info from examples, we no longer enforce that. 1999-02-18 12:36:16 +00:00
frueauf
451334fdb0 - mention pkgsrc/mk/mk.conf.example at some points I found reasonable
- description of all available options and variables is in packages(7)
- add note that part of the import/update process for a package is also noting it in doc/pkg-CHANGES
- add some warning comment in the "CPP defines" section - current no longer defines "unix" or "__unix__", so the proposed method is no longer reasonable. Someone who knows how to solve this cleanly should redo this section.
1999-02-10 14:55:00 +00:00
agc
910f875100 Change all occurrences of USE_X11 to USE_X11BASE. 1999-01-30 23:21:26 +00:00
abs
2c041d3e98 pkglint is in pkgtools, not devel. 1999-01-26 20:03:12 +00:00
bad
0fc453bf83 Document how to import new packages. 1998-12-19 20:35:47 +00:00
hubertf
7030dfef8a Document ${OPSYS}, ${OS_VERSION} in PLIST 1998-11-26 06:37:22 +00:00
agc
6c522c02de Add a cdrom-readme target, a clone of the readme target, for ease of use.
The URLs in the generated README.html files can be specified by overriding
the CDROM_PKG_URL_HOST and CDROM_PKG_URL_DIR definitions.
Document the targets, and clean up some English, in Packages.txt
1998-09-23 13:09:32 +00:00
agc
189dde6dff Modify ldconfig part of PLIST, and libtool explanation, to match reality. 1998-08-24 10:31:00 +00:00
tsarna
0661cb12c3 Note HOMEPAGE. Also, change portlint->pkglint (forgot before),
update categories list to match recent additions, and update example
bison packeg to match more closely what's in pkgsrc.
1998-08-21 16:37:57 +00:00
tv
e782437775 Shortly document CROSSBASE. 1998-08-12 02:52:35 +00:00
tv
a19920b804 Document the actual differences between uses of ${PREFIX}, ${LOCALBASE},
and ${X11BASE}.
1998-07-31 15:24:13 +00:00
hubertf
1c28c5e464 Add notes on libtool, by Todd Vierling <tv@netbsd.org> 1998-07-16 06:50:46 +00:00
hubertf
8877c766f8 Note tech-pkg@netbsd.org 1998-07-13 15:37:12 +00:00
hubertf
61e49eda26 Try to mention MACHINE_GNU_ARCH in PLIST 1998-07-03 06:51:37 +00:00
agc
542918d854 Update the documentation to reflect the automatic manual page handling
changes.
1998-06-18 15:12:22 +00:00
agc
7c2d3bc631 Rework some of the English in this document. 1998-06-10 09:01:12 +00:00
frueauf
8120be1071 Add chapter 9.13 which explains the new CONFLICTS feature. 1998-06-05 12:21:36 +00:00
agc
31b9c1975a Document dependencies, sort PASSIVE_FETCH, and fix some typos. 1998-06-03 15:06:06 +00:00
agc
158e1b451b Document pkgsrc/mk/bsd.prefs.mk (in section 9.9, including /etc/mk.conf) 1998-06-03 11:11:27 +00:00
tron
e43c186ac3 Document "portlint". 1998-05-25 22:01:57 +00:00
frueauf
3d3346cdc4 Add a note about adjusting MAINTAINER to Section 4.1 if adopting FreeBSD ports. 1998-04-20 12:14:22 +00:00
frueauf
b7e762aaa4 Document pkg/MESSAGE. 1998-04-20 08:25:46 +00:00
hubertf
f46767a249 Fix sup-example 1998-04-17 22:01:01 +00:00
hubertf
465ad8f20b Document getting pkgsrc via sup, minor editing. 1998-04-17 21:47:26 +00:00
agc
ae62625795 Document INFO_FILES and USE_GTEXINFO 1998-04-17 10:13:20 +00:00
frueauf
2f0b600fc9 Reflect the move/renaming of bsd.pkg.mk, minior typo fix, update section
11.1.4 to match our reality.
1998-04-16 14:10:53 +00:00
hubertf
d8aaaf6c51 Add FAQ about how to do passive FTP 1998-03-25 14:19:59 +00:00
hubertf
b0f37c4398 There is a mailing list for pkg-related discussion. 1998-03-18 07:10:30 +00:00
tron
de2c07c0bb Removed section 9.9 because the work arround doesn't work as expected,
rename section 9.10 to 9.9.
1998-03-07 14:18:40 +00:00
hubertf
126cb5e5c3 Add note on use of mk.conf variables. 1998-03-05 16:37:14 +00:00
tron
38e071b139 Document "MANZ" work arround in section 9.9. 1998-03-05 15:26:03 +00:00
hubertf
89b203a1f4 Tix stupid typo reported by Johnny C. Lam <lamj@stat.cmu.edu> 1998-02-27 02:46:29 +00:00
hubertf
17242b8eca Patch arguments were reversed, reported by
Brad Salai <bsalai@law.roc.servtech.com>
1998-02-08 18:17:33 +00:00
hubertf
79cec81972 Fix path where packages should end up on the FTP server. 1998-02-08 18:15:08 +00:00
hubertf
f6fc8a8a9e Remove -m argument from ldconfig calls, require the system to
have ${PREFIX}/lib in ld.so.conf instead. This ensures things
even work after a reboot.
1998-02-02 08:58:13 +00:00
hubertf
403cfa3d46 Introduce TRUE?=/usr/bin/true, and use it. 1998-02-02 08:10:41 +00:00
hubertf
1504816d74 true /> /usr/bin/true 1998-01-30 13:15:05 +00:00
hubertf
bb3486c08b RCS ID update - sync with portlint for now 1998-01-30 13:11:42 +00:00
hubertf
1e0611672b Update process for importing a package 1998-01-29 13:47:35 +00:00
hubertf
f535cf3701 Replace "<$ARCH"> by "${MACHINE_ARCH}", keep "<$ARCH>"
(in bsd.port.mk) for backward compatibility.
1998-01-28 15:33:44 +00:00
hubertf
2dacad40e6 Correct some spelling typos, pointed out by
David Brownlee <abs@netbsd.org>.
1998-01-19 08:07:16 +00:00
hubertf
14e3a86bd6 Concentrate FreeBSD credits, note what we call a port, some minor fixes. 1998-01-03 06:18:00 +00:00
hubertf
82fc1593dc Add pkgsrc in FTP layout 1998-01-01 05:52:52 +00:00
hubertf
207715a9c7 Fix some typos reported by Thorsten Frueauf <frueauf@ira.uka.de>. 1997-12-29 19:44:32 +00:00
hubertf
f0a802d447 Rework last commit (.gz in PLIST-manpages) 1997-12-27 04:27:10 +00:00
hubertf
fd2711d332 Add note about .gz suffix of manpages in PLIST; requested by
Ty Sarna <tsarna@endicor.com>.
1997-12-27 04:13:29 +00:00
hubertf
6dee9ff996 Major rewrite 1997-12-26 03:42:33 +00:00
hubertf
c09c394a98 More details on how to fix RCS-Id. 1997-11-13 13:47:38 +00:00
hubertf
8c81b67011 - note "maek makesum"
- note where to get pkgsrc
 - some other minor cleanups and reformatting
1997-11-10 00:35:47 +00:00
hubertf
5a11b17866 some documentation 1997-11-05 09:35:52 +00:00