Commit graph

36 commits

Author SHA1 Message Date
leot
d36f22066b Fix a typo in a comment 2016-07-18 09:57:10 +00:00
joerg
6c00682f76 Stop creating category symlinks in ${PACKAGES}, but keep All/ for now. 2016-05-09 00:07:23 +00:00
joerg
639d5b402f Remove support for USE_DESTDIR=no. 2016-04-10 15:58:02 +00:00
joerg
4287748b6e Always require the 2010 version of pkg_install to simplify things a bit. 2016-04-10 15:20:26 +00:00
rillig
4b745bef97 Changed "Install binary package" to "Installing binary package" 2016-02-02 08:15:07 +00:00
jperkin
f67ff360ae Perform signing at the staged package stage rather than only during the
copy to the target pkgfile.  Ensures consistency at all stages, means we
can support verifying the signature at install time, and also fixes signed
packages with recent pbulk changes which now invoke 'stage-package-create'
rather than 'package'.
2015-10-29 20:09:28 +00:00
jperkin
74fa23ab2a Switch to globbing for package symlinks to delete. This provides significant
performance improvements on at least OSX and SunOS, where each file is stat'd
rather than just the links we are looking for, especially with large package
directories over NFS.
2015-09-07 11:02:28 +00:00
joerg
11d2712a27 Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
joerg
cd74494def Add a new ulimit modifier for cputime. Support raising limits for
package creation.

There are very few things in pkgsrc that needs more than one hour per
process on decently fast hardware, so setting that as (soft) limit for
bulk builds avoids the infinite loops seen in some other packages. There
are a few select exceptions, i.e. flightgear-data needs more than one
hour for pkg_create when using xz. This flag allows selectively giving
those places more time without wasting resources in the broken cases.
2015-04-21 17:01:55 +00:00
jperkin
733254faf3 Put back PKGNAME_REQD fix for su-real-package-install. 2015-02-16 10:50:33 +00:00
jperkin
4092ea0d63 Put back MESSAGE_SRC_DFLT. 2015-02-16 10:17:47 +00:00
obache
5f2563c087 Revert
introduce MESSAGE_SRC_DFLT, same as PLIST_SRC_DFLT for PLIST_SRC.
proposed/discussed is required for such changes.
2015-02-02 12:32:49 +00:00
obache
ec75d3e707 Revert "Pass PKGNAME_REQD to su-real-package-install",
proposed/discussed is required for such infrastructure changes.
2015-02-01 11:24:58 +00:00
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
agc
13f595bb5b Fix a typo. No functional change. 2014-12-08 02:43:25 +00:00
obache
6757839337 Pass PKGNAME_REQD to su-real-package-install, for multiversion packages
not using default version.
2014-12-07 05:09:02 +00:00
obache
e2a52e6e8e introduce MESSAGE_SRC_DFLT, same as PLIST_SRC_DFLT for PLIST_SRC. 2014-11-02 06:17:39 +00:00
jperkin
ed123862cf Add missing braces and check getline returns success, this code must have
worked by pure luck in the past, and now works with strict POSIX awk too.
2014-10-08 10:04:45 +00:00
obache
28e8f67453 Fixes undefined variable references. 2014-04-07 05:25:03 +00:00
khorben
59e1335fa3 Create signed packages automatically if desired. It is disabled by default,
and documented in mk/defaults/mk.conf. Both the "gpg" and "x509" methods
supported by pkg_admin(1) are supported. With package signing enabled, a
staging, unsigned copy of the package is always created, and its final copy
to the package repository is done with pkg_admin(1) instead of "ln || cp".
Proper operation should otherwise not be affected.

Tested both with and without user-destdir support in packages.

"can live with it" joerg@

From EdgeBSD.
2014-04-06 15:04:16 +00:00
obache
605cd68e59 Clean up target file if failed.
fixes PR pkg/48294.
2014-03-08 11:46:14 +00:00
obache
82f6d72f3a Skip automatic shlib permission fix for files in CHECK_SHLIBS_SKIP. 2014-03-02 07:18:36 +00:00
obache
38443c897d drop unwanted stage-package-remove before stage-package-create,
to avoid unwanted stage binary package removal/regeneration.
2013-08-10 06:05:57 +00:00
obache
23ef105d59 reduce dependencies, to avoid unwanted binary package regeneration.
* ${_BUILD_INFO_FILE} only depends on ${_PLIST_NOKEYWORDS}, not plist target.
* plist target is not required to create +CONTENTS
2013-08-10 06:03:37 +00:00
obache
b57eb9cefd ${_SIZE_PKG_FILE} only require ${PLIST}, so restrict dependency to it.
This change avoid to regeneration the file, it may cause pemission issue
with PKG_DESTDIR_SUPPORT=destdir.
2013-07-13 09:10:35 +00:00
obache
5f5e2d61ad prevent to generate binary package in ${PACKAGES} from the side effect of
`install' with USE_DESTDIR=yes.
This changes prevent to unwanted overwite of existing binary packages with
test installation (`stage-install', `replace' & `undo-replace', and so on).

To do both `install' and `package', you can still use `package-install' target,
same as USE_DESTDIR=no.
2013-05-23 13:18:56 +00:00
obache
ee6f879616 consider nb? in dependency pattern. 2013-05-12 05:24:28 +00:00
obache
6ac17b9215 Move show-depends-options, it is pkgformat independ target. 2013-05-12 05:13:37 +00:00
riastradh
9e0c502480 Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/.
Build depends are target packages that are needed at build-time for,
e.g., static libraries to link against, header files to include, &c.
Tool depends are native packages that are needed at build-time for,
e.g., compilers/linkers/&c. to run.

ok agc
2013-05-09 23:37:25 +00:00
obache
adf03dd66f Temporary skip REQUIRE metadata collection for PE (Cygwin),
some DLL lead `ldd' command to hung up.
2013-03-07 13:15:29 +00:00
obache
5705424547 Add REQUIRE/PROVIDER metadata detection support for OBJECT_FMT=PE (Cygwin). 2013-02-10 12:07:50 +00:00
joerg
86a1f7d707 Expand the list of full dependencies, so that the shared library check
can work without further calls for indirect full dependencies.
2012-07-02 14:53:13 +00:00
obache
0504e225e5 Set LD_TRACE_LOADED_OBJECTS_FMT{1,2} for OpenBSD so that output of ldd will be
expected format.

workaround of PR 38838.
2012-05-13 08:20:11 +00:00
joerg
d247132140 Be a bit less aggressive in the required version of pkg_install encoded
into binary packages.
2011-12-13 16:35:48 +00:00
dholland
8b8eb913b3 Typo 2011-10-23 11:36:02 +00:00
reed
88166ad6f5 Rename "flavor" to "pkgformat".
This is from Anton Panev's GSoC 2011 project to add RPM and DPKG
support to pkgsrc. (I am not adding that further support in this
commit.)

This is just a rename of the existing functionality. Now it will
be easy to test the GSoC work by simply putting in a single
directory (such as "rpm" or "deb"). See
http://addpackageforma.sourceforge.net/ for some details.

This is from Anton's CVS, but I made some minor changes:

- changed plural pkgformats to singular pkgformat (to be consistent)

- fixed a few places (in comments) that were missed

- catch up on some additions to flavor not in the pkgforma cvs:
PKGSRC_SETENV and _flavor-destdir-undo-replace and
undo-destdir-replace-install.
2011-10-15 00:23:07 +00:00