Commit graph

13 commits

Author SHA1 Message Date
bad
ff39331baa I'm fed up with having to waste time because PKG_DEVELOPER is "special" and
can't be disabled by setting it to "no" like the other variables.
Besides, flavor/pkg/metadata.mk has been expecting for a long time that "no"
is a valid value.

Make PKG_DEVELOPER DWIM.
2010-08-24 19:08:28 +00:00
joerg
8f45797884 "Downgrade" checkperms dependency to a normal build dependency.
This way it doesn't have to be installed for make checksum etc.
to run.
2008-06-22 22:05:19 +00:00
tnn
a1bf36e0ae Convert to ${RUN} 2008-02-05 08:17:59 +00:00
joerg
8eae292c51 Fix a number of bugs in the DESTDIR support:
- check-perms.mk was not DESTDIR aware, prefix files before passing it
  to the directory extraction
- PKG_FILELIST_CMD was calling pkg_info, which is fine for normal
  installation, but fails of course for DESTDIR. Just drop the @ lines
  from ${_DEPENDS_PLIST} and use that.
- To make he former work, ensure that _flavor-generate-metadata is part
  of _INSTALL_ALL_TARGETS. It was normally a dependency of
  _flavor-register, but that is skipped for DESTDIR.
- Remove ${_DEPENDS_PLIST} when running install-clean.
2007-08-14 23:58:24 +00:00
joerg
ebe8eba5a1 When using check-perms, also depend on sysutils/checkperms. 2007-07-23 12:10:56 +00:00
rillig
66bf916302 For all those who are interested in the inner workings of pkgsrc, there
is a new target "show-all" that fits to the existing "debug",
"show-tools", "show-vars" targets. It prints a list of the variables
that make up the public interface to pkgsrc. Running this target is
especially useful if you want to do some things, you know that they must
have been implemented but you don't know what it is called. It also
shows the "class" of a variable (user-defined, package-defined,
system-defined).
2007-03-15 22:54:24 +00:00
rillig
38de695082 Documented how to use checkperms in bulk builds. 2007-03-08 22:49:05 +00:00
rillig
e4a09fc74a Reformatted the help text to be more human-readable instead of
pkglint-readable.
2007-01-06 14:11:16 +00:00
rillig
e2e94b2719 On Interix, the -c option of checkperms is disabled, as checkperms does
not know about Interix yet. This is a temporary work-around for
PR 34968.
2006-11-17 01:05:47 +00:00
rillig
918d65cc09 Added the CHECK_PERMS_AUTOFIX variable, which allows packages to say
that the file permissions should be fixed automatically.

Moved the test whether this check should be enabled from
../install/install.mk to here.

Renamed the target from check-perms to _check-perms.
2006-11-12 00:44:24 +00:00
rillig
74d127ee88 Adjusted the check-perms target to the recent update of
sysutils/checkperms.

Regular files are now checked if they needlessly have the executable bit
set.
2006-11-02 02:44:17 +00:00
rillig
ce502552c2 Moved the check whether checkperms(1) exists from load time to run time. 2006-10-21 11:13:10 +00:00
rillig
20d92f3be1 Added a new post-installation check to see whether the files have their
permissions properly set. See mk/check/check-perms.mk and
sysutils/checkperms for details.
2006-10-13 06:32:15 +00:00