Commit graph

5531 commits

Author SHA1 Message Date
jdolecek
7a249b223a fix URL of first CZ postgresql mirror (directory structure changed) 2006-04-08 18:48:58 +00:00
jdolecek
2e457b55aa add MASTER_SITE_PGSQL, copy of list from databases/postgresql80/Makefile.mirrors 2006-04-08 18:47:31 +00:00
jlam
75228d481d If the package doesn't ask makeinfo, create a broken makeinfo tool
that will return non-zero if invoked as "makeinfo --version", but will
touch the output file if invoked blindly.  This should workaround some
stupidity in the way that automake-generated Makefiles try to determine
when and how to rebuild info files.
2006-04-07 14:52:55 +00:00
reed
52fddcdae5 For backwards compatibility ...
IGNORE_RECOMMENDED is deprecated and will be removed after 2006Q2 branch.
If YES then it sets USE_ABI_DEPENDS=no

(Forgot to commit earlier today.)
2006-04-07 00:29:52 +00:00
minskim
26e9732057 Support texmf-dirs. 2006-04-06 23:09:06 +00:00
jlam
1d415956a8 Resurrect INFO_DIR for another purpose -- if defined, it sets the
directory containing the "dir" file that is updated.  This allows
packages to install info files in one place but update the dir file
in a separate location.
2006-04-06 17:57:34 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
shannonjr
0faa421404 Change _GCC_DIST_VERSION from 3.4.5 to 3.4.6 to reflect update to
lang/gcc34.
2006-04-05 12:31:24 +00:00
jlam
7cc69019ce Create a new variable IGNORE_LIBTOOLIZE containing files which should
not be expanded by the plist module.
2006-04-05 05:54:01 +00:00
schmonz
426964eb67 Add and describe "ucspi-ssl-perl". 2006-04-02 17:45:18 +00:00
schmonz
a3289c2c8e Add DJB_BUILD_ARGS for DJB_SLASHPACKAGE packages that can make use
of them, such as net/ucspi-ssl.
2006-04-02 17:40:19 +00:00
jmmv
3cc1a46965 Add the ca_ES@valencian directory, initially used by gaim 2.0.0beta3. 2006-04-02 09:51:29 +00:00
grant
412c157a03 require libtool >=1.5.22nb3 for /bin/sh fix. 2006-04-01 23:27:49 +00:00
abs
527fb2c315 Add exim-lookup-pgsql and exim-lookup-sqlite - as provided by Geert
Hendrickx.
2006-04-01 22:02:19 +00:00
adrianp
eaf9b26786 Add sieve and imap options 2006-03-31 22:04:32 +00:00
salo
851fdf5b93 Describe hping-suid option. 2006-03-30 13:55:28 +00:00
jlam
9709330118 Drop support for INFO_DIR, which should now be replaced with PKGINFODIR. 2006-03-30 04:57:45 +00:00
jlam
833aaa4f40 Whitespace changes. 2006-03-30 03:03:52 +00:00
jlam
df10fbdf66 Skip symlinks without emitting warnings during PLIST creation as these
are harmless.
2006-03-30 03:02:40 +00:00
chris
00cec3783b Add and describe gpgme option, mail/sylpheed now passes pkglint. 2006-03-29 22:59:11 +00:00
joerg
88a346cbc7 Add an option (MKSUMMARY) to create pkg_chk index for binary-only updates
during mk/bulk/upload. Disabled by default.
2006-03-28 10:56:52 +00:00
jlam
ffdd852782 Remove an unsed script -- print-la-libnames was replaced with
plist/libtool-expand after the plist module was committed.
2006-03-22 22:51:53 +00:00
jmmv
6bbe74362d Add the pa_IN locale directory, initially used by the iso-codes 0.50
package (coming after the freeze).
2006-03-21 19:35:44 +00:00
jlam
6957d70e23 Strip trailing whitespace. 2006-03-20 23:20:37 +00:00
uebayasi
b79cc5ce5a postgresql81 has moved from wip to pkgsrc. 2006-03-20 14:48:45 +00:00
jlam
78c3fbd8fe Create a new variable EMACS_MODULES that is a list of "standard" elisp
modules that is required by the package.  The allowed modules are
"base" and "leim".  EMACS_USE_LEIM is deprecated and should be replaced
with EMACS_MODULES+=leim.
2006-03-20 05:24:33 +00:00
jlam
29fefe52e3 * Creates a new variable PKGINFODIR (named similarly to PKGMANDIR)
that is a purely user-settable variable to represent the relative
  path under ${PREFIX} where info files are stored and "dir" files
  are managed.  PKGINFODIR defaults to "info".  INFO_DIR still works,
  but will be obsoleted after the 2006Q1 branch.

* Modify GNU_CONFIGURE_INFODIR to only honor ${PKGINFODIR} if the
  package installs directly into ${PREFIX} and not some subdirectory
  under ${PREFIX}.  This fixes packages that don't really honor
  $(infodir) all that well, and also avoids PLIST problems relating
  to directory removal for those packages.

* Since the majority of Emacs Lisp packages use GNU_CONFIGURE, just
  set GNU_CONFIGURE_INFODIR directly to ${EMACS_INFOPREFIX}, which is
  the Emacs-distro-specific location for info files.  Also pass
  EMACS_INFOPREFIX through PLIST_SUBST for PLIST substitution.

* INFO_FILES should be defined if the package installs info files.
  If the info files are not listed in the PLIST, then INFO_FILES
  must list the filenames for the info files installed by the package,
  which are assumed to be located in ${PREFIX}/${PKGINFODIR}.

* The plist module can now better detect info files listed in PLISTs
  and exports a command to the pkginstall module to append info file
  names to the +INFO_FILES scriptlet at install-time.

* The print-PLIST target is updated to properly list info files in
  the auto-generated PLIST.

* The check-files code is updated to skip all "dir" Info database files.
2006-03-20 01:48:57 +00:00
jlam
44b11e928c Modify the INSTALL script to allow for selective unpacking of a scriptlet. 2006-03-19 23:58:14 +00:00
jlam
766f664aef Teach the tools framework about "texi2html". 2006-03-19 23:40:07 +00:00
jdolecek
846e1b7945 ftp.fi.muni.cz mirrors GNU, CPAN and CTAN, add it to the appropriate
MASTER_SITE_* lists as a courtesy for Czech users
2006-03-19 13:12:53 +00:00
jlam
058ac2968b Remove leftover code sections guarded by _USE_PLIST_MODULE which was
mainlined long ago.
2006-03-18 21:40:44 +00:00
jlam
8679fd0ed3 Ensure that we invoke a brand new make when creating the INSTALL/DEINSTALL
and rc.d scripts so that we source the latest makevars.mk file and
get the latest set of cached variables.  This fixes problems where
BUILDLINK_PREFIX.* wasn't being expanded correctly when substituting
into an INSTALL script.
2006-03-17 18:22:30 +00:00
jlam
3a47f58511 Allow INSTALLATION_DIRS to contain absolute paths so long as they being
with ${PREFIX}.  This simplifies re-using variables that contain full
paths.
2006-03-17 08:02:41 +00:00
jlam
ac1b7b84dd Teach the tools framework about "makedepend", supplied by the imake
packages.
2006-03-16 22:31:59 +00:00
jlam
47283bca00 Always run the pkginstall framework targets to generate the
INSTALL/DEINSTALL and rc.d scripts, regardless of whether NO_BUILD is
defined or not.

We do this by renaming the main "build" target to "_build", and creating
a new "build" target that has "_build" and "pkginstall" as dependencies.
This allows the "build" and "install" targets to be consecutive, so
no changes in behavior are visible to the user.

Because the pkginstall targets are no longer run within the protection
of the locks during the build phase, we need to manage locking within
a new "pkginstall" target.
2006-03-15 16:20:11 +00:00
jlam
ce8c6b5c7a Back out previous... it was part of some larger changes that were never
committed and I got ahead of myself.
2006-03-15 14:06:09 +00:00
jlam
d4ca1fbd6b Rototill of how the various template parts of the INSTALL and DEINSTALL
scripts are generated.  The various scriptlets in pkgsrc/mk/install
are now full templates that can be combined to form the INSTALL and
DEINSTALL scripts.  All of the templates have either leading or trailing
blank lines so that when they are concatentated, the full INSTALL and
DEINSTALL scripts will still be easy to read.

All of the generated template sources for the INSTALL and DEINSTALL
scripts are now stored in ${WRKDIR}/.pkginstall for local consistency
and have been renamed so that they are not dot-files.

The "data" for the +* scriptlets are now generated in a separate step
and instead of being appended to the unpacked scriptlet are now appended
to the INSTALL script itself.  When the scriptlets are unpacked, the
corresponding data lines for each scriptlet are pulled out of the
INSTALL script and put into the unpacked scriptlets.  This makes it
easy to append more data lines during the install phase without needing
to regenerate the INSTALL script.
2006-03-15 04:52:57 +00:00
jlam
56082f039b Properly rename "info" to ${INFO_DIR} in any @dirrm statements. Also
add a guard so that we don't re-expand any "info" in ${INFO_DIR} again.
2006-03-14 23:16:01 +00:00
jlam
934c43ebc6 We can always pass --infodir to configure scripts, regardless of whether
or not there are info files to be installed.
2006-03-14 17:24:34 +00:00
jlam
e9045e1673 Teach the plist framework a new variable IGNORE_INFO_DIRS that is a
list of ${PREFIX}-relative paths of directories that do *not* contain
info files.  This allows avoiding the auto info-file-entry munging
that occurs for all PLIST entries that are in directories named "info".
2006-03-14 17:14:47 +00:00
jlam
e7f393b63b Sort _PLIST_AWK_ENV. 2006-03-14 16:54:28 +00:00
jlam
495bdf8ee8 Restructure pattern-actions a bit so that we're not lumping everything
into the last action.  This makes it easier to understand the flow.
2006-03-14 15:32:18 +00:00
tron
da6eed48b7 Sync variable names in comments with recent changes to install framework. 2006-03-14 11:19:57 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
heinz
b267575b0d Replaced option "spamassassin-test-net" by generic option "online-tests".
Adapted the single quotation marks in option spamassassin-test-prefork to the
commonly used double quotation marks.
2006-03-13 21:22:33 +00:00
jlam
07b5aff6cb Makefiles that include oss.buildlink3.mk can now check the value of
OSS_TYPE to determine whether or not a native OSS implementation is
present or not.  OSS_TYPE just exports the value of IS_BUILIN.oss, but
exports it early enough where it can be used within a package Makefile,
e.g.:

	.include "../../mk/oss.buildlink3.mk"
	.if ${OSS_TYPE} == "none"
	CONFIGURE_ARGS+=	--without-oss
	.endif

This should fix builds of some packages that include "oss.buildlink3.mk"
on platforms where there is no OSS in the base system, e.g. Mac OS X
and Solaris.
2006-03-13 16:10:15 +00:00
rillig
3ef535342c Added the variable PHASE_MSG, STEP_MSG, WARNING_MSG and ERROR_MSG to
facilitate the generation of consistent-looking progress messages.
2006-03-12 14:55:18 +00:00
uebayasi
303a92842d +zsh-multibyte 2006-03-11 13:22:08 +00:00
uebayasi
9062d05971 Export EMACS_VERSION_MAJOR and EMACS_VERSION_MINOR to packages using emacs.mk. 2006-03-11 06:23:20 +00:00
reed
57f2744103 BUILD_DEPENDS on gettext-tools not gettext for BUILD_USES_MSGFMT. 2006-03-11 04:01:27 +00:00
jlam
5ce2fd1e99 Cosmetic change: reorder some lines locally to make it easier for me
to understand.
2006-03-10 23:36:08 +00:00
jlam
509cd276cf Expose fewer knobs for a user to tweak by making more variables private. 2006-03-10 23:33:57 +00:00
jlam
94bbce9371 Correct the path to the bsd.prefs.mk file and move it to the proper
location in a buildlink3.mk file.
2006-03-10 22:33:24 +00:00
jlam
6f31a709ac Don't define DEINSTALL_FILE or INSTALL_FILE if the corresponding *_SRC
variables are empty.
2006-03-10 22:23:02 +00:00
tonio
5371ea65c7 replace-interpreter should use REPLACE_FILES.${lang} instead of
_REPLACE_FILES.${lang}
2006-03-10 11:02:00 +00:00
wiz
0bba29e2ac Include bsd.prefs.mk before testing ${OPSYS}. 2006-03-10 07:31:32 +00:00
jlam
11d32442f2 Make it safe to include bsd.pkginstall.mk directly in bsd.pkg.mk, and
drop pkginstall.mk, which did the same thing.  Also, rework some of
the targets so that we avoid needing to inspect *_MEMBERS variables
within make -- we defer the check to the shell code invoked by the
targets.

All changes are internal and don't affect existing packages in a
visible way.
2006-03-09 23:31:51 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
tonio
89bf1216c8 mention SUSE_PREFER=10.0 in coments (but keep 9.1 as default) 2006-03-09 20:44:45 +00:00
jlam
dc0ed7d769 Reimplement OSS audio handling in pkgsrc. Add two new files:
oss.buildlink3.mk
	oss.builtin.mk

that work like modern buildlink3.mk and builtin.mk files do.  We no
longer support audio/oss (which will be removed shortly).  Mark
ossaudio.buildlink3.mk for deprecation after all references to it
have been replaced with "oss.buildlink3.mk" in package Makefiles.
2006-03-09 20:23:13 +00:00
jlam
ddf2e29cda Check that INFO_FILES is defined before using its value. Fixes PR pkg/33043. 2006-03-09 16:39:39 +00:00
rillig
1b68c0a8f7 Since the REPLACE_INTERPRETER is used in more and more packages, it is
not good style to make the package author define variables from the
pkgsrc-internal namespace. The variables REPLACE.* and REPLACE_FILES.*
can now be used as replacements for _REPLACE.* and _REPLACE_FILES.*.
Support for the old variable names will be removed after 2006Q2.
2006-03-09 15:58:10 +00:00
jlam
51cac88fb9 Reimplement the info-file handling so that we use an +INFO_FILES
scriptlet to manage the info-file registration.  The new scriptlet's
template is install/info-files.  Remove obsolete texinfo.mk and
install/install-info.

No changes to package Makefiles are necessary -- the re-implementation
is internal to pkgsrc infrastructure.
2006-03-09 00:20:27 +00:00
minskim
732edfe9b5 Teach the tools framework about Darwin's tclsh and wish. 2006-03-08 21:18:43 +00:00
minskim
5f391d7eae Set LOWER_OPSYS_VERSUFFIX on Darwin. 2006-03-08 01:56:46 +00:00
reed
242b073d74 For the user or group removal message, don't set they can be removed
if no other packages are using them, but if no other "software" is using
them. Just in case, they are using a user and/or group without a package
using it.
2006-03-07 20:31:17 +00:00
jlam
2d8270de7f Teach the tools framework how to supply a pkgsrc version of install-info
if a native one isn't available.  We ensure that the "install-info"
tool in the tools directory is a no-op since the real info file
registration is handled by the INSTALL/DEINSTALL script in
pkgsrc/mk/pkginstall/install-info.
2006-03-06 05:25:45 +00:00
jlam
ee70645e5a It's probably "/bin/makeinfo", not "/usr/bin/makeinfo". 2006-03-05 18:12:52 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
jlam
b441b074cb Handle info directory trees that aren't rooted directly in ${PREFIX}, e.g.
${PREFIX}/<pkg>/info, etc.
2006-03-04 22:06:03 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
rh
a3aaea7dfe Remove planetmirror as a gnustep mirroring site. 2006-03-04 00:04:38 +00:00
joerg
530f1cacf5 Make GNU_CONFIGURE_PREFIX the default prefix for GNU_CONFIGURE_MANDIR
and GNU_CONFIGURE_INFODIR. Add the latter for symmetry.
2006-03-02 19:15:37 +00:00
rxg
f02cc5338d tweak. 2006-02-27 12:14:50 +00:00
ghen
0e74f8adf3 Remove description and default for the obsolete PURE_* variables. 2006-02-24 10:14:36 +00:00
tron
7aab4e005f Only add "fonts.(alias|dir|scale)" to "CHECK_FILES_SKIP" if a package
is using "pkginstall.mk" to handle font installation.

This fixes one of the many false positives created by "CHECK_FILES",
in this case affecting the "xservers" package.
2006-02-23 14:38:07 +00:00
wiz
e643466c5d Add man/ru/*. 2006-02-22 21:42:05 +00:00
wiz
5daaa98485 Drop trailing whitespace. 2006-02-22 21:38:55 +00:00
rillig
c68eda5945 Instead of passing only the path to the tools to CONFIGURE_ARGS, pass
the complete command. This fixes problems when EGREP is defined as "grep
-E" instead of "egrep".
2006-02-21 17:39:32 +00:00
adrianp
28554c4f65 Add .tar.bz support 2006-02-19 15:38:23 +00:00
rillig
7db088da96 Added SITES.${foo} as an alias for SITES_${foo}. The latter will be
deprecated after the 2006Q1 branch.
2006-02-18 15:37:22 +00:00
wiz
aad076d3ad Remove deprecated and now unused file. 2006-02-18 10:02:36 +00:00
wiz
84df0e4aa1 Remove type1inst log file; improve empty dir detection;
needed by fonts/intlfonts, ok@ jlam.
2006-02-17 19:32:48 +00:00
wiz
177382d089 Fix typo in type1inst depends line. 2006-02-17 19:31:33 +00:00
wiz
5db18ae16b Add nl_BE and sv_SE locale dirs for gourmet. 2006-02-16 18:14:45 +00:00
abs
76428b00f5 mirrors.cloud9.net seems unreliable - drop down the list of MASTER_SITE_PERL_CPAN 2006-02-16 11:19:17 +00:00
reed
b7ba80cac2 DragonFly has native /usr/bin/gtar so add TOOLS_PLATFORM.gtar. 2006-02-15 20:02:30 +00:00
rillig
bca88fe217 Only write the terminating HTML code to the ${_BROKENFILE} if the
package is really broken.
2006-02-13 14:55:26 +00:00
rillig
efd0e15ce9 The security/kth-krb4 package does not install bin/ftp anymore (since
February 2004), so it doesn't conflict with bootstrap-pkgsrc.
2006-02-12 05:00:33 +00:00
rillig
d9f528e7fb Added "pre-build>" identifier to two echo commands. 2006-02-11 23:54:25 +00:00
rillig
5258ae8fb8 Renamed the `restart'' variable to `resume'', as that is what the
variable does.
2006-02-11 21:44:16 +00:00
rillig
c04d1cf1cf Fixed double quoting of _BROKENWRKLOG. 2006-02-11 11:46:41 +00:00
ross
239c3f6d14 When returning "..is not an acceptable TeX version.." also identify
which version(s) _are_ acceptable.
2006-02-11 03:00:11 +00:00
jlam
aba46732d5 Teach the tools framework about various gettext-tools: gettext, msgfmt,
and xgettext.  These are supplied by devel/gettext-tools if not present
in the base system.
2006-02-11 00:23:24 +00:00
wiz
dbe9cfb6a4 Add es_NI locale, for gnucash-devel. 2006-02-10 17:43:31 +00:00
rillig
cf9992988e A small step in the direction of valid HTML for the build log files. 2006-02-10 12:21:16 +00:00
shannonjr
b9b7e90faa Bump '_GCC_DIST_VERSION' to '3.4.5' to match lang/gcc34 2006-02-10 11:26:41 +00:00
rillig
91f9cc1a62 Indented the variable definitions more consistently. 2006-02-10 10:41:58 +00:00
wiz
5ded6b1c5a Describe libofx option. 2006-02-09 21:45:39 +00:00
rillig
d846e3c2b5 When in "set -e" mode, the Solaris /bin/sh exits when "cd" fails, even
if it occurs as the condition of a "while" or "if", or in combination
with && or ||. This, of course, introduces a race condition if someone
removes the directory between the two "cd"s. The result would be that
the bulk build terminates, but that's not a big issue, as in this case
there must be something much more severely broken.
2006-02-07 21:34:48 +00:00
jlam
15d65cd972 Info pages don't always end in ".info" as noted in PR pkg/32699. Fix the
PLIST handling based on the suggestion in the PR by Johan Danielsson.
This restores the behavior from the old PLIST code.
2006-02-07 19:18:42 +00:00
jlam
8651991fd4 Fix typo in comment. 2006-02-07 18:43:02 +00:00
jlam
4ed0831994 Provide default values for various variables if they're not present in
the shell environment array ENVIRON.
2006-02-07 18:42:38 +00:00
tv
239bd12708 Set required libtool version to 1.5.22nb1, to skip regression issue in the
original 1.5.22 package.
2006-02-06 18:58:33 +00:00
rillig
cd3132099e warning: escape sequence \.' treated as plain .' 2006-02-05 16:21:07 +00:00
rillig
b723cdb4c4 plist-info.awk:80: warning: escape sequence \.' treated as plain .' 2006-02-05 16:12:56 +00:00
rillig
3297636963 - Added "set -e" at the top of the file to prevent uncontrolled execution.
- Added "set -u" at the top of the file to prevent spelling errors.
- Renamed UNZIP to UNZIP_CMD, since that is used by the rest of pkgsrc.
- Found a singleton use of $extract_options and replaced it with
  ${EXTRACT_OPTS_LHA}.
- Took the default assignment for TMPDIR out of the block. All other
  entries are tools.
- Removed unnecessary variables.
- Make sure that distfile can always be resolved, even if the current
  working directory is changed.
- Provide default values for all EXTRACT_OPTS_* variables, as close as
  possible to the point where they are used.
- Replaced all "$@" with ${1+"$@"} to avoid errors when no parameters are
  given.
- Made the removal of the temporary file for .tar extraction more robust.
2006-02-04 18:06:47 +00:00
rillig
09e7dbca5e Added the KEEP_BUILDLOGS variable. If it is set to "yes", the build logs
of successful builds are not removed, only renamed. This variable will
be useful for examining the warnings that appear during the bulk builds
but are thrown away because the package builds fine. This feature is
experimental and thus not enabled by default.
2006-02-04 01:08:25 +00:00
rillig
2aa47ceaea If a package is still up to date, it doesn't matter if it is currently
installed or not. So there is no need for two different messages. (They
had been necessary in revision 1.1, though.)
2006-02-03 20:47:06 +00:00
joerg
afe110c086 .tar.z is a valid tar extension. 2006-02-03 11:22:12 +00:00
rillig
b11d1504d0 Replaced jlam's initial sketch with one in which the parts are arranged
in a much simpler way, which hopefully makes the wrapper framework less
frightening to the pkgsrc developers. Added some additional notes.
2006-02-02 23:08:31 +00:00
rillig
19488e75a4 If the replace-interpreter program cannot find a file, a warning is
printed.
2006-02-02 21:15:46 +00:00
joerg
d9221c21a4 Fix unrar usage: the command to extract is 'x', without hyphen. 2006-02-02 14:28:17 +00:00
joerg
3152d1d992 Don't include define lower opsys version for the host name, e.g. use
i386-pc-dragonflybsd instead of i386-pc-dragonflybsd1. Saves a few
forks and execs and makes DragonFly more homogenous with NetBSD.
2006-02-02 13:46:37 +00:00
rillig
0cca385f2a Added the bulk build ID to the subject line of the report mail. It had been
${BUILDDATE} before, which has disappeared with the REPORTS_* change.
2006-01-30 20:06:51 +00:00
rillig
c22e7cd031 Don't test(1) and cd(1), cd(1) directly. As long as "set -e" is not
activated this prevents unexpected behavior.
2006-01-29 23:07:04 +00:00
dmcmahill
b358a2cd82 add a missing .PHONY: Now if you do something like
cd pkgsrc/foo
 touch fetch
 make fetch

you get the correct behaviour.
2006-01-29 01:39:01 +00:00
wiz
c76dd1866e Add zh_HK locale for gtk2+-2.8.11. 2006-01-28 22:55:16 +00:00
jlam
63b6d811e1 Actually heed the value of IMAKE if it is set by the user. 2006-01-28 00:32:31 +00:00
xtraeme
5274ee7f50 Add mjpegtools-simd option. 2006-01-25 10:02:27 +00:00
xtraeme
052431aa39 Remove mjpegtools-cmov options... deprecated. 2006-01-25 08:31:21 +00:00
rillig
0af03625f2 The CHECK_INTERPRETER_SKIP patterns may be either for absolute pathnames or
for pathnames relative to ${PREFIX}.
2006-01-24 22:17:12 +00:00
rillig
b7de3baf8d In the FTPHOST compatibility mode, there was a slash missing when
constructing REPORTS_DIR out of FTPHOST and FTPURL.
2006-01-24 19:19:01 +00:00
jlam
03451a917b Ensure that decompress_cat and tarprog always have vaild default values
in the case where the user makes bad option choices on the command line.
2006-01-24 15:26:06 +00:00
jlam
b032c82c21 If the package directory doesn't exist, then return a non-zero code. This
allows us to distinguish the case where everything is what we expect, and
any deviations from that main case.
2006-01-23 18:38:27 +00:00
xtraeme
a83256b22c Add MASTER_SITE_MYSQL with a bunch of mirrors from FreeBSD, and use
it in the mysql packages.
2006-01-23 17:57:47 +00:00
wiz
6b00839b12 Handle *.ZIP the same way as *.zip -- fixes fonts/cyberbit-ttf extraction. 2006-01-23 17:52:02 +00:00
jlam
e0d46069a6 Instead of accumulating _ALL_DEPENDS_PKGSRCDIRS, accumulate _ALL_DEPENDS
instead -- this keeps more information around.
2006-01-23 15:01:39 +00:00
rillig
bc677ecae9 gzcat needs the full command, not only the pathname, in case it is
${GZIP} -cd.
2006-01-23 14:43:50 +00:00
rillig
f6609e47f8 The ../../mk/scripts/extract shell program does not work with Solaris'
/bin/sh. Fixed by invoking it via ${SH}.
2006-01-23 14:19:08 +00:00
rillig
50b7e85526 Made all sentences in the comments start with an upper-case letter and end
with a period.
2006-01-22 21:36:28 +00:00
jlam
64000a0f19 SUS says awk's delete command only deletes array elements, not the array
itself.
2006-01-22 16:54:13 +00:00
tonio
c746fe9467 move the PLIST SUBST from tex.buildlink3.mk to tetex?-bin/buildlink3.mk
This should fix bulk build for teTeX1 packages
2006-01-22 16:45:30 +00:00
jlam
ae4a2129c3 While walking the dependency graph, push the dependencies onto the
stack in the reverse order that show-depends-pkgpaths outputs them.
This makes the top element of the stack the first child dependency
that was marked as "pushed".  This change orders the default "postfix"
output of this script in such a way that for any package listed in
the output, there is no earlier package that depends on it.

In other words, you can take the default output and install from first
to last and never need to install any dependencies, because any
dependencies are guaranteed to have already been installed earlier.
2006-01-21 22:16:13 +00:00
jlam
d04be0cdcb duh... stacks are LIFOs not FIFOs. 2006-01-21 21:46:24 +00:00
jlam
6a485fcc01 Don't write ${FOO:Mbar} == "bar", when !empty(FOO:Mbar) will suffice.
In this case, "FOO" is "INTERACTIVE_STAGE".
2006-01-21 21:32:51 +00:00
jlam
b9431606d0 Set EXTRACT_CMD_DEFAULT to the default extraction command that invokes
the "extract" script.  This allows custom EXTRACT_CMD settings to still
invoke ${EXTRACT_CMD_DEFAULT}.
2006-01-21 19:39:22 +00:00
jlam
fd7b3b4b47 Allow using standard input for the archive contents for tar and shar
extraction.
2006-01-21 19:26:09 +00:00
jlam
d9e6b299d6 Use /usr/pkgsrc/mk/scripts/extract to do extraction instead of using all
that Makefile code to determine the right extraction command to use.
This change removes EXTRACT_CMD.<suffix>.
2006-01-21 18:55:10 +00:00
jlam
c7dd4d5b8f Fix the case where -X excludefile is used so that we don't error out trying
to remove "".
2006-01-21 18:21:08 +00:00
jlam
9e65705d03 Teach the extract script how to exclude files specified on the command
line from extraction when using tar (it already knew how to do it for pax).
2006-01-21 18:01:26 +00:00
jlam
53a8e34fec Teach extract how to extract *.z files using gzip. 2006-01-21 16:48:10 +00:00
jlam
42c1f7217d Teach the extract script a "-d dir" option to extract into a specific
directory.
2006-01-21 16:40:19 +00:00
rillig
f8c8696542 Fixed pkglint warnings. 2006-01-21 15:44:23 +00:00
jlam
e5ae84bc32 Fix up the comments, and add a fall-through for unrecognized archive
formats.
2006-01-21 15:33:05 +00:00
jlam
91a276733e Fix a weird newline error (probably cut-and-paste error). 2006-01-21 14:44:34 +00:00
jlam
a43daa0f30 unzip uses UNZIP as a special environment variable to denote the options
to pass to unzip.  While this is stupid, it's still the reality, so we
must not set UNZIP in the environment when calling unzip.  Rename "UNZIP"
to "UNZIP_CMD" to point to the path to the unzip binary.
2006-01-21 14:40:31 +00:00
jlam
f6a5617420 Fix other instance of _ZOO -> _ZIP and remove a debugging line. 2006-01-21 14:31:56 +00:00
jlam
722d39d511 unzip should be using EXTRACT_OPTS_ZIP, not *_ZOO. 2006-01-21 14:23:08 +00:00
rxg
e8e59e9c3d Added http://downloads.sourceforge.jp/ in MASTER_SITE_SOURCEFORGE_JP. 2006-01-21 11:49:57 +00:00
rillig
1278e33918 - Added a new top level file that saves the REPORT_BASEDIR from the first
call to the mk/bulk/build script. This is to allow restarting the bulk
  build without getting confused by the various timestamps that occur
  during a bulk build. It also fixes some problems where the text/plain
  report had ended up in a directory different from the other files.

- Changed the default filename for the text/plain report from
  "pkgsrc-results-${BUILDDATE}.txt" to simply "report.txt", as the
  ${BUILDDATE} variable didn't give a hint to when the bulk build had been
  started, which is often more important than when the bulk build stopped.

- Changed the way to specify the directory and the URL where the bulk build
  reports are made available. See

      http://mail-index.netbsd.org/tech-pkg/2005/12/05/0002.html

  for details. Specifying the directories using the FTPHOST and FTPURL
  variables will be possible for some months, after which it support for
  it will be dropped.
2006-01-21 11:29:31 +00:00
rillig
71cd38615d Whether a missing interpreter is a warning or an error depends on whether
the _file_ is executable, not the _interpreter_.
2006-01-21 10:13:25 +00:00
rillig
e9f81c65bc Unquoted SUBST_MESSAGE.*, as this is no longer needed. 2006-01-21 10:10:42 +00:00
rillig
a47edae107 Depending on whether a file is executable or not, it is an error or a
warning if its first line starts with "#!", and the following word is
not an existing file. The package devel/apr installs some *.exp files
that start with "#!", but are not intended to be executed.
2006-01-21 10:04:44 +00:00
jlam
863c8a3454 Teach the extract script to simply copy the distfile over to the
current working directory by default if it can't figure out what type
of archive it is.  This handles the most common case of overriding
EXTRACT_CMD in package Makefiles, which is to copy a C file or a Perl
script over to the work directory.

Also, modify the script to allow the file format to be specified on
the command line via a -f option, which will force the extract script
to interpret the archive as the specified a format.  This covers the
case where there is a distfile with an unusual file extension that is
actually in well-known format, and we would like to just tell the
extract script which format this is.
2006-01-21 05:24:36 +00:00
jlam
6f807e3cce Teach this script a default extraction method for *.bin files (which are
what Sun packagse its JRE/JDKs as).  While here, cleanup up the comments
slightly.
2006-01-20 23:58:49 +00:00
jlam
338850bba1 Rename EXTRACT_ENV.bin to EXTRACT_ENV in preparation for a reimplementation
of how distfiles are extracted.  EXTRACT_ENV is a more generic name
and will be applicable for all extraction commands.
2006-01-20 23:55:02 +00:00
jlam
81db182ecc Rename the following variables to reduce the number that we need to track:
EXTRACT_CMD_OPTS.bin		->  EXTRACT_OPTS_BIN
	EXTRACT_CMD_OPTS.lha		->  EXTRACT_OPTS_LHA
	EXTRACT_CMD_OPTS.rar		->  EXTRACT_OPTS_RAR
	EXTRACT_CMD_OPTS.tar		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.Z		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.bz2	->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.gz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tbz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tbz2		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tgz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.zip		->  EXTRACT_OPTS_ZIP
	EXTRACT_CMD_OPTS.zoo		->  EXTRACT_OPTS_ZOO
	EXTRACT_CMD_OPTS_tar.gz		->  EXTRACT_OPTS_TAR
2006-01-20 23:41:29 +00:00
jlam
f14f207bfd Support listing files/patterns for exclusion in an "excludefile",
which is correctly parsed and translated into the correct syntax for
the underlying tool.
2006-01-20 22:26:12 +00:00
jlam
e08f70e543 Remove the old PLIST-handling code after bulk building has shown the new
PLIST module works correctly.
2006-01-20 20:17:07 +00:00
jlam
e9396cdb62 Add some whitespace for readability. 2006-01-20 20:00:44 +00:00
jlam
3afa428cae Fix processing of -t tarprog. 2006-01-20 20:00:15 +00:00
jlam
348fa15438 First pass at a script that replaces many of the variables, loops and
logic in bsd.pkg.extract.mk.  This script "knows" how to extract files
depending on their file extension.
2006-01-20 18:00:45 +00:00
rxg
117614fc7d Added MASTER_SITE_SOURCEFORGE_JP definitions. 2006-01-20 13:50:57 +00:00
jlam
f6808df1ba Move more "patch"-related variables and targets out of bsd.pkg.mk and into
bsd.pkg.patch.mk.
2006-01-19 20:32:17 +00:00
jlam
4a3e4a25bc Move more of the "extract"-related variables and targets out of bsd.pkg.mk
and into bsd.pkg.extract.mk.
2006-01-19 19:35:25 +00:00
jlam
d4a3fc56e6 Fix a typo in the comment. 2006-01-19 17:24:44 +00:00
jlam
0533f0f79e Add a catman page to the script comments to clarify how this script
should be used.  Also, do a minor reordering of lines so that the logic
is more clear.
2006-01-19 17:22:26 +00:00
jlam
536698c7d7 Fix antoher cut and paste (tabs-to-whitespace) bug. 2006-01-19 16:24:51 +00:00
jlam
6cd9d27066 Change leading spaces into a tab to fix clean if WRKOBJDIR is defined. 2006-01-19 16:19:37 +00:00
jlam
15e61bbe84 * Split out the "clean" targets and variables and put them into a separate
file pkgsrc/mk/bsd.pkg.clean.mk.

* Reimplement the clean target so that we don't need to invoke a separate
  make process just to do clean-depends.

* Reimplement clean-depends using a pipe to avoid command-line length
  issues.
2006-01-19 16:11:10 +00:00
rillig
79e148d60b Made the program name in the DIAGNOSTICS section not appear emphasized. 2006-01-19 10:21:12 +00:00
jlam
4f06dd939b Remove some unnecessary parens... we don't need to invoke a new shell
just to run the depends-walk command.
2006-01-19 00:40:00 +00:00
jlam
19a4f23ea1 Move the following targets from bsd.pkg.mk to bsd.utils.mk:
show-depends-dirs
	show-all-depends-dirs
	show-all-depends-dirs-excl

While we're here, reimplement them using the new pkg_paths and
depends-depth-first.awk scripts.  As a side effect, this speeds up
the execution of these targets by around 5-15% depending on the
complexity of the dependency graph.

NOTE: This *does* change the behavior of these targets slightly because
      the output is now newline-separated instead of space-separated,
      and the order of the output lines doesn't match the original
      targets because the dependency graph is now walked depth-first
      instead of breadth first.
2006-01-18 20:18:04 +00:00
jlam
c7da3f7718 Remove unused "show-root-only" target. 2006-01-18 19:12:54 +00:00
jlam
1de033d120 Add a "-s pkgsrcdir" option that allows specifying the path to the pkgsrc
directory tree on the command line more easily.
2006-01-18 18:21:56 +00:00
jlam
ca35caf06f Modify the show-depends-pkgpaths implementation so that we don't assume
package directories specified in DEPENDS lines begin with "../..".  The
new standalone script pkgsrc/mk/scripts/pkg_path will canonicalize them
into package paths relative to ${PKGSRCDIR}.
2006-01-18 18:03:08 +00:00
jlam
eb3653b4a8 whitespace nit. 2006-01-18 17:43:08 +00:00
jlam
8eef20de06 Pass MAKEFLAGs to the depends-depth-first.awk script, which will be
used by the "make show-depends-pkgpaths" process to short-circuit some
of the rather lengthy computations that are spread throughout bsd.pkg.mk
and files included by bsd.pkg.mk.  This causes the script to speed up
noticeably.

Also, rename the _DEPENDS_DEPTH_FIRST_CMD variable to _DEPENDS_WALK_CMD
for brevity and to allow for other implementations in the future.
2006-01-18 03:58:19 +00:00
jlam
5c5ac03ec1 Create a standalone awk script, depends-depth-first.awk, that encapsulates
the code that performs the dependency graph traversal (in depth-first
fashion).  This script has a hook that allows executing a shell command
line upon visiting a dependency's package directory in either prefix
or postfix order, and may be used to simplify the code in bsd.pkg.mk
that iterates over dependencies.

This awk script requires the target "show-depends-pkgpaths", which is
defined in a new Makefile pkgsrc/mk/bsd.utils.mk.  This file should
accumulate "utility" targets that current exist in bsd.pkg.mk, i.e.,
"helper" targets for various actions.
2006-01-18 00:10:07 +00:00
dmcmahill
d188673373 Rework the way the vulnerabilities list is displayed a bit to
remove the vulnerability ID from the pkg-vulnerabilities file
which managed to creep into the README.html output.
2006-01-17 23:52:17 +00:00
jdc
a82b7c9750 tsort creates temporary files in the current directory, so change to the
BULKFILESDIR directory before running it.  We can now bulk build with a
read-only pkgsrc.
2006-01-17 22:35:13 +00:00
wiz
921b38d138 Remove superfluous quotes around SUBST_MESSAGE. 2006-01-16 23:35:29 +00:00
tron
422b96cdc7 (At least) Mac OS X Tiger comes with a fine working "tbl" command. 2006-01-16 21:50:46 +00:00
rillig
04f4fbc7c7 Allow "=" characters to appear in a line that comments out a package in a
category Makefile. Adjusted the other regular expressions to express more
clearly what is meant.
2006-01-15 23:33:23 +00:00
seb
060fe0fd29 Signature police. 2006-01-14 00:58:37 +00:00
jlam
1591f24e5d Make use of ${.TARGET} within a target instead of re-specifying the
file again.
2006-01-13 23:09:39 +00:00
jlam
8da0cdded2 Remove the show-shlib-type target since it's no longer needed ... the
same value is returned by querying for SHLIB_TYPE via show-var, so
convert the only remaining use of show-shlib-type to just use SHLIB_TYPE.
2006-01-13 22:37:02 +00:00
jlam
cefd18eb01 Force compression and decompression to avoid the default behavior of
gzip/gunzip where hard-linked files aren't compressed/decompressed.
2006-01-13 20:03:26 +00:00
jlam
8e0e10d3fa Initial commit of a new module that encapsulates all of the code
for manipulating PLISTs.  This module is not used by default pending
more widespread testing -- currently the variable _USE_PLIST_MODULE
must be defined in /etc/mk.conf to enable its use.

The main features of the new PLIST module are:

    (1) Splits out the PLIST-handling code from bsd.pkg.mk into a
	separate "plist" module.

    (2) Splits out giant, multi-line awk scripts stored in make
	variables into separate awk scripts that may be joined
	together to post-process PLISTs.  Each of these awk scripts
	consolidates the processing for one set of files, e.g.,
	man pages, info pages, etc., and is more easily commented
	than a make variable.

    (3) Splits out the print-PLIST code from the regular PLIST code
	since they have no common pieces (print-plist.mk vs.
	plist.mk).

    (4) Completely re-implements the shared-library handling to be
	more efficient.  Along the way, this also fixes a problem
	for Mac OS X users where the PLISTs incorrectly contained
	absolute paths.

    (5) Completely re-implements the info-file handling so that we
	can migrate from INFO_FILES definitions to just adding
	info/foo.info entries in the static PLISTs.

    (6) Adds commented-out support for automatically compressed or
	decompressed info page entries based on the value of MANZ.
	These changes will be activated after texinfo.mk has been
	replaced by something that is built using the more modern
	primitives now available in pkgsrc.

    (7) Move the file compression logic into a separate script
	"doc-compress" that compresses or decompresses files while
	minding symlinks.  This script is now called by bsd.pkg.mk
	to do the "autmoatic man page handling".  In the future,
	it will also handle the "automatic info page handling" and
	possible others.

In general, the idea is to move stuff out of the Makefiles and into
separate files where we don't need to worry about quoting rules
and where each file can have a separate history of commits.  This
simplifies the makefile logic (especially in terms of readability)
and also simplifies maintenance of the code.
2006-01-12 23:43:56 +00:00
jlam
5e68addc70 Set INFO_DIR, the location for info files, to its default value of
"info" here instead of in pkgsrc/mk/texinfo.mk.  This allows its value
to be used even when texinfo.mk isn't included.
2006-01-12 22:30:56 +00:00
jlam
7a25bc452c Fix a typo that was causing imake, mkdirhier and xmkmf to not be created
as tools in the tools directory.
2006-01-12 19:26:02 +00:00
joerg
bebc25606c Require xpkgwedge 1.15. 2006-01-12 19:05:06 +00:00
jlam
9acbdab507 Don't ever depend on xpkgwedge if we're building xpkgwedge. 2006-01-12 18:39:13 +00:00
jlam
3c30c2b533 Re-implement some code that was lost in revision 1.144 so that IMAKE may
be overridden to point to the path of the imake binary to use.
2006-01-12 18:29:03 +00:00
joerg
80a031e2e2 Remove branch tag from DragonFly version, so that OS_VERSION matches
autoconf's normalisation.
2006-01-12 14:57:19 +00:00
rillig
1eb828e8b4 Documented CHECK_INTERPRETER in the header comment. 2006-01-12 11:13:13 +00:00
rillig
d3b0a7ae64 Added the target check-interpreter to bsd.pkg.check.mk, which checks
that the interpreter of "#!"-style scripts exists. It is disabled by
default, and can be enabled by setting CHECK_INTERPRETER=yes. As for the
other check-* targets, CHECK_INTERPRETER_SKIP is a list of shell globs
that can be used to to skip certain files.

Ok'ed by jlam.
2006-01-12 00:40:19 +00:00
schmonz
24b4409868 Introduce DJB_SLASHPACKAGE, defaulting to NO. /package is DJB's
scheme for the installation and maintenance of software. Over time,
more software will follow /package.

For now, setting DJB_SLASHPACKAGE to YES has two effects:
* DJB_CONFIG_DIR is set to ${WRKSRC}/src
* A do-build target is defined to call package/compile.
2006-01-11 09:26:52 +00:00
schmonz
ae8a1c813a Since qmail and related packages install into ${PREFIX} (and have
for a while now), we no longer need to add ${QMAILDIR} in PLIST_SUBST
or MESSAGE_SUBST. Noticed by jlam.
2006-01-11 05:48:19 +00:00
jlam
5be03dad31 Add back USE_PKGINSTALL as a knob to force the pkginstall framework
to be used so that +INSTALL and +DEINSTALL scripts are generated.
This can be used in cases where it's not possible or not desirable to
use the auto-detection mechanism to decide whether the pkginstall
framework is needed.
2006-01-11 04:42:12 +00:00
adrianp
8363cf6134 Add missing ircd-hybrid zilinks option 2006-01-10 21:06:22 +00:00
christos
d6f119448c Also set ABI like SGI does; from Benjamin Shi. 2006-01-10 16:58:04 +00:00
seb
c3372b07b1 Don't be silly! A copyright ? On this ? I must have been stoned. 2006-01-10 00:01:16 +00:00
jlam
228eeacad9 Teach the tools framework about the ``ksh'' tool, provided by the
shells/pdksh package if it doesn't exist on the base system.
2006-01-09 18:32:52 +00:00
schmonz
4fc54b33cc Add a missing trailing backslash to continuatificate a shell snippet
to the following line.
2006-01-09 18:00:04 +00:00
jlam
4593519ecc Teach the tools framework about "gsoelim", which is the soelim tool from
a groff distribution.
2006-01-08 23:00:00 +00:00
jlam
ff83ba02a2 Consolidate groff-supplied tools into one section. 2006-01-08 22:09:05 +00:00
tonio
56edd1a62d Make teTeX3 the default TEX_DEFAULT
bump PKGREVISION where necessary

Move PKG_TEXMFPREFIX and PKG_LOCALTEXMFPREFIX definitions to
teTeX?/buidlink3.mk, so that packages may include
print/teTeX1-bin/buildlink3.mk directly (however, using teTeX/module.mk do not
allow that)
2006-01-08 14:00:11 +00:00
abs
f97bfe9e95 permit postgresl81 2006-01-08 12:53:53 +00:00
rillig
f134edb22f Reverted the change from 1.29 to 1.30, as it had led to build failures in
the "unwrap" class.
2006-01-08 01:07:35 +00:00
rillig
1f20649016 Added two missing :Q operators. One of them affects how the
SUBST_MESSAGE is printed. The ones that have been defined with "quotes"
in their Makefiles are printed with quotes (of course). This is the
consequence of the design pattern "quote-exactly-where-necessary", which
in fact should be have been applied to pkgsrc as a whole, but still isn't.
2006-01-07 23:27:41 +00:00
rillig
1c209076ce - Added pbc_checkpathname, pbc_checkbasename, pbc_checkurl.
- Modified pbc_checkexisting{dir,file} to use pbc_checkpathname.
2006-01-07 22:27:56 +00:00
markd
e4b8fa5966 Add R's index files, that are regenerated when a local module
is added, to CHECK_FILES_SKIP.
2006-01-07 19:51:42 +00:00
rillig
2e71854a23 Removed the use of ${FILE_CMD} from the substitution framework. The
detection whether a given file was a text file or some other file had
been unreliable. In the recent bulk builds, all of the warnings that had
appeared because of that unreliable detection had been false positives.
2006-01-07 18:43:05 +00:00
xtraeme
9816c7dd27 * Remove mysql-4.0.x now the packages were removed.
* Change default mysql pkg to 5.x.
2006-01-07 10:47:39 +00:00
christos
764aec25ab set the LIBABISUFFIX to 64 for amd64... 2006-01-06 22:47:24 +00:00
wiz
9e99db8474 Describe lablgtk and lablgtk2 options. 2006-01-06 16:28:36 +00:00
wiz
dc560ec778 Depend on cdrtools instead of cdrecord. Bump PKGREVISION.
Update some messages/comments.
2006-01-05 23:29:04 +00:00
joerg
f8ae6026cd Revert unintended part of last commit. 2006-01-05 23:18:26 +00:00
joerg
c750987c17 Adjust comment about SUBST_FILES to match reality:
absolute file names work as well.
2006-01-05 23:16:01 +00:00
dmcmahill
f372299bb4 Fix a bug which caused the README.html generation to fail when the packages
directory did not exist.  Now the generation completes with a warning that
no binary packages were found.  Reported in PR pkg/32351.
2006-01-05 22:19:42 +00:00
schmonz
094c4b78c1 Add a wee bit of infrastructure to improve how we deprecate broken
packages from branch to branch:

When a package is considered broken (for whatever reason) at branch
time, we'll mark it with BROKEN_IN=name-of-branch. At the next
branch, we can easily determine which ones have remained broken and
remove them.

BROKEN_IN is visible to users iff a build fails, when it appends a
warning message to the above effect.

With feedback from dillo. Reviewed by jlam.
2006-01-04 04:25:47 +00:00
gdt
3320ff2b5c Enhances comments to better explain to package authors how this file
should be used, and to motivate the "use only the default version"
approach.  Based on private email with jlam@, but of course errors are mine.
2006-01-03 18:33:07 +00:00
wiz
d5a0e27f9a In the bin-install target, instead of running pkg_add for every
BINPKG_SITES entry separately, construct an appropriate PKG_PATH
and call pkg_add only once. Patch from Chapman Flack in PR 30929.

Use PKGNAME_REQD when installing package dependencies.
Patch from Chapman Flack in PR 30954.
2006-01-03 17:26:56 +00:00
jlam
d7e2d97754 Instead of patching the generated config.status script, patch the GNU
configure script itself so that the generated config.status script
does what we want (just exit if asked to "recheck").  This ensures
the timestamp for config.status is earlier than the timestamps for
the files that config.status generates (Makefile, config.h, etc.).

This fixes some problems where some packages end up "rebuilding" as
part of the install target, which makes the rebuilt files owned by
root and makes cleaning the work directory fail.
2006-01-03 00:41:51 +00:00
dmcmahill
ce2d3019e4 Change some remaining ONLY_FOR_ARCHS to ONLY_FOR_PLATFORM and NOT_FOR_ARCH to
NOT_FOR_PLATFORM that were missed when these variables were changed ages ago.
2006-01-02 23:24:58 +00:00
rillig
e4af2b5124 Fixed some cases where the exitcode of child processes has been ignored.
This will cause package builds to fail instead of hiding bugs.
2006-01-01 22:52:16 +00:00
rillig
9a74bcedfd Fixed trivial pkglint warnings:
- Removed leading white-space in dependency lines.
- s/existant/existent/.
2006-01-01 22:30:35 +00:00
wiz
faf65456ad Remove stuff that was marked for removal after 2005Q4. 2006-01-01 18:53:03 +00:00
tron
6596c8826a Provide defaults for "HOWL_GROUP" and "HOWL_USER" which will be used by
future version of the "howl" package.
2006-01-01 18:25:07 +00:00
tron
ca6d8eca2f Move entry for "MLDONKEY_GROUP" to correct location. 2006-01-01 17:06:12 +00:00
wiz
9eaffc2f2f Remove obsolete TIN_USE_INN_SPOOL option. 2006-01-01 16:11:54 +00:00
wiz
3b9c142626 Describe curses and tin-use-inn-spool options. 2006-01-01 16:11:24 +00:00
rillig
c666e33407 Don't check for PKG_FAIL_REASON when doing show-depends-dirs. This prevents
packages that set PKG_FAIL_REASON from being excluded from the bulk build
databases like .index and .dependstree.
2005-12-31 15:20:59 +00:00
wiz
14b750b437 Fix some quoting as per PR 30956 by Chapman Flack. 2005-12-31 08:18:34 +00:00
wiz
8466aed83c If target is real-su-bin-install, set DEPENDS_TARGET to bin-install.
From Chapman Flack in PR 30928.
2005-12-31 08:05:00 +00:00
wiz
62a3e4fd03 Handle automatic dependencies in bin-install correctly.
From Chapman Flack in PR 32422.
2005-12-31 07:53:11 +00:00
minskim
7eded7fe00 Fix a typo (show-depends-dir -> show-depends-dirs). 2005-12-31 02:06:10 +00:00
jlam
ffa70a6b31 Skip charset.alias as it's another generated index file that changes
over time.
2005-12-30 23:11:55 +00:00
jlam
e88d408616 Add some X11 font database files that are generated by mkfontdir,
mkfontscale, ttmkfdir, etc., to the list of skipped files.  We don't
care about these because they're constantly being regenerated, sometimes
during the package's install phase.
2005-12-29 22:39:09 +00:00
jlam
b98b9b5564 Add comments for the skipped files for CHECK_FILES. 2005-12-29 22:32:20 +00:00
markd
f62733a6ab X11BASE defaults to /usr/openwin on Solaris, but only when using the
native X11_TYPE.  Allow X11BASE to default correctly on Solaris when
X11_TYPE= XFree86 or xorg.
2005-12-29 21:18:11 +00:00
jlam
6517d6f417 Allow avoiding the automatic update of the fonts databases by setting
PKG_UPDATE_FONTS_DB=no in the environment or /etc/mk.conf.  This can
be beneficial when installing large numbers of fonts packages into
the same directories as it avoids destroying and recreating the same
database files over and over again.  This might make it possible
someday to run fc-cache, which is sometimes very time-consuming, from
the +FONTS script automatically.
2005-12-29 14:10:01 +00:00
jlam
5128d7a9bb Test that a variable is defined before checking its value. Fix from
Thomas Klausner.
2005-12-29 13:47:43 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
jlam
4ab7433a2c Teach the pkgsrc infrastructure to Just Know when the pkginstall
framework should be used.  This is implemented by creating a small
file mk/install/pkginstall.mk that guards the implementation makefile
mk/install/bsd.pkginstall.mk.  This guard file just checks whether
one of the pkginstall-related variables is non-empty, and if so, then
the implementation file is automatically included.  This completely
deprecates USE_PKGINSTALL, which no longer has any affect in pkgsrc.
2005-12-29 06:18:53 +00:00
jlam
f0aa85ac53 Re-implement the pkgsrc fonts-handling by integrating it into the
pkginstall framework:

  * Rewrite the mk/install/fonts script fragment as a scriptlet that's
    generated by the +INSTALL script during package installation.

  * Rename the FONTS_<TYPE>_DIRS variables to FONTS_DIRS.<type> to
    be more consistent with how "families" of variables are currently
    named in pkgsrc.

  * Rewrite mk/fonts.mk so that it's implemented in terms of the new
    functionality in the pkginstall framework.  This file will be
    obsoleted in the near future after packages have been transitioned
    to use the new functionality in the pkginstall framework.  Currently,
    packages will continue to work with no changes.

Integrating the fonts-handling into the pkginstall framework has the
benefit of generating a +FONTS scriptlet that may be run independently
of the +INSTALL scripts to (idempotently) update the fonts databases
and fix package installation errors.
2005-12-29 03:44:38 +00:00
jlam
91abe4f16b Teach the tools framework about ttmkfdir and type1inst. 2005-12-28 22:41:27 +00:00
jlam
3608385513 Whitespace changes to align with other sections. 2005-12-28 22:26:50 +00:00