5662 Commits

Author SHA1 Message Date
espie
4fbc190a12 fix a typo for empty _FULL_FETCH_LIST
add a debug introspection target: make show-list=... because
thanks to go, some lists can't be echo'd, as they're long than the exec
limit.
2022-01-10 17:51:55 +00:00
sdk
4ba8953556 Use the File::Copy cp() alias instead of copy(), because it preserves file
permissions. This is closer to system cp -a, which was used before.
2022-01-05 21:23:18 +00:00
sdk
4f3cce6109 Use File::Copy instead of system cp in portgen
ok espie@
2022-01-05 18:28:25 +00:00
espie
c486524600 silence CPAN::Meta::Dependency warning by passing an explicit minimal version
of 0 if none is provided

okay afresh1@
2022-01-05 09:13:40 +00:00
espie
0e522668c5 add -m VAR=value option to pass stuff directly to make.
okay afresh1@
2022-01-05 09:12:50 +00:00
giovanni
fbafb3483f switch to Apache cdn
hint and ok sthen@
2021-12-21 08:20:26 +00:00
sthen
18764719fc set _SYSTEM_VERSION-clang to trigger package updates on clang archs
following the compiler version switch
2021-12-20 08:30:13 +00:00
espie
c8e5b21b8e forgot to add gen to the list of introspected TARGETS 2021-12-14 14:21:41 +00:00
afresh1
f9e4d21cc3 Correct variable name
Missed in my recent refactor.

Noticed by Chris Bennett <cpb_ports () bennettconstruction ! us>
2021-12-12 19:25:39 +00:00
espie
3cffbf0372 next time we need to bump all arches having a specific property, it can
be done in a simpler way
2021-12-06 12:47:51 +00:00
chrisz
d3766ad015 lang/ocaml supports native code on aarch64
ok daniel@
2021-12-04 21:17:10 +00:00
sthen
38f5eec9b5 bump _SYSTEM_VERSION to force package updates of base-clang archs,
the symbol changes in libcompiler-rt.a for emutls are causing problems
and at least 250 packages maybe affected so this is the most sensible
way (we were overdue a bump to this anyway after other toolchain
changes, it's better if people are running code built with current
toolchain rather than a mixture).

discussed with robert@ tb@ espie@ naddy@
2021-12-01 09:26:34 +00:00
semarie
260bfd0eab bsd.port.mk: use .elif instead of imbricated .if
While here, remove 2 empty tabs on line to appease emacs.

ok sthen@
2021-11-27 16:46:13 +00:00
ajacoutot
9b0787094c update-plist: add support for '@tag ibus-write-cache'
ok espie@
2021-11-26 16:47:30 +00:00
afresh1
bd756bd601 Adjust perl.port.mk so options will be picked up in more places
Export some ExtUtils::MakeMaker and Module::Build recognized environment
variables so they are picked up even if we don't run the configure
script directly.

This is useful for things that are not perl modules themselves, but include
perl modules, some of which seem to configure them at build time instead
of configure.

This is the first step to moving perl to have a vendor lib that
ports install into that is separate from where CPAN will install things.

Thanks to kmos@ for a bulk build that didn't turn up anything untoward
2021-11-23 01:12:38 +00:00
espie
99c62371fc define a sensible default value for PKGNAME-sub
(as stem-sub-version), apart from PKGNAME-main which is the
"main" package.

no change in any pkgname in the tree
2021-11-22 11:01:47 +00:00
espie
446cb96a35 remove the default for FULLPKGNAME-sub (to replace with a better one,
as discussed with sthen@)

also: kill some special useless casing... the regexp for adding
REVISION/EPOCH at the right location works with and without flavors

(no difference shown on make show=PKGNAMES through a full tree)
2021-11-21 13:55:10 +00:00
kn
0e52ade0b7 +net/gelatod
OK sthen
2021-11-17 20:32:34 +00:00
espie
7bbe84c156 handled properly by bsd.port.mk now 2021-11-17 10:40:06 +00:00
espie
992783a559 actually error out in case misguided porters try to subpackage
BUILD/TEST_DEPENDS
2021-11-17 10:39:18 +00:00
sthen
8f3d5b871d provide GH_DISTFILE, which is set to the DISTFILES string generated by
a port using GH_ACCOUNT+GH_PROJECT+(GH_TAGNAME|GH_COMMIT), useful if you
need some additional files. ok kn gnezdo, additional feedback espie
2021-11-16 21:18:27 +00:00
espie
f6b4392369 log_same_ts already appends a space 2021-11-15 14:48:17 +00:00
espie
d1fa45d8d6 forgot a wee little tidbit for bad paths in external to NOT break things
oops
2021-11-15 14:39:45 +00:00
kn
f0496a9e1c SEPARATE_BUILD only takes yes/no, flavored is no more 2021-11-09 13:43:15 +00:00
espie
9b356bec72 actually comment on the ispell case 2021-11-08 13:36:25 +00:00
espie
bf929398c5 use (if present) the checking support in pkg_create: that the pkgname
comes from REVISION and EPOCH properly. The most crucial check is probably
checking the end "flavor_ext" indeed comes from flavors (with the notable
exception of MULTI_PACKAGES' default FULLPKGNAME, as per ispell)
2021-11-08 13:35:29 +00:00
rsadowski
ceae85fd77 Add new category "wayland" 2021-11-06 19:10:18 +00:00
sthen
8b02fd98b6 reserve 870 for nginx unit 2021-10-22 20:01:23 +00:00
espie
26a769f78e make the handling of default sets automatic: grab everything from locatedb
if around. If a snapshot, fully parse the SHA256* file, and derive the set
names and the signify version from it.
2021-10-06 13:56:50 +00:00
espie
c3271c33f7 fix the error control flow so that we don't quit dpb on wrong input on
the control socket.

noticed by solene@
2021-10-05 12:31:34 +00:00
espie
7f075145f5 quick fix to proot: after discussion, people seem to think that it's
better to install all sets by default, even though this makes the chroot
more costly (slightly).

So hard-code them for now, grabbing them off SHA256 is on the TODO list
2021-10-04 13:42:21 +00:00
sthen
23eb67b032 extend the existing bsd.port.mk "poisoning" to detect use of executables
from gettext, to add a few more gettext scripts that we see sometimes, and
to add asciidoc. (has been in i386 bulks for months and forgotten about!)

ok espie, "I'm fine with the gettext-tools part and have no opinion on asciidoc" naddy@
2021-09-13 15:40:02 +00:00
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