Commit graph

72 commits

Author SHA1 Message Date
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