Commit graph

79148 commits

Author SHA1 Message Date
jlam
3d3f88a72e Add the *cat tools needed by the patch phase to output the contents of
distribution patches to stdout.
2005-05-14 22:31:04 +00:00
rillig
af901ae040 Rewrote the show-depends-dirs target: fixed shell quoting, omitted
duplicates in the output, output warnings if necessary. The $$dlist at
the end is unquoted intentionally to omit spaces in the output.
Approved by jlam.
2005-05-14 22:19:07 +00:00
jlam
72de3f921e Document the variables and targets defined by bsd.pkg.patch.mk. 2005-05-14 22:12:01 +00:00
jlam
e78c6207f3 BUILDLINK_DEPENDS.* can be lists, so iterate over the lists when creating
a proper BUILD_DEPENDS or DEPENDS list.
2005-05-14 21:38:18 +00:00
jlam
8dba6226e7 Consider ${TAR} differently from ${GTAR}. Currently, mark pkgsrc down
as needing both (no impact since they're both satisfied by the tar
binary installed by the bootstrap kit).  There's some funniness in
the extraction code where we check for pax or GNU tar that needs to
be resolved.  Remove the TAR=${GTAR} hack since it's no longer needed
after these changes.

XXX Later, a sweep needs to be made to see where we actually need GTAR
XXX and where we only need TAR, probably triggered by whether we call it
XXX with the "z" option or not.  Packages that need GTAR should explicitly
XXX add USE_TOOLS+=gtar to the package Makefile.
2005-05-14 21:15:07 +00:00
jlam
c674177768 List the tools that are used by the files included by /usr/pkgsrc/Makefile.
This causes the relevant "TOOL" variable names to be defined by
bsd.prefs.mk (through including mk/tools/defaults.mk).
2005-05-14 20:50:02 +00:00
jlam
42d411e6b9 Temporarily define TAR here until I figure out a better way to deal
with TAR vs. GTAR.  This fixes pkg_install not being created with a
tar command.
2005-05-14 20:05:05 +00:00
jlam
45e08b1210 Separate out the variables and targets for the "patch" phase into a
separate file pkgsrc/mk/bsd.pkg.patch.mk.  Also, include this file
ahead of the inclusion of bsd.tools.mk so that tools required to
patch are created by the tools framework.
2005-05-14 19:37:53 +00:00
christos
e2c98c8fea Different operating systems have different places where they store the
groff macro files. Since we don't have a pkgsrc groff tool dependency,
we ignore the dependencies if the macro files are not there.
2005-05-14 19:16:16 +00:00
jlam
e692366547 The mk/tools/defaults.mk is included by bsd.prefs.mk, so it must include
other files without making assumptions about the location of the top of
the pkgsrc tree.  This fixes problems with running "make bulk-cache"
in /usr/pkgsrc (PR pkg/30288).
2005-05-14 19:01:14 +00:00
adrianp
42c87d0fd8 - Add RMD160 checksum
- Use INSTALL_UNSTRIPPED to fix Darwin
- Remove GTK frontend support as it's still got threading problems
  and it's not ready for pkgsrc.
2005-05-14 17:19:02 +00:00
adrianp
2eac11eba1 - Add a conflict statement now that ettercpa-NG has been imported 2005-05-14 16:46:17 +00:00
taya
18b9bfdf02 note update of firefox & firefox-gtk1 to 1.0.4 2005-05-14 15:28:25 +00:00
taya
cbf234cea8 Update firefox & firefox-gtk1 to 1.0.4.
This is a security fix release.
Fixed vulnerabilities are follows:

MFSA 2005-44  Privilege escalation via non-DOM property overrides
MFSA 2005-43 "Wrapped" javascript: urls bypass security checks
MFSA 2005-42 Code execution via javascript: IconURL
2005-05-14 15:27:10 +00:00
adrianp
0537941683 - Update horde to 2.2.8 2005-05-14 13:34:36 +00:00
adrianp
e48d41c9d1 - Update horde to 2.2.8
Changes in this release:
    * Fixed two XSS vulnerabilities.
    * Updated German and Traditional Chinese translations.
2005-05-14 13:33:15 +00:00
rillig
31952ae630 Typo: if exists /bin/gzip, use /bin/gzip (not /usr/bin/gzip). 2005-05-14 10:19:36 +00:00
rillig
064ca17fa9 Fixed a typo: now using /usr/sbin/gzcat, like in platform/IRIX.mk. 2005-05-14 10:17:10 +00:00
rillig
1eddab530b Fixed a typo when looking for /usr/bin/cmp. 2005-05-14 10:14:29 +00:00
jlam
335f53d761 If we use the new tools framework, the _USE_GMAKE is unnecessary as we
simply check for whether "gmake" is in USE_TOOLS.
2005-05-14 07:15:29 +00:00
lukem
ae81bd9b9d tnftp 20050514nb1 2005-05-14 06:07:33 +00:00
lukem
0e2d43cf18 Fix the build on OS X.3.
Bump PKGREVISION.
2005-05-14 06:06:26 +00:00
jlam
2cc6e59e11 compiler.mk uses the following tools to compute the values of variables
at the time that they're defined: ${AWK}, ${GREP}, ${SED}, ${TRUE}.
Move the inclusion of compiler.mk below the inclusion of bsd.tools.mk
so that these variables are properly defined by the time they are
used.  This should fix problems where pkgsrc gcc was not being properly
detected when using the new tools framework.

This change has the side effect of changing the relative order of the
compiler directories and the tool directory in the PATH, but this has
no impact on existing packages, and actually makes more sense anyway.
2005-05-14 06:04:44 +00:00
jlam
214611316d Compute the installation prefix for every tool specified so that the
"TOOL" variables defined by replace.mk, e.g. AWK, GREP, SED, TRUE,
etc., can be used immediately after bsd.tools.mk is included.
2005-05-14 05:57:43 +00:00
lukem
4b8612bd09 Update to tnftp 20050514 2005-05-14 05:16:09 +00:00
lukem
bedc219972 Merge 20050514 2005-05-14 05:13:09 +00:00
jlam
676abf4b91 Simplify the check for whether we need a patch tool or not -- we simply
check for whether ${PATCHDIR} exists or not, or whether PATCHFILES is
defined or not.  This avoids the use of != in a variable definition
just to find out if we need patch or not.
2005-05-14 04:26:15 +00:00
rillig
3ce24f9a87 Applied the quoting rules to my own examples. "Converting an internal
list to an external list" had been wrong.
2005-05-14 03:30:56 +00:00
rillig
a84e59e2b1 Replaced a "." in an example with "foo", which is better distinguishable
from the end of the sentence, which also is a dot.
2005-05-14 03:26:09 +00:00
rillig
a4df11476f Added a subsection called "Quoting guideline", which describes some of the
common quoting errors.
2005-05-14 03:23:20 +00:00
reed
fa9d540bf8 This is a meta package and doesn't do any builds, so remove
USE_X11=yes. I am not bumping PKGREVISION because this really
doesn't effect package too much since one of the dependencies
does require X anyways.
2005-05-14 02:26:50 +00:00
rillig
fc4a97a8d8 Don't process the file if either of PKG_SUPPORTED_OPTIONS or PKG_OPTIONS_VAR
is undefined. This avoids many unnecessary make(1) warnings. As this file
is only intended to be used from packages, don't look for obsolete.mk in
other directories than ../../mk/defaults/.
2005-05-14 02:17:43 +00:00
reed
e12ae38d9b Use specific homepage. 2005-05-14 02:13:09 +00:00
rillig
2f39dcaf4a Allow the user to type --prefix=foo instead of requiring a whitespace
between the --prefix and the directory. This makes life easier for users
that often run GNU ./configure scripts manually.
2005-05-14 02:12:48 +00:00
rillig
eef497fdb0 Found another two uses of .ifndef and .ifdef.
Converted them to .if [!]defined().
2005-05-14 02:03:00 +00:00
rillig
d278d86d01 Replaced .ifdef with .if defined() and .ifnded with .if !defined(). This
will allow better error checking.
2005-05-14 01:51:52 +00:00
rillig
b82fa5067b Replaced .ifdef with .if defined() and .ifndef with .if !defined(). This
will allow better error checking in Makefiles.
2005-05-14 01:50:38 +00:00
rillig
6c2804ebbe Fixed typo in finding grep(1). 2005-05-14 01:25:19 +00:00
rillig
fb358b0e89 Fixed two obvious typos that leaded to syntax errors. 2005-05-14 01:04:37 +00:00
rillig
be9e6c0d80 TODO: Check for C/C++ style comments in Makefiles. 2005-05-14 00:38:56 +00:00
jlam
a568e01cf3 Rewrite command to compute the installation prefix of a package to not
use awk -- a simple shell statement list suffices.
2005-05-13 23:37:54 +00:00
rillig
167f28256e Added a subsection about naming conventions for Makefile variables. 2005-05-13 23:28:08 +00:00
rillig
c8b01f08a6 Added a comment describing from which files I extracted the information I
needed for this documentation.
2005-05-13 22:48:09 +00:00
rillig
ca548bf623 Moved checking if ${SHLOCK} exists into the shell code fragment that
acquires the lock. This had to be done for the new tools framework and
because of the weird order of things in bsd.pkg.mk. Approved by jlam.
2005-05-13 22:22:44 +00:00
jlam
ec7c68e97c Teach the new tools framework about lha, unrar, unzip, and unzoo and
modify bsd.pkg.extract.mk to use them.  As a side-effect, we stop
hardcoding ${LOCALBASE} as the install prefix for these tools so this
becomes more pkgviews-friendly.
2005-05-13 22:08:20 +00:00
jlam
b17ddaa794 Don't condtionally set the "TOOL" variables... set them explicitly. Also
fix variable name in the case where we're using the pkgsrc tool, since
we were referencing the wrong variable.
2005-05-13 21:57:13 +00:00
jlam
1fdc85c394 Don't check for ${SHLOCK}, which isn't defined yet that early in
bsd.pkg.mk under the new tools framework.  Instead, just note that if
we set PKGSRC_LOCKTYPE, that pkgsrc will require shlock.  Remove
"shlock" from the large PKGSRC_USE_TOOLS list since we don't need it
all of the time.  This fixes PKGSRC_LOCKTYPE != none when using the
new tools framework.
2005-05-13 21:13:01 +00:00
rillig
ca96c47d1e Fixed a typo in the comment. 2005-05-13 21:00:12 +00:00
minskim
a96a4d2bc8 if-if-endif -> if-elif-endif 2005-05-13 19:53:08 +00:00
reed
20b9ddc082 Remove two blank lines. 2005-05-13 19:26:47 +00:00