Commit graph

153 commits

Author SHA1 Message Date
Erwin Lansing
50513d5d52 Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
2006-08-04 12:34:50 +00:00
Mark Linimon
e2d64eefa6 * Change all bogus uses of BROKEN to IGNORE. Note: the BROKEN_WITH_*
forms are retained for compatibility but deprecated [1]

* Add sha256 to CHECKSUM_ALGORITHMS [2]

* Remove some whitespace [2]

* Add USE_SCONS and bsd.scons.mk for the Python-based SCons build system [3]

* Fix USE_LDCONFIG with non-default PREFIX [4]

* Add USE_WX and friends, and bsd.wx.mk, for common code for WxWidgets
  support [5]

* Add 'make missing' to show missing dependencies [6]

* Fix DESKTOP_ENTRIES processing on 4.x [7]

PR:	92445 [1], 98206 [2], 98731 [3], 99370 [4], 89398 [5],
	93601 [6], 98891 [7]

Submitted by:	linimon [1], edwin [2], alex at foxybanana dot com [3],
		gerald [4], flz [4], alepulver [5], alex at fafula dot com [6],
		shaun [7]
2006-07-05 02:18:09 +00:00
Akinori MUSHA
802409539e Allow CONFIGURE_TARGET to be overridden.
PR:		ports/93457
Submitted by:	Jason E. Hale <bsdkaffee -at- gmail.com>
2006-05-17 03:18:15 +00:00
Kirill Ponomarev
01c588a635 - Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
  [1]

- Fix FAM support.  Make gamin the default FAM system. [2]

- Introduce new 'quicksearch' target to show only port, path and
  info section of the matching ports. [3]

- Introduce new category - rubygems. [4]

- Fix stale dependencies while installing qmail slaveport and
  another port that depends on qmail. [5]

- Add commentary for describes target in bsd.port.mk. [6]

- Fix warning issued during make index on archs !368. [7]

- Add USE_DOS2UNIX variable.  If set to "YES", remove the ^M from
  all files under ${WRKSRC}. If set to a string, remove in all files
  under ${WRKSRC} with one of these names the ^Ms. [8]

- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
  checking the existance of the Perl modules with the "perl -e 'use
  module;'" command. [9]

- Fix bsd.port.mk variable quoting issues.  No quoting is necessary
  anymore either in the Makefile or on the command line.  Affected
  variables include:

  BROKEN
  FORBIDDEN
  IGNORE
  MANUAL_PACKAGE_BUILD
  NO_CDROM
  NO_PACKAGE
  RESTRICTED

  [10]

- Add NOFETCHFILES variable.  If set, don't download these files
  from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
  ${MASTER_SITE_OVERRIDE}). [11]

- Improve 'search' target output. [12]

- Add a new virtual category for Amateur Radio - hamradio. [13]

- Cleanup some old/unused pathes in bsd.port.mk. [14]

- Add @dirrmtry for plists which does the same as:
  "@unexec rmdir %D/foo 2>/dev/null || true" [15]

- Remove virtual category - offix. [16]

- Use portsnap instead of cvsup or cvs on "make update" in
  /usr/ports. [17]

- Move location of bsd.autotools.mk within bsd.port.mk [18]

- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]

- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]

- Replace the string "FreeBSD" by "The FreeBSD Project" in the
  security warning [21]

- Add bsd.local.mk for local modification to ports framework. [22]

- Replace rcNG spelling by rc.d [23]

- Remove superfluous USE_REINPLACE. [24]

Special thanks to:      linimon for spending hours with all these patches
                        clement for fixes
                        kris for help with pointyhat
PR:     ports/86310 [1], ports/89498 [2], ports/83530 [3],
        ports/83789 [4], ports/84053 [5], ports/86281 [6],
        ports/87214 [7], ports/87234 [8], ports/87318 [9],
        ports/87396 [10], ports/87605 [11], ports/87840 [12],
        ports/88230 [13], ports/88493 [14], ports/88711 [15],
        ports/88751 [16], ports/89281 [17], ports/89999 [18],
        ports/90031 [19], ports/90150 [20], ports/90668 [21],
        ports/91433 [23], ports/88754 [24]
Submitted by:   mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
                pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
                edwin [8, 9, 11, 15, 21],
                fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
                Carl Makin <carl@stagecraft.cx> [13], arved [14],
                NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
                jylefort [19], linimon [22], dougb [23]
2006-01-21 17:37:14 +00:00
Pav Lucistnik
bd8740c1e2 - ftp.iDaemons.org is unavailable lately 2006-01-14 15:46:10 +00:00
Pav Lucistnik
468362a5b7 - Update to 1.8.4
PR:		ports/91556
Submitted by:	Alexander Wittig <alexander@wittig.name>
2006-01-14 13:25:43 +00:00
Sergey Matveychuk
8c2298d950 - Back out the last update. It breaks many ruby ports install.
Reported by:	kris via pointyhat
2005-11-14 09:46:15 +00:00
Sergey Matveychuk
614c684ada bsd.ruby.mk:
- Change LOCALBASE with _RUBY_BASE
- Set _RUBY_BASE=PREFIX if defined _RUBY_PORT_TEST
  _RUBY_BASE=LOCALBASE otherwise for easy ports testing.

lang/ruby18:
- Update to 1.8.3

Grant maintainership to submitter.

While I'm here:
- Add _RUBY_PORT_TEST=yes to lang/ruby16 port too.
  (lang/ruby1[68] must set it for right install).

PR:		ports/87332
Submitted by:	Alexander Novitsky
2005-11-09 08:54:12 +00:00
Sergey Matveychuk
705fca86db - Fix a ruby vulnerabuility in the safe level settings.
Based on:	ports/87816
Submitted by:	Phil Oleson <oz@nixil.net>

Security:	http://vuxml.FreeBSD.org/1daea60a-4719-11da-b5c6-0004614cc33d.html
2005-10-27 19:40:25 +00:00
Florent Thoumie
a9fb6a5b22 - Replace .error with BROKEN.
PR:		ports/68569
Submitted by:	eik
Approved by:	maintainer timeout (almost 1 year)
2005-06-05 23:29:11 +00:00
Akinori MUSHA
870baf2a9a The slippery pthread support for systems prior to 502102 has been
dropped and the lang/ruby16_r and lang/ruby18_r ports have been
removed, since no one seems to appreciate the partially working
solution.

Good news is that the pthread support of lang/ruby18 is now enabled by
default for newer systems, which means the ruby interpreter is linked
with libpthread.  This will allow threaded extension libraries to run
and work properly on those systems.

The --march=cputype flag is disabled because it gets ruby to
malfunction and fail to build.  I don't know if the problem is in
libpthread or in gcc.

(It really makes me wonder if they had actually tested before asking
me to do this somewhat risky change ;-)
2005-02-05 04:59:26 +00:00
Akinori MUSHA
930c34b164 Update lang/ruby18 to the 1.8.2 release. Happy holidays! 2004-12-25 04:28:37 +00:00
Akinori MUSHA
50db8ccf3a Update lang/ruby18 to 1.8.2-preview4.
* Please upgrade sysutils/portupgrade prior to this one, or pkgdb(1)
  may coredump with a double free() problem from a misuse of the DL
  module.  In that case, reinstall sysutils/portupgrade manually.
2004-12-23 20:30:09 +00:00
Akinori MUSHA
e522bb3fe0 Update lang/ruby16 to the latest snapshot as of 2004-07-28, fixing
cgi/session's insecure permissions problem.
2004-08-17 07:10:44 +00:00
Akinori MUSHA
e68b38c1ca Define RUBY_RIDIR and RUBY_SITERIDIR. 2004-08-12 09:45:08 +00:00
Akinori MUSHA
790c513316 Update lang/ruby18 to 1.8.2-preview2. 2004-08-12 08:57:52 +00:00
Akinori MUSHA
11c6011eed Propagate RUBY_VER and RUBY_R through DEPENDS_ARGS. 2004-05-22 18:49:49 +00:00
Akinori MUSHA
dabf5e1b03 Update lang/ruby18 and the bundled modules to the latest 1.8 branch
snapshot as of 2004-05-02.
2004-05-02 20:30:11 +00:00
Akinori MUSHA
da659ff83a Update lang/ruby16 to the latest snapshot as of 2004-04-16, which
fixes getaddrinfo() check failure on KAME.

Requested by:	suz
2004-04-17 19:17:35 +00:00
Akinori MUSHA
f0e1196e4b Add utility variables for ruby-iconv. 2004-03-23 09:03:32 +00:00
Akinori MUSHA
7be480ee5d Change the default version of ruby to 1.8 for i386 as well, finally.
Always put a version suffix to the ruby name (no matter if ruby is the
default version) to avoid mess in future.

[Notes for i386 users]

If you are a ruby developer and still want to stick with ruby 1.6 as
default, please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf.

If you are a ruby developer and want to keep ruby 1.6 as default,
please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf.  Otherwise, please
run the following series of commands to migrate to ruby 1.8:

  1) Reinstall portupgrade manually (and ruby 1.8 will be installed)
	pkg_delete portupgrade-\*
        (cd /usr/ports/sysutils/portupgrade; make install clean)

  2) Reinstall everything that depends on ruby 1.6 (to use ruby 1.8)
	portupgrade -fr lang/ruby16

  3) Reinstall ruby 1.8 (because the previous step kills symlinks)
	portupgrade -f lang/ruby18

  4) Deinstall ruby 1.6 stuff (if you are paranoia)
        pkg_deinstall -ri lang/ruby16
2004-02-26 19:20:09 +00:00
Akinori MUSHA
ba4b7305d5 Update lang/ruby18 to the 1.8.1 final release. Merry Christmas! 2003-12-24 21:08:32 +00:00
Akinori MUSHA
eab7cdca8b Update lang/ruby18 to 1.8.1.p4. 2003-12-22 10:08:34 +00:00
Akinori MUSHA
940b7f1c39 Update lang/ruby18 and lang/ruby16-shim-ruby18 to 1.8.1-preview3. 2003-12-15 06:35:48 +00:00
Akinori MUSHA
9b0614fee9 Set the configure target properly and unbreak packaging for amd64.
It turned out that the configure target does not need to be
overridable but just RUBY_ARCH does for those who are to use a
hand-built interpreter with modules from ports.

Hint given from:	obrien
Approved by:		kris (implicitly), and myself
2003-11-24 12:43:40 +00:00
Akinori MUSHA
2997d721f3 Update lang/ruby16 to the latest snapshot as of 2003-10-15.
This fixes a few bugs in standard libraries.
2003-10-31 19:34:06 +00:00
Akinori MUSHA
b23aecf8c6 Update the ruby 1.8 feature list for the new ruby16-shim-18. 2003-10-31 18:43:43 +00:00
Akinori MUSHA
aaa48e0ef8 Update lang/ruby18 to 1.8.1-preview2. 2003-10-31 12:33:35 +00:00
Akinori MUSHA
2d14ffb42b Update lang/ruby18 to the latest snapshot as of 2003-09-09.
Many bugs have been fixed since the 1.8.0 release. (The diff file is
very big because some big files were moved, sorry)
2003-09-10 07:33:57 +00:00
Akinori MUSHA
59b7a895b7 Fix the problem that RUBY_WITH_PTHREAD is unwantedly nullified for the
*_r ports.

Reported by:	kris, nork, broken make index
2003-08-22 09:25:17 +00:00
Akinori MUSHA
6aa7d2f1ef Nullify RUBY_WITH_PTHREAD for FreeBSD 5.1-RELEASE and later.
I have tested a few modules that worked fine.  I hope such things
as ruby_r will die soon.

For FreeBSD 4.x and prior, ruby_r will forever be needed because
the interpreter (ruby) linked with libc.so crashes when a module
that is (indirectly) linked with libc_r.so, because stdio and stuff
get inconsitent inside of them.
2003-08-21 15:09:44 +00:00
Akinori MUSHA
ba61823a94 Add RUBY18_ONLY to PLIST_SUB. 2003-08-18 03:41:58 +00:00
Akinori MUSHA
7dc653be30 Oops, I forgot to commit this one.
lang/ruby -> lang/ruby16
lang/ruby-devel -> lang/ruby18
2003-08-07 13:21:05 +00:00
Akinori MUSHA
5e302f8074 Set the default version of ruby to 1.8 on amd64. 2003-08-05 12:00:52 +00:00
Akinori MUSHA
a11066cf7b Update lang/ruby-devel to the long-awaited 1.8.0 release. (IA64 and
AMD64 ports still need some more testing and tweaking)

By this update, openssl, webrick and xmlrpc modules are now part of
the standard distribution.

Since this version should no longer be called -devel, I am planning on
repo-moving lang/ruby{,-devel} to lang/ruby{16,18}, respectively.
2003-08-04 11:15:05 +00:00
Akinori MUSHA
460ffc0359 Update lang/ruby-devel to the snapshot as of 2003-06-25 and hopefully
unbreak for alpha and sparc64. (ia64 and amd64 are not supported yet)
2003-06-26 03:25:13 +00:00
Akinori MUSHA
e53d063604 Update lang/ruby-devel to 1.8.0-preview3.
ruby-csv, drb, rexml and yaml are now part of the ruby 1.8 standard
distribution.
2003-06-23 10:16:13 +00:00
Akinori MUSHA
c82c79cfc8 Add the ruby dependency to EXTRACT_DEPENDS and PATCH_DEPENDS as well
as BUILD_DEPENDS.

Submitted by:	olgeni
2003-05-13 19:46:29 +00:00
Akinori MUSHA
40e9f7052c Update lang/ruby, lang/ruby-devel and lang/ruby16-shim-ruby18 to the
latest snapshots as of 2003-04-19.

ruby-bigdecimal (formerly known as ruby-bigfloat) and ruby-zlib are
now part of ruby 1.8.
2003-04-19 15:57:37 +00:00
Akinori MUSHA
4838c30424 ruby-testunit and ruby-runit are now part of ruby 1.8. Do not add
unnecessary dependencies when building with ruby 1.8.

Submitted by:	bento
2003-03-11 07:16:24 +00:00
Akinori MUSHA
57e369771f Update lang/ruby-devel to 1.8.0-preview2. 2003-03-03 16:33:54 +00:00
Akinori MUSHA
3455ccce0e lang/ruby16-shim-ruby18 now includes erb, ipaddr and open-uri too. 2003-02-09 17:38:39 +00:00
Akinori MUSHA
9e0be2a43f Update lang/ruby-devel to the latest snapshot as of 2003.01.28.
Update Oni Guruma to 20030121.

Now that the MAKE_ARGS problem is gone, re-enable MAKE_ARGS for
sparc64.
2003-01-29 09:41:03 +00:00
Akinori MUSHA
55bfdfc21e Update lang/ruby to the latest snapshot as of 2003-01-19, and Oni
Guruma to 2003-01-21.  This update includes a bug fix that exposes
when formatting Bignums, like with ipaddr.rb.
2003-01-25 09:19:14 +00:00
Akinori MUSHA
bfc06b7fc4 Correct the definition of RUBY_PORT when RUBY_DEFAULT_VER=1.8 and
RUBY_VER=1.6.
2003-01-24 04:39:40 +00:00
Akinori MUSHA
c0f1f98958 Set RUBY_DEFAULT_VER to 1.8 on alpha, sparc64 and ia64. Ruby 1.6 has
some unidentified coredumping problems on these platforms and there
will be no more release from the 1.6 branch.
2003-01-11 12:13:05 +00:00
Akinori MUSHA
e5f6fc0027 Update lang/ruby-devel to the latest 1.8 snapshot as of 2003-01-11,
which now supports FreeBSD/sparc64.

Set ONLY_FOR_ARCHS to i386, alpha and sparc64.  Ruby does not support
IA64 yet.  It does not even build or install correctly.  We need some
clue to the IA64 stack structure and handling of the IA64 register
windows.
2003-01-11 10:16:22 +00:00
Akinori MUSHA
507744a717 Turn RUBY_NO_RD_HTML on by default on i386 also and add a RUBY_RD_HTML
option instead.  ftp-master still has the old distfile of ruby-rdtool
before a repack and the checksum mismatch it causes is getting a show
stopper on bento.
2002-12-27 21:39:06 +00:00
Akinori MUSHA
97b20ea392 lang/ruby:
- Update to the 1.6.8 final release. (which fixes a couple of
    coredumping bugs)
  - Update Oni Guruma (alternative BSDL regexp engine) to 20021210.
  - Attach a small knob for debugging.

lang/ruby-devel
  - Update to 1.8.0 preview 1 + errata patch. (fixes a couple of
    coredumping bugs)
  - Update Oni Guruma (alternative BSDL regexp engine) to 20021210.
  - Fix pkg-plist nits.

lang/ruby16-shim-ruby18
  - Update to 1.8.0 preview 1. (sync with 1.6.8 & 1.8.0 preview1)
  - Fix pkg-plist nits.

Approved by:            lioux (and self)
A Merry Christmas to:   all of you
2002-12-24 18:12:20 +00:00
Akinori MUSHA
0d3df60c24 Update lang/ruby to 1.6.8-preview3, lang/ruby16-shim-ruby18 to
1.7.3.2002.12.11, and lang/ruby-devel to 1.7.3-2002.12.12.

- Fix a few bugs that lead to core dump, one in the ruby interpreter
  and another in the syslog module.

  Reported by:	ume (net/dtcp was a victim)

- Fix an installation problem occasionally seen on bento. (a bug in
  Makefile that caused race)

  Submitted by:	bento

- Fix a problem that irb(1) didn't work because the symlink was wrong.

  Submitted by:	Jos Backus <jos@catnook.com>

- Get rid of move & symlink spaghetti completely from the installation
  process.

Discussed with:	portmgr (will)
2002-12-12 12:53:03 +00:00