5556 Commits

Author SHA1 Message Date
jasper
aeb6c4582b mop up after apache-activemq removal 2020-09-12 15:33:51 +00:00
abieber
9b54d33cad reserve 859 for net/miniflux 2020-09-08 22:35:04 +00:00
rsadowski
fb3931fb4c Rework multimedia/phonon multimedia/phonon-backend
- Remove infrastructure/bin/portcheck bits.
2020-08-20 17:58:57 +00:00
solene
6e9c7f648b Comment _ajaxterm user after www/ajaxterm removal
Pointed out by danj@
2020-08-20 13:31:17 +00:00
sthen
54a13723b7 bump SYSTEM_VERSION on clang archs, to trigger pkg_add to update
everything so that people updating from subsequent snapshots won't
have old clang 8-compiled packages lying around.

also will work around the problem where packages don't have WANTLIB
in sync, in some cases these have an unlisted dependency on libc++
which won't have been updated as needed (found by matthieu@).

ok ajacoutot@
2020-08-13 17:08:45 +00:00
bcallah
475f912824 Reserve 858 for _purritobin. Forgot to do this on import.
Spotted by naddy@, thanks.
2020-08-13 14:02:18 +00:00
jca
04197b1fe1 Add powerpc64 to LLVM_ARCHS
from Brad
2020-08-11 08:27:24 +00:00
kettenis
1e4c58a117 Add support for powerpc64.
ok naddy@, jsg@
2020-07-12 07:59:48 +00:00
abieber
096e6c6ae4 Teach 'portgen go' how to re-use existing ports. Also remove debug lines
that made it in.

OK afresh1@
2020-07-11 22:26:01 +00:00
espie
9a3fd2f8c5 do NOT check license issues for !current packages, because we don't care
that much, and more importantly, because there may be gaps in the database
for various reasons
2020-07-04 18:29:21 +00:00
espie
b1b8421b9e seems that other people do not use this...
get rid of cdrom_okay
2020-07-04 16:54:22 +00:00
espie
877acdbb0a thinko 2020-07-04 16:53:42 +00:00
sthen
6992f5117a update search.cpan.org -> metacpan.org, from cwen@ in 2018,
similar diff from Yozo TODA. bumps to follow.
2020-07-03 21:42:55 +00:00
sthen
75244c1bf6 portgen: unbreak PyPI 2020-07-02 21:07:51 +00:00
espie
24e163809a register-plist is a logical place to be able to save stuff elsewhere,
set up to be able to save manpages
2020-06-28 10:58:25 +00:00
abieber
273b7fe1fe Remove extra shell.
Fix from espie@
2020-06-26 23:26:04 +00:00
espie
ada8dbb7b9 explain why FAKE_TREE_OWNER is not a regular option 2020-06-26 14:47:05 +00:00
espie
2519958a27 add code to write conflict-related info in the cookie, so that if it changes
we rerun pkglocate
also check the pkglocate cookie vs the fake cookie, so that we rerun things
if somehow fake was rerun without cleaning things first (unlikely, but still)
2020-06-26 13:00:07 +00:00
espie
75f4ce503e manage a pkglocate_cookie, so that pkglocate is not run every time.
Note the TODOs, there's some code to be written to actuall re-run
pkglocate when the conflicts change.
2020-06-26 12:00:27 +00:00
espie
5918cd90f0 add a PKGLOCATE_COOKIE that will be filled in by update-plist
turns out update-plist already groks -D thanks to inheriting from
common code!
2020-06-26 11:51:16 +00:00
espie
a0db38ea1e nit, help debug 2020-06-26 11:02:32 +00:00
abieber
970e853fd4 Add the ability to follow redirected dependencies.
- De-duplicate our .mod and .zip files.
- Move chdir to a child process.
- Break MODGO_MODULES and MODGO_MODFILES values into their own lines
  for easier reading.
2020-06-25 13:57:45 +00:00
espie
c5cb81bbcb remove the switch, use a map name -> class
this makes it easier to add languages, and also provides more decent
error reports in case of a bad language

okay afresh1@
2020-06-22 12:51:12 +00:00
kn
26fdc586a0 Liste failed patches at the end of "make patch"
Updating bigger ports with lots of patches, combing the target's output
for failed hunks can be cumbersome;  print failed patch files one per line
iff there are any to provide immediate feedback on what wrong and where.

"definitely wanted" landry
Style nits, OK espie
2020-06-16 13:41:42 +00:00
espie
81880cb49e refactor, no functional change. Start grouping and naming options 2020-06-13 09:14:14 +00:00
landry
43bd00b16b add uid/gid 857 for _web2ldap user 2020-06-12 11:27:08 +00:00
espie
111c80ba34 add a -s snap option that will always write plist into a separate
directory if no error
2020-06-10 07:42:39 +00:00
espie
9951bc2039 I forgot about the mogrified part, respect -n too
tweak the message to show that nothing got written
2020-06-10 06:54:29 +00:00
espie
41099bc700 add option -n, as it's the simplest one to do
(do all the checks, but don't write a thing. useful for bulks with test
changes that should be reverted later)
2020-06-09 21:00:33 +00:00
espie
84a844882e add REGISTER_PLIST_OPTS
to be used to allow various things
2020-06-09 11:01:08 +00:00
paco
2c326f8b33 add FIX_CLEANUP_PERMISSIONS and enable it by default on go.port.mk when
using MODGO_MODNAME.

This is needed to work around this issue:
https://github.com/golang/go/issues/27455

which makes `make clean` because of the restrictive permissions.

input and corrections from sthen@ and jca@
ok sthen@ jca@ espie@
2020-06-08 13:16:26 +00:00
espie
5c9ecb1ee7 fix some PORTS_PRIVSEP tidbits:
UPDATE_COOKIES and BULK_COOKIES are not generated by dpb, but if you
build stuff manually and use dpb, they can happen, and you will see error
messages in dpb logs (trying to remove them as _pbuild), so give them
to _pbuild/tweak fix-extract-permissions accordingly.

Also fix an old feature where you can force UPDATE_COOKIES into WRKDIR
which got broken a long time ago.

Thanks to solene@ for tests
2020-06-01 08:41:36 +00:00
espie
4351660abb work a bit harder so that pkgpaths do not gain a bogus info by
autovivification

this allows to use is_stub once again
2020-05-31 19:24:26 +00:00
feinerer
b388e6927e Reserve uid/gid 855 for _repro and 856 for _return
OK sthen@
2020-05-29 20:52:28 +00:00
kn
487d2b660a Make make modifiers work in verbose-show
OK espie
2020-05-29 19:38:09 +00:00
espie
48ad98e6a8 revert temporarily
there's a bug elsewhere (autovivification of $w->{info}{BUILD_PACKAGES})
that I need to track down  that results in $w->{info} being defined but
NOT a proper object.

dpb errors out at end-of-LISTING in case of a parse error in any Makefile.

solene@ ran into this a few days ago, probably some other people, and
finally I met the bug today. Ouchie. sorry about that.
2020-05-28 20:53:40 +00:00
espie
53c96ec8e1 neuter strip if DEBUG_PACKAGES is set
tweak the path for copy-debug-info  so we don't accidentally neuter
THAT strip as well.

this helps getting cmake/qmake do the right thing without needing to
alter strip behavior.
2020-05-20 12:57:10 +00:00
kn
c65b8a6855 Add EXTRACT_FILES
Allow extraction of specific files only rather than all from distfile.

OK sthen espie
2020-05-18 18:18:33 +00:00
abieber
8921d9c50b Remove PKGNAME, setting DISTNAME is enough.
OK ajacoutot@
2020-05-17 14:33:04 +00:00
sthen
3e3ce667c1 portgen: where BDEP/RDEP are equal, write 'BUILD_DEPENDS=${RUN_DEPENDS}'
rather than 'RUN_DEPENDS=${BUILD_DEPENDS}' which is easily polluted by
compression utilities, ccache if used etc. Problem spotted by aja@ in a
port submission of mine where the skeleton was made by portgen.

While there, prefer setting 'TEST_DEPENDS=${RUN_DEPENDS}' rather than
to '${BUILD_DEPENDS}' if RDEP/BDEP are equal.

ok afresh1@
2020-05-16 21:44:23 +00:00
abieber
9e0580770b Teach portgen how to speak Go!
With this a port can be easily generated for Go applications that support Go
modules (there will be a go.mod file in the root of the project).

For example: https://github.com/jrick/domain/blob/master/go.mod

The mod file lists "github.com/jrick/domain" as the module name, so a portgen
command to build the above tool would be:

  portgen go github.com/jrick/domain

OK afresh1@ kmos@
2020-05-15 01:32:48 +00:00
kn
4f01408214 Default to python3 FLAVOR if possible
PyPI projects that already list multiple supported Python versions cause
portgen(1) to generate a flavoured port; of leaving FLAVOR emtpy, opt for
the highest available version.

This makes it use FLAVOR?=python3 insteaf of FLAVOR?= (empty) if any
sypport higher than Python 2 is listed.

Note that PyPI projects listing either only one sypported version or none
at all are not effected by this diff.

OK afresh1 kmos
2020-04-30 23:04:48 +00:00
schwarze
77ef99ead5 Delete mail/akpop3d.
Alexei dot Malinin at mail dot ru reported a compiler warning that,
in my opinion, probably indicates a security vulnerability, but due
to an incomplete description of the affected feature in the
documentation, it is unclear how it should be fixed.  The program
appears to be sloppily written, sloppily documented, and abandoned
upstream 15 years ago.

OK ajacoutot@ for deleting it.
2020-04-29 15:25:45 +00:00
danj
bcb2c51274 Comment ejabberd entry as it was removed on March 16th 2020-04-27 20:25:39 +00:00
danj
30a959d5e9 Remove jabberd removal leftovers 2020-04-27 20:23:00 +00:00
espie
a259946345 dist cleaning should match make fetch, namely also remove any left-over
.part files

as noticed by f.holop...
2020-04-20 11:49:57 +00:00
afresh1
aaf8c0f4be Support exact requirements in OpenBSD::PortGen::Ruby
Although I couldn't find a definitive guide to version specs,
I did find an example showing this seems to be how RubyGems work.

From Thomas L. <tom.longshine () web ! de>
2020-04-17 02:14:01 +00:00
espie
95e3a02abb separate the debuginfo property from its use to zap DEBUG_PACKAGES
out of existence: arch-defines.mk MUST be included very early on, so that
modules can use it to decide on behavior, BUT modules are allowed to set
DEBUG_PACKAGES without worrying about it, and so bsd.port.arch.mk must be
the place that zaps!

Discovered by sthen@, because xfce4.port.mk would start churning out
DEBUG_PACKAGES on every architecture.

tested by naddy@  because I wasn't sure I didn't miss something non obvious.
2020-04-16 19:33:29 +00:00
espie
63023c8241 missing piece for setting LOGDIR 2020-04-15 16:18:48 +00:00
sthen
1b6958f340 enable debug packages on aarch64; ok kmos@ jca@, "go ahead" phessler@
They do result in a bulk package build taking about a third longer, but
the bulk build machines are significantly faster than the machines most
people are running the produced packages on, so it's a trade-off: a bit
of pain for builders vs a lot of pain for users wanting to debug things
on their normal hardware.
2020-04-15 14:25:57 +00:00