5630 Commits

Author SHA1 Message Date
abieber
4d4fe9fab4 use 869 for net/headscale 2021-08-27 16:30:16 +00:00
gkoehler
087bd55e9c Switch macppc to ld.lld
Add powerpc to LLD_ARCH, and bump _SYSTEM_VERSION-powerpc so people
will upgrade to lld-linked packages when they exist.  Remove
-Wl,--relax from several ports; ld.bfd needed this flag, but ld.lld
can't take it.

lang/gcc/8 needs USE_LLD = No, because LLD can't link C++ code from
gcc (error: relocation refers to a discarded section: ...), and also,
the adastrap is too old.

To avoid linker errors on macppc, you need a snapshot where
/usr/bin/ld is LLD.

ok sthen@
2021-08-21 03:25:05 +00:00
tb
2b93e99321 portcheck: add check for crates.inc
Extend the modules.inc check to handle crates.inc and stop
insisting on having a pointless "./" on the .include line.

ok danj semarie
2021-08-14 06:56:18 +00:00
jsing
7812eeac63 Add mips64 (aka octeon) to GO_ARCHS.
Discussed with visa@
2021-07-11 16:38:44 +00:00
bket
b78e0cae87 reserve uid 868 for _igmpproxy user 2021-07-11 09:20:54 +00:00
abieber
eb6ad31e92 Attempt to make the experience of updateing a Go port a bit easier.
- Add a version argument (second) to modgo-gen-modules-helper.
- Change modgo-gen-modules target to fetch module info for the
  current MODGO_VERSION of a port. Setting MODGO_VERSION=latest
  will fetch the latest version the Go ecosystem knows about.
  Similarly, if MODGO_VERSION is empty, fetch the latest
  verstion Go knows about.

While here:
- Add '-trimpath' to MODGO_FLAGS.

OK danj@
2021-07-03 02:37:46 +00:00
abieber
942c27c41f Make program name in usage match actual program name.
OK tb@
2021-06-25 15:35:30 +00:00
espie
f963059f7a scrape the old ldd code, which hasn't been used since we got rid of a.out 2021-06-21 15:16:52 +00:00
afresh1
d6b4517057 Have portgen(1) strip leading "v" on perl ports that need it
Noticed by Mischa <obsdml () high5 ! nl>
2021-06-13 19:00:06 +00:00
afresh1
ac796829f9 Have portgen(1) use newly set DEPENDS and CONFIGURE_STYLE
If we don't clean, then the upcoming make build won't notice any changes
that we actually added to the Makefile, such as setting the CONFIGURE_STYLE
to "modbuild tiny".

Noticed by Mischa <obsdml () high5 ! nl>
2021-06-13 18:30:50 +00:00
espie
e53fb59342 fix usage... 2021-06-05 16:20:08 +00:00
paco
22f57af81f fix fgrep command for modules.inc. Spotted by zhuk@ 2021-06-02 13:07:23 +00:00
paco
c8ae6eaf1b portcheck: do not complain about modules.inc being an extra file.
This is used by some Go ports, and maybe some Rust ports in the future
too.

"fine by me" zhuk@
ok danj@
2021-06-01 06:58:59 +00:00
landry
8e951acecb user.list: reserve uid 867 for _notify_push user 2021-05-27 14:51:12 +00:00
abieber
ebe897251a add _navidrome for audio/navidrome 2021-05-25 22:15:45 +00:00
jca
e382f4a16c Enable devel/llvm on riscv64
From Brad
2021-05-22 20:29:47 +00:00
sthen
c52e15386b the main xxx_ARCHS variables in arch-defines.mk should list MACHINE_ARCH
not ARCH names; fix for GO_ARCHS (from Brad) and extend the comment about
APM_ARCHS (which is special)
2021-05-09 08:21:47 +00:00
sthen
08aeab4d28 add riscv64 to port archs lists, from Brad. 2021-05-09 08:17:47 +00:00
sthen
9ed49b9296 If MS-DOS line endings are detected, direct the user at FIX_CRLF_FILES
rather than just point at Makefile.template.
2021-05-08 14:44:38 +00:00
espie
8357a73e76 remove local scaffolding I committed by mistake 2021-05-03 17:53:15 +00:00
espie
0039b6d7da add support for FETCH_CMD as a config file option/command line override
that will replace whatever comes from mk.conf
2021-05-03 07:16:46 +00:00
ajacoutot
9c1c161cc4 Cope with recent changes. 2021-05-02 09:06:44 +00:00
espie
133c3cebf5 grab FETCH_CMD value from bsd.port.mk, as discussed and tested with
Dimitri Karamazov

TODO: add Config.pm support for this as well
2021-05-02 06:08:53 +00:00
naddy
f11aa9cbdf fetch_cmd: switch argument parsing from the deprecated getopt to getopts
ok espie@
2021-04-30 20:20:02 +00:00
espie
b0b45b332a let's work in-tree on that one
skeleton script for people who want to override FETCH_CMD but don't
know exactly what ftp(1) options pkg_add/bsd.port.mk/dpb are going to
want.

A bit of feedback from sthen@, more to come most probably
2021-04-28 16:42:30 +00:00
espie
a6ebec8550 properly set up a watched in the Job::BasePort class instead of doing
it manually in each factory method in the builder.

gets rid of warnings under some install/wipe circumstances

okay naddy@
2021-04-16 20:14:47 +00:00
patrick
f828efc84f Add aarch64 to MONO_ARCHS.
ok robert@ naddy@
2021-04-10 15:36:13 +00:00
solene
cc6845fc1a add _vger for net/vger 2021-04-04 08:58:22 +00:00
espie
6768296769 allow trusted_snapshot, like pkg_add has TRUSTED_PKG_PATH
feedback and okay tb@
2021-03-31 07:56:43 +00:00
abieber
f10c854458 Allow an optional @version suffix (@v1.0.0 for example) to be specified when
generating a Go port with 'portgen go'. Patch from Josh Rickmar. Ty Josh!
2021-03-23 13:17:41 +00:00
espie
03db828d59 refactor: make the builder responsible for telling us whether we should
clean at the end of a build.

Add a new global config option: NEVER_CLEAN
so that no path ever gets cleaned (to be used ONLY if you have lots of disk
space).

I've actually done this manually in the past, to test various tools on
lots of objdirs...
2021-03-21 19:17:34 +00:00
sthen
44854f064a handle .tar.zstd / .tar.zst in EXTRACT_CASES; ok kn@ 2021-03-09 17:09:48 +00:00
gnezdo
c68d711c25 Remove GhcConf packing element as ghc-pkg-recache is no more
These were previously used to automatically add tags to PLIST for
Haskell library ports. Since library ports no longer exist, such
tagging only ever triggers for ghc package where it is now harmful.

ok kili
2021-03-07 19:30:16 +00:00
abieber
e27a7fd632 Fix a bug that was preventing version comparisons from working.
While here try using @v/list first, if that fails use @latest. This should
fix some of the "not being able to see the latest version" issues that
happen when upstreams re-tag.

Tweaks / OK from afresh1
2021-03-03 03:08:30 +00:00
espie
906e6d8cad debug tool for porters: this can fully parse pkgnames, show them in a
human-readable way, and compare them, so that people can figure out if
the version parsing did cope with whatever scheme upstream came with.

should alleviate the need for EPOCH in many cases
2021-03-01 10:35:14 +00:00
espie
81871ee2a5 - move FIX_CRLF_FILES to post-dispatch (suggested by naddy@, okay sthen@)
- fix an old optimisation that was lost, namely do not run distpatch
if it's not necessary

nothing broken after 3000 ports built, so it's unlikely to have any negative
side-effect
2021-02-28 14:01:11 +00:00
espie
6576f7d21a use the new cleaner interface of pkg_add's state that decouples
continue and window size change for readability
2021-02-26 07:54:11 +00:00
espie
13029014e3 FIX_CRLF_FILES obviously belongs in dump-vars 2021-02-25 23:19:51 +00:00
sthen
4fa7ad11f2 FIX_CRLF_FILES should root files in WRKDIST, not WRKSRC.
pointed out by espie@
2021-02-25 23:04:54 +00:00
sthen
44d7ce3bb9 add FIX_CRLF_FILES, from tb@ 2021-02-25 21:59:27 +00:00
sthen
942c7717b8 add FIX_CRLF_FILES. currently we use ad-hoc make targets to convert line
endings in extracted distfiles; it's common enough that it makes sense to
provide a nicer way of doing this. some changes suggested by espie@ tb@ kn@
2021-02-25 21:46:05 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
sthen
6311f228e2 Record timings at the bottom of the individual build log (it's just the
same information as in summary.log but I find it useful to have here too0.
ok espie@
2021-02-21 10:48:04 +00:00
espie
ec88bfaedb finally add DEBUG_PACKAGES and DEBUG_CONFIGURE_ARGS to sqlports
not sure what I missed the last time as this is fundamentally trivial
2021-02-20 18:05:04 +00:00
abieber
0666597e06 Update Go to 1.16.
OK jsing@
2021-02-20 14:56:34 +00:00
sthen
4648b5acd5 oops, revert local diffs from my test build tree 2021-02-19 23:14:45 +00:00
sthen
248932be74 switch MODPY_BIN_SUFFIX to -2 for py2 and (blank) for py3
switch ports using command-line tools from py-sphinx that don't need a
py2 version of it to py3-sphinx
2021-02-19 23:13:00 +00:00
sthen
b2fe97ef21 add uid and rcscript for the daemon for icinga director; mention in pkg-readme 2021-02-10 15:35:38 +00:00
espie
c77c37126d readlink might give you a relative link, which you then have to finish
resolving yourself (fixes update-patches in japanese/onew)
2021-02-09 17:34:40 +00:00
kn
348ac5410b Remove ftp.cs.tu-berlin.de (NXDOMAIN) 2021-02-07 22:02:04 +00:00