summaryrefslogtreecommitdiff
path: root/misc
AgeCommit message (Collapse)AuthorFilesLines
2008-04-04Include curses header for screen configure script when testing tgetenttonnerre4-11/+34
in order to prevent crash on 64-bit architectures. Otherwise the result of termcap/terminfo detection is wrong, causing the infamous "bad format 'p'" messages, or "OOPSOOPSOOPS" when SSHing from MacOS. Fixes PR 33808 Approved-by: joerg
2008-04-04Add and enable new ruby-* packages.jlam1-1/+4
2008-04-04Initial import of ruby18-transaction-simple-1.4.0 asjlam4-0/+56
misc/ruby-transaction-simple. Transaction::Simple provides a generic way to add active transaction support to objects. The transaction methods added by this module will work with most objects, excluding those that cannot be Marshal-ed (bindings, procedure objects, IO instances, or singleton objects).
2008-04-04Initial import of ruby18-launchy-0.3.1 as misc/ruby-launchy.jlam4-0/+51
Launchy is helper class for launching cross-platform applications in a fire and forget manner. There are application concepts (browser, email client, etc.) that are common across all platforms, and they may be launched differently on each platform. Launchy is here to make a common approach to launching external application from within Ruby programs.
2008-04-04Update ruby-gem_plugin to version 0.2.3. Changes from version 0.2.2jlam4-147/+36
include: - Turn into a signed gem.
2008-04-04Update ruby-daemons to version 1.0.10. Changes from version 1.0.8 include:jlam4-29/+63
+ Install as a Ruby gem. - Fixed a severe bug in the new Pid.running? function: function returned true if the process did not exist. - By default, we now delete stray pid-files (i.e. pid-files which result for example from a killed daemon) automatically. This function can be deactivated by passing :keep_pid_files => true as an option. - All pid files of :multiple daemons new get deleted correctly upon exit of the daemons. - Use the signal 'KILL' instead of 'TERM' on Windows platforms. - Use exit! in trap('TERM') instead of exit when option :hard_exit is given. - Did some clarification on the exception log.
2008-04-04Initial import of ruby18-configuration-0.0.5 as misc/ruby-configuration.jlam4-0/+44
configuration.rb provides a mechanism for configuring Ruby programs with Ruby configuration files.
2008-04-02Updated to version 2.18.0.heinz2-8/+7
This update includes changes to adapt to eBay's new bid history page (now encoded in UTF-8). Pkgsrc changes: - none Changes since version 2.17.1: ============================= 2008-04-02 * Fixed bug 1932025: Can't convert price. * Fixed bug 1930772: Can't convert price. 2008-03-16 * Fixed bug 1915400: sign in request during pre-bid. 2008-01-17 * Fixed bug 1869454: Fails with Time ramining: -- (0 seconds). * Fixed bug 1823864: Captcha on bid history. * Fixed bug 1861822: crash parsing watch list. * Fixed bug 1849113: Failed to make bid when using bid assistant 2007-11-22 * Fixed bug 1835531, segfault on bid history. 2007-10-23 * Fixed bug 1818692, get srcId ViewItem when bidding on closed auction.
2008-03-31Set up the shell environment before calling ``gem'' during the extractjlam1-4/+5
phase. Also set TZ to null to prevent timezone differences from affecting the printing of the "date" field during the extraction of the gemspec file.
2008-03-31Update rubygems to 1.1.0. Changes from version 1.0.1 include:jlam12-154/+227
+ Port patches to allow gems to be installed into an "installion root" from 1.0.1nb2. + Rename the --build-root option to --install-root, which more accurately reflects the purpose of the option. + Update rubygem.mk to work with rubygems-1.1.0. + Require 1.1.0 as the minimum rubygems version for the build. + Remove GEM_FORMAT and special code to extract the gemspec file from a gem archive -- `gem spec' can now do it correctly by itself. + Rename various *buildroot* targets to *install-root* to match the name of the `gem' option. * RubyGems now uses persistent connections on index updates and only updates from a latest index by default, cutting candidate gems for updates to roughly 1/4 (at present). Index updates are much faster now. * `gem list -r` may only show the latest version of a gem, add --all to see all gems. * `gem spec` now extracts specifications from .gem files. * `gem query --installed` to aid automation of checking for gems. This update has been tested with the 3 packages in pkgsrc that install using the ``gem'' command: devel/rubyforge misc/ruby-gem_plugin www/mongrel This update has also been tested with the 129 packages in my local tree that install using the ``gem'' command.
2008-03-31Don't mark this package as broken -- it's not.jlam1-3/+1
2008-03-27Use the correct variable name (GEM_CACHEDIR, not GEM_CACHE).jlam1-3/+3
2008-03-27The ``gem'' command doesn't exit with an error if the install fails.jlam1-1/+14
Manually check that the installation actually succeeds or exit with an error so that the pkgsrc make process halts with the proper error code. Suggestion for change by <seb> in private email.
2008-03-25Remove openoffice (1.x branch) packages.wiz79-28590/+1
They have security problems and are not maintained. Removal was announced on pkgsrc-users on March 13.
2008-03-24Restore default setting of PKG_DESTDIR_SUPPORT removed in revisionjlam1-1/+4
1.29. This does the right thing automatically for most gems, and packages that need PKG_DESTDIR_SUPPORT set earlier can set it manually themselves.
2008-03-22Add default value for GEM_FORMAT missing from previous commit.jlam1-1/+4
2008-03-21Update description to be less rambling and more consise.jlam1-8/+6
2008-03-21+ Drop the GEMFILE variable which is completely unused.jlam1-25/+48
+ Add a GEM_SPECFILE variable which points to the gemspec file to use when building using the ``gemspec'' GEM_BUILD method. It defaults to ${WRKDIR}/${DISTNAME}.gemspec. + Add a GEM_FORMAT variable that indicates the archive format of the downloaded gem. Possible are "packed" and "tar" with a default of "tar". "Packed" is the old gem-0.8.x format, while "tar" is the current one. + Make gem-extract a dependency for post-extract, not do-extract. This allows for the usual do-extract actions to take place in the case where EXTRACT_SUFX is not ".gem". Now, if any of the DISTFILES are gems, then gem-extract takes care of all of the extraction, but otherwise, the usual do-extract actions take place. + Use the gem script to unpack the downloaded gem. We still have to manually extract the gemspec file, but at least we make fewer assumptions about the format of the gem.
2008-03-21Remove PKG_DESTDIR_SUPPORT setting from rubygem.mk. Its placement injlam1-4/+1
this file was awkward because PKG_DESTDIR_SUPPORT must be set before the first inclusion of bsd.prefs.mk, which forced rubygem.mk to be included before any other file. Instead, packages which install as Ruby gems should define PKG_DESTDIR_SUPPORT on their own.
2008-03-21Fix CVE-2007-{4770,4771} (sync with upstream by patch-db).hira3-3/+952
Bump PKGREVISION. Pointed out by drochner@ in private e-mail.
2008-03-19+ About half of the gems I've touched have required rubygems>=1.0.1, sojlam1-3/+3
make that the default version required for dependencies. + Same deal for rake>=0.8.1.
2008-03-19+ Move the "install into buildroot" step into the build phase and outjlam1-46/+45
of the install phase. The whole point of "buildroot" was to avoid building anything in the install phase.
2008-03-18Extract the gemspec file before the data.tar.gz so that we avoid anyjlam1-2/+2
possibility of a name collision with a file named "metadata".
2008-03-18Use ${BUILD_TARGET} as the Rakefile task invoked to create the localjlam1-2/+10
gem during the build process. This allows for specifying non-standard tasks used by some Ruby packages. It defaults to "gem".
2008-03-18Fix subtle interaction with DESTDIR during installation -- the Makefilesjlam1-2/+2
generated by mkmf.rb are actually not DESTDIR-safe because the $(DESTDIR) value gets propagated to the rpath. Since we already pass --buildroot to deal with staged installations, explicitly strip out DESTDIR from the environment.
2008-03-18Unify the two clauses in _gem-install-cleanbuild that removed thejlam1-24/+17
intermediate build files. GEM_CLEANBUILD now defaults to "ext/*".
2008-03-18REPLACE_RUBY_DIRS is relative to ${WRKSRC} by default, so shorten thejlam1-2/+2
value a bit.
2008-03-18Installed gems have wrapper scripts that call the right interpreter,jlam1-1/+7
regardless of the #! line at the head of a script, so we can skip the interpreter path check for gems. As a side benefit, the resulting gems are more suitable for distribution to other platforms.
2008-03-17Pass MAKE_ENV to the build process when building the gem from thejlam1-3/+4
unpacked sources. This fixes certain checks for $HOME, $PATH and the like.
2008-03-17+ Include termcap.buildlink3.mk for proper termcap library handling.jlam1-1/+7
+ Note bin/screen as a setuid-root program using SPECIAL_PERMS. Bump the PKGREVISION to 1.
2008-03-16Sort.wiz1-2/+2
2008-03-15Enable NLS.obache2-3/+7
Bump PKGREVISION.
2008-03-14Allow for gem-extract to be overridden so that packages with specialjlam1-1/+3
extraction procedures can be handled by this file.
2008-03-14+ Add an example value for GEM_CLEANBUILD.jlam1-1/+5
2008-03-14+ Minor improvements to documentation.jlam1-10/+10
+ The local gem is not ${GEMFILE}; it's ${GEM_NAME}.gem. The two can be different due to capitalization/case differences.
2008-03-14+ Rename the metadata (gemspec) file to a more sensible name (*.gemspec).jlam1-5/+9
+ Clean up additional unpacked bits (*.sig) files during extraction. + Fix the "cleanbuild" step: + In GEM_CLEANBUILD case, sanity check that the file doesn't exist in the unpacked gem before removing it from the installed gem. + Actually removes unwanted directories.
2008-03-13+ Modify gem-rake-build to find the generated .gem file in the eventjlam1-2/+29
that the Rakefile creates it in a non-standard place. + Create a new variable GEM_CLEANBUILD which is a list of globs for files to remove from the gem installed in the buildroot in the _gem-install-cleanbuild target. This allows for packages with a non-standard gem directory structure (one that has the .c files under ext/).
2008-03-13Rename PLIST.common to PLIST as we just use the standard PLIST mechanismjlam1-1/+1
now.
2008-03-13+ Rename some variables and modify a few definitions so that we matchjlam1-26/+22
the same variables used in rubygem.mk. + Use a GENERATE_PLIST statement instead of manually generating a PLIST_DYNAMIC file. This code is copied from RUBYGEM_GENERATE_PLIST in rubygem.mk. + Use INSTALL_ENV, which is meant to contain the extra environment bits for use during installation.
2008-03-13Most gems need at least rubygems-0.9.4 to work properly.jlam1-2/+2
2008-03-13Whitespacify to be easier on my eyes.jlam1-14/+14
2008-03-13When cleaning out the intermediate build files, be more thorough aboutjlam1-4/+9
looking through the ext/ directory structure. Not all gems are simple.
2008-03-13For brevity, rename the do-gem-* targets to just "gem-*".jlam1-18/+18
2008-03-13Split the do-gem-install target into smaller sub-targets.jlam1-4/+17
2008-03-13+ Add a package-settable variable GEM_BUILD that sets the way thatjlam1-13/+35
the local gem that is installed is built from the extracted sources. The possible values are "gemspec" and "rake", with "rake" being the default. + Change the do-gem-extract target so that it also extracts the gemspec file from the source gem. This gemspec file is used when the "gemspec" GEM_BUILD method is chosen. + Add do-gem-${GEM_BUILD}-targets that build the local gem using the corresponding ${GEM_BUILD} method.
2008-03-12Make RUBYGEM_PKGPREFIX the same as RUBY_PKGPREFIX.jlam1-2/+2
2008-03-12Don't hardcode the package version number into the PLIST -- usejlam1-1/+3
${PKGVERSION} instead.
2008-03-12Skip printing "@dirrm lib/ruby/gems" in the print-PLIST output.jlam1-1/+2
Now, print-PLIST with USE_DESTDIR=full will generate the correct PLISTs for rubygems.
2008-03-12Don't try to remove the intermediate build files unless the ext/ directoryjlam1-9/+10
exists.
2008-03-12+ For print-PLIST, don't output any files or directories injlam1-2/+10
${GEM_DOCDIR} as those are automatically listed by RUBYGEM_GENERATE_PLIST. + Clean up the intermediate build files in the "ext" directory of installed gem by removing everything that's not also in the unpacked gem.