Commit graph

2949 commits

Author SHA1 Message Date
tnn
8629b7a0f5 Fix build on Solaris by including fcntl.h, needed for O_RDONLY definition. 2007-08-08 12:21:14 +00:00
tnn
f32a62ac9e pkg_rolling-replace-0.10:
- Abort if any of rebuild, unsafe_depends, unsafe_depends_strict are still
  set after "make replace".
- Following changes in pkgsrc, does not replace by default if the
  dependencies' ABI is still compatible.
- Add option -s that retains the old behaviour of always replacing.
- Add option -r for "replace only", this supresses creation of binary pkgs.
- The -n option has not been fully updated for these changes.
- versions 0.[7-9] were skipped to avoid any ambiguity from the 0.04 -> 0.5
  transition.
2007-08-08 11:28:04 +00:00
wiz
892e6014df Drop trailing whitespace. 2007-08-07 20:46:43 +00:00
lukem
a6b77a348a No need for PKGREVISION for tnftp-20070806. 2007-08-07 05:05:04 +00:00
tnn
ad86fdd1e5 Update to pkg_rolling-replace-0.6:
- Explicitly unset 'unsafe_depends' and 'rebuild' tags after replacing.
  Needed after changes in pkgsrc/mk/flavor/pkg/replace.mk, fixes PR 36738.
- Introduce ${PKG_ADMIN}, ${PKG_INFO}, ${PKG_CHK} variables instead of
  calling the tools directly by name.
2007-08-06 15:07:56 +00:00
tnn
7b610949fe Use full parameter lists in macros to avoid bogus replacements. 2007-08-05 22:06:11 +00:00
adrianp
0f8a3686bb s//etc/${PKG_SYSCONFDIR}/ 2007-08-05 17:21:50 +00:00
joerg
a40dec8f12 Correctly handle ordering NULL -- this greatly simplifies using it
in iteration functions. Fix a major thinko that prevented the actual
order rules from being used. Bump to 20070804.
2007-08-05 14:58:49 +00:00
joerg
e2a9c6ca63 Don't compare a function name against NULL, master_mode is meant here.
Thanks tnn@.

Reverse the test for extracting the bootstrap kit as the old version
hits set -e error handling.

Bump to pbulk-1.11.
2007-08-05 14:15:55 +00:00
tnn
a3b45d16a1 Do SUBST handling in post-patch instead of pre-configure. This makes
substitution (and any substitution warnings) run before the build starts,
rather than after building libnbcompat. The reason for this is that
libnbcompat is _built_ in the pre-configure stage when in inplace mode.
2007-08-05 12:30:10 +00:00
tnn
b21160e197 Tru64 doesn't have strtoll, but alpha is a pure LP64 platform so we can
just define it to strtol and most consumers of strtoll should be happy.
2007-08-05 11:20:47 +00:00
tnn
917db2d03b Add quotes around sed scripts. 2007-08-05 11:10:11 +00:00
tnn
49bc4064e5 Add some useful comments. 2007-08-05 09:37:19 +00:00
tnn
15823f5d6b No sin_len on digital unix derivatives. (xxx: time for a configure test?) 2007-08-05 09:03:09 +00:00
joerg
b5e9c6cd26 Detect grp.h. Regen. 2007-08-05 01:27:55 +00:00
joerg
f24ae1bb8a Try hard to get 64bit offsets in all modules, fixing misunderstandings
between libarchive and pkg_create e.g. on HP-UX.

Add my copyright to build.c, it is almost completely rewritten.
2007-08-04 12:32:01 +00:00
tnn
5b5761f0b7 Bump version to 20070803 after fixing a crash when generating Tiger hashes 2007-08-03 21:42:04 +00:00
tnn
155170f318 Allocate enough storage space to hold a tiger hash. Corrects a
segfault caused by writing past the end of the buffer.
XXX how do I bump the version of this package?
2007-08-03 17:10:07 +00:00
joerg
73ba3ef5c6 Fix bootstrap issues reported by tnn@ 2007-08-03 15:44:18 +00:00
joerg
46e6de189b The forced disabling of zlib and bzip2 was meant for testing only,
remove it. *blink*
2007-08-03 15:12:43 +00:00
joerg
fb85dba2b4 Bump date for last change. 2007-08-03 13:55:29 +00:00
joerg
199aa00ff5 - only build pkg_admin, pkg_create and pkg_info for --enable-bootstrap
- for pkg_create, split-off the package creation from the plist
  processing. package creation is disabled for --enable-bootstrap
- change package creation to use libarchive
- add two options (-u and -g) to override file system ownership
- pkg_create now creates files in the tarball with correct owner/group
  based on -u/-g or @owner/@group
- add a function to compute the +CONTENTS file in memory

Bump version to 20070802.
Review of a slightly older version by jlam@
2007-08-03 13:15:58 +00:00
tnn
e04e9eecc3 pkg_rolling-replace-0.5:
Redirecting output to /dev/stderr is not portable and will create a
regular file "stderr" if the device does not exist. Instead use the
portable 1>&2 redirection syntax. PKGREVISION was at nb9; get rid of it
and bump minor version number.
2007-08-03 00:55:08 +00:00
wiz
440dab353e regen. 2007-08-02 23:34:08 +00:00
wiz
e22d5fa05f Bump date for fixed paths. 2007-08-02 23:34:00 +00:00
wiz
f9b0a454db Update some paths on ftp.NetBSD.org.
Addresses PR 36721.
2007-08-02 23:30:20 +00:00
joerg
5122a367fd Include inttypes.h if it exists. Fixes issues on OSF/1 as reported
by tnn@.
2007-08-02 13:54:34 +00:00
tron
ef97254c92 Include "bsd.prefs.mk" to avoid error messages from e.g. "pkg_chk".
Fix suggested by Joerg Sonnenberger.
2007-08-02 07:22:31 +00:00
taca
42ca54029b Include <stdint.h> if HAVE_STDINT_H is defined, not HAVE_INTTYPES_H.
Fix build problem on SunOS 5.8.
2007-08-01 23:58:15 +00:00
tnn
c075ccd194 Near full rewrite of posix_headers:
- Implement a simple framework for automated header testing and generation
  using the c preprocessor.
- Make it installable on all platforms. On most platforms it will not install
  any files however.
- Bump revision to 0.5.

The changes should make it easier to add Interix support to this package.
Note that the package is still far from complete; for example the replacement
stdint.h does not yet provide fallback definitions for int_*t and friends
but relies on inttypes.h to provide them, which turns out to work for HPUX.
2007-08-01 21:33:40 +00:00
joerg
f699d716e9 Allow libnbcompat to be used in cross-compiled packages.
Supported-by: Google SoC 2007.
2007-08-01 18:16:38 +00:00
joerg
402a1d0078 Disable CHECK_PERMS here as it is needed for groff onsome platforms. 2007-07-31 14:40:45 +00:00
joerg
f1cd925f5b -Wall is a non-standard flag, don't use it in a bootstrap package.
Bombed out on by xlC.
2007-07-31 13:32:04 +00:00
joerg
0e17f71497 Don't use u_{char,short,int,long} as they are non-standard.
Bump version to 20070731.
2007-07-31 13:17:33 +00:00
joerg
c54865f2f5 Remove a now unused extern declaration. 2007-07-30 10:33:07 +00:00
joerg
ee5d571224 Remove first obstactle in pkg_add for switching to libarchive:
MASTER/SLAVE mode is gone now.

Bump version to 20070730.
2007-07-30 08:09:14 +00:00
joerg
d3a02b798c Don't build a list for a single item, but change the pkg_perform
interface to hand it down directly.
2007-07-30 07:25:10 +00:00
joerg
ba250884a3 Push pkg_perform prototype into the individual packages. 2007-07-30 07:16:21 +00:00
rillig
523896247e + REPLACE_KSH 2007-07-29 18:41:08 +00:00
seb
e40571f70c Specify PKG_DBDIR to pkg_admin and pkg_info via their -K argument
instead of environment. This allows mk/flavor/pkg/resolve-dependencies
to execute '${PKG_ADMIN}': you can encounter this problem
on platforms in need of pkgtools/pkg_install because their native
pkg_* tools are older than PKGTOOLS_REQD, id est NetBSD 2.x and earlier.

Ok'ed joerg@.
2007-07-29 17:39:31 +00:00
adrianp
5ca9237032 Remove redundant SUBST_* from package Makefile
OK'ed joerg@
2007-07-29 14:06:44 +00:00
rillig
474bbf93e4 Added REPLACE_PYTHON to fix a warning reported by gdt. 2007-07-29 01:32:47 +00:00
wiz
581b49d91c Fix two typos, and improve wording. 2007-07-28 07:26:26 +00:00
joerg
315daaa372 As reported by tnn@, the old approach to find the byte order
doesn't work on HP-UX/Itanium. Use the standard approach using
AC_C_BIGENDIAN. Tested by myself on i386, he@ on SPARC and tnn@ on
HP-UX.
2007-07-27 17:08:27 +00:00
tnn
c712efac2d No need to use the -p flag to cp(1) here. 2007-07-27 14:20:20 +00:00
joerg
07eedea6c2 Split bootstrap into two phases:
- phase one builds the essential tools in the bare minimal version
  needed by the infrastructure to run "make install".
- phase two runs "make install" for all the bootstrap packages.

Set WRKOBJDIR for the second phase, we never want to leave garbage
around.

This increases the time for running bootstrap, but gives more
deterministic results. It also means that e.g. configuration files
in pkg_install can be handled normally. It is a prerequirement to
sanely allow pkg_install some more extended work like building
its own libarchive without having to worry too much about limitations
on some platforms.

This fixes the expansion of @gzcat@ in the download-vulnerability-list
script.

Tested by tnn@ on Interix and myself on DragonFly.
2007-07-27 10:43:24 +00:00
joerg
20911999c4 Some people actually watch the pbulk-build client output, so add
a newline after each message. Bump to pbulk-0.10.
2007-07-27 09:59:36 +00:00
abs
d46b3dd8b6 Update pkglint to 4.78:
- lintpkgsrc.pl - less brokenly parse the contents of make conditionals
  like "if empty(FOO)". Specifically handle the case where FOO
  contains a :M modifier or a variable expansion.
  Fixes 'lintpkgsrc -r' incorrectly deleting ruby18-base-1.8.6nb1 each time
  Mmm... lintpkgsrc.pl needs to die
2007-07-26 17:07:59 +00:00
joerg
1b8a4975f6 Thinking again, include bsd.prefs.mk *first* and override CHECK_PERMS
afterwards, the user might have set it.
2007-07-26 12:24:52 +00:00
joerg
2745164118 Skip the permission check for libkver as well to avoid cyclic
dependencies.
2007-07-26 12:24:08 +00:00