Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
minskim 4fea2b10ec Import ruby-activerecord-4.2.8 as databases/ruby-activerecord42
Notable changes since 3.2:

- Improve ways to write change migrations, making the old up & down
  methods no longer necessary.
- Adds PostgreSQL array type support. Any datatype can be used to
  create an array column, with full migration and schema dumper
  support.
- Add Relation#load to explicitly load the record and return self.
- Model.all now returns an ActiveRecord::Relation, rather than an
  array of records. Use Relation#to_a if you really want an array. In
  some specific cases, this may cause breakage when upgrading.
- Added ActiveRecord::Migration.check_pending! that raises an error if
  migrations are pending.
- Added custom coders support for ActiveRecord::Store.
- mysql and mysql2 connections will set SQL_MODE=STRICT_ALL_TABLES by
  default to avoid silent data loss. This can be disabled by
  specifying strict: false in your database.yml.
- Remove IdentityMap.
- Remove automatic execution of EXPLAIN queries. The option
  active_record.auto_explain_threshold_in_seconds is no longer used
  and should be removed.
- Adds ActiveRecord::NullRelation and ActiveRecord::Relation#none
  implementing the null object pattern for the Relation class.
- Added create_join_table migration helper to create HABTM join
  tables.
- Allows PostgreSQL hstore records to be created.
- Default scopes are no longer overridden by chained conditions.
- Added ActiveRecord::Base.to_param for convenient "pretty" URLs
  derived from a model's attribute or method.
- Added ActiveRecord::Base.no_touching, which allows ignoring touch on
  models.
- Unify boolean type casting for MysqlAdapter and
  Mysql2Adapter. type_cast will return 1 for true and 0 for false.
- .unscope now removes conditions specified in default_scope.
- Added ActiveRecord::QueryMethods#rewhere which will overwrite an
  existing, named where condition.
- Extended ActiveRecord::Base#cache_key to take an optional list of
  timestamp attributes of which the highest will be used.
- Added ActiveRecord::Base#enum for declaring enum attributes where
  the values map to integers in the database, but can be queried by
  name.
- Type cast json values on write, so that the value is consistent with
  reading from the database.
- Type cast hstore values on write, so that the value is consistent
  with reading from the database.
- Make next_migration_number accessible for third party generators.
- Calling update_attributes will now throw an ArgumentError whenever
  it gets a nil argument. More specifically, it will throw an error if
  the argument that it gets passed does not respond to to
  stringify_keys.
- CollectionAssociation#first/#last (e.g. has_many) use a LIMITed
  query to fetch results rather than loading the entire collection.
- inspect on Active Record model classes does not initiate a new
  connection. This means that calling inspect, when the database is
  missing, will no longer raise an exception.
- Removed column restrictions for count, let the database raise if the
  SQL is invalid.
- Rails now automatically detects inverse associations. If you do not
  set the :inverse_of option on the association, then Active Record
  will guess the inverse association based on heuristics.
- Handle aliased attributes in ActiveRecord::Relation. When using
  symbol keys, ActiveRecord will now translate aliased attribute names
  to the actual column name used in the database.
- The ERB in fixture files is no longer evaluated in the context of
  the main object. Helper methods used by multiple fixtures should be
  defined on modules included in
  ActiveRecord::FixtureSet.context_class.
- Don't create or drop the test database if RAILS_ENV is specified
  explicitly.
- Relation no longer has mutator methods like #map! and
  #delete_if. Convert to an Array by calling #to_a before using these
  methods.
- find_in_batches, find_each, Result#each and Enumerable#index_by now
  return an Enumerator that can calculate its size.
- scope, enum and Associations now raise on "dangerous" name
  conflicts.
- second through fifth methods act like the first finder.
- Make touch fire the after_commit and after_rollback callbacks.
- Enable partial indexes for sqlite >= 3.8.0.
- Make change_column_null revertible.
- Added a flag to disable schema dump after migration. This is set to
  false by default in the production environment for new applications.
- SchemaDumper uses force: :cascade on create_table. This makes it
  possible to reload a schema when foreign keys are in place.
- Added a :required option to singular associations, which defines a
  presence validation on the association.
- ActiveRecord::Dirty now detects in-place changes to mutable
  values. Serialized attributes on Active Record models are no longer
  saved when unchanged. This also works with other types such as
  string columns and json columns on PostgreSQL.
- Introduced the db:purge Rake task to empty the database for the
  current environment.
- Introduced ActiveRecord::Base#validate! that raises
  ActiveRecord::RecordInvalid if the record is invalid.
- Introduced validate as an alias for valid?.
- touch now accepts multiple attributes to be touched at once.
- The PostgreSQL adapter now supports the jsonb datatype in PostgreSQL
  9.4+.
- The PostgreSQL and SQLite adapters no longer add a default limit of
  255 characters on string columns.
- Added support for the citext column type in the PostgreSQL adapter.
- Added support for user-created range types in the PostgreSQL
  adapter.
- sqlite3:///some/path now resolves to the absolute system path
  /some/path. For relative paths, use sqlite3:some/path
  instead. (Previously, sqlite3:///some/path resolved to the relative
  path some/path. This behavior was deprecated on Rails 4.1).
- Added support for fractional seconds for MySQL 5.6 and above.
- Added ActiveRecord::Base#pretty_print to pretty print models.
- ActiveRecord::Base#reload now behaves the same as m =
  Model.find(m.id), meaning that it no longer retains the extra
  attributes from custom SELECTs.
- ActiveRecord::Base#reflections now returns a hash with string keys
  instead of symbol keys.
- The references method in migrations now supports a type option for
  specifying the type of the foreign key (e.g. :uuid).
2017-04-21 00:12:19 +00:00
archivers Needs zlib. Use ${INSTALL}. Fix "install" target. Now works on SunOS. 2017-04-20 13:45:52 +00:00
audio Updated libsndfile to 1.0.28. 2017-04-19 13:32:12 +00:00
benchmarks Remove traces of textproc/php-dom which is not needed anymore, now that dom is built into PHP. Bump resp. PKGREVISION. 2017-04-05 12:33:47 +00:00
biology Add missing include. 2017-02-14 21:34:34 +00:00
bootstrap Add instructions on installing required dependencies on Debian & derivatives to 2017-03-06 21:26:01 +00:00
cad Updated cad/gtkwave to 3.3.80 2017-04-09 01:09:03 +00:00
chat Recursive bump for gnutls dependency in libnice. 2017-04-19 13:28:58 +00:00
comms Updated minicom to 2.7.1. 2017-04-18 13:30:57 +00:00
converters Updated py-chardet to 3.0.2. 2017-04-19 17:24:16 +00:00
cross Update to 3.28 2017-03-30 19:21:26 +00:00
databases Import ruby-activerecord-4.2.8 as databases/ruby-activerecord42 2017-04-21 00:12:19 +00:00
devel remove TODO 2017-04-20 22:37:57 +00:00
distfiles
doc Added www/ruby-actionpack42 version 4.2.8 2017-04-20 22:00:33 +00:00
editors Update editors/nano to 2.8.1 2017-04-18 22:06:20 +00:00
emulators Updated mame to 0.184. 2017-04-19 21:10:11 +00:00
filesystems Add BUILD_DEPENDS+= p5-Package-DeprecationManager-[0-9]* for make test 2017-04-18 14:00:57 +00:00
finance Updated gnucash to 2.6.16. 2017-04-05 16:45:47 +00:00
fonts Update to 20170410 2017-04-10 13:23:49 +00:00
games Bump PKGREVISION for previous 2017-04-07 23:34:40 +00:00
geography Add patch missed from the 20170414 update. This caused the build to fail 2017-04-18 16:54:35 +00:00
graphics Drop unnecessary GTK dependency. Bump revision. 2017-04-20 18:07:35 +00:00
ham Updated ham/gnuradio from 3.7.10.1 to 3.7.11 2017-03-15 14:07:12 +00:00
inputmethod Don't rely on GNU sed features. 2017-04-20 13:25:07 +00:00
lang Exclude some bogus symbols from the mapfile on SunOS. It may be that 2017-04-20 12:56:47 +00:00
licenses the Unicode, Inc. license text 2016-11-18 09:23:49 +00:00
mail Requires libiconv. 2017-04-20 13:50:42 +00:00
math Build UTIL part as well. Bump revision. 2017-04-14 17:49:28 +00:00
mbone Convert all occurrences (353 by my count) of 2017-01-19 18:52:01 +00:00
meta-pkgs Remove traces of textproc/php-dom which is not needed anymore, now that dom is built into PHP. Bump resp. PKGREVISION. 2017-04-05 12:33:47 +00:00
misc Reset MAINTAINER after tonnerre resigned. 2017-04-19 11:24:36 +00:00
mk Remove mpeg4ip, unused in pkgsrc, newer version in multimedia/libmp4v2. 2017-04-17 08:48:00 +00:00
multimedia Recursive bump for gnutls dependency in libnice. 2017-04-19 13:28:58 +00:00
net Updated wireshark to 2.2.6. 2017-04-19 18:50:29 +00:00
news Rename mmdf(5) to tin-mmdf(5) to fix conflict with mutt packages. 2017-03-05 12:05:23 +00:00
packages
parallel Changes 3.5.0.2: 2017-04-09 16:43:03 +00:00
pkgtools Drop PKG_REVISION. Should never be set here in first place. 2017-04-20 14:38:40 +00:00
print Ensure pkgsrc libraries can be found. 2017-04-20 09:20:55 +00:00
regress Fixed pkglint warnings. 2016-06-11 11:36:14 +00:00
security Darwin does have sendfile(), but the API differs from ZoneMinder's expectation. 2017-04-20 09:59:39 +00:00
shells Requires libiconv. 2017-04-20 09:12:05 +00:00
sysutils Updated dbus to 1.10.18. 2017-04-19 12:22:09 +00:00
templates Point at the HTML pkgsrc guide, not a plain-text human redirect. 2017-02-04 03:47:47 +00:00
textproc Fix PLIST. 2017-04-20 08:49:49 +00:00
time Updated p5-Time-HiRes to 1.9742. 2017-04-19 13:54:53 +00:00
wm Reset MAINTAINER after tonnerre resigned. 2017-04-19 11:24:36 +00:00
www Add ruby-actionpack42 2017-04-20 22:00:05 +00:00
x11 qt5-qtbase: FreeBSD needs -lutil 2017-04-20 18:38:09 +00:00
Makefile
pkglocate
README Make top dir README a little more helpful. 2017-03-02 09:51:35 +00:00

$NetBSD: README,v 1.19 2017/03/02 09:51:35 maya Exp $

pkgsrc is a framework for building software on UNIX-like systems.

To use, bootstrap using:
% cd pkgsrc/bootstrap/
% ./bootstrap

build packages, use:
% cd pkgsrc/category/package-name
% $PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

Bugs and patches can be filed in the follow link (use category 'pkg'):
https://www.netbsd.org/cgi-bin/sendpr.cgi?gndb=netbsd

To fetch the main CVS repository:
% cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

It's also possible to contribute through pkgsrc wip (work in progress), for
more information, see http://pkgsrc.org/wip/users/

Please see doc/pkgsrc.txt for information.