Commit Graph

28 Commits

Author SHA1 Message Date
naddy
424a60c42f remove line continuation before empty lines
ok sthen@ ajacoutot@
2022-10-31 23:14:52 +00:00
jeremy
069be82216 Add MASTER_SITES0 and PATCH_DIST_STRIP to Makefile.inc
Any Ruby distpatches are going to use these going forward, and it's
better to set these once in Makefile.inc instead of in the Makefile
for each version.
2022-07-04 16:29:03 +00:00
naddy
e93f9d0ca9 drop RCS Ids 2022-03-11 19:28:46 +00:00
jeremy
690fdc2a78 Avoid the use of builtin_setjmp
Use _setjmp by default to use the setjmp xor cookie.

This was already done for powerpc and powerpc64 to work around a
segfault, but it seems to be a good practice on all arches.

ok gkoehler@
2021-08-13 18:45:45 +00:00
gkoehler
c8e8ff9438 Don't use __builtin_setjmp on powerpc, powerpc64
clang-11's __builtin_setjmp is broken, has chance of SIGSEGV during
"make build" on powerpc with ld.lld, or when passing a wrong option
(like "ruby -e" with no -e code) on powerpc64.

ok jeremy@ (maintainer)
2021-08-09 20:13:02 +00:00
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
jeremy
239f38cbff Use more automated debug package creation 2019-11-19 17:20:12 +00:00
jeremy
555f88c968 Build debug packages for ruby 2019-11-10 13:50:00 +00:00
jeremy
79e271ba08 Update to PERMIT_PACKAGE 2019-07-12 04:13:15 +00:00
jeremy
f374615e17 Update to the latest versions of ruby: 2.5.1, 2.4.4, and 2.3.7.
This fixes the following CVEs: 2017-17742, 2018-6914, 2018-8777,
2018-8778, 2018-8779, and 2018-8780.

While here, switch HOMEPAGE and MASTER_SITES from http to https,
requested by tj@.
2018-03-31 21:12:45 +00:00
jeremy
903b134fc9 Apply upstream patches to fix rubygems security vulnerabilities in
ruby 2.3, 2.4, and 2.5.
2018-02-19 02:18:13 +00:00
jeremy
bf6889217a Move most shared logic from ruby version-specific Makefiles to Makefile.inc
Drop the use of RUBYLIBREV, since it is the same as REV since ruby 2.0 and
causes issues with update-plist.

OK tb@
2017-11-02 10:16:38 +00:00
jeremy
88ca83476b Update DISTNAME in ruby Makefile.inc for newer ruby dist file naming 2017-11-01 10:52:06 +00:00
jeremy
5a038f445f Add USE_WXNEEDED to ruby, to get devel/ruby-therubyracer working
Original diff from awolk@, OK sthen@

Change to use USE_WXNEEDED by me
2016-08-19 19:09:34 +00:00
naddy
5fc24d3cb3 removing SHARED_ONLY is safe here 2016-03-16 20:02:11 +00:00
naddy
d1fb05fbc3 requires --enable-shared 2016-03-10 11:50:13 +00:00
jeremy
99dd75e03e Make dpb not try to build -ri_docs subpackages on slow arches
The previous way was bogus.  Use bsd.port.arch.mk to remove
MULTI_PACKAGES instead of having the lack of no_* FLAVOR add them.

Change the no_x11 PSUEDO_FLAVOR to no_tk, since what it does is turn
off the -tk subpackage.

Remove post-install target from Makefile.inc, and use a manually
post-install in every version.  This is necessary due to
bsd.port.arch.mk usage.

Noticed by tobiasu@
Guidance from espie@
2016-02-29 20:46:53 +00:00
jeremy
b97c90af10 Allow fixing rbconfig.rb file even when post-install defined in subdir Makefile
This is needed for upcoming import of ruby 2.3.0
2016-01-07 00:51:28 +00:00
jeremy
1a20cbf501 Allow gem install to work for gems with C extensions. As a bonus,
remove the need to use FAKE_AS_ROOT = always-wrap.

landry@ phessler@ naddy@ in favor
2014-10-15 02:06:35 +00:00
espie
73a10c0733 turn on "always-wrap" for the 3 ports known to embed their install program
in installed files.
2014-09-16 09:09:46 +00:00
espie
fd2577db50 not yet on by default, still some love needed for umasks 2014-09-02 12:56:35 +00:00
naddy
ce2be36268 Add the remaining pieces to allow fake as non-root.
Not enabled as a general default yet.

Committing for espie@
2014-08-14 17:04:12 +00:00
jeremy
0211849a79 Update MASTER_SITES for ruby, as the previous locations no longer work. 2014-01-08 18:31:03 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
jeremy
75d0491050 Don't show the VMEM_WARNING when building ruby with the no_ri_docs
PSUEDO_FLAVOR, since the ri docs are the only thing that takes a
lot of memory.

OK ajacoutot@
2011-11-17 11:47:12 +00:00
jeremy
92063f369e Remove INSTALL_TARGET, since it's already set in 1.8 and 1.9's Makefile. 2011-11-17 10:54:11 +00:00
jeremy
7d470427bf Update SUB to remove OpenBSD version, so ruby 1.8 and ruby 1.9
can still package.

OK landry@, jcs@
2011-07-19 17:28:48 +00:00
jeremy
f19ae70951 Remove files that I checked out with -r HEAD 2010-09-23 22:04:13 +00:00