1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Antoine Brodin
f7f5de9089 Remove _*OWNGRP, with staging it's not useful anymore
With hat:	portmgr
Original submission:	bapt
Exp-run:	self
2015-05-04 13:21:17 +00:00
Steve Wills
bb86c59547 Fix build on arm 2015-04-19 19:51:25 +00:00
Steve Wills
5d4ff11096 Update Ruby to latest versions to address CVE-2015-1855.
Security:	https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/ (vuxml forthcoming)
2015-04-14 00:35:59 +00:00
Bryan Drewery
e710b8dad9 - Fix runtime with OpenSSL after the removal of SSLv2 in head.
- Make the main LOCALBASE/bin files into symlinks to the actual version to
  make it simpler to tell which version is default.
2015-04-01 23:26:10 +00:00
Bryan Drewery
cabf178cbc Remove references to removed tk ports. 2015-03-31 23:40:34 +00:00
John Marino
d945d5ea98 lang category: Remove $PTHREAD_LIBS
Note: ecl did not pass check-plist (pre-existing), PR 198897 submitted.

approved by:	PTHREAD blanket
2015-03-25 12:58:33 +00:00
Steve Wills
f61e451a34 lang/ruby20: update to 2.0.0 p643
While here, bring in an rdoc fix

Obtained from:	55fbd8947f
2015-03-07 17:53:51 +00:00
Sean Bruno
ab55e8738f Only enable dtrace support for amd64/i386 for now.
More testing needs to be done on arm to see if our dtrace support is
compatible with what ruby needs.  PowerPC may work as well, but needs
more testing.

Reviewed by:	swills
2015-02-12 19:50:52 +00:00
Baptiste Daroussin
167f82f839 Change the EDIT option of ruby to use libedit by default now that libedit
from ports is able to handle unicode. Make sure that ruby does not provides its
own function to read the input but let libedit do it itself.

This allows the binary package to by default not be "tainted" by the readline
license.

Differential Revision:	https://reviews.freebsd.org/D1547
Reviewed by:	swills
Approved by:	ruby (swills)
2015-02-01 23:19:51 +00:00
Antoine Brodin
38e8f93368 Update devel/doxygen to 1.8.9
PR:		ports/196342
Submitted by:	Naram Qashat (maintainer)
Exp-run and fixes to depending ports:	self
2014-12-31 06:45:10 +00:00
Steve Wills
89dc7fe566 Update to latest version
While here, fix a few plist issues
2014-11-15 13:50:11 +00:00
Steve Wills
f43809d557 Fix plist with rdoc option off
Reported by:		Warren Block <wblock@wonkity.com>
Reported by:		Herbert J. Skuhra <herbert@oslo.ath.cx>
2014-11-12 02:40:50 +00:00
Steve Wills
96bf534838 lang/ruby2*: disable dtrace on OS versions without the dtrace fixes from r271413
While here, fix plist issues
2014-11-11 17:47:06 +00:00
Steve Wills
a67f5ea10b Fix plist for CAPIDOCS option after update to doxygen.
PR:		194712
Reported by:	Trond Endrestol <Trond.Endrestol@ximalas.info>
2014-11-08 15:05:40 +00:00
Andrey A. Chernov
8dcbb209b7 Handle the case when dtrace build is disabled (WITHOUT_CDDL=yes)
Approved by:    swills
2014-11-08 05:22:30 +00:00
Baptiste Daroussin
77cba41a62 Cleanup plist 2014-10-27 15:23:30 +00:00
Steve Wills
c553ae6488 lang/ruby2*: fix dtrace support
DTrace support in ruby needs the -xnolibs flag added to the dtrace command
called during build to ensure that dtrace support is enabled even if the dtrace
kernel modules are not loaded at build time.

However, with this dtrace will be enabled on some OS versions where it will not
work, so add logic to disable it where appropriate.
2014-10-01 15:45:27 +00:00
Steve Wills
897642d681 lang/ruby20: update to 2.0.0p576 2014-09-24 03:11:06 +00:00
Steve Wills
6a058e82d1 lang/ruby20: switch to USES=execinfo
While here, move MAKE_JOBS_UNSAFE to CAPIDOCS option since thats the only place
it seems necessary

PR:		193412
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2014-09-14 15:53:45 +00:00
Steve Wills
aafb928748 lang/ruby*: remove obsolete patches
Remove no longer needed patches for ftp.
While here, fix the test target for ruby21

PR:		192998
Submitted by:	Robert Grimm <rfgrimm@gmail.com>
2014-09-02 01:13:47 +00:00
Steve Wills
b8ce65474e lang/ruby*: fix docs handling
- Fix handling of RDOC option and make it ON by default
- Add DOCS option to OPTIONS_DEFINE
- Add EXAMPLES option
- Add CAPIDOCS option which installs C API documents generated by doxygen
- Other cleanups while here

PR:		189646
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (based on)
2014-08-30 21:09:09 +00:00
Steve Wills
6cbff030cb lang/ruby20: Update to Ruby 2.0.0-p481 2014-07-26 23:24:45 +00:00
Dag-Erling Smørgrav
499a727913 Add CPE information. 2014-07-02 12:49:59 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Steve Wills
1eafa82762 - Remove uneeded include of bsd.port.options.mk
Reported by:	antoine
Pointyhat to:	swills
2014-05-30 19:20:24 +00:00
Steve Wills
07e2d47f53 - Force use of libreadline from ports rather than base, in order to avoid
unexpectedly getting readline from ports if it's already installed.
- Add patch to work with newer libreadline
- Provide an option to use libedit from ports, avoiding the libedit in base.
- Note 1: The patch to work with newer libreadline is only applied in the
  libreadline case since it actually breaks building with libedit.
- Note 2: libreadline is not BSD licensed and while libedit would be
  preferable, it seems to have issues with UTF8 still, see ruby bug 9204. Once
  that's resolved, we can make libedit the default.

PR:		ports/187928 [1] (based on)
PR:		ports/188077 [2] (based on)
Submitted by:	Shin-ya Murakami <murashin@gfd-dennou.org> [1]
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net> [2]
Obtained from:	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/readline/readline.c?r1=43458&r2=45225 (ruby upstream)
MFH:		2014Q2
2014-05-30 18:34:29 +00:00
Steve Wills
2fba6d8265 - Remove reference to lang/ruby-mode.el since it is gone
PR:		ports/187895
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2014-03-25 02:19:10 +00:00
Steve Wills
eedf7913ee - Fix patch broken in r292221
PR:		ports/187472
Redported by:	Jeremy Chadwick <jdc@koitsu.org>
2014-03-23 15:31:43 +00:00
Steve Wills
4d921409e2 - Add patch to fix build on 11-CURRENT after Clang 3.4 import. No need to
conditionalize this on OSVER because the patch is safe everywhere. No bump
  because package doesn't change.

Submitted by:	antoine (1.9, 2.0 and 2.1 based on)
2014-02-25 04:18:07 +00:00
Steve Wills
7a59446bf9 - Correct mistake I made in the configure.in patch. No PORTREVISION bump since
this should have no impact on generated binaries.
2014-02-18 15:37:31 +00:00
Steve Wills
a7514f82eb - Fix build when newer gcc which includes a libffi is installed
PR:		ports/186468
Submitted by:	Jim Ohlstein <jim@ohlste.in>
2014-02-10 20:22:20 +00:00
Martin Wilke
620d7d0936 - Stage support
Reviewed by:	antoine/swills
Thanks to:	antoine (so testing)
Approved by:	swills (ruby@)
2014-02-04 14:23:51 +00:00
Steve Wills
a3094148c6 - Add patch to increase stack size to avoid crash on ppc64
- Bump PORTREVISION due to binary and package change

Submitted by:	jhibbits (via private email)
2014-01-25 22:10:56 +00:00
Steve Wills
03fdbd5ccf - Fix mkmf DESTDIR issue with patch from upstream
Obtained from:	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/mkmf.rb?r1=41756&r2=41755&pathrev=41756
2014-01-02 20:46:29 +00:00
Steve Wills
9de02523dd - Add patch to bundled rdoc to fix issue which causes some ports to fail to
build

Obtained from:	f4f5b94285
2014-01-02 02:35:40 +00:00
Sunpoet Po-Chuan Hsieh
d9cc3a8cd9 - Update LICENSE
Discussed with:	eadler
2013-12-13 02:17:30 +00:00
Sunpoet Po-Chuan Hsieh
9b04c27f2a - Add missing blank line between MAINTAINER section and LICENSE section 2013-12-13 01:06:00 +00:00
Eitan Adler
2a0772d861 Templates, Mk/ lang/ruby*: add the RUBY license
The current Ruby license is an optional choice of BSD-2-Clause and the 'Ruby'
license.  This is not OSI approved.

Approved by:	portmgr (tabthorpe)
2013-12-11 23:07:43 +00:00
Steve Wills
e1609e7d27 - Fix patch to uri module that I broke in r334630
- Bump PORTREVISION

PR:		ports/184315
Submitted by:	Andris Raugulis <andris@govs.lv>
2013-11-27 13:21:30 +00:00
Steve Wills
40544c3809 - Remove unneeded variables
- Mark JOBS safe
2013-11-27 01:10:08 +00:00
Sunpoet Po-Chuan Hsieh
85c1629e8b - Fix PLIST
- While I'm here:
  - Remove leading indefinite article from COMMENT
  - Convert to new LIB_DEPENDS format

PR:		ports/184306
Submitted by:	Alexey Markov <redrat@mail.ru>
2013-11-26 15:45:00 +00:00
Steve Wills
ba7f5e1058 - Fix plist issues 2013-11-23 03:50:10 +00:00
Steve Wills
f38a81fc62 - Fix and report heap overflow in floating point parsing issue in ruby
Security:	cc9043cf-7f7a-426e-b2cc-8d1980618113
2013-11-23 03:10:04 +00:00
Baptiste Daroussin
888ab73a81 Add NO_STAGE all over the place in preparation for the staging support (cat: lang) 2013-09-20 19:53:09 +00:00
Baptiste Daroussin
ef5a8cdc90 Only the default package will be named ruby-<version> now, to stop confusing users
Approved by:	ruby (swills)
2013-09-16 16:34:10 +00:00
Sunpoet Po-Chuan Hsieh
fdd462485d - Remove Author line 2013-08-29 18:06:47 +00:00
Sunpoet Po-Chuan Hsieh
9e12ae1e0f - Use single space after WWW: 2013-08-29 04:10:37 +00:00
Akinori MUSHA
3ff582670d The iconv module is no longer part of ruby's standard distribution.
(ext/iconv is an empty directory, so we can just leave it)
2013-06-20 08:41:57 +00:00