The NetBSD Project

CVS log for pkgsrc/mk/plist/plist-info.awk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / mk / plist

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 22 20:48:37 2018 UTC (8 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, HEAD
Changes since 1.17: +1 -8 lines
Diff to previous 1.17 (colored)

Remove clauses 3,4 from TNF-only copyright blocks.

This is based on the decision The NetBSD Foundation made in 2008 to
do so, which was already applied to src.

This change has been applied to code which is likely not in other
repositories.

ok board@, reviewed by riastradh@

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jun 14 23:10:39 2009 UTC (9 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-
Changes since 1.16: +1 -6 lines
Diff to previous 1.16 (colored)

Kill more @dirrm logic.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 14 22:58:05 2009 UTC (9 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.15: +1 -4 lines
Diff to previous 1.15 (colored)

Remove @dirrm related logic.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jun 1 07:11:09 2006 UTC (12 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, jlam-pkgviews-base, jlam-pkgviews, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Removed superfluous backslashes.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 1 06:12:48 2006 UTC (12 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

In AWK string literals, backslashes must be doubled. Otherwise they are
simply discarded.

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 29 20:01:39 2006 UTC (12 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

When filtering out unrelated info files, only check the last bit of
the name instead of the whole name.  This avoids some problems where
the file name contains awk-special characters, e.g. +.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Fri Apr 14 14:38:49 2006 UTC (13 years ago) by salo
Branch: pkgsrc-2006Q1
Changes since 1.10: +12 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pullup ticket 1375 - requested by jlam
bugfixes for the PLIST generation infrastructure

Revisions pulled up:
- pkgsrc/mk/plist/plist-info.awk		1.11, 1.12

   Module Name:		pkgsrc
   Committed By:	jlam
   Date:		Wed Apr 12 20:49:12 UTC 2006

   Modified Files:
   	pkgsrc/mk/plist: plist-info.awk

   Log Message:
   If the info file doesn't exist on the disk, we should still output an
   entry for it in the final PLIST.  This allows us to locate info files
   in the PLIST that aren't on the system during the CHECK_FILES stage.
---
   Module Name:		pkgsrc
   Committed By:	jlam
   Date:		Fri Apr 14 13:23:42 UTC 2006

   Modified Files:
   	pkgsrc/mk/plist: plist-info.awk

   Log Message:
   Avoid () as a regular expression as the interpretation seems to be
   implementation-defined by various awks.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 14 13:23:42 2006 UTC (13 years ago) by jlam
Branch: MAIN
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (colored)

Avoid () as a regular expression as the interpretation seems to be
implementation-defined by various awks.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 12 20:49:12 2006 UTC (13 years ago) by jlam
Branch: MAIN
Changes since 1.10: +8 -1 lines
Diff to previous 1.10 (colored)

If the info file doesn't exist on the disk, we should still output an
entry for it in the final PLIST.  This allows us to locate info files
in the PLIST that aren't on the system during the CHECK_FILES stage.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 20 01:48:58 2006 UTC (13 years, 1 month ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base
Branch point for: pkgsrc-2006Q1
Changes since 1.9: +25 -26 lines
Diff to previous 1.9 (colored)

* 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.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 14 23:16:01 2006 UTC (13 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.8: +12 -6 lines
Diff to previous 1.8 (colored)

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.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 14 17:14:47 2006 UTC (13 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.7: +16 -5 lines
Diff to previous 1.7 (colored)

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".

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 14 15:32:18 2006 UTC (13 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.6: +20 -8 lines
Diff to previous 1.6 (colored)

Restructure pattern-actions a bit so that we're not lumping everything
into the last action.  This makes it easier to understand the flow.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 4 22:06:03 2006 UTC (13 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.5: +8 -4 lines
Diff to previous 1.5 (colored)

Handle info directory trees that aren't rooted directly in ${PREFIX}, e.g.
${PREFIX}/<pkg>/info, etc.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 7 19:18:42 2006 UTC (13 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.4: +11 -6 lines
Diff to previous 1.4 (colored)

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.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 7 18:42:38 2006 UTC (13 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored)

Provide default values for various variables if they're not present in
the shell environment array ENVIRON.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 5 16:21:07 2006 UTC (13 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

warning: escape sequence `\.' treated as plain `.'

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 5 16:12:56 2006 UTC (13 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

plist-info.awk:80: warning: escape sequence `\.' treated as plain `.'

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jan 12 23:43:57 2006 UTC (13 years, 3 months ago) by jlam
Branch: MAIN

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>