Commit Graph

1417 Commits

Author SHA1 Message Date
espie
3831fd5d30 - make SUBST_CMD be subpackage dependent, fixes substitution problems in
README-sub (as noticed by aja@)
- stronger checks for X correctly installed: don't ignore ports if X11
is not there, error out right away. Make sure /usr/local/lib/X11/app-defaults
is a link, and that whatis.db is there (as should be fixed  by release in
xenocara)
2012-08-04 14:23:30 +00:00
naddy
0d7d591395 Remove message digest algorithms other than SHA-256 for checksumming
distfiles.  MD5 is known to be insecure and RIPEMD-160 and SHA-1
are considered inferior to SHA-256.

Also, the concatenation of different hashes is not more secure than
its strongest component; see Antoine Joux, "Multicollisions in
iterated hash functions. Application to cascased constructions"
http://www.iacr.org/cryptodb/archive/2004/CRYPTO/1472/1472.pdf

Discussed with many, ok sthen@
2012-07-10 12:04:25 +00:00
sthen
1cdff98732 add LLVM_ARCHS, handled like MONO_ARCHS for easier detection of which
arch can use LLVM.  ok espie@
2012-07-08 18:35:48 +00:00
espie
a352e9cafe prepare for new pkg_add switch 2012-07-06 12:00:52 +00:00
jasper
c7b20a8d82 zap mac68k references 2012-06-20 21:17:38 +00:00
espie
134ac2cd91 allow users to say MESSAGE-main=
to have empty messages, useful in a multi-package context
(as noticed by aja@)
2012-06-20 13:26:17 +00:00
espie
7b5d36d556 switch to libtool from src, since it will now be in the snaps. 2012-06-19 16:43:47 +00:00
espie
5a916fc963 handle the very special case of ports-readmes, after discussion with
landry, sthen
2012-06-18 12:15:52 +00:00
espie
6ffbfdc3a9 fix sig for LIB_DEPENDS 2012-06-15 10:31:52 +00:00
espie
f217f9b069 match src/ change.
*keep ports and src in synch* or out-of-date won't work at all.
2012-06-14 13:34:24 +00:00
espie
d808116161 Use :Q, it will quote a lot more in a correct way. 2012-06-09 21:14:43 +00:00
sthen
8f529f75b3 quote the permit_cdrom and permit_ftp variables used in the new checksum
code, as they can contain spaces.  ok espie@
2012-06-08 23:51:21 +00:00
espie
98a72af47d typo 2012-06-08 15:17:02 +00:00
espie
3294a50c3d add support for sha256 packages as they're built.
after discussion with aja@
2012-06-08 14:46:54 +00:00
sebastia
011bac4f6e Fix typo
ok dcoppa@, aja@
2012-06-07 20:52:41 +00:00
pascal
769ccfc457 Add BE_ARCHS and LE_ARCHS vars to be able to determine endianness.
ok espie@
2012-06-04 18:41:46 +00:00
espie
482f234b05 this is tricky enough to warrant an actual comment 2012-05-28 09:54:18 +00:00
espie
27f4c3dc4f forgot cruft from readmes 2012-05-28 09:43:17 +00:00
espie
b6c9f9baf3 zap old readmes infrastructure, replaced by new age databases/ports-readmes
which is ways more accurate anyways.
2012-05-28 09:38:04 +00:00
espie
d19515c7c3 make it possible for print-plist-with-depends to control lib-depends entirely
(useful for future update-plist)
2012-05-26 12:04:35 +00:00
jasper
fbebf9fd0d don't append ccache to BUILD_DEPENDS if NO_BUILD is set to Yes
ok sthen@
2012-05-16 06:36:56 +00:00
espie
7bc86a3598 whine for pkgpaths with extra / 2012-05-15 11:48:07 +00:00
jasper
ec251be3fa "fix" a line which emacs loudly complains about...
ok espie@
2012-05-08 17:38:21 +00:00
halex
1fbdcad4e3 call exit 1 after cleanup in signal traps, or the shell keeps running after
SIGINT and friends

ok espie@
2012-05-07 21:11:43 +00:00
ajacoutot
9eeb9a1c1b Set localstatedir (i.e. BASELOCALSTATEDIR) to /var by default if
CONFIGURE_STYLE is gnu.
Works the same way as SYSCONFDIR, one can append a subdirectory to
change the default localstatedir by using the following construct in the
port Makefile:
LOCALSTATEDIR=	${BASELOCALSTATEDIR}/foobar

Note that this variable in not substituted in PLIST.

bulk tested by landry (on a previous diff)
ok jasper@ sthen@
2012-04-28 10:50:35 +00:00
espie
c1c992e6a5 dump-vars should show VMEM_WARNING 2012-04-22 10:39:48 +00:00
espie
390cba80df handle modbuild (perl module) stuff similarly to what gnu does.
there's no actual reason not to do it.
2012-04-17 09:31:47 +00:00
espie
b411a2917d strip PORTSDIR (or equivalent) from DESCR the same way we compute PKGPATH.
avoids random changes of INDEX depending on where the ports tree is installed
and configured.
2012-04-16 09:21:39 +00:00
landry
fd5a44dd70 Oops, unbreak by providing an empty GCC3_ARCHS. 2012-04-12 15:06:05 +00:00
landry
3cd365fcdd Move sh/landisk to GCC4_ARCHS.
ok phessler@ naddy@
2012-04-12 11:46:35 +00:00
espie
f456512a27 error out if PORTSDIR is not set to the real directory.
There are at least two or three ports that don't like symlinks. ;/
2012-03-22 14:08:50 +00:00
espie
aa4fe831d9 give FULLPKGPATH in warning message. Redundant, but may be useful for multi. 2012-02-23 08:32:17 +00:00
espie
25362a8808 prevent top-subdirs from ignoring flavor and subpackage markers 2012-02-17 07:41:22 +00:00
espie
958fa76f4d kill fetch-makefile here too 2012-02-17 07:40:35 +00:00
espie
bf99288338 scrap old fetch targets
add a warning when LIB_DEPENDS doesn't register (for sthen@)
tweak FLAVOR message for consistency
2012-02-17 07:33:04 +00:00
espie
baeec434e0 PKGFILES, why not ? 2012-01-29 11:29:51 +00:00
espie
16fd5981f1 now that update sees all pkgpaths, we can still remove duplicates. 2012-01-28 08:39:40 +00:00
espie
26b5c343e3 remove that check for now, something in pkg_create chain is not sanitizing
its environment...
2012-01-21 19:07:20 +00:00
espie
9971f34ba5 prevent some errors I've run into recently
- add ERRORS framework to bsd.port.subdir.mk
- trying to add a FLAVOR or a SUBPACKAGE to an intermediate SUBDIR is an
error (see editors/vim-spell,af recently)
- re-including bsd.port.mk/bsd.port.subdir.mk after either of them is an
error (can happen when one moves stuff to Makefile.inc without really thinking
about it, ends up with PKG_ARGS holding some contents twice and make package
erroring out with duplicate contents)
2012-01-21 14:44:40 +00:00
espie
0739a30939 pass PERMIT_DISTFILES* to dpb fetch 2012-01-14 12:22:07 +00:00
espie
2fe091cc70 recognize pkgpath changes when updating 2012-01-14 12:21:13 +00:00
miod
95cad4b2a7 In MAKE_ENV, quote PICFLAG as it may contain spaces. Other variables might
require similar quoting in the future, but so far this is enough to repair
port building operation on m68k.
ok espie@
2011-12-21 05:16:04 +00:00
robert
21e0488094 Add support for MODGCC4_VERSION which can be used to define which gcc
version to use with the gcc4 module.
It defaults to 4.2, so there is no functional change.
2011-12-14 18:20:12 +00:00
espie
4cab976e61 zap old junk 2011-12-12 14:52:02 +00:00
jasper
cbd2f0c9f4 add a fragment to prevent picking up gnu awk by accident.
tested in a bulk build by me

  ok espie@
2011-12-12 10:33:33 +00:00
espie
0603716dc7 - tweak CONFIG_SITE_LIST to run under infra/db.
- recognize absence of dependencies on gsed, gtar, ggrep,
and prevent more tests from seeing these.
2011-12-10 11:15:16 +00:00
espie
949fe672d3 make it possible to assemble a CONFIG_SITE instead of having one
single file.
approved by aja@, sthen@, jasper@...
2011-12-09 09:42:44 +00:00
espie
ab6b512da4 move the architecture *constants* to a private arch-defines.mk file
That way, bsd.port.arch.mk can still make available in a Makefile, but
we can also include them early in bsd.port.mk, so that they will always
be available from modules and Makefile.inc.
2011-12-08 08:15:36 +00:00
espie
1c7aab78c9 sort -u requires one parameter to not hang on stdin...
allow SUBDIR=archivers/arc make show-prepare-results to work
2011-12-02 15:14:20 +00:00
naddy
4742472cb6 alpha uses gcc4 now, and so does hppa64 2011-11-29 15:11:18 +00:00