67 Commits

Author SHA1 Message Date
naddy
d159f8d1ad Make use of "find -exec {} +" (which is POSIX) and "find -delete"
(which is not) throughout the ports Makefiles.

* Replace find|xargs with find -exec {} +
* Replace -exec {} \; with -exec {} + if applicable.
* Use the -delete operator to remove files and empty directories.
* Combine and tweak some find(1) invocations while here.

ok kn@ rsadowski@ espie@
2020-03-20 16:44:21 +00:00
sthen
d3b31d20d5 fix typo to unbreak bulks 2020-01-24 13:25:03 +00:00
kmos
24f93b0a8d This won't build on any but i386, amd64, arm, and aarch64. We've already
marked nginx-passenger ONLY_FOR_ARCHES. Do the same for www/ruby-passenger
itself.

ok jeremy@
2020-01-24 02:15:17 +00:00
jeremy
e4cd38f7c1 Update to passenger 6.0.4 2019-11-12 06:38:20 +00:00
sthen
485792605b replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 21:02:12 +00:00
sthen
6ff3e55398 bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into

the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
2019-06-25 20:25:20 +00:00
naddy
7fbf471111 fix build with curl >=7.62.0 2018-11-08 20:34:00 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
kn
75397d7d09 Remove BROKEN-sparc64
Built repeatedly just fine. This reenables www/nginx.

Switch to TLS while here.

OK sthen
2018-07-05 09:08:30 +00:00
jeremy
9c37b1b669 Add OpenBSD comment to rubygems-ext.PLIST
Bump ruby gem ext ports as this changes the package.

Requested by espie@
2018-06-13 22:26:52 +00:00
sthen
114b1e4413 Bump the remaining ports to trigger updates following cpu stats
changes (CPUSTATES/etc). Last part.

- some of these might be in code that's not actually built or rarely
used but it's not worth the hassle evaluating that, i'm just bumping &
moving on.

- as mentioned before, there might still be runtime problems relating
to the addition or renumbering.
2018-06-01 15:44:28 +00:00
jsg
9a190ffe23 Now that arm has switched to clang the base compiler has atomic builtins
and accepts -mfpu=neon.

ok jca@ sthen@
2018-01-20 14:03:39 +00:00
naddy
2dc876b70f drop gettext module, apparently unused 2017-11-17 14:54:24 +00:00
jeremy
1e8803cd69 Update to passenger-5.1.11.
Updated embedded nginx version to 1.12.1.

Disable check for newer versions, and add patches to force use of
correct ruby binary.
2017-11-04 15:56:29 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
sthen
073d25a37c use LIBCXX 2017-04-10 11:46:32 +00:00
jca
cad0c0896d Mark as BROKEN on arm, undefined reference to __sync_val_compare_and_swap_4
The __sync_val_compare_and_swap_4 reference comes from the internal
libuv copy.  Using lang/gcc doesn't seem to help.
2017-03-13 21:32:51 +00:00
jeremy
3a3bb71f04 Update to passenger 5.0.30
Update embedded nginx to 1.10.2.

Support nginx dynamic modules.

All files that were patched previously got moved, add patches for the
new locations.

Remove all of the pointless hiding of build steps behind progress bars.

OK robert@
2016-11-04 22:08:18 +00:00
sthen
c15b136e13 sync WANTLIB (and in one case, add gettext to LIB_DEPENDS) in dependent ports
now that internationalised domain name support has been removed from net/curl
2016-11-04 11:35:18 +00:00
jeremy
50a8e70b74 Add BDEP on gsed, since embedded libuv picks it up at runtime
problem noticed by naddy@
2016-10-08 20:38:39 +00:00
naddy
82533eb6f8 remove SHARED_ONLY from some stragglers 2016-03-20 17:59:21 +00:00
landry
5b586e67f5 fails on sparc64 like on hppa: rake blows when linking PassengerHelperAgent 2015-12-10 08:49:31 +00:00
sthen
981d86d970 sync WANTLIB (curl+nghttp2) 2015-10-30 12:59:16 +00:00
jeremy
f0c1c49f66 Update to passenger 5.0.14
Remove subpackages, revert to a single package, since standalone package
is now only 10% the size of the main package.
2015-07-26 01:31:39 +00:00
jeremy
3b2e299ff9 Remove MODRUBY_RAKE_DEPENDS. Only necessary on ruby 1.8, and none of
the ports that use it are still built with ruby 1.8.

OK ajacoutot@
2015-07-19 02:10:31 +00:00
jeremy
e8094d8f55 Make ruby22 the default FLAVOR 2015-07-17 14:36:29 +00:00
dcoppa
72c41a09eb Remove obsolete/useless patch: our sigaltstack() implementation
does the right thing since we switched to rthreads, as confirmed
by miod@

ok jeremy@
2015-03-25 18:13:36 +00:00
jeremy
d1f7b823f8 Support ruby22 FLAVOR for ruby-passenger
Add patch to make passenger not fail at runtime on ruby 2.2.
2015-01-08 21:24:57 +00:00
robert
ed52cd2bc7 fix compatibility with nginx 1.7.9; pulled from upstream git 2015-01-02 19:32:21 +00:00
landry
a04713f999 Yet another bunch of ports that reliably fail to build on hppa.
BROKEN-hppa =	SIGILL when running lilypond
BROKEN-hppa =	libjson-c.so.0.0: undefined reference to __sync_val_compare_and_swap_4
BROKEN-hppa=	missing atomic ops
BROKEN-hppa=	./iodev/hdimage/hdimage.cc:807: error: 'bx_bswap32' was not declared in this scope
BROKEN-hppa =	cc1plus: error: unrecognized command line option '-std=c++11'
BROKEN-hppa =	src/bin/jp2/convert.c:192: error: expected identifier or '(' before '__extension__'
BROKEN-hppa=	libpt.so.7.0: undefined reference to __sync_fetch_and_or_4
BROKEN-hppa=	ykpers-json.c:42: error: redefinition of typedef 'json_bool'
BROKEN-hppa=	OOM on src/lxml/lxml.etree.c
BROKEN-hppa =	undefined reference to `__sync_val_compare_and_swap_4' in libjson-c
BROKEN-hppa =	rake fails when linking PassengerHelperAgent
BROKEN-hppa =	kstars/kstars/tools/scriptbuilder.cpp:103: internal compiler error: Segmentation fault
BROKEN-hppa=	build stuck on virt-viewer-window.c

See http://build-failures.rhaalovely.net/hppa/
2014-12-31 08:42:26 +00:00
jeremy
a6b8b062f2 Bump gem ports buildable with ruby 1.8 that have binaries
The binaries now use a 18 suffix on ruby 1.8.
2014-10-11 19:54:46 +00:00
jeremy
78a7ce5dc4 Use default ruby version for building ruby-passenger and nginx passenger
FLAVOR. No runtime effect for either, so no bump.

nginx part from zhuk@, with minor tweak by me to fix CONFIGURE_ARGS
and BUILD_DEPENDS
2014-10-08 02:32:43 +00:00
landry
def10e9dba BROKEN-alpha = .got subsegment exceeds 64K (size 83312) 2014-08-18 06:53:07 +00:00
jeremy
cd2858b803 Update passenger to 4.0.44. Update the nginx version used by
passenger standalone to 1.4.7.

Thanks to Frank Groeneveld for feedback and testing.
2014-06-24 21:43:02 +00:00
jeremy
cbbbf0b4fb Restrict passenger to ruby18 and ruby19 (default) FLAVORs 2013-10-06 20:54:28 +00:00
lteo
eb1a574309 Fix passenger_root in the nginx sample config to point to the correct
directory.

OK gsoares@
2013-08-14 03:08:09 +00:00
jasper
456409d183 cleanup modules/wantlib 2013-07-09 12:23:40 +00:00
jeremy
e702a5dfc9 Use libev from ports instead of embedded libev. Clean up WANTLIB and
DEPENDS.  Update nginx config file to reflect current user/paths.

libev issue discovered by naddy@.

OK naddy@
2013-05-07 23:20:11 +00:00
ajacoutot
443bd10489 Fix @sample file. 2013-03-19 15:06:06 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
jeremy
fce8bfc4d3 Revision bump ruby C extension ports after addition of pthread to
WANTLIB.

OK sthen@
2013-01-09 17:38:52 +00:00
jeremy
9b2b8a4963 RUN_DEPENDS on curl, since it is used at runtime. Adjust shebangs
for ruby scripts, so they work correctly without setting up
symlinks manually.  Use nginx 1.2.3 for standalone version.

Heads up on curl issues from Peter Ljung via william@
2012-10-11 10:39:08 +00:00
jasper
9206e20978 - remove -lpthread vs. -pthread patches/chunks. 2012-09-24 06:51:59 +00:00
jeremy
c3579f1baf Bump revisions for ruby gem/extconf ports after the switch to ruby 1.9
by default, since the ruby 1.8 version now has a ruby18 explicit FLAVOR.
2012-09-23 16:57:32 +00:00
jeremy
e8b1b84d9b Upgrade the passenger standalone subpackage to nginx 1.0.11.
OK sthen@
2012-01-18 16:52:06 +00:00
jeremy
b43ac205b0 Update to 3.0.11. Support by the standalone version of passenger by
splitting into a multipackage, with a subpackage for the standalone
version (which embeds a version of nginx).  The standalone version
operates much like other ruby webservers, serving a single ruby/rack
application.

Switch to using the gem version of passenger.  Because the gem
installs into a versioned directory, setup symlinks to the
versioned directory so that nginx configuration files don't need
to be modified when the version is updated.
2011-12-13 18:38:17 +00:00
espie
58fffade54 normalize pkgpath 2011-09-16 12:00:05 +00:00
jeremy
bcdeace0f4 Bump after change to remove OpenBSD version from ruby SITEARCHDIR.
OK landry@, jcs@
2011-07-19 18:00:51 +00:00
naddy
65bc5aa607 bump revision for plist changes 4.9 -> 5.0 2011-07-18 19:06:36 +00:00