The NetBSD Project

CVS log for pkgsrc/mk/plist/plist.mk

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.52 / (download) - annotate - [select for diffs], Wed Jan 16 04:43:42 2019 UTC (3 months ago) by gutteridge
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, HEAD
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

mk/plist/plist.mk: amend MACHINE_ARCH examples in a comment

To avoid potential confusion, amend the example MACHINE_ARCH to what it
really is. While here, fix a rather subtle typo.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Nov 30 18:38:20 2018 UTC (4 months, 2 weeks ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.50: +3 -1 lines
Diff to previous 1.50 (colored)

mk/misc: make configuration for show-all targets more configurable

Up to now, there was a central list of variable name patterns that
defined whether a variable was printed as a sorted list, as a list or as
a single value.

Now each variable group decides on its own which of the variables are
printed in which way, using the usual glob patterns. This is more
flexible since different files sometimes differ in their naming
conventions.

Two variable groups are added: license (for everything related to
LICENSE) and go (for lang/go).

Revision 1.50 / (download) - annotate - [select for diffs], Wed Jun 14 16:23:09 2017 UTC (22 months ago) by prlw1
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, 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-
Changes since 1.49: +7 -1 lines
Diff to previous 1.49 (colored)

Essentially from OBATA Akio in private mail, June 2015:

Introduce Icon Theme cache handling framework

Icon Theme cache files are used by GTK+ and maintained with the
gtk-update-icon-cache tool.  Each Icon Theme package duplicates
its own maintainance scripts: only the specified icon theme directory
differs.  With this framework, if packages have ICON_THEMES=yes,
associated icon themes will be detected and their cache files will
be maintained automatically.

Change cache handling behaviour as follows:
* Icon theme caches will be updated if either gtk2+ or gtk3+
  gtk-update-icon-cache tool is available.
* With installation of gtk2+ package, not only hicolor icon theme but
  also any other icon theme cache files will be updated.
* Prevent removal of icon caches at deinstall, gtk3+ may be installed and
  using them.
* Ditto with gtk3+, gtk2+ may not be installed now, so caches must be
  maintained by gtk3+.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Jul 4 16:18:38 2015 UTC (3 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: 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
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored)

Remove USE_X11BASE and X11PREFIX.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Dec 30 15:13:20 2014 UTC (4 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.47: +1 -20 lines
Diff to previous 1.47 (colored)

Remove pkg_views support, second part: infrastructure.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Oct 9 13:44:51 2014 UTC (4 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.46: +1 -2 lines
Diff to previous 1.46 (colored)

Remove SVR4_PKGNAME, per discussion on tech-pkg.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Sep 12 11:01:47 2013 UTC (5 years, 7 months ago) by jperkin
Branch: MAIN
CVS Tags: 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
Changes since 1.45: +2 -1 lines
Diff to previous 1.45 (colored)

Introduce CATMAN_SECTION_SUFFIX which if set to 'yes' will ensure that
catman pages are installed with a suffix which matches their section
instead of the default '.0'.

Enable it by default on SunOS, which requires that particular layout.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Feb 10 12:03:00 2013 UTC (6 years, 2 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.44: +8 -1 lines
Diff to previous 1.44 (colored)

Improve PLIST handling for Cygwin (SHLIB_TYPE=PEwin)
* also expand `dlname' in libtool archive
* executable binary files may have .exe extension
* rename shlib extension .so with .dll

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 6 11:36:31 2012 UTC (6 years, 4 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.43: +4 -1 lines
Diff to previous 1.43 (colored)

Introduce PKGGNUDIR as a way to control gnu prefix.

By default pkgsrc uses LOCABASE/gnu as a prefix for packages to install
native versions of GNU tools, which are them symbolically linked back to
the 'g' versions of the files in LOCALBASE, and users can then add
LOCALBASE/gnu/bin to PATH to pick up those tools.

On systems where the GNU environment is desired, PKGGNUDIR now allows
users to install the non-'g' files directly into LOCALBASE, making them
the default without having to alter PATH, whilst retaining the 'g' files
in order to ensure dependencies and tool paths remain the same.

Revision 1.43 / (download) - annotate - [select for diffs], Sun May 27 14:32:28 2012 UTC (6 years, 10 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.42: +11 -1 lines
Diff to previous 1.42 (colored)


"rebuild" and "retest" targets were added (by analogy with "reinstall").
rebuild is a special target to re-run the build target.
retest is a special target to re-run the test target.

Revision 1.42 / (download) - annotate - [select for diffs], Sun May 13 12:39:47 2012 UTC (6 years, 11 months ago) by obache
Branch: MAIN
Changes since 1.41: +9 -1 lines
Diff to previous 1.41 (colored)

Allow to additional post-processing PLIST with PLIST_AWK and PLIST_AWK_ENV.

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Sun Mar 11 10:44:42 2012 UTC (7 years, 1 month ago) by spz
Branch: pkgsrc-2011Q4
Changes since 1.40: +4 -2 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Pullup ticket #3697 - requested by tron
mk/plist: fix for handling of man pages

Revisions pulled up:
- mk/plist/plist.mk                                             1.41

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	tron
   Date:		Sun Mar  4 08:03:56 UTC 2012

   Modified Files:
   	pkgsrc/mk/plist: plist.mk

   Log Message:
   Don't strip out "cat" manual pages if the package gets built via "imake".
   The settings in "MANINSTALL" don't apply here.


   To generate a diff of this commit:
   cvs rdiff -u -r1.40 -r1.41 pkgsrc/mk/plist/plist.mk

Revision 1.41 / (download) - annotate - [select for diffs], Sun Mar 4 08:03:56 2012 UTC (7 years, 1 month ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.40: +4 -2 lines
Diff to previous 1.40 (colored)

Don't strip out "cat" manual pages if the package gets built via "imake".
The settings in "MANINSTALL" don't apply here.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Sep 8 20:17:16 2011 UTC (7 years, 7 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Branch point for: pkgsrc-2011Q4
Changes since 1.39: +6 -6 lines
Diff to previous 1.39 (colored)

Introduce PKGSRC_SETENV, defaulting to SETENV. Can be set to ${SETENV} -i
to santise environment

Revision 1.39 / (download) - annotate - [select for diffs], Tue Mar 17 22:13:36 2009 UTC (10 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: 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-2009Q1-base, pkgsrc-2009Q1
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Replaced _PKG_SILENT and _PKG_DEBUG with RUN.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Oct 30 18:48:13 2008 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Don't filter the PLIST for AIX, at least libtool nowadays also creates
ELF like names. From PR 39387.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Apr 8 20:52:15 2008 UTC (11 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.36: +15 -2 lines
Diff to previous 1.36 (colored)

Add better support for small conditional parts of PLISTs.

PLIST_VARS is the list of names corresponding to automatic variables
generated by plist.mk to simplify having conditionally-present entries
in the PLIST.  If "var" is listed in PLIST_VARS, then the automatic
variable is named PLIST.var.  If PLIST.var is defined, then in the PLIST
generation, the ${PLIST.var} symbol is replaced with the empty string,
or "@comment " otherwise.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 31 21:09:03 2007 UTC (11 years, 5 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.35: +10 -8 lines
Diff to previous 1.35 (colored)

Some implementations of X11 install both manpages and catpages, which
has not been supported by pkgsrc up to now.

This changes adds a PLIST macro @imake-man that expands to zero, one or
two lines, depending on the value of IMAKE_MANINSTALL. Packages must
explicitly have the macro in the PLIST files to use this feature. Since
currently no package has that, this change doesn't affect anything at
all by now.

TODO: The platforms' definitions for IMAKE_MANINSTALL and the other
definitions like IMAKE_MAN_SUFFIX need to be adjusted.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Oct 25 22:02:18 2007 UTC (11 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.34: +19 -5 lines
Diff to previous 1.34 (colored)

* If PLIST_SRC is explicitly set to an empty value in a package Makefile,
  then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty

Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 25 17:49:45 2007 UTC (11 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.33: +6 -10 lines
Diff to previous 1.33 (colored)

Re-add "intentionally empty" PLISTs for meta-packages and other packages
that directly manipulate empty PLISTs.

Modify plist/plist.mk so that if the PLIST files are missing and no
GENERATE_PLIST is defined, then the package fails to build.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Oct 25 16:46:14 2007 UTC (11 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.32: +11 -4 lines
Diff to previous 1.32 (colored)

Allow packages to have no PLIST files whatsoever.  If such a package also
does not set GENERATE_PLIST, then automatically generate a PLIST that
says:
	@comment ${PKGNAME} has no files.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Oct 10 02:37:13 2007 UTC (11 years, 6 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.31: +6 -1 lines
Diff to previous 1.31 (colored)

Added _VARGROUPS.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Aug 3 14:03:40 2007 UTC (11 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.30: +2 -11 lines
Diff to previous 1.30 (colored)

Update _USE_DESTDIR=full handling to use the new -u/-g code and
require pkg_install-20070802 for using it. It is now considered
to work correctly and ready for general consumption.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jul 29 05:19:44 2007 UTC (11 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.29: +4 -1 lines
Diff to previous 1.29 (colored)

* Add new emulator framework in pkgsrc/mk/emulator that handles all
  binary-only packages that require binary "emulation" on the native
  operating system.  Please see pkgsrc/mk/emulator/README for more
  details.

* Teach the plist framework to automatically use any existing
  PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.

* Convert all of the binary-only packages in pkgsrc to use the
  emulator framework.  Most of them have been tested to install and
  deinstall correctly.  This involves the following cleanup actions:

    * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
      more consistently.

    * Simplify packages by using default INSTALL and DEINSTALL scripts
      instead of custom INSTALL/DEINSTALL code.

    * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.
      Packages only need to state exactly which emulations they support,
      and the framework handles any i386-on-x86_64 or sparc-on-sparc64
      uses.

    * Remove "USE_NATIVE_LINUX" from pkgsrc.  The framework will
      automatically detect when the package is installing on Linux.

  Specific changes to packages include:

    * Bump the PKGREVISIONs for all of the suse100* and suse91* packages
      due to changes in the +INSTALL/+DEINSTALL scripts used in all
      of the packages.

    * Remove pkgsrc/emulators/suse_linux, which is unused by any
      packages.

    * cad/lc -- remove custom code to create the distinfo file for
	all supported platforms; just use "emul-fetch" and "emul-distinfo"
	instead.

    * lang/Cg-compiler -- install the shared libraries under ${EMULDIR}
	instead of ${PREFIX}/lib so that compiled programs will find
	the shared libraries.

    * mail/thunderbird-bin-nightly -- update to latest binary
	distributions for supported platforms.

    * multimedia/ns-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

    * security/uvscan -- set LD_LIBRARY_PATH explicitly so that
	it's not necessary to install library symlinks into
	${EMULDIR}/usr/local/lib.

    * www/firefox-bin-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jul 27 18:37:35 2007 UTC (11 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.28: +0 -37 lines
Diff to previous 1.28 (colored)

Move the +SHLIBS generation code back into the pkginstall module.  In the
plist module, it was being "defined" too late, and the pkginstall module
never created any +SHLIBS scripts.  Sidestep the tools problems with
SHLIB_TYPE by pretending they don't exist (for now).

XXX SHLIB_TYPE needs to be re-thought or removed altogether.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 23 15:23:48 2007 UTC (11 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.27: +38 -1 lines
Diff to previous 1.27 (colored)

Putting bsd.pkginstall.mk under bsd.tools.mk was a bad idea -- the
former set several USE_TOOLS lines that were being missed by bsd.tools.mk.

Rearrange the +SHLIBS code so that bsd.tools.mk can now be included
after bsd.pkginstall.mk again.  The +SHLIBS code has now been moved
over to the plist module, which is so far the repository for all of
the shlib-type handling.

This should fix the problem with fonts handling being broken.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jul 18 18:01:03 2007 UTC (11 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.26: +1 -8 lines
Diff to previous 1.26 (colored)

Add back a facility to rebuild the run-time library search paths database
on platforms that need it.

XXX Right now, if the platform needs it, then it runs for every package.
XXX This needs to be fixed to only run for packages that install shared
XXX libraries.

* Move mk/plist/shlib-type to mk/scripts.

* Move definition of SHLIB_TYPE from mk/plist/plist.mk to bsd.pkg.mk.

* Move inclusion of bsd.pkginstall.mk below bsd.tools.mk so that it
  can use SHLIB_TYPE.  This is necessary because SHLIB_TYPE's value
  is the result of evaluating a command, and the command needs "TOOL"
  definitions provided by bsd.tools.mk.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jul 18 14:12:30 2007 UTC (11 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.25: +20 -21 lines
Diff to previous 1.25 (colored)

Preserve the default value of PLIST_SRC as PLIST_SRC_DFLT while still
allowing PLIST_SRC to be overridden in a package Makefile.

It's now possible to do:

	PLIST_SRC=	${PLIST_SRC_DFLT} ${WRKDIR}/PLIST_DYNAMIC

and still use the default PLIST.* fragment handling.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jun 9 11:02:23 2007 UTC (11 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.24: +12 -16 lines
Diff to previous 1.24 (colored)

Fixed the description of PLIST_SRC.

Revision 1.24 / (download) - annotate - [select for diffs], Mon May 28 13:59:10 2007 UTC (11 years, 10 months ago) by heinz
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Changed suffix for _PLIST_NOKEYWORDS to be more in line with other files
in WRKDIR.

Revision 1.23 / (download) - annotate - [select for diffs], Mon May 28 13:54:25 2007 UTC (11 years, 10 months ago) by heinz
Branch: MAIN
Changes since 1.22: +17 -2 lines
Diff to previous 1.22 (colored)

In order to avoid incorrect information about needed shared libraries in
+BUILD_INFO we must ensure that we only test valid lines from PLIST and
not lines like "@unexec /bin/rmdir..." where "/bin/rmdir" is not a part
of the resulting package.
To achieve this, a stripped version of PLIST, called _PLIST_NOKEYWORDS,
is introduced.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 19 23:13:42 2007 UTC (12 years ago) by tnn
Branch: MAIN
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

add awk script to be used for Spectrum Object Module shlib handling.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 11 19:01:00 2007 UTC (12 years ago) by tnn
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

ECOFF on OSF1 behaves like ELF as far as PLISTs are concerned.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Mar 7 16:32:45 2007 UTC (12 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1, jlam-pkgviews-base, jlam-pkgviews
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Fixed a GNU awk warning about quoting.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 20 09:22:14 2007 UTC (12 years, 2 months ago) by uebayasi
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

A missing quote.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Nov 5 15:10:08 2006 UTC (12 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Rename _INSTALL_ROOT_USER to REAL_ROOT_USER. Use it as default for
SETUID_ROOT_PERMS.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Oct 15 16:20:34 2006 UTC (12 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.16: +11 -2 lines
Diff to previous 1.16 (colored)

Include some more magic to set ownership of packages build with
use-destdir to ${ROOT_USER}:${ROOT_GROU}. This allows us to safely
use it on all packages which don't install setuid/setgid binaries.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 9 12:25:44 2006 UTC (12 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored)

Main infrastructure for DESTDIR support.

Packages may set PKG_DESTDIR_SUPPORT to either "destdir" or
"user-destdir" to flag support for this, following the same
rules as PKG_INSTALLATION_TYPES (e.g. define before first include
of bsd.prefs.mk).

The user activates it via USE_DESTDIR. When set to "yes",
packages with "user-destdir" are handled as "destdir".
The installation of the package will not go to ${LOCALBASE},
but a subdirectory of ${WRKDIR} instead. pre/post install scripts are
not run and the package is not registered either. A binary package
can be created instead to be installed normally with pkg_add.

For "user-destdir" packages, everything is run as normal user and
ownership is supposed to be correctled by pkg_create later. Since
the current pkg_install code uses pax and it doesn't allow overwriting
owners, this does not work yet.

For "destdir" packages, installation, packaging and cleaning is run as
root.

This commit does not change the handling of DEPENDS_TARGET or
bin-install to allow recursive usage.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 21 13:40:27 2006 UTC (12 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.14: +3 -4 lines
Diff to previous 1.14 (colored)

Modify the shlib-type script so that it doesn't need to compile anything
-- instead, we just check "pkg_info", which should exist on all pkgsrc
platforms.

XXX Note that this may need to change when we later support other package
XXX system flavors.

Back out revision 1.79 of pkgtools/x11-links/Makefile which was only to
work around needing a C compiler for shlib-type to work.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jul 15 23:58:52 2006 UTC (12 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Split the variable BUILD_DEFS into those that are defined by packages
and those that are defined by the infrastructure (_BUILD_DEFS). This
allows the build-defs-message target to be moved to the end of
bsd.pkg.mk. Now it prints the correct result even in unprivileged
builds, which had been wrong due to the order in which the files have
been included. For example, ${UNPRIVILEGED_USER} was displayed as (not
defined) although its value was defined, which could be checked with
"bmake show-var".

Tested with one package that _does_ define BUILD_DEFS and with one that
doesn't. The behavior stays the same.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 8 03:11:17 2006 UTC (12 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Fix an inverted test that caused all catman pages to be stripped from
the PLIST on platforms where IMAKE_MANINSTALL != MANINSTALL, e.g.
Solaris.  Solution noted by adrianp in private email.  This should fix
the problem noted in PR pkg/33629.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 3 23:11:43 2006 UTC (12 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

First pass at implementing support for package system flavors other
than pkgsrc's current one.  This is an important lead-up to any project
that redesigns the pkg_* tools in that it doesn't tie us to past design
(mis)choices.  This commit mostly deals with rearranging code, although
there was a considerable amount of rewriting done in cases where I
thought the code was somewhat messy and was difficult to understand.

The design I chose for supporting multiple package system flavors is
that the various depends, install, package, etc.  modules would define
default targets and variables that may be overridden in files from
pkgsrc/mk/flavor/${PKG_FLAVOR}.  The default targets would do the
sensible thing of doing nothing, and pkgsrc infrastructure would rely
on the appropriate things to be defined in pkgsrc/mk/flavor to do the
real work.  The pkgsrc/mk/flavor directory contains subdirectories
corresponding to each package system flavor that we support.  Currently,
I only have "pkg" which represents the current pkgsrc-native package
flavor.  I've separated out most of the code where we make assumptions
about the package system flavor, mostly either because we directly
use the pkg_* tools, or we make assumptions about the package meta-data
directory, or we directly manipulate the package meta-data files, and
placed it into pkgsrc/mk/flavor/pkg.

There are several new modules that have been refactored out of bsd.pkg.mk
as part of these changes: check, depends, install, package, and update.
Each of these modules has been slimmed down by rewriting them to avoid
some recursive make calls.  I've also religiously documented which
targets are "public" and which are "private" so that users won't rely
on reaching into pkgsrc innards to call a private target.

The "depends" module is a complete overhaul of the way that we handle
dependencies.  There is now a separate "depends" phase that occurs
before the "extract" phase where dependencies are installed.  This
differs from the old way where dependencies were installed just before
extraction occurred.  The reduce-depends.mk file is now replaced by
a script that is invoked only once during the depends phase and is
used to generate a cookie file that holds the full set of reduced
dependencies.  It is now possible to type "make depends" in a package
directory and all missing dependencies will be installed.

Future work on this project include:

    * Resolve the workflow design in anticipation of future work on
      staged installations where "package" conceptually happens before
      "install".

    * Rewrite the buildlink3 framework to not assume the use of the
      pkgsrc pkg_* tools.

    * Rewrite the pkginstall framework to provide a standard pkg_*
      tool to perform the actions, and allowing a purely declarative
      file per package to describe what actions need to be taken at
      install or deinstall time.

    * Implement support for the SVR4 package flavor.  This will be
      proof that the appropriate abstractions are in place to allow
      using a completely different set of package management tools.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 17 06:30:48 2006 UTC (13 years ago) by jlam
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Only do the locale transformation if USE_PKGLOCALEDIR is defined.  This
avoids any problems with current packages that install locale files but
don't honor PKGLOCALEDIR yet.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 17 06:12:46 2006 UTC (13 years ago) by jlam
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Modify the plist module to automatically transform "^share/locale" in
PLISTs to "${PKGLOCALEDIR}/locale" for the installed PLIST.  This is
similar to the work that's already done to automatically handle
PKGINFODIR and PKGMANDIR.  PLISTs in pkgsrc will be modified so that
they would just list the message files to be under "share/locale".
USE_PKGLOCALEDIR must continue to be set in package Makefiles so that
localedir substitutions happen at post-configure time.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 16 04:27:18 2006 UTC (13 years ago) by jlam
Branch: MAIN
Changes since 1.8: +2 -19 lines
Diff to previous 1.8 (colored)

Now that all info file entries have been pushed from INFO_FILES into
the PLISTs, drop support for listing info files in INFO_FILES.  The
INFO_FILES variable is now strictly defined/undefined.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 5 05:54:01 2006 UTC (13 years ago) by jlam
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Create a new variable IGNORE_LIBTOOLIZE containing files which should
not be expanded by the plist module.

Revision 1.7 / (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, pkgsrc-2006Q1
Changes since 1.6: +18 -5 lines
Diff to previous 1.6 (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.6 / (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.5: +14 -2 lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Tue Mar 14 16:54:28 2006 UTC (13 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Sort _PLIST_AWK_ENV.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 21 14:44:34 2006 UTC (13 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored)

Fix a weird newline error (probably cut-and-paste error).

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 13 23:09:39 2006 UTC (13 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Make use of ${.TARGET} within a target instead of re-specifying the
file again.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 13 22:37:02 2006 UTC (13 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.1: +1 -7 lines
Diff to previous 1.1 (colored)

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.

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>