summaryrefslogtreecommitdiff
path: root/misc
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-03-12+ By default, support user-destdir installation as the gem installationjlam1-12/+35
process makes that easily possible. + Use ${EXTRACTOR} to manually unpack the gem file. + Change the do-gem-install target to initially build and install the gem into a buildroot, ${WRKDIR}/.inst, then to copy the files from the buildroot into the final install location, ${DESTDIR}${PREFIX}. XXX We still need to find some way to remove the intermediate build XXX files, e.g. *.o object files, from the buildroot before copying XXX to the final location.
2008-03-12Fix bug in the interaction between --build-root and --remote noted in:jlam3-6/+25
http://rubyforge.org/pipermail/rubygems-developers/2006-June/002010.html If --build-root is specified, then any remote gems are now downloaded into the "cache" directory under the buildroot. Bump PKGREVISION to 2.
2008-03-12+ Improve the documentation in the header of the rubygem.mk file.jlam1-25/+72
+ Add a build dependency on rake, which is used to build a new gem file. Define RAKE to be the path to the installed rake binary. + Add "ruby" as a package category by default. + Define MASTER_SITES to a default value pointing to the main remote gem repository: http://gems.rubyforge.net/gems/. + Add a "do-gem-extract" target that extracts the files from the downloaded gem and into ${WRKSRC}. This allows us to patch or otherwise manipulate the files that are part of the gem that is to be installed. + Add a "do-gem-build" target that builds a new local gem from the contents of ${WRKSRC} using the provided Rakefile. This local gem which contains all pkgsrc modifications will be the one installed on the system. + Modify "do-gem-install" target to install from the new local gem created by the "do-gem-build" target. XXX The do-gem-install target still needs to use the new --buildroot XXX option to allow DESTDIR-style installations.
2008-03-11+ We need rubygems>=1.0.1nb1 (which has the OpenSuSE buildroot patch)jlam1-27/+30
for building and installing the gems, but we can use older rubygems at run-time. + Move GEMFILE definition ahead of EXTRACT_SUFX just as a style issue. This looks more like a normal package Makefile layout. + Rename GEMS_BASEDIR to GEM_HOME, which is the actual rubygems variable name for that directory. + Rename some variables to be more in line with other ruby variable names: GEM_LIB_DIR => GEM_LIBDIR GEM_DOC_DIR => GEM_DOCDIR + Set RUBYGEM_PKGPREFIX to ${RUBY_PKGPREFIX}-gem for now. We know that at least we don't want ruby packages to prefix with "rubygems". + Just use EVAL_PREFIX instead of directly using find-prefix.mk.
2008-03-11As discussed on tech-pkg@ add a Makefile fragment intended to helpseb1-0/+87
packaging RubyGems. Its functionality is somewhat limited for now but will be without doubt improved and refactored in the very near future.
2008-03-10update xscreensaver to 5.05drochner2-3/+11
changes: -added, updated and improved hacks -bugfixes -Reworked PAM code to support fingerprint readers, etc. -Minor tweaks for compilation on MacOS 10.5.0
2008-03-09Add misc/dvtm, biology/mopac, emulators/yabause.tnn1-1/+2
2008-03-09Import dvtm-0.4 as pkgsrc/misc/dvtm.tnn6-0/+81
dvtm brings the concept of tiling window management, popularized by X11-window managers like dwm to the console. As a console window manager it tries to make it easy to work with multiple console based programs like vim, mutt, cmus or irssi. Packaged by Leonardo Taccari in pkgsrc-wip.
2008-03-09DESTDIR support.joerg1-9/+10
2008-03-08Changed version to match upstream. (From 2.0 to real "2".)reed1-2/+2
2008-03-08Don't hardcode "1.8" in the GEM_SUBDIR -- use ${RUBY_VER_DIR} instead.jlam1-2/+2
2008-03-08Update dtach to 0.8.obache2-6/+6
Patch provided by MAINTAINER, Francis GUDIN. The changes in version 0.8 are: - When using dtach -A or dtach -c, the master will now wait until the client attaches before trying to read from the program being executed. This avoids a race condition when the program prints something and exits before the client can attach itself. - Instead of exiting quietly, dtach will now report any errors that occur while trying to execute the program. - dtach -n can now be used without a terminal. - dtach -A will now try to detect and remove stale sockets. - Removed a Linux-specific escape sequence from the code that restores the original terminal settings. - Changed dtach.1 to use \- for the dashes in command line options, and fix an ambiguous backslash. - Use non-blocking mode in the master process, and avoid data loss by ensuring that at least one attaching client succesfully completes a write. - Fix -e ^<char> to work with lowercase characters.
2008-03-08Add new package.reed1-1/+2
2008-03-08+ Add patches by Marcus Rueckert for destdir-style installation of gems.jlam9-860/+187
Patches from the OpenSuSE rubygems-1.0.1 src rpm. + Support user-destdir installation. + Dynamically generate the entire portion of the PLIST that corresponds to the documentation generated by rubygem at install-time. Bump the PKGREVISION to 1.
2008-03-07Import new package: linux-words (from pkgsrc-wip).reed4-0/+48
This is a word list containing over 45000 words. This list is suitable for English language spelling checkers, libcrack, and as a target for look(1). This is linux.words.2, compiled by Rik Faith on Oct 10, 1993.
2008-03-07Remove now unused goffice package.wiz7-484/+1
2008-03-07Remove now unused goffice0.2.wiz11-523/+1
2008-03-07Update to 0.6.2:wiz4-25/+11
goffice 0.6.2: Jean: * Set Length to 0 for invalid series in 1.5d plots. Fixes #514642. Morten: * Fix memory handling for 1.5d plots. Fixes #517995.