Commit graph

601 commits

Author SHA1 Message Date
kim
bef13fe06c Move SSH_DONT_USE_IDEA to its alphabetical spot in the file. 1999-10-28 20:10:34 +00:00
minoura
e5260a26e9 Add variables USE_CANNA, USE_SJ3 and USE_WNN4. 1999-10-24 15:43:46 +00:00
agc
b7dfded8d9 Document the possible JB settings for the jitterbug package. *sigh* 1999-10-22 14:43:59 +00:00
agc
7728e6f519 As pointed out by Hubert Feyrer, the pattern that pkg_info takes (in the
show-downlevel target) is a shell glob pattern, not a regular expression,
so wildcards are '*', not '.*'. Due to the format of package names, the
regular expression will match in most cases (a single digit major version
number), but that's no excuse.
1999-10-22 14:14:22 +00:00
agc
8955a8a3b1 Remove the xvile USE_MENUS definition, which is on by default now. 1999-10-21 18:42:18 +00:00
agc
cbd3af2fa3 Be more careful when matching packages in show-downlevel target - apply
the fix from The Wiz in pkg PR 8597. This will still produce erroneous
results for the foo-current vs. foo package discrepancy, but that's left
as an exercise for a later day.
1999-10-21 14:49:59 +00:00
agc
c702a35695 Optimise some of the ELF shared object awk script. 1999-10-21 14:23:38 +00:00
agc
ca9878d24c Make ELF shared object links work again using nawk as well as gawk.
Use awk more efficiently.
1999-10-20 09:57:47 +00:00
agc
19e708b3c7 Re-enable shared lib handling on Solaris as well as NetBSD.
"Someone" owes me big-time for this.
1999-10-19 14:08:47 +00:00
agc
80baf91309 Be a bit more efficient when calculating whether patch-sum files have
changed, and avoid extraneous gibberish at the end of a cmp(1) command,
so that patch-sum creation works on Solaris.
1999-10-19 12:04:45 +00:00
agc
62dd5185de s/USE_WALLPAPER/KTERM_USE_WALLPAPER/ to make it more obvious which package
uses this definition.
1999-10-19 09:17:35 +00:00
agc
252f515425 Move PATCH_DEBUG into the generic options group of definitions - although
it is only used specifically by the exmh package, PATCH_DEBUG can still be
set to get more information as the patches are applied.
1999-10-19 09:15:12 +00:00
agc
d8abe93037 Delete NOMANINSTALL, which is not used by any package, and would cause
PLISTs to be inconsistent if it were used.
1999-10-19 09:04:34 +00:00
agc
edd09fb5be s/EXTRA_DICT/ISPELL_EXTRA_DICT/ to make it obvious which package uses
this definition.
1999-10-19 08:59:37 +00:00
agc
25fabddd97 s/DOMAIN_NAME/KNEWS_DOMAIN_NAME/ to make it more obvious which package
uses this definition.

Also s/DOMAIN_FILE/KNEWS_DOMAIN_FILE/ in the package Makefile, and document
it in mk.conf.example.
1999-10-19 08:55:48 +00:00
agc
4e05a4a3c5 s/DONT_USE_IDEA/SSH_DONT_USE_IDEA/ to make it more obvious which package
uses this definition.
1999-10-19 08:49:48 +00:00
hubertf
b3d14c3c2b Replace leading tabs with spaces
Noted in PR 8612 by Kawamoto Yosihisa <kawamoto@tenjin.org>
1999-10-14 12:06:18 +00:00
fredb
572a7ac9c0 Update "makepatchsum" target to produce a placeholder patch-sum file
if and only if there are no patches and patch-sum already exists.
This is necessary to meet the original purpose of that target, which
is to "catch" users who happen to have old patches lying around,
for whatever reason. Also, don't update patch-sum if it wouldn't change.
1999-10-14 05:31:22 +00:00
explorer
dac6f1c8dc Use LAME_USE_GTK=NO to turn off the GTK+ interface for 'lame' rather than two
separate packages, lame and lame-gui.
1999-10-13 05:52:45 +00:00
hubertf
c91a2b3f27 When appending some files to PLIST for shared lib handling, escape any
characters special to REs (e.g. libncurses++.so).

Fixes PR 8612 by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
1999-10-13 01:41:10 +00:00
jlam
39d24f27fe Back out revision 1.351 which added XPKGBASE. This seems to be an issue of
some contention, so better leave changes for till after all the dust
settles.
1999-10-07 16:04:57 +00:00
tron
b0558cd366 Support using a preinstalled Motif installation instead of Lesstif again. 1999-10-05 22:18:05 +00:00
jlam
2eef71cfff New variable XPKGBASE automatically set to ${LOCALBASE} or ${X11BASE} based
on value of USE_LOCALBASE_FOR_X11.  This points to the installation path of
X11 packages built via pkgsrc.
1999-10-05 15:48:26 +00:00
tron
5078017ba8 Replace the dead GNU mirror on "ftp.informatik.tu-muenchen.de" by the
one on "ftp.gwdg.de".
1999-10-04 17:13:02 +00:00
drochner
3d44e5c0fb document USE_GIF 1999-10-01 15:14:50 +00:00
tron
e4919e5b24 Document "GLX_CHIPSET" used by the "Mesa-glx" package. 1999-09-29 22:51:57 +00:00
agc
caf0c37c93 Add OBJECT_FMT to the list of BUILD_DEFS placed in the BuildInfo file. 1999-09-29 15:13:26 +00:00
agc
dd88c0d13a Use pkglibtool on Solaris as well as NetBSD. 1999-09-29 10:07:24 +00:00
agc
a950719aad Correct typo in previous target addition. 1999-09-28 10:07:38 +00:00
agc
37ec38a97a Add a convenience target called "show-var", which will echo a make(1)
variable from the command line:  i.e.  "make show-var VARNAME=var"
will echo var's value
1999-09-28 10:03:16 +00:00
fredb
1e07c2ac7b Abolish old-style bundled args for ${GTAR}. The purpose is to permit
EXTRACT_ELEMENTS to contain getopts style args and long args, specifically
"-X foo" and "--exclude foo". Addresses PR pkg/8498.
1999-09-27 17:08:43 +00:00
tron
80b9d999a3 Replace the call to "sed" used to modify the package list during automatic
ELF shared object handling by a call to "awk" to avoid clobbering
exclamation marks in the package list.
1999-09-24 22:20:30 +00:00
tron
f76cffc29e Don't apply automatical manual page handling to package list entries
starting with "@".
1999-09-24 17:13:31 +00:00
hubertf
816e188293 document and use DEFAULT_IRC_SERVER 1999-09-23 16:28:17 +00:00
hubertf
32c6064b91 Do not include lines like
@exec ln -fs dlopen.3.gz %D/emul/linux/usr/man/man3/dlclose.3.gz
into the list of manpages to decompress (for automatic manpage compression
handling.

Bug hit in the emulators/suse_base  package, hashed out by tron.
1999-09-21 12:53:14 +00:00
tron
0bdbd39505 Remove "ftp.funet.fi" from "MASTER_SITE_SUNSITE" because the mirror is not
complete.
1999-09-20 23:00:04 +00:00
jlam
1e2ade6f01 Change the semantics of PGSQL_USE_TCL to be YES/NO, defaulting to YES since
the old 6.4.2 package included the Tcl/Tk stuff.  "Backwards compatible
upgrade."
1999-09-20 03:56:25 +00:00
jlam
9c93f7739f Document new PGSQL_USE_TCL variable which enables building the Tcl/Tk
interface for PostgreSQL.
1999-09-19 04:29:11 +00:00
kim
9ec7d89a66 Fix unknown MACHINE_ARCH on Solaris. 1999-09-18 15:33:55 +00:00
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
tron
91d8a9e5aa Avoid unnecessary shell variable usage. 1999-07-23 21:35:20 +00:00
hubertf
cc70551e0e Some master-sites (like the second one of the libslang package) seem
to return some "please see the new location"-pages instead of the
requested archive, which our ftp(1) doesn't take as an error.
Now, add a check here to see if ftp(1) actually got the requested file
or something else.

Detected by Reinoud Zandijk <zandijk@cs.utwente.nl>, talked over with
Frederick Bruckman <fb@enteract.com>.
1999-07-21 12:16:27 +00:00
tron
051bdafc4f Document "${INN_DATA_DIR}". 1999-07-19 00:14:34 +00:00
tron
2ece2a8294 Update "pkglibtool" to version 1.2p2. This version makes sure that you
don't use an a.out "pkglibtool" on an ELF system and vice versa.
1999-07-17 19:26:44 +00:00
wrstuden
dff1ec6175 Once again: this is a make file. there's a difference between TABS and SPACES
when starting a line.

Tabs are for shell commands, and spaces are for comments, etc..

Closes PR 7982 by KAWAMOTO Yosihisa kawamoto@tenjin.org.
1999-07-15 23:13:17 +00:00
hubertf
00b526cec0 cleanup of README.html generation code, as provided in PR 7989 by
Jaromir Dolecek <dolecek@ics.muni.cz>.

While there, mark the README.html as precious, so it doesn't get removed
if the build process is interrupted.
1999-07-14 19:34:06 +00:00
mjl
25b7c4815e Add possibility to sort the master download site list according to
local preferences (domain suffixes or full regular expressions) by
defining MASTER_SORT or MASTER_SORT_REGEX appropriately.
1999-07-13 18:09:19 +00:00
hubertf
084660e2c2 Do not include checksums of files names *.orig in files/patch-sum 1999-07-13 01:02:42 +00:00
tron
c900a16d30 Create symbolic links for ELF shared libraries without absolute directory
names so that they don't need to be adjusted later.
1999-07-10 00:11:55 +00:00
agc
3a01c3ef85 Only create a patch-sum file if there are any patches to checksum 1999-07-09 14:05:12 +00:00
agc
afbb63a318 Pass the makepatchsum target down to submakes. 1999-07-09 13:15:24 +00:00
agc
ebe86285b7 Add logic to provide md5 checksums on the patch files, placing them in
a file called files/patch-sum.  This has the benefit of only
attempting to patch packages with official patches.  This should mean
that you can untar a pkgsrc.tar.gz over a previous tree, and still
have it do the right thing, ignoring old patch files.

Patches which have an entry in the files/patch-sum file will be
applied, and then any local patches.  If there are local patches to a
package, these should go in patch files called patches/patch-local-*
(these files are ignored when calculating the files/patch-sum file,
and also when checking the patches/patch-* files).

The calculation of the patch checksum ignores any NetBSD RCS Id in the
patch-* files.  This removes a nasty ordering dependency for developers
making patches to packages.

Patch file checksums will only be checked if the files/patch-sum file
exists.

Add a target "makepatchsum", analogous to "makesum", which makes a new
files/patch-sum file.
1999-07-09 13:14:21 +00:00
agc
c9580c5871 Revert to previous configuration:
LOWER_OPSYS for Solaris is solaris.
Remove the ugly hacks which had been introduced to workaround previous
misunderstanding.
1999-07-08 08:06:59 +00:00
agc
f51461529d CAPITAL_OPSYS and OS_MAJOR_VERSION are used in one package Makefile,
but calculated every time bsd.prefs.mk is read.  Correct the
situation, and only calculate these when they are needed.
Also save a few more cycles by hardcoding the LOWER_OPSYS values for
known operating systems, rather than using expensive shell echo and tr
commands every time bsd.prefs.mk is read.
1999-07-08 07:58:42 +00:00
itojun
2d52ccaf92 USE_INET6 clarify (some pkgsrc require IPv6-ready kernel) 1999-07-07 13:47:34 +00:00
itojun
7a9d79b3a4 add and document USE_INET6. 1999-07-07 13:30:22 +00:00
tron
216cd7f281 "USE_MULE" option isn't supported by "xemacs" package. 1999-07-05 22:17:27 +00:00
hubertf
7c29f388aa Fix last commit to (also) work with disk layout different from the ftp site. 1999-07-03 16:38:59 +00:00
hubertf
44424e2e78 improved safety checks for README.html generation 1999-07-02 18:04:53 +00:00
agc
d05adf7155 Add a show-downlevel target, which shows output of the form:
...
        ===> package security/sudo
        sudo package: sudo-1.5.7p4 installed, pkgsrc version sudo-1.5.9p1
        ===> package security/tripwire
        ===> category shells
        ...

for installed packages whose version does not match that in pkgsrc. No
output is produced if the package is not installed. This allows an easy
overview of the packages installed on a machine which need to be upgraded.

Also make minor modifications to the SUBDIRUSE target for Solaris.
1999-07-02 12:56:32 +00:00
agc
189320aab7 Add a show-downlevel target, which shows output of the form:
sudo package: sudo-1.5.7p4 installed, pkgsrc version sudo-1.5.9p1

for installed packages whose version does not match that in pkgsrc. No
output is produced if the package is not installed. This allows an easy
overview of the packages installed on a machine which need to be upgraded.
1999-07-02 12:54:28 +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
hubertf
ca5f571fba Include "old" binary packages in README.html. 1999-07-02 00:11:22 +00:00
mrg
6ec4a04ad4 enable xpkgwedge bits -- it basically works now. 1999-07-01 14:33:36 +00:00
agc
c6dd955c2b Add a "show-distfiles" target, used to show the distfiles and patchfiles
(including any subdir) for a package. If ${IGNORE} is set, for any reason,
do not print anything. The output is relative to ${DISTDIR}.

This target can be used to identify out of date distfiles and patchfiles
in ${DISTDIR}, in conjunction with suitable filters.
1999-06-28 11:42:28 +00:00
agc
0089806e97 Correct the full pathname of false(1) on Linux. 1999-06-24 08:04:15 +00:00
christos
a4f6b00ca1 typo in the path for grep 1999-06-23 20:17:59 +00:00
christos
160cc155fb Linux bits; now the package system works on Linux too. 1999-06-23 17:06:20 +00:00
jlam
961a88367b Document new option "NS_ENCRYPTION" which is used to decided whether to
install the export or US version of Netscape.
1999-06-21 08:46:18 +00:00
hubertf
9e1f328699 Don't recognize foo-bar-x.y as an old version already installed when
installing foo-u.v.

(Necessary workaround for deficiency of shell globs; works as long as
version numbers start with a digit)
1999-06-14 01:56:52 +00:00
bad
bb58ab7712 Document the mk.conf variables used by the qpopper and majordomo pkgs. 1999-06-08 18:25:09 +00:00
tv
07f8693a72 XXX XXX. Add a hack to allow "check-depends" to recurse the dependency tree
and override the `on-the-fly dependency target' option.
1999-06-04 17:05:26 +00:00
tron
40a7fa2da1 Back out last commit: "pkg_install-19990529" was horribly broken. 1999-05-30 16:09:30 +00:00
christos
e09bd59371 Update required pkgtools version to 19990529 (required for postfix) 1999-05-29 20:50:55 +00:00
tv
81a7e84d2d Nuke ALL_HOOK cruft. Overriding "all" is perfectly legal (as evidenced by
the .if !target(all) below), so this is unnecessary.
1999-05-27 14:45:13 +00:00
tv
cd009c0ae9 No need to validate dependencies if the package has already been extracted;
make check-depends also dependent on the (non)existence of EXTRACT_COOKIE.
1999-05-26 15:27:23 +00:00
tv
4a62265237 `I'm a bonehead.' Reverse the order of components in ${MACHINE_GNU_PLATFORM}. 1999-05-26 14:47:07 +00:00
tv
cd2c4bb09b Set NO_CHECK_DEPENDS to skip "check-depends" when fetching via
"mirror-distfiles".
1999-05-25 01:08:22 +00:00
tv
2d4fbc2e96 - The comment above the _COOKIE settings says "don't change these!!", so
use = to set them, not ?=.

- _DEPENDS_USE doesn't actually do any macro expansion, so save some
  processing time by executing it exactly once (remove the .USE operator).

- Merge the IGNORE targets.  Add an IGNORE target for depends and
  check-depends (see bottom).

- Don't check for installation of a package in ${DEPENDS} when doing
  a "make depends".  Instead, let the return code of make fall through
  (using && instead of ; in the last clause of each depend recursion block).

- Provide a variable IGNORE_FAIL:  when set, causes the ignore message
  to be printed (regardless of IGNORE_SILENT or ECHO_MSG setting) and the
  build to fail with ${FALSE}.  Used with the next addition:

- Add a new target, "check-depends", which is called as part of "real-fetch".
  This validates whether the dependencies of a pkg to be built are installed,
  and if not, whether those dependencies will prospectively build (will
  not set IGNORE directly or indirectly through the various disable options).
  Recurses to "depends" with a DEPENDS_TARGET of "check-depends".

...And now, it is no longer necessary to mark dependent pkgs as unusable
when their dependencies are unusable thanks to an incorrect LICENSE,
_FOR_PLATFORM setting, and so forth.  The check-depends step will validate
everything before fetching a single file.
1999-05-24 23:04:52 +00:00
tron
4d8be1fe29 Fix broken "ONLY_FOR_PLATFORM" check. 1999-05-24 21:25:00 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
tv
4a0b32f36f Implement some parts of proposals posted to tech-pkg:
- Define OS_VERSION in bsd.prefs.mk (...if not already defined).  Previously
  was only set in a conditional block in bsd.pkg.mk.

- Define new values, MACHINE_PLATFORM and MACHINE_GNU_PLATFORM, which
  default to ${OPSYS}-${OS_VERSION}-${MACHINE_ARCH} and
  ${LOWER_OPSYS}-${LOWER_VENDOR}-${LOWER_ARCH} respectively.
  (Probably should nuke LOWER_ARCH and rename LOWER_VENDOR to something
  like MACHINE_GNU_VENDOR.)

- Use ${MACHINE_GNU_PLATFORM} as the argument to `--host' in GNU_CONFIGURE
  packages.

- Allow for ONLY_FOR_PLATFORM and NOT_FOR_PLATFORM, lists of patterns
  in csh(1) glob style which are matched against MACHINE_PLATFORM above
  and take the place of {ONLY,NOT}_FOR_{ARCHS,OPSYS}.  (For now, until
  all pkgs are converted, provide backwards compatibility.)  *Both* may
  be defined, in which case NOT_FOR_PLATFORM takes precedence.

- Also do some significant aesthetic cleanup, based on the idea
  `define platform-specific overrides first, then define a generic case
  with the ?= operator'.  Lots more of this to do yet.
1999-05-24 18:42:00 +00:00
tv
638518781f Explicitly include <sys.mk> after mk.conf. This ensures that standard
flags (e.g. CFLAGS=-O/-O2) are defined as necessary before a pkg modifies
them with "+=".
1999-05-24 11:17:05 +00:00
tv
6e915e0f3f - Move the inclusion of bsd.own.mk to bsd.prefs.mk, and multiple-include
protect bsd.prefs.mk.  Now there's no multiple inclusion of mk.conf,
  clobbering variables modified between bsd.prefs.mk and bsd.pkg.mk, when
  set with VARNAME=value.
- Let bsd.own.mk include mk.conf/MAKECONF; we don't need to do that
  manually.
- Don't define BSD_PKG_MK or OPSYS in bsd.pkg.mk, as bsd.prefs.mk does
  precisely that just a couple lines below.
1999-05-23 22:10:01 +00:00
tv
cce722bd3f Commit the least intrusive parts of proposal 6a (affects no pkgs):
- remove the ${MACHINE_ARCH} and ${OPSYS} specializations for Makefile,
  files, pkg, scripts, patches
- remove the functionality of ${MASTER_SITE_FREEBSD} (if someone *really*
  wants this type of function, which should be discouraged, s/he may use:
  MASTER_SITE_OVERRIDE=${MASTER_SITE_BACKUP})
1999-05-22 15:47:23 +00:00
tv
c1af4148fc Speed up the evaluation of ${CKSUMFILES} vs. ${IGNOREFILES} a little (and
make it cleaner) by replacing the shell expansion with a bmake .for loop.
1999-05-21 19:29:02 +00:00
tron
753518d70f Always add "${INSTALL_DATA}" to environment for "configure" target, too. 1999-05-20 19:50:09 +00:00
tron
21ccae5df3 Always add "${INSTALL_SCRIPT}" to environment for "configure" target. 1999-05-20 19:21:02 +00:00
tron
ca3b296af2 Define "${ECHO_MSG}" so that the patch from PR pkg/7545 doesn't break
(at least) a recursive "make clean".
1999-05-17 23:34:37 +00:00
tron
edc762690c Fix broken index file creation. Patch suppled by NAKAJIMA Yoshihiro
in PR pkg/7545.
1999-05-17 22:24:15 +00:00
tron
b3d1e13e64 Replace leading tabulators by spaces. Fixes PR pkg/7581 by "Wiz" (or
whatever his name is).
1999-05-14 19:47:12 +00:00
abs
2fc6297204 If ${PACKAGES} does not exist, use it anyway. Allows settinsg such as
PACKAGES=${PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH} _without_
having to ensure each ${OS_VERSION}/${MACHINE_ARCH} is manually created
beforehand.
1999-05-12 05:35:55 +00:00
tron
edabe54d29 Add "APACHE_PERF_TUNING" and "APACHE_SUEXEC". 1999-05-11 20:37:30 +00:00
tron
aa172b3149 Remove "${LOCALBASE}/www" again. As pointed out by Todd Vierling this
directory doesn't fit into hier(7). We will handle the double usage in
the packages for now.
1999-05-10 22:30:19 +00:00
tron
f36d8cf001 Fix ordering problem in last commit. 1999-05-10 12:29:40 +00:00
tron
17021ee2a7 Add "${LOCALBASE}/www". 1999-05-10 07:52:00 +00:00
tron
a8d3c74b03 Unless package debugging is enabled don't output commands during
automatical registration of info files.
1999-05-04 22:44:10 +00:00
tv
f537c05412 Make the Kerberos option uniform - it is now USE_KERBEROS4 and specifies
use of krb4 _or_ a compatible subsystem.  (MAKE_ was only used by this
option; USE_ is used by many.)
Also set RESTRICTED= in all relevant pkgs when USE_KERBEROS4 is enabled.
1999-05-03 23:39:22 +00:00
tv
fb03571a89 MKPICINSTALL and NOPICINSTALL have zero relevance to whether a system has
shared objects in /usr/lib (they affect installation of the _pic.a files,
not the .so files).
1999-05-02 03:24:59 +00:00
tv
8712f2e873 Older 1.3.x releases don't have the GNU_ARCH stuff in bsd.own.mk. Add
definitions for the architectures available in those releases, set with ?=.
1999-04-29 14:27:28 +00:00
tv
01a90f4d6f Completely turn off USE_LOCALBASE_FOR_X11 until xpkgwedge is fixed. 1999-04-29 02:19:55 +00:00