Commit graph

462 commits

Author SHA1 Message Date
jwise
814ccd277a When a package is already installed, tell people about ``make update''
in addition to ``make reinstall'' and ``make FORCE_PKG_REGISTER= install''
1999-09-18 04:24:22 +00:00
rh
299eb5fbd4 In ${DDIR} creation, change ${GREP} to ${EGREP} and modify pattern to only
match package Makefiles.  This fixes pkg/8396.
1999-09-15 05:39:38 +00:00
jlam
30c69a9109 Document LPRng-specific variables. 1999-09-14 15:52:29 +00:00
kim
d0e9933400 Change how Kerberos support is enabled in pkgsrc.
Quick guide for compiling packages:
- set KERBEROS=4 or KERBEROS=5 in /etc/mk.conf

Quick guide for configuring Kerberos support in a package Makefile:
- test for KERBEROS value and enable the appropriate version with
  CONFIGURE_ARGS or other means and set USE_KERBEROS=yes
- make sure to disable Kerberos support otherwise (especially if
  using configure, which might automatically detect it)
- BUILD_DEFS and RESTRICTED are set automatically in bsd.pkg.mk
  when USE_KERBEROS=yes is set
1999-09-14 02:32:21 +00:00
hubertf
22511c8625 bump PKGTOOLS_REQD to 19990909 - DEINSTALL fix 1999-09-09 02:01:21 +00:00
hubertf
cc41b1afab Add '-r' to root-install-flags if DEINSTALLDEPENDS is set to != "ALL".
(This doesn't affect the "make update" target, it just makes
 "make deinstall DEINSTALLDEPENDS=YES" behave sane).
1999-09-08 22:01:19 +00:00
hubertf
5a99d93eea Upon "make distclean", also rm the README.html file. 1999-09-08 14:58:34 +00:00
jlam
7c4e243e7c Document DT_LAYOUT. 1999-09-07 14:55:37 +00:00
tron
a9af877984 Compare "${USE_INET6}" explicitly with "YES" so that you can override
settings at the command line.
1999-09-03 22:00:52 +00:00
tron
e060ba7d03 Don't try to record non existing patch files in "BuildVersion". 1999-09-03 21:05:58 +00:00
sakamoto
30c4c4b025 s/PLIST_SUB/PLIST_SUBST/ 1999-09-03 02:43:51 +00:00
christos
00afe6005e s/OS/OPSYS 1999-09-02 22:08:48 +00:00
christos
d94a455ae5 Use devel/libtool for OS's other than NetBSD, and disable automatic shared
library handling. This partially takes care of the libfoo.so.1.2.3 names
that Linux uses. More to come.
1999-09-02 21:40:14 +00:00
christos
e8a3e20748 if ${IDENT} does not exist, assume that the package tools are ok. This is
for bootstrapping on systems that don't have RCS installed.
1999-08-31 21:45:45 +00:00
sakamoto
6ab2a30c02 Add support for PLIST_SUB variable. It is a list of "VAR=VALUE" pairs,
and will substitute ${VAR} with the value of VALUE in the PLIST.
This implementation was taken from FreeBSD.

Default PLIST_SUB:
	OPSYS=${OPSYS} OS_VERSION=${OS_VERSION}
	MACHINE_ARCH=${MACHINE_ARCH} MACHINE_GNU_ARCH=${MACHINE_GNU_ARCH}
	MACHINE_GNU_PLATFORM=${MACHINE_GNU_PLATFORM}
	LOWER_VENDOR=${LOWER_VENDOR} LOWER_OPSYS=${LOWER_OPSYS}
	PKGNAME=${PKGNAME}
1999-08-31 09:20:21 +00:00
rh
229edc3100 Use ${DEPENDS_TARGET} instead of ${INSTALL_TARGET} in 'make update' as
${INSTALL_TARGET} is for target makefiles only.
1999-08-31 08:32:16 +00:00
rh
b48f7e853e Add 'update' target to update a package and all depending packages. 1999-08-29 22:13:01 +00:00
rh
c9c69d4fb6 Fix DEINSTALLDEPENDS for su commands that do not preserve environments. 1999-08-27 11:23:48 +00:00
tron
adfcbf14a3 Force registration of binary package dependences without patterns. This
way we can finally use pattern dependences in the package sources without
breaking "pkg_add" - "pkg_add" will attempt to install the version
available at build time.
1999-08-26 15:29:58 +00:00
sakamoto
fb9987292b Add USE_WALLPAPER, suggested by Alistair Crooks.
Used in x11/kterm package to support wallpaper.
1999-08-26 05:18:06 +00:00
agc
86aced3a9d Introduce a USE_XAW definition, which is used in package Makefiles, to
denote that the package uses libXaw.

Introduce an XAW_TYPE definition, which is defined in /etc/mk.conf by
the user, to denote the type of libXaw to use. Possible values are:
standard, 3d and xpm.

Define USE_XAW in relevant Makefiles.

Set default XAW_TYPE in Makefiles which previously did a DEPENDS+= Xaw3d...

This means that package builds should not fail because of conflicting
Xaw packages being installed on machines.
1999-08-25 13:37:34 +00:00
agc
104fa8172c Document NMH_PAGER and NMH_EDITOR.
Make WINDOWMAKER_OPTIONS conform to normal usage.
GIMP_SMALL_DATA doesn't seem to exist any more.
Explain LIBWRAP_FWD and USE_INN more fully.
1999-08-25 10:04:46 +00:00
agc
59aba06c9c Use -h instead of -L in test(1) when testing for a symbolic link. 1999-08-24 19:03:08 +00:00
tron
38fabc925a Correct description of "USE_XFACE". 1999-08-23 08:10:35 +00:00
tron
102db23e5c Fix typo in last commit. 1999-08-22 21:42:22 +00:00
tron
231aa4fd06 Add mirror on "ftp.informatik.tu-muenchen.de" to "MASTER_SITE_GNU". 1999-08-22 21:40:37 +00:00
tron
20fd3d0da5 Use "ftp.wustl.edu" instead of "wuarchive.wustl.edu". 1999-08-22 21:36:49 +00:00
tron
716995fe45 Add "MASTER_SITE_GNOME" for GNOME related packages. 1999-08-22 21:36:10 +00:00
hubertf
58dd80e8d7 s/ECHO_CMD/ECHO/ 1999-08-21 19:27:27 +00:00
hubertf
eb25c27bf0 Let "make deinstall" remove any version installed, not only the one
currently in pkgsrc.

Enabled unconditionally by request of several people.
1999-08-21 01:17:59 +00:00
tron
33dca58479 Update package tools to version 19990819:
- fixes false conflict detection in "pkg_add".
1999-08-19 07:32:57 +00:00
soren
0da2adccd1 Remove MASTER_SITE_LOCAL and MASTER_SITE_BACKUP entries
for ftp.dk.netbsd.org until another place for a Danish
ftp.netbsd.org mirror is found.
1999-08-18 10:58:12 +00:00
agc
fc230df0ae Record the names of the patches which were applied to the package
(taken from the patch-sum file), plus any local patches, in the
BuildVersion file (which can be viewed with the -b option to
pkg_info(1)), rather than simply recording the contents of any patches
directory.
1999-08-18 10:02:01 +00:00
agc
92b4dbde5b Ignore the return code from rm when trying to delete a symbolic link
which may be read-only.  Pointed out by Julian Coleman, fixed in a
slightly different way.
1999-08-16 15:37:40 +00:00
tron
744a4a9992 The X11 mirror on "ftp.eu.net" is gone, use "ftp.sunsite.auc.dk" instead. 1999-08-13 18:27:19 +00:00
agc
29656d015f Substitute for ${PKGNAME} when generating the PLIST files. 1999-08-13 14:06:55 +00:00
christos
2aa3a83adc Linux fixes. 1999-08-12 14:16:25 +00:00
agc
cdc339cc15 This is NetBSD. s/port/package/g 1999-08-10 10:48:23 +00:00
christos
e1b0f5cc9c better linux support 1999-08-10 05:06:36 +00:00
sakamoto
cb73b482be Use ${SORTED_MASTER_SITES} instead of ${MASTER_SITES} in "fetch-list:". 1999-08-09 05:32:12 +00:00
agc
a3d4c1dd82 Ignore result of ${RM} command in do-extract target - the original ${LN} -fs
command was split into two specific commands: ${RM} -f, then ${LN} -s, for
Solaris ln(1) behaviour, and, as pointed out by Julian Coleman, this can
have an unfortunate side-effect on read-only filesystems.
1999-08-04 13:49:02 +00:00
agc
fdeae52fb9 Don't try to fetch a file if there's a symbolic link in ${DISTDIR}. 1999-07-28 10:58:30 +00:00
agc
7f6211432d Clarify the DIST_PATH example. 1999-07-28 10:16:58 +00:00
agc
5dbced5fa3 Document the DIST_PATH definition which accidentally got committed
yesterday.

#DIST_PATH=    /cdrom/0/distfiles:${HOME}/distfiles

(DIST_PATH allows multiple directories for distfiles to be defined,
although distfiles will still be downloaded into DISTDIR.  For
example, this allows a CD to be used as a basic repository for
distfiles, with additional distfiles to be found in other directories,
and, if the distfile is not found in any of these, it will be
downloaded into DISTDIR.  A symbolic link is created in DISTDIR,
pointing to the local distfile.)
1999-07-28 10:14:57 +00:00
agc
5bbe8f7b3d Make "make readme" work on Solaris - Solaris's sed(1) can be a pain
at times.
1999-07-28 10:07:55 +00:00
agc
a8a43dee5e Actually apply any patch-local-* local patch files if there are any. 1999-07-27 15:01:30 +00:00
mycroft
b33f9daf47 Don't put a // in MASTER_SITE_BACKUP if DIST_SUBDIR is empty/undefined.
Yes, this is a hack.
1999-07-27 07:09:48 +00:00
tron
5f2ed25075 New variable "USE_INN" to use "inn" instead of "nntclnt" to provide
"inews" binary for newsreaders.
1999-07-26 19:47:37 +00:00
agc
929d28c506 Re-visit the patch-sum modifications:
(a) if the patch file does not exist in the patch-sum file, then
print a warning to the user, and ignore the patch file. In particular,
do not exit with an error.

(b) if the patch file's calculated checksum does not match the one
recorded in the patch-sum file, print a warning to the user, and try the
other patch files. Once all patch files have been attempted, exit with
an error.

Also, don't bother to check for patch-local-* files inside the checksum
logic - they're already ignored at the head of the loop.
1999-07-26 16:46:43 +00:00
hubertf
bab9165b73 If there's a discrepancy between files/patch-sum and patches/*,
this shouldn't be silently ignored. Tell the user instead.
1999-07-24 23:23:04 +00:00