Commit graph

196 commits

Author SHA1 Message Date
jdolecek
030aad031a merge extension module handling for PHP4 and PHP5 into lang/php/ext.mk,
g/c no longer needed Makefile.module

add support for building extensions off PECL; version for PECL packages
is built as ${PHP_BASE_VERS}.${PECL_VERSION}, i.e. PECL pkg version 1.0
would become php-pkg-4.3.9.1.0 or php-pkg-5.0.2.1.0 respectively
2004-11-06 18:24:40 +00:00
jdolecek
cc35f4ca5e share MESSAGE.module and PLIST.module between php4 and php5 packages, moving
them to lang/php/
2004-11-05 21:40:25 +00:00
jdolecek
7b5228a60f use shared pear package support framework for both php4 & php5; based on
the former php4 version
2004-11-01 19:55:57 +00:00
jdolecek
4e5e307a89 follow rename of php4-* packages to php-* 2004-11-01 19:50:45 +00:00
jdolecek
0ed49ace1f move php4-imap patches into php4/patches and use USE_PHP_EXT_PATCHES 2004-10-31 18:23:24 +00:00
jdolecek
e9aa56d933 change the buildlink3 DEPENDS to php-4.3.* instead of php>=4.3.6, so that
it would not patch php 5.x
2004-10-31 18:20:02 +00:00
jdolecek
6389d55e7e move php4-mysql patch into php4/patches and use USE_PHP_EXT_PATCHES 2004-10-31 17:45:44 +00:00
jdolecek
1ba83c747d add a USE_PHP_EXT_PATCHES, which makes it possible to have and apply only
extension-specific patches from php4/patches/
2004-10-31 17:43:02 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jdolecek
5e5544ddbe Update php4 package to bug-fix release 4.3.9.
Changes since 4.3.8:
* fixes to GPC input processing
* bundled GD extension synced with 2.0.28, re-introducing write support
  for GIF (patent expiration worldwide)
* Implemented periodic PCRE compiled regexp cache cleanup, to avoid memory
  exhaustion
* Fixed strip_tags() to correctly handle '\0' characters.
* Rewritten UNIX and Windows install help files.
* Fixed a file-descriptor leak with phpinfo() and other 'special' URLs.
* Fixed possible crash inside php_shutdown_config().
* Fixed isset crashes on arrays.
* Fixed imagecreatefromstring() crashes with external GD library.
* Fixed fgetcsv() parsing of strings ending with escaped enclosures.
* Fixed overflow in array_slice(), array_splice(), substr(), substr_replace(),
  strspn(), strcspn().
* Fixed '\0' in Authenticate header passed via safe_mode.
* Allow bundled GD to compile against freetype 2.1.2.

All in all this release fixes over 50 bugs that have been discovered
and resolved since the 4.3.8 release.
2004-09-28 12:41:13 +00:00
wiz
c85130d403 AUTOMAKE_REQD should only be set to 1.4 in the few cases where needed,
otherwise the default is better (and the variable doesn't need to be set).
Remove a few cases where it was set unnecessarily.
2004-09-04 23:40:43 +00:00
kim
76e857fe6e phpize calls automake-1.9, so up AUTOMAKE_REQD to match 2004-09-04 23:29:42 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
jlam
b460ce1ab5 Convert to use bsd.options.mk. The relevant options variable to set
for each package can be determined by invoking:

	make show-var VARNAME=PKG_OPTIONS_VAR

The old options are still supported unless the variable named in
PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
2004-07-30 21:05:41 +00:00
jdolecek
7122e3effd Update php4 to 4.3.8.
This is security fix release, fixing several important security
issues. From the ChangeLog:

* Fixed strip_tags() to correctly handle '\0' characters.
* Improved stability during startup when memory_limit is used.
* Replace alloca() with emalloc() for better stack protection.
* Added missing safe_mode checks inside ftok and itpc.
* Fixed bug #28963 Fixed address allocation routine in IMAP extension.
* Fixed bug #28632 Prevent open_basedir bypass via MySQL's LOAD DATA LOCAL.

Note: package update also includes extra patches from PHP CVS not
present in stock PHP 4.3.8 release - compilation fix for
mssql extension and Zend engine memory-use-after-free fix.
2004-07-14 08:03:16 +00:00
jdolecek
a4d88eab37 BUILDLINK_DEPMETHOD.php defaults to full now, so no longer need to override
it for pear packages
2004-07-14 07:06:05 +00:00
jdolecek
50574eddac default to full dependency on php4 - the extension and pear modules don't really
make sense standalone
2004-07-14 06:57:46 +00:00
jdolecek
3dcf7bef4c move the PKGREVISION out of Makefile.common and into Makefile.php,
so that it affects only the core iterpreter packages (php4 and ap-php4);
individual php4-* modules have their own PKGREVISION
2004-07-13 12:34:33 +00:00
jdolecek
2a2f467af2 fix a memory-use-after-free bug in the Zend engine constant code
bump php4 PKGREVISION
2004-07-13 12:22:29 +00:00
jdolecek
e20e6ce14e Update php4 package to 4.3.7.
Change list from release notes:

* Synchronized bundled GD library with GD 2.0.23.
* Fixed a bug that prevented compilation of GD extensions against
  FreeType 2.1.0-2.1.2.
* Fixed thread safety issue with informix connection id.
* Fixed incorrect resolving of relative paths by glob() in windows.
* Fixed mapping of Greek letters to html entities.
* Fixed a bug that caused an on shutdown crash when using PHP with Apache
  2.0.49.
* Fixed a number of crashes inside pgsql, cpdf and gd extensions.

All in all this release fixes over 30 bugs that have been discovered
and resolved since the 4.3.6 release.
2004-07-06 19:52:01 +00:00
wiz
c5d42f3194 Remove trailing tab after PKGREVISION value, which made
lintpkgsrc complain. Closes PR 25648.
2004-05-20 21:12:14 +00:00
junyoung
f206e5abbd Bump PKGREVISION for apache2 crash fix. 2004-05-19 13:11:40 +00:00
cjones
0c2db9f78f Changes to this file didn't go through with the last commit; don't know why. 2004-05-18 18:32:28 +00:00
cjones
ea386960f0 Added this patch from FreeBSD
(ports/lang/php4/files/patch-ext::pcre::php_pcre.c).  Fixes a bug
(described at http://bugs.php.net/bug.php?id=27810) which causes
apache2 to dump core on receiving SIGHUP.

This is supposedly fixed in the next release of PHP.
2004-05-18 18:30:39 +00:00
jdolecek
563b461fa1 fix synopsis for php4-iconv; pointed out by Lubomir Sedlacik
in private e-mail
2004-05-14 21:10:54 +00:00
wiz
c64c02f949 Unused. 2004-05-04 06:31:32 +00:00
lukem
799f96b036 CGI/1.1, as documented at:
http://cgi-spec.golux.com/
mentions SCRIPT_NAME but not SCRIPT_FILENAME.
Support web servers that only supply the former, even though
PHP 4.3 wants the latter to operate as a CGI...
Fixes problem using PHP 4.3 under a variety of non-Apache web servers.
2004-04-30 00:06:42 +00:00
jlam
d15369e7d6 The option is named "PHP4_CONFIGURE_ARGS", not "PHP5_...". 2004-04-26 08:35:22 +00:00
xtraeme
72c95a606e bl3ify 2004-04-24 23:04:24 +00:00
xtraeme
24eb0477c9 bl3ify 2004-04-24 23:03:25 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
jdolecek
13f2532a2e Update PHP4 package and all PHP4 modules to version 4.3.6.
Changes are bug-fixes mostly, but also synchronizes bundled GD
with GD 2.0.22 and updates PCRE to version 4.5. Several NetBSD
patches were integrated too, so future pkgsrc updates would
be even more smooth.

Full list of changes since PHP 4.3.4 is available at:
	http://www.php.net/ChangeLog-4.php#4.3.6
	http://www.php.net/ChangeLog-4.php#4.3.5
2004-04-20 19:19:23 +00:00
jdolecek
11df7b811c don't do pear package-validate after extraction - our SHA1 checksum
check is enough
2004-04-20 18:44:35 +00:00
cube
0db9215609 Introduce USE_SSL build parameter, that pulls in OpenSSL and compiles
support for SSL/TLS connections with PHP.  It is necessary to compile SSL
support in PHP to be able to use TLS-enabled sockets.  The openssl PHP
module does not include that functionality.
2004-04-19 13:09:16 +00:00
jdolecek
b7be5da54f generate the PLIST for Pear packages using a helper PHP script, which
can use directly Pear facilities to acquire the necessary information
2004-04-03 04:39:47 +00:00
jdolecek
19c94f4186 handle also 'doc' and 'test' files, this is necessary for pear-Log 2004-04-02 21:54:49 +00:00
jlam
426cc1ce72 Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+".  This is mandated by the example
buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-29 05:05:32 +00:00
kristerw
4fec4c4c45 Include ../../mk/bsd.prefs.mk to make sure that TR is defined. 2004-03-17 19:07:51 +00:00
danw
c781e5e798 don't use bmake's :tl modifier, so this will work on old NetBSD and
non-NetBSD platforms
2004-03-17 16:32:43 +00:00
jlam
cd5343713c Only create the phpize cookie file if phpize ran with no errors. 2004-03-14 20:07:06 +00:00
jlam
3ebe053d90 LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:49 +00:00
jdolecek
8cb304325c remove the filestat patch, it's no longer needed
bump PKGREVISION for this change
2004-02-14 01:09:42 +00:00
jdolecek
389a704f2c update for removed patches 2004-02-14 00:46:56 +00:00
jdolecek
dff21e3211 no need to add XXXes to mkstemp() call, g/c this patch in an efford
to minimize number of PHP patches in pkgsrc
2004-02-14 00:46:26 +00:00
jdolecek
69b77bc34e g/c, gettext extension module is not built into base php 2004-02-13 20:37:27 +00:00
grant
e3d128293a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:18:32 +00:00
jdolecek
a4bdef33c9 add base PHP4 glue for PHP Pear packages
moved over from pkgsrc-wip, and based on initial work done by
Adrian Portelli of pkgsrc-wip team
2003-12-17 19:02:07 +00:00
cube
c00f2cd215 Prevent php4's Makefile.common from unconditionally overriding
EXTRACT_SUFX.  Also, set php4-apc's EXTRACT_SUFX to .tar.gz since it's the
only one available.
2003-11-16 19:06:46 +00:00
jdolecek
0d0ea1f24e Update PHP to 4.3.4
From release announcemenet:

After a lengthy QA process, PHP 4.3.4 is finally out!
This is a medium size maintenance release, with a fair number of bug fixes.
All users are encouraged to upgrade to 4.3.4.

Bugfix release

PHP 4.3.4 contains, among others, following important fixes, additions
and improvements:
* Fixed disk_total_space() and disk_free_space() under FreeBSD.
* Fixed FastCGI support on Win32.
* Fixed FastCGI being unable to bind to a specific IP.
* Fixed several bugs in mail() implementation on win32.
* Fixed crashes in a number of functions.
* Fixed compile failure on MacOSX 10.3 Panther.
* Over 60 various bug fixes!

For full list of changes in PHP 4.3.4, see ChangeLog:
	http://www.php.net/ChangeLog-4.php#4.3.4
2003-11-08 06:58:10 +00:00
jdolecek
94aa53cd0e use explicit number here rather than ${PHP_BASE_VERS}, so that packages
using the buildlink would get proper version dependency even when not
using php4/Makefile.common
2003-09-29 12:47:38 +00:00
jdolecek
54b1fac52c update comment. pointed out by Todd Vierling on tech-pkg@ 2003-09-05 19:39:52 +00:00
jdolecek
a4e9f390fe add a note that pcre, session and xml are now built into the main PHP4 package
suggested on tech-pkg@
2003-09-05 19:35:16 +00:00
jdolecek
9e0dd36642 add some missing @dirrm's
problem reported and patch provided in PR pkg/22654 by Adrian Portelli
2003-09-01 15:41:45 +00:00
cjep
b42456df51 Add NetBSD RCS tags 2003-09-01 10:17:35 +00:00
martti
08684c3d4c Removed the non-existing patch-aa 2003-09-01 10:16:49 +00:00
jdolecek
64610adcd7 remove for now; I'll confirm whether or not this patch would be necessary later 2003-09-01 08:41:31 +00:00
jdolecek
90c1c1709f Update PHP to final 4.3.3
Some highlights of changes since 4.2.3:
* PCRE updated to 4.3, GD to 2.0.15
* improved Apache2 support
* much improved stream & URL wrapper support, output compression support
* added CLI (Command Line Interface) SAPI
* debug_backtrace() backported from ZendEngine2
* faster build system
* huge number of other bug fixes and improvements

Packaging changes:
* 'pcre', 'xml', and 'session' modules folded back into main package -
  'pcre' and 'xml' is required by PEAR, and 'session' is just too essential
  to be separate
* 'gd' module now uses bundled PHP GD library, which is better integrated
* PHP modules use shared distinfo when possible to ease future PHP updates
* ${PREFIX}/bin/php is now CLI version, ${PREFIX}/libexec/cgi-big/php
  remains CGI version
2003-08-31 19:55:21 +00:00
jdolecek
bac7b53c7f include some additional information about PHP language 2003-08-31 19:00:38 +00:00
grant
64b2703105 improve descriptions of some extensions 2003-08-21 05:55:10 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
grant
098cc5097a use LINK_ALL_LIBGCC_HACK
remove some unneeded parens
2003-06-29 16:30:32 +00:00
cjep
7768c531ee Add NetBSD RCS tags. 2003-06-07 14:37:01 +00:00
epg
a010fb6ceb Teach ap2-perl and ap2-php4 how to find apr's includes. They need to
find this separately now that apr is provided in a separate package.
2003-06-03 19:17:19 +00:00
wiz
6d6fdb9cd1 Let MASTER_SITES be overridden, if a package using this Makefile
fragment really wants to (like php4-apc).
Closes PR 20293 by Soren Jacobsen.
2003-03-22 01:18:20 +00:00
lukem
600b084e41 Fix for wordwrap() buffer overflow, per
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1396
(Patch obtained from RedHat's php-4.2.2-8.0.7.src.rpm.)

Bump PKGREVISION.
2003-02-21 05:39:03 +00:00
jlam
48ead3a5dd Bump PKGREVISION of www/php4 to 1. This fixes a problem reported on
tech-pkg@ where the incorrect libtoolize was being invoked.  We now pass
in the path to libtoolize via the environment, much like how the other
GNU auto* tools are found in pkgsrc.
2003-02-03 23:53:24 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
christos
fdd5cb1cad new patch-aj 2003-01-14 21:39:54 +00:00
christos
967e9831cd make sure that gettext does not core dump on bad params. 2003-01-14 21:39:38 +00:00
christos
d8128632ae update checksum 2003-01-12 14:46:52 +00:00
christos
5070233956 PR/19207, PR/19681, PR/19367: package does not compile because threads
are required for ZTS. Disable ZTS if no threads.
2003-01-12 14:31:58 +00:00
christos
dbef88eab9 PR/18693: Simon Schubert: Remove stat stuff that breaks with apache2 virtual
paths.
2003-01-12 14:29:07 +00:00
jlam
6df0e56b17 Make php4 and ap-php4 actually use our libtool again. 2003-01-08 01:52:41 +00:00
wiz
588dc0cd8d Improve message, as suggested by Daniel Eggert. 2002-12-21 13:39:25 +00:00
tron
a27501212c Backout last change. It makes PHP unusable with Apache 1.3.x. 2002-11-22 20:16:23 +00:00
martti
9ef7dbabf1 - make this work with apache2
- buildlink2
2002-11-05 07:33:13 +00:00
wiz
bff4abaef8 Unused. 2002-10-25 16:58:01 +00:00
martti
a9e061798a Updated php to 4.2.3
* lots of bug fixes
* experimental apache2 support
* added IPv6 support to gethostbyaddr()

ATTENTION!! register_globals defaults to 'off' now
2002-10-14 06:21:05 +00:00
wiz
933435a1e6 Pass in some env. variables for phpize. Reported missing by lukem. 2002-10-05 10:54:12 +00:00
wiz
6aedfe3b0f Make modules use automake.mk. Bump PKGREVISION for phpize change. 2002-10-02 23:48:07 +00:00
agc
cb0e38446b Apply patches from Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18115 to
generalise the linker flags used to export symbols by setting them on
a per-OS basis.

> many packages force -Wl,-export-dynamic which is not portable outside GNU ld
> and cause problems e.g. on Solaris.  some of these packages use if
> conditionals either only for NetBSD or except SunOS, but the state is not
> coherent and it may complicate later when support for new OS is added to
> pkgsrc (e.g. ongoing work on HP-UX support).
>
> jlam proposed the following framework in discussion on tech-pkg:
>
>   http://mail-index.netbsd.org/tech-pkg/2002/06/21/0009.html
>
> now, ${EXPORT_SYMBOLS_LDFLAGS} is used instead of directly defining
> -Wl,-export-dynamic which is set in appropriate defs.*.mk to reasonable
> values.  packages should be converted to this framework by:
>
> 1) replacing LDFLAGS+= -Wl,-export-dynamic and LIBS+= -export-dynamic with:
>
>    LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
>
> 2) for use in patchfiles, add this variable to MAKE_ENV if needed:
>
>    MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS}
>
> 3) replace occurances of -Wl,-export-dynamic and -export-dynamic in patch
>    files with:
>
>    $(EXPORT_SYMBOLS_LDFLAGS)
2002-09-04 14:47:32 +00:00
grant
1debbed618 backout previous, the problem seems to lie with our Apache pkg on Solaris. 2002-08-26 00:42:34 +00:00
grant
4032b2d34c fix configure problem on Solaris while calling apxs. 2002-08-26 00:32:22 +00:00
grant
1073ef32e7 The Solaris linker doesn't understand --export-dynamic, so give this a
chance of working by only passing -Wl,--export-dynamic if we are not
on SunOS.
2002-08-26 00:16:57 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jlam
d9dcf3ad2d Give PHP4 distfile a make variable name. 2002-04-12 17:59:57 +00:00
jlam
f2e9870864 Replace some = with ?= so that the values may be overridden in PHP4 module
package Makefiles.  This fixes breakage in php4-apc noted by Jon Buller
in private e-mail.
2002-03-01 22:51:42 +00:00
jlam
1cc929effe Update php4 and ap-php4 to 4.1.2. Changes from version 4.1.1 include:
- Fixed start up failure when mm save handler is used and there is multiple
  SAPIs are working at the same time. (Yasuo)
- Fixed a buffer overflow in the RFC-1867 file upload code (Stefan)

			<===> SECURITY NOTE <===>

Note that the buffer overflow fix is a major security fix.  Quoting from
the security advisory at:

	http://security.e-matters.de/advisories/012002.html

"PHP supports multipart/form-data POST requests (as described in RFC1867)
known as POST fileuploads. Unfourtunately there are several flaws in the
php_mime_split function that could be used by an attacker to execute
arbitrary code. During our research we found out that not only PHP4 but
also older versions from the PHP3 tree are vulnerable.

[...]

"If you are running PHP 4.0.3 or above one way to workaround these bugs is
to disable the fileupload support within your php.ini (file_uploads = Off).
If you are running php as module keep in mind to restart the webserver.
Anyway you should better install the fixed or a properly patched version to
be safe."
2002-02-28 06:14:45 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
jlam
1f7bfc6d12 Remove references to the example php.ini files. The recommended one is
automatically installed, and the example files are in the obvious place.
2002-01-11 22:27:05 +00:00
jlam
fb596783ba Update www/php4 to 4.1.1. Changes from version 4.1.0 include:
- Fixed bug that caused crashes or error notices on shutdown on threaded
  platforms. (Zeev)
- Fixed bug in gmmktime() which was one hour off during standard time -
  bug #9878. Patch by bfoddy@mediaone.net. (jmoore)
- Fixed a bug where the is_file() family of functions would in-correctly give
  an error when they were given filenames that didn't exist. (Sterling)
- Fixed a bug in the strtotime() function where it was incorrectly recognizing
  GMT +0100 and GMT -0100. (Derick)
2002-01-06 19:57:13 +00:00
jlam
a407f5cb9e Update www/php4 to 4.1.0. Major changes from version 4.0.6 include:
- Introduced a new $_REQUEST array, which includes any GET, POST or COOKIE
  variables.  Like the other new variables, this variable is also available
  regardless of the context.
- Introduced $_GET, $_POST, $_COOKIE, $_SERVER and $_ENV variables, which
  deprecate the old $HTTP_*_VARS arrays.  In addition to be much shorter to
  type - these variables are also available regardless of the scope, and
  there's no need to import them using the 'global' statement.

Other relevant changes include:

- Bug fixes to prevent crashes on unexpected input.
- Huge performance improvements, especially in thread-safe code.
- Introduced extension version numbers.
- Added support for single dimensional SafeArrays and Enumerations.
  Added an is_enum() function to check if a component implements an
  enumeration.
- Improved speed of the serializer/deserializer.
- Floating point numbers are better detected when converting from strings.
- Added import_request_variables(), to allow users to safely import form
  variables to the global scope
- Add config option (always_populate_raw_post_data) which when enabled
  will always populate $HTTP_RAW_POST_DATA regardless of the post mime
  type
- Added getmygid() and safe_mode_gid ini directive to allow safe mode to do
  a gid check instead of a uid check.
- Assigning to a string offset beyond the end of the string now automatically
  increases the string length by padding it with spaces, and performs the
  assignment.
2001-12-31 23:54:24 +00:00
jlam
5725a8578b Missed a PHP_PKG_VERS -> PKGREVISION conversion. 2001-12-11 06:12:44 +00:00
jlam
8cc6055063 Use PKGREVISION to manage the package-specific version number when it
differs from the distfile version number.  G/C some the unused variables
in php4/Makefile.common related to the old way of handling version numbers.
2001-12-03 08:30:58 +00:00
jlam
55ffb37406 bsd.pkg.install.mk calls the INSTALL script at the right times
automatically, so no need to do it ourselves.
2001-12-02 06:56:38 +00:00
jlam
6e896e42e0 Forgot a CONFDIR -> PKG_SYSCONFDIR replacement. 2001-11-26 07:30:44 +00:00
jlam
ffceca11a9 PKG_SYSCONFDIR is where the configuration files for a package may be found.
This value may be customized in various ways:

PKG_SYSCONFBASE is the main config directory under which all package
	configuration files are to be found.

PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the
	configuration files for a particular package may be found.

PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a
	particular package.

Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the
default location of ${PREFIX}/etc.

This obsoletes the use of CONFDIR, which was active for only 6 days, so no
need to have a workaround to still accept old CONFDIR settings.
2001-11-25 18:59:45 +00:00
jlam
b23d2e8626 Adapt to use shared INSTALL/DEINSTALL scripts by using the logic in
bsd.pkg.install.mk:

	* Remove old DEINSTALL/INSTALL scripts.
	* Move some text printed at POST-INSTALL time into the MESSAGE file.
	* Adjust rc.d scripts to respect rc.conf settings, so that the
	  script may be directly copied into /etc/rc.d.
2001-11-19 16:23:08 +00:00
jlam
d42be0e08f Move MESSAGE.module from pkg/ to top-level package directory. 2001-11-01 19:34:52 +00:00
jlam
1ea58d26e3 Change reachover references into another package's pkg/ directory into
references to the other package's base directory.  This is needed after
the files in the pkg/ directory were dispersed into the base directory.
2001-11-01 09:41:13 +00:00