5290 Commits

Author SHA1 Message Date
espie
560e048a00 add a new convenience target: reprepare
occasionally useful on a busy dpb server, when you want to look at
a port that failed after junk removed the required dependencies
2018-11-16 09:15:32 +00:00
espie
fc12628194 move LOCALBASE definition to pkgpath.mk so that main Makefile can use it
(never repeat yourself)
2018-11-16 09:12:57 +00:00
jca
dde6043977 Don't error out if FLAVOR is set
ok zhuk@
2018-11-13 15:03:43 +00:00
ajacoutot
5910e11107 Fix sysutils/tenshi packaging by adding the _tenshi user and group.
Error: newgroup _tenshi: not registered in ports/infrastructure/db/user.list
Error: newuser _tenshi: not registered in ports/infrastructure/db/user.list
Fatal error: can't continue
 at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1675.
2018-11-12 14:04:27 +00:00
espie
143abcae2f fix the cervisia missing error, turns out I *don't* want to allow stubbed
out paths back on buildable stuff, ever...
2018-11-10 13:32:05 +00:00
espie
39a457e798 somehow, I botched the SHA256 key.
fix from Edward Lopez-Acosta
2018-11-08 09:46:00 +00:00
espie
96ffcf0ba4 remove_stub definitely needs to exist in the base subengine class now.
sorry naddy@ !
2018-11-08 09:19:28 +00:00
espie
1d4d3fc7ea do not unlock error paths without everything being built correctly.
tested thru quite a few errors.

This should prevent errors from "vanishing" in case the main package isn't
affected.
2018-11-07 13:57:14 +00:00
espie
8df4210658 introduce new intermediate "gen" target, to regenerate configure
information (between post-patch and pre-configure).

and convenience regen target.

rationale: discussed with sthen@, having this in post-patch means you
need to clean up before running it again. Having it in configure is
somewhat time-consuming.  So an extra stage where you can easily control
it makes sense.

Only moves gnu module hooks and REORDER_DEPENDENCIES to use gen for now,
all ports using autogen/setup.sh should probably move to that as well

okay landry@
2018-11-05 15:59:17 +00:00
danj
ccd9bb3b15 Comment _dkim-milter as the port was removed 2018-11-03 16:44:33 +00:00
jca
0ab1b50b92 gc MODGNU_EMACS_YOURE_WEIRD
ok sthen@
2018-11-01 22:53:19 +00:00
espie
52e5c83ef8 stronger error checks and better exit values
okay sthen@, solene@
2018-11-01 11:33:12 +00:00
sebastia
09342a99a5 reserve userid for net/arpwatch 2018-10-31 08:53:21 +00:00
naddy
ba33c27dca amd64 now uses lld as the default linker 2018-10-22 19:32:15 +00:00
espie
57ddcf29b6 and finally, glib-compile-schema exec are also obsolete 2018-10-20 17:14:03 +00:00
espie
91b15b6827 kill mimepkg exec checks, since it's now a tag 2018-10-20 17:06:51 +00:00
espie
dcf24b9541 kill obsolete check for @exec gtk-update-icon-cache
as update-plist inserts the correct tag now

keep the dependency check for now, as pkg_create doesn't cope with checking
@tag deptrees yet
2018-10-20 17:02:01 +00:00
ajacoutot
a7b3e896d6 Reserve the _nomad user and group for the upcoming sysutils/nomad port. 2018-10-20 14:34:17 +00:00
espie
80ff67ad9a do not pass TRUEPREFIX through, as it's subpackage independent
adjust post update-plist changes
2018-10-18 09:38:32 +00:00
espie
2bee44f298 improve FETCH_PACKAGES
- add _FETCH_RECURSE_HELPER that records whether we're actually building
or trying to grab a dependent package.
- if grabbing dependent packages while FETCH_PACKAGES is active, *do not*
depend on build dependencies, so that we only fetch the minimal set of packages
needed for what we're actually doing.
2018-10-16 14:16:04 +00:00
espie
eafa5ba175 move dependence on build cookies on a separate line for further work
no functional change
2018-10-16 14:10:31 +00:00
espie
ed0ff30246 change the semantics of FETCH_PACKAGES variable.
Default is "no" : no fetch
Set to options you wish to pass to pkg_add in addition to normal options
(e.g., FETCH_PACKAGES=-Dsnap recently)

To use it without passing options to pkg_add, just 'make FETCH_PACKAGES='
2018-10-16 13:59:14 +00:00
sthen
be94a60297 just call apxs and apachectl instead of apxs2/apachectl2, there is no more
conflict with Apache httpd 1.x so the suffix is no longer needed.
2018-10-16 13:11:30 +00:00
espie
4236b0f8cc make darn sure find does see all it's supposed to
problem noticed by solene@
2018-10-09 09:47:28 +00:00
espie
40cd6f544e die is a bit terse. Explain why, helps debugging user issues. 2018-10-08 15:20:28 +00:00
espie
1e6f822edd add a "fix-permissions" utility target for PORTS_PRIVSEP = Yes
to be refined later, maybe.

okay sthen@
2018-10-08 13:28:05 +00:00
espie
3df1949da5 say something is MASTER_SITESn is empty 2018-10-08 12:03:16 +00:00
espie
9dcbd84a9a make sure we get a value, as noticed by naddy@ 2018-10-04 09:02:26 +00:00
sthen
d802ba16e5 add alpha to arch-defines.mk, this was missed when alpha support was added.
from pascal@
2018-09-26 13:23:53 +00:00
espie
e871125460 simplify setup, both _usermode and _pkgmode are no longer required at all 2018-09-22 07:25:04 +00:00
espie
d9c37d55e3 remove some older doas calls that no longer make sense now that FAKE_AS_ROOT
is dead
2018-09-22 07:13:05 +00:00
robert
c6d51f57c7 add the USE_LLD knob which makes it possible for a port to use LLD for
linking instead of bfd

ok espie@
2018-09-20 10:27:27 +00:00
espie
447d63002f as noticed by krw@, move the finalization code for jobs/squiggles/parallel
into the job finalizer, because ncpu does not necessarily get run.
2018-09-17 13:57:05 +00:00
espie
65e2763682 zap debug message 2018-09-14 11:36:07 +00:00
espie
2c8b572819 scrape stupid debug code 2018-09-13 15:53:19 +00:00
naddy
ef1fe4c5fe lld does not have a default linker emulation. In order to create
an object file with a .data section from a binary blob (ld -r
-b binary foo foo.blob), the target emulation must be specified
explicitly.  Provide a variable LLD_EMUL that maps the architecture
to the respective emulation name.  We include the -m switch for
direct use in an ld command line.

ok sthen@ espie@
2018-09-12 19:29:08 +00:00
espie
4fc18975ba for_list integrates the next, so don't do it twice 2018-09-12 15:34:31 +00:00
espie
dc9f6babcf ouch, don't try things twice if it doesn't work the first time. 2018-09-12 13:05:32 +00:00
espie
5630250b91 do a transitive closure, this should fix incomplete licensing issues 2018-09-12 10:48:13 +00:00
espie
416cc26d12 do things slightly more directly, to be able to pass SUBDIRs manually (prepare
for transitive closure)
2018-09-10 15:15:55 +00:00
espie
6be83f422b get rid of globals 2018-09-10 15:07:33 +00:00
espie
8e814a5b02 unify the conflicts and dir checking code some more so that I can go further 2018-09-10 14:54:41 +00:00
espie
214ebb33fd don't redo the same package twice 2018-09-10 14:34:17 +00:00
bentley
f756e3c091 Reserve a user for vnu. 2018-09-10 06:25:52 +00:00
espie
498590d80c also check for licences
the ports tree scanner *will* need transitive closure support, as stuff
like py3-cairo is only reachable thru deps right now!
2018-09-08 15:33:04 +00:00
espie
43a304357e more 2018-09-08 12:53:37 +00:00
espie
43328d0459 keep going after an error (like databases/ports-readmes) 2018-09-08 12:13:37 +00:00
espie
b48bff8ae5 fix: this requires dependencies actually
and it's just a part of pkg_check-problems, ever since I unified tools,
so there are no other consumers to check so far.
2018-09-08 11:15:03 +00:00
espie
e21c8cafe3 also moved to bin 2018-09-07 09:05:56 +00:00
espie
c6192746c3 all that stuff actually moved to bin/ years ago 2018-09-07 09:04:34 +00:00