5606 Commits

Author SHA1 Message Date
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
sthen
a7e057a338 Change COMMENT for debug packages to just use PKGSTEM not FULLPKGNAME.
In some cases (mostly with insane distnames from local test builds, but
conceivably also possible with long combinations of flavours) they can
exceed the character limit. Discussed with espie@ who pointed out that
plist_db doesn't include entries for debug packages.

From Mikolaj Kucharski.
2021-02-06 15:24:48 +00:00
kn
05532e3bec Disable _hitch after security/hitch removal
Reminder from Matthias Schmidt, thanks.
2021-02-01 12:41:37 +00:00
sthen
39b4146d34 mention the port dir (devel/gettext,-tools) not just "gettext-tools" in
the poisoned scripts; easier to cut-and-paste
2021-01-31 21:18:23 +00:00
rsadowski
c4d5ada820 Remove Qt4 checks
We no longer want to import "new" Qt4 applicatios.
2021-01-30 08:01:10 +00:00
sthen
3613cd7af4 Change ccache handling from adding to BUILD_DEPENDS to doing an ".if exists"
check. Newer ccache uses cmake making it impractical to break the loop by
just disabling ccache for the individual ports on the way to building ccache.
2021-01-24 14:38:34 +00:00
kettenis
6716b674c9 Add powerpc64 to GCC49_ARCHS.
ok jasper@
2021-01-18 19:32:50 +00:00
sthen
c4cf25a65c add 863 for mail/dcc 2021-01-17 21:27:04 +00:00
abieber
1018dcc930 Teach go.port.mk and Go.pm how to escape modules that contain uppercase
letters.

OK kn, make magic from espie/naddy, feedback from afresh1 and sthen.
2021-01-16 23:38:13 +00:00
kn
9196604f15 Support .rpm in EXTRACT_CASES
Less special cases in (rare) ports, pluse one can use EXTRACT_FILES as usual now.

OK espie robert
2021-01-10 22:29:33 +00:00
sthen
0f8fca3a21 mips64el moved to clang, update ports arch-defines to match. from Brad. 2020-12-22 12:53:42 +00:00
sthen
ca096aa34b poison some py-related things which are easy to get wrong:
MODPY_ADJFILES (should be MODPY_ADJ_FILES)
MODPY_PYPI (should be MODPY_PI)
2020-12-15 14:52:27 +00:00
rsadowski
87a069bf2f Remove kde3/kde4 and phonon check(s)
OK sthen
2020-12-12 15:12:07 +00:00
rsadowski
5f64f2567d Disable _kdesud and _kdm from KDE3/4 2020-12-12 07:30:48 +00:00
paco
3bd9ffa229 prevent error on modgo-gen-modules when MODGO_MODULES or MODGO_MODFILES
are not defined

ok abieber@
2020-12-08 09:03:29 +00:00
sthen
681eeb9d7b Use strip -d, not just plain "strip", when removing debug symbols from
binaries for packages using DEBUG_PACKAGES. This avoids the current
situation where a backtrace is useless (function names all "??") if
a package was built with DEBUG_PACKAGES but the debug-foo package is
not installed.  ok espie@ pirofti@
2020-12-04 15:04:52 +00:00
sthen
c6ef3bc530 +blackbox_exporter 2020-11-21 12:26:50 +00:00
sthen
bf68142e73 switch py-tagpy to py3-only and remove its only py2-consumer audio/zeya
(a ten year old network daemon, no longer maintained in ports or upstream;
distfiles were fetched from debian who removed it from their packaging ~5
years ago). py-tagpy is one of the few consumers of boost's py2 library.
ok jca
2020-11-14 11:57:56 +00:00
ajacoutot
5d8191de37 Comment the _colord user/group. 2020-11-14 11:07:10 +00:00
danj
456f70f468 Comment _wiresep
net/wiresep has been removed in June after wg(4) arrival.
2020-11-13 23:31:37 +00:00
espie
79d673f522 by default, only run pkg-locatedb for "new" files, so that people will
actually run it by default

okay sthen@
2020-11-08 17:01:52 +00:00
espie
c52fecbcac left a bit of dead code while refactoring 2020-11-07 10:54:22 +00:00
solene
b89bf0335d + _i2p for net/i2p 2020-11-04 19:15:30 +00:00
abieber
0a093b7690 reserve 860 for net/dendrite 2020-10-22 13:52:57 +00:00
paco
fa9826f854 new target modgo-gen-modules for lang/go
It generates the lists for MODGO_MODULES and MODGO_MODFILES
Useful to update go ports.

ok abieber@
2020-10-09 13:23:51 +00:00