4517 Commits

Author SHA1 Message Date
espie
758da384cc if DISTNAME is not defined, yield more reasonable default for WRKDIST
and DISTFILES
okay sthen@
2017-05-05 14:48:50 +00:00
espie
580352b684 WRKDIST shouldn't end in /, but just in case...
noticed by jca@
2017-05-05 13:38:13 +00:00
espie
5afe4fffea my bad, line at end of summary 2017-05-04 23:40:29 +00:00
espie
8b7f708146 document current 2017-05-04 11:21:37 +00:00
espie
43545a0546 need two separate matches if PATCHORIG finishes with .orig! 2017-05-03 09:11:26 +00:00
espie
fbecc64e44 warn just once per file 2017-05-02 22:32:29 +00:00
espie
bab6db12b8 parse and fuzz patches to remove CVS keywords. Yep, we lose lines of context
but patch can cope.
okay sthen@
2017-05-02 21:06:41 +00:00
tsg
2e722bdb86 There's no need for 'make fetch-all' when creating a new port. 2017-05-02 11:30:03 +00:00
espie
c47da7ab68 tweak things so that changes of PATCHORIG won't matter.
-> always emit
--- stem.orig
+++ stem
lines regardless of PATCHORIG
-> prepend an Index: line like cvs does
-> add a blank line for comments.

okay aja@
2017-05-02 09:26:30 +00:00
espie
538a08acb7 let's be slightly more helpful and show the dirs we know about along with
the users
2017-04-30 20:56:19 +00:00
espie
aa623134ed run ldconfig *after* unpopulate. Makes no sense to scan /usr/local/lib
right before emptying it.
2017-04-30 18:49:14 +00:00
espie
d24f1b6fd6 new update-patches.
that one deals with .beforesubst files, so it should be nicer with
SUBST_CMD handling. It also doesn't care nor emits timestamps markers
in diff, so less garbage to think about.

Please report any issue, things work better so far, but it's a work
in progress and change to make it better.

'let's finish this in tree' okay aja@
2017-04-29 14:49:38 +00:00
espie
e2b9922e1b draft for compiler auto-selection, not ready yet.
move arch-defines.mk up so it can be used by it to load modules
2017-04-25 10:23:09 +00:00
sthen
4912413d0c add comments to describe CLANG_ARCHS and LLVM_ARCHS 2017-04-24 09:08:06 +00:00
espie
b437d12dc7 white line at end of summary isn't very visible.
if we restart the build for whatever reason, stuff gets appended as
usual, but the difference between old summary and new summary should
be more visible.
2017-04-19 15:14:45 +00:00
espie
1c3befe8b9 cosmetic change: report the hostname again in case of failure.
I routinely read thru logs looking for the error, and forget about which
machine it was. Having it conveniently located at the end instead of the
start saves me a few seconds.
2017-04-19 15:13:12 +00:00
espie
22d7bcaa17 have both log watching jobs actually share the timeout code.
If I had done this before, I would have fixed kill just once after privsep
and not inadvertently broken the builder stuck timeout...

problem noticed by naddy@
2017-04-14 16:43:40 +00:00
espie
422ed0448d reorg the logic behind permanent_log so that it *is* the permanent log.
fixes -DNO_BUILD_STATS as reported by naddy@ (predates rewriting buildinfo,
and I plain forgot about it obviously)
2017-04-14 16:39:32 +00:00
fcambus
e732ccd914 Remove aviion from architecture constants, the OpenBSD/aviion port has
been discontinued after the 5.7 release.

OK sthen@
2017-04-13 11:15:15 +00:00
sthen
a3387388c7 Give ftpsesame its own uid; it was sharing "proxy" (removed from base).
Reported by Olivier Regnier.
2017-04-12 21:49:32 +00:00
espie
2442a27883 forgot synopsis 2017-04-11 16:02:15 +00:00
espie
90922bae85 explain the -S option and how it's currently used 2017-04-11 16:00:53 +00:00
espie
4d6ed68975 add cached packages to the list of cleaned packages when make clean=packages
I agree with rpe@, this was odd.

Also remove an extra / in constructed package names.
2017-04-11 15:36:56 +00:00
sthen
bcbf44ab87 use LIBCXX 2017-04-10 11:46:18 +00:00
sthen
1ce4b47bef Define LIBCXX, to hold the name of the standard C++ library/libraries
for use in WANTLIB. Method independently suggested by espie@ and myself,
ok phessler@ landry@
2017-04-10 11:18:28 +00:00
espie
1a9853d035 add some back-substitution functionality to check-lib-depends, to be used
later.

okay sthen@
2017-04-09 19:30:09 +00:00
espie
1aaf15a97c resurrect extract-dependencies, it's actually a helper for show-required-by
which I forgot. found out by kili@
(no real impact for release since ports work should happen on current anyway)
2017-04-05 12:08:20 +00:00
danj
f2cbed1c41 Register uid 787 for gitea and move _dnsdist to 788
ok tb@ jca@
2017-03-23 11:57:47 +00:00
naddy
d2b9be5a81 add CLANG_ARCHS to PROPERTIES 2017-03-01 21:58:53 +00:00
edd
d55ce692e0 Fix a typo in a variable name.
OK espie@, landry@. Thanks.
2017-02-28 21:31:46 +00:00
espie
73f8c5bb5f makesum: when distinfo changes, display a diff.
okay aja@ landry@

(think multiple distfiles)
2017-02-26 18:54:48 +00:00
espie
2fb3e912d4 GC old stuff 2017-02-26 11:18:25 +00:00
danj
7edda59864 Mention the `uses pledge()' comment
prodded by Anton Lindqvist, reminded by looking at dicepassc
ok/tweak naddy@
2017-02-25 16:04:20 +00:00
espie
7a0b79f89d oops those are used internally by "make search" in /usr/ports
noticed by danj@, thx
2017-02-23 14:24:13 +00:00
espie
2174da5e26 kill old cruft. keep portslogger as people still use it 2017-02-21 16:43:53 +00:00
espie
2f0f4a99ce TRUSTED_PKG_PATH has been there long enough, so use it as intended 2017-02-21 13:55:16 +00:00
espie
9a7a5578be explain the very intricate logic that handles all fetched files
simplify one variable
2017-02-21 13:53:40 +00:00
espie
fcc9600b91 instead of
VAR=
.for x in <maybe empty>
VAR += value
.endfor

do
.for x in <maybe empty>
VAR += value
.endfor
VAR ?=

(avoid an extra empty value at front)
2017-02-21 13:49:34 +00:00
espie
2ebe9c23b2 unbreak checksum. Simplify messages 2017-02-21 13:46:18 +00:00
espie
80cbdc434c comment tweaks 2017-02-21 13:31:56 +00:00
espie
b81cf7c23b kill some old ghosts:
FTP_KEEP_ALIVE, README_TOPS, _FETCH*, RECURSIVE_FETCH_LIST
detection of old INSTALL/DEINSTALL/REQ scripts
2017-02-21 13:15:01 +00:00
espie
8f2484d589 remove quite a few old targets, introduce a new one
- 'prepare' is what gets dependencies in place to build a port
- install-depends is what the install/update cookies do internally
before installing a port.

older / intermediate targets are not really needed, namely:
build-depends, run-depends, runlib-depends, runwantlib-depends,
lib-depends, buildlib-depends, buildwantlib-depends

They redirect to cookies, so just depend on the cookies directly

okay aja@, sthen@
2017-02-20 13:45:17 +00:00
espie
a01f2291a8 list-distinfo never got used so kill it 2017-02-18 15:15:07 +00:00
espie
7a6ba29a91 more simplification, there is no reason for having several crypto ciphers
in the ports tree at any one time.
2017-02-18 15:00:02 +00:00
espie
7bbf1f1291 cleanup checksum/makesum
- fix DISTFILES/CHECKSUMFILES
- simplify list-distinfo
- zap IGNORE lines in distinfo (can't generate, not used)
- internal _MAKESUM=true/false -> simplify actual size check in
fetching makefiles
- NO_CHECKSUM applies only to checksum, not makesum, ever.

okay aja@
2017-02-17 23:17:43 +00:00
espie
618235f349 root no longer involved in building packages, simplify accordingly 2017-02-13 12:57:50 +00:00
espie
ce25595701 we generally don't use subshells, comment that explicitly. I had to read back
the log to remember that one :)
2017-02-13 12:56:50 +00:00
espie
93ec01de88 forgotten: scrape SIGNING_PARAMETERS 2017-02-13 12:52:13 +00:00
espie
04d2babdfc magically add most recent c/perl to ports with perl so, based on file name.
okay sthen@
(version tweaked to tell you if your pkg_add is not recent enough)
2017-02-11 12:52:58 +00:00
juanfra
f3e67172d3 MASTER_SITE_OPENBSD http -> https. OK bentley@ phessler@. 2017-02-02 11:30:10 +00:00