1524 Commits

Author SHA1 Message Date
espie
726e05fda8 makes it impossible to build ports if your sudo setup is incorrect, instead
of working haphazardly half the time.

NOTE: you *must* fix your sudoers for ports to keep working, make sure you
are able to pass thru SUDO_PORT_V1 ! (and the rest that's already there)

okay matthieu@, sthen@
2014-04-08 13:29:34 +00:00
jasper
cbcfc5f16b this easter egg wasn't supposed to go in (yet) 2014-04-01 18:41:33 +00:00
jasper
53bb160e75 switch over port to MODGNOME_TOOLS that didnt have it yet 2014-04-01 18:38:52 +00:00
jasper
4a880144f5 sync with recent hp300/mvme{6,8}8k/m68k removal
ok aja@
2014-03-19 13:28:04 +00:00
sthen
2ea2cd04c4 ugh, forgot to commit this 2014-03-13 22:10:53 +00:00
landry
467d26b5d9 Remove trailing spaces (long line iz looooooong!) that snuck in when i
failed at copy&paste.
2014-03-10 21:35:04 +00:00
landry
243a20d699 Default to gcc 4.8 for ports using gcc4 module.
Stay at 4.6 for hppa & alpha for now, since lang/gcc/4.8 doesnt build there
yet.
Discussed with espie@ pascal@ sthen@ tobiasu@ ajacoutot@
2014-03-10 20:26:00 +00:00
ajacoutot
02cd405e2b Add an intermediate variable because some tools like python to not
properly parse variables with trailing spaces and add a bogus "" argument.

input/ok espie@
2014-03-09 21:40:57 +00:00
espie
4af4841543 allows for a global cache to depends. to be documented once this is fully
figured out...
2014-03-09 20:33:37 +00:00
espie
f5f0d95820 - replace `` with $$() in most places.
stylistically, I tend to prefer ``, but since we use a lot of fragments,
the parenthetical nature of $() is better.
- give a more complete name to portstree-/inst-  depends lists, so that several
"make package" can run in the same cache.
- create temp dependency files atomically by using mktemp/chmod/mv
(global cache)
2014-03-09 20:03:27 +00:00
espie
b0b03e9d58 cosmetic: print-package-signature -> print-update-signature
(to be referenced by documentation, to stop confusing crypto signatures
with other signatures).

(old name kept over release, to be scraped completely afterwards, user-visible
change only)

okay sthen@
2014-02-11 10:34:34 +00:00
espie
077c9b671b pass -DSIGNER thru from SIGNING_PARAMETERS to pkg_add. 2014-01-09 10:44:33 +00:00
espie
eea773fc47 record history 2014-01-07 10:39:17 +00:00
espie
4a258ab53d new internal _PKG_ADD_LOCAL, that's stricly used to add packages built on
*this* machine.
Visible: SIGNING_PARAMETERS. Set for signing every package on the fly.
(if SIGNING_PARAMETERS is not empty, don't wave -Dunsigned)
2013-12-30 12:33:07 +00:00
espie
5e698a1f18 fix initial size match for DIST_SUBDIRS 2013-12-07 15:41:47 +00:00
espie
29e4606615 zap extra experiment, noticed by rpe@ 2013-12-02 21:47:37 +00:00
espie
a69d8e1708 adjust distfiles handling to allow for filename{url}sufx
to become
filenamesufx (stored name)
urlsufx (fetched url)

to be documented

okay sthen@
2013-12-02 08:23:16 +00:00
espie
c944f3939b add "show-prepare-test-results" target, to be used by dpb for running tests 2013-11-30 16:06:56 +00:00
sthen
3a2dfaa992 Remove support for VMEM_WARNING, as it's manually "maintained" it isn't
very accurate, and isn't sensitive to differences between arches.
ok ajacoutot dcoppa zhuk espie
2013-11-25 14:13:33 +00:00
espie
8a3feb1a92 turns out that dpb is happy with BUILD_PACKAGES being wildy different
from MULTI_PACKAGES, so there's no reason left to tweak MULTI_PACKAGES
directly for pseudo-flavors.

saner.
2013-11-10 12:27:50 +00:00
juanfra
ddf83dc013 Add lzip support to the ports framework.
ok espie@ sthen@
2013-11-07 01:23:19 +00:00
espie
15995508bc fix some subtle case of BULK=auto (for instance, non-regression tests in
lang/icon/interp): needs more information than just "we're solving deps"
to know whether to clean things or not.

-> similar problems as locking oneself, similar solution, replace
_SOLVING_DEP with _DEPENDENCY_STACK that tracks the dependencies.

okay mbalmer^Waja
2013-11-03 15:45:00 +00:00
jasper
468e05ba33 s/beagle/armv7/
ok abieber@
2013-10-22 13:19:40 +00:00
naddy
b164eddd96 remove last mentions of GCC2_ARCHS variable 2013-08-09 11:02:28 +00:00
naddy
f1d7acc394 vax now uses gcc3.
Retain GCC2_ARCHS until all references to it have been removed.
2013-08-07 11:11:52 +00:00
espie
55f0a0e59b turn on TRUST_PACKAGES by default, zap knob 2013-08-07 07:20:24 +00:00
espie
d802e111af vax does not have all libm functions (yet), don't waste time building
stuff that will not link anyways.
2013-07-09 19:48:56 +00:00
landry
f3ef2ad0fb Doh, fix typo. 2013-07-08 18:37:18 +00:00
landry
19b9184761 Restore previous behaviour wrt PKG_CREATE_NO_CHECKS. Keep it to 'no' by
default (for production/bulks), setting it to 'yes' disables the check
as it was before (for slow archs), and setting it to 'warn' will now
show the differences between wantlib lists, but as a warning and not an
error (which was the behaviour introduced in previous commit for 'yes'
case)
ok espie@
2013-07-08 18:27:30 +00:00
espie
2f15f8848d tweak PKG_CREATE_NO_CHECKS: the check is always useful and
inexpensive, so do it anyway. PKG_CREATE_NO_CHECKS=Yes turns
it into a warning.

Test bunny landry@
2013-07-08 12:45:56 +00:00
espie
9c4273a9f1 no longer depend upon base's elf toolchain 2013-07-05 21:48:01 +00:00
jasper
25b64d04b4 if LOCALBASE isn't the default /usr/local, pass -L to pkg_add so we can still
install packages with 'make install'

w/ and ok espie@
2013-07-04 08:04:04 +00:00
espie
6aa72ffb2b okay, remove dumb optimization 2013-06-25 20:21:03 +00:00
espie
d11813d1c2 document the reason why fetch should see everything 2013-06-25 19:47:49 +00:00
espie
265cd0dff3 dpb still needs MULTI_PACKAGES 2013-06-25 08:46:55 +00:00
espie
c97ca817ec introduce a VARBASE, so that all 3 directories where package install stuff
(/etc, /usr/local, /var) can be overridden eventually
2013-06-21 12:28:54 +00:00
espie
657ee62669 expose FAKE_SETUP so that modules that want to do their own
"do-install" can do so in a proper way.
2013-06-21 12:27:32 +00:00
espie
4ab9c5bdaf somehow, I forgot to dump-vars PREFIX 2013-06-21 10:45:12 +00:00
espie
470734edc3 revert work-around, USE CURRENT SHELL!!
(fix message thinkos noticed by naddy@)
2013-06-15 19:45:11 +00:00
espie
d0868c66cc work around what's probably a bug in our ksh in sh mode. 2013-06-13 18:13:54 +00:00
espie
88e514ae2b cater to weird posix semantics. Check that we generated both wantlib files
before comparing them. In case there's a former error, there's no point
in adding to the confusion by having diff chime in one of the files doesn't
exist.
2013-06-11 10:59:24 +00:00
espie
b18ca457d6 work-around should no longer be necessary... 2013-06-10 15:43:04 +00:00
naddy
8a679789f3 remove the nagging about xz being unavailable on vax, which has accomplished
exactly nothing in two years; requested by many
2013-06-04 19:35:04 +00:00
ajacoutot
38f11e4c43 In case of the "gnu" CONFIGURE_STYLE, set DATADIRNAME to "share".
glib-gettext.m4 and intltool.m4 have been fixed ages ago but upstream
developers seem to get stuck on old versions or do not update their
macro to follow this change.
It makes no sense to keep patching the whole ports tree for it, so for
now we hardcode it here.

"why not" espie@
2013-06-01 18:54:27 +00:00
espie
a94271268e I could swear I committed this already: have DPB in-synch with future dpb
work.

also, warn for MASTER_SITES that don't end with /, as this is usually
an issue (but not always), as discussed with rpe@

In case successful fetch yields wrong size, always remove the partial for
later MASTER_SITES to pick it up, the 'cute' code that keeps partials over
30K is not really all that useful...
2013-05-27 16:06:51 +00:00
zhuk
d0edd4553f Improve MODPERL_BIN_ADJ: strip any version suffix for perl binary, so
shebangs like "#!/usr/bin/env perl5" and "#!/usr/bin/perl5.12" will be
normalized altogether.

No bumps are required for ports already using MODPERL_BIN_ADJ.

Requested by and okay dcoppa@, okay sthen@
2013-05-24 14:58:45 +00:00
ajacoutot
04290ec6e6 Allow /usr/ports to be a symlink without the need to set PORTSDIR.
chromium was one of the ports that failed to build without PORTSDIR
being set and /usr/ports being a symlink -- but this is not the case
anymore.
If any other port fails because of this, I'll fix it.

ok espie@ todd@ sthen@
2013-05-21 12:38:06 +00:00
sthen
03ab353173 Move the recently-added -C from the hardcoded arguments passed to FETCH_CMD,
to the user-definable FETCH_CMD variable itself, allowing this to be used with
curl again (FETCH_CMD = /usr/local/bin/curl -C -) for those that need/want it
(e.g. some less common cases with proxies, or for better https support).
"go ahead" espie@, makes sense to naddy.
2013-05-15 16:32:16 +00:00
gsoares
fbb1c12e48 zap whitespace 2013-05-14 13:38:59 +00:00
espie
191af91368 revisit old codes, rewrite DISTFILES handling using
.for v1 v2 in list
techniques, which make it clearer.

Add new syntax to distfiles, which is not painful to do now, and support it
for dpb fetch as well: a distfile can now be file{url} to specify a different
result from the url (this allows really weird naming scheme on http sites
to give us consistent files, which has become a nagging problem).

This still doesn't mean you shouldn't encourage upstream to do the right thing
and provide nice archive urls.

extend the fetch process in bsd.port.mk to work more like dpb does, namely
download to intermediate "part" files that don't vanish and use -C if
necessary.

Both those mean that FETCH_CMD has to work like ftp, including the -C and
-o support...

discussed with various people.
2013-05-08 08:38:36 +00:00