Commit graph

1053 commits

Author SHA1 Message Date
jlam
7943cdd0f8 Modify autoconf tests so that we'll reliably implement BSD statfs()
using statvfs() on systems that provide it.  I'm assuming that the
SVR4 statvfs() is a standardized call across systems that have it.
This should allow IRIX to build the statfs call into libnbcompat.
2003-09-06 12:21:45 +00:00
wiz
e79d30d493 Update to 3.60: adapt for vulnerability file name change. 2003-09-06 08:52:58 +00:00
jlam
d722e66da4 Ensure that struct option is defined properly before accepting that having
getopt.h implies having getopt_long.  Also Fix checks for setmode, pwcache,
and vis so that if any of a list of functions is missing, then use the
nbcompat versions.
2003-09-06 06:13:46 +00:00
grant
8b31674747 fix missing include of getopt.h by including nbcompat.h. 2003-09-06 04:28:16 +00:00
jlam
bdc7bb06a9 Oops, we're not supposed to convert packages to be able to use pkgviews
yet (BTW, this Just Works for anyone interested).
2003-09-06 01:39:29 +00:00
jlam
def1651b81 nbcompat/sha2.h is no more in libnbcompat-20030830. 2003-09-06 01:37:17 +00:00
jlam
880fe6e4f7 Update pkgtools/libnbcompat to 20030830. Changes from the previous
version are removing sha2* object files from libnbcompat.a.  It turns
out that the functions defined there aren't provided by NetBSD, so it
makes no sense for libnbcompat to define them, and none of the
utilities in pkgsrc that link against libnbcompat actually use these
functions anyway.
2003-09-06 01:35:07 +00:00
jlam
5685de4d03 Add back setmode.c which is still needed on systems that don't have
{get,set}mode() that was accidentally deleted.
2003-09-05 22:19:30 +00:00
jlam
3d58e02200 Make this build using libnbcompat-20030829. Several files from the older
libnbcompat where moved into mtree/files since they logically belong
together (and are that way in the NetBSD src tree).
2003-09-05 18:38:58 +00:00
jlam
60207a145d Update pkgtools/libnbcompat to 20030829. Changes from previous version
include:

    * Move headers out of the global namespace and into the nbcompat
      directory.  Since there are no headers other than nbcompat.h in
      ${PREFIX}/include/libnbcompat, just install it directly in
      ${PREFIX}/include.  Using libnbcompat is now a matter of including
      nbcompat.h at the top of *.c files and linking against -lnbcompat.

    * Only build functions into libnbcompat.a if they aren't already in
      the system libraries.

    * Move several *.[ch] files that are pax- or mtree-specific out
      of libnbcompat (they should belong with those packages).

On NetBSD 1.6 systems, libnbcompat.a now contains just the bare minimum:
the sha2 routines.
2003-09-05 18:35:49 +00:00
grant
5d0b8ba7b7 update mtree to 20030905:
* sync with -current
* fixes for libnbcompat new world order
* autoconf and Makefile cleanup
2003-09-05 04:38:44 +00:00
reed
2bb1f26c0d Improved COMMENT. (Okay'd by grant.) 2003-09-05 03:58:21 +00:00
jlam
fcaad16176 Allow this to compile on systems without vfork by #define'ing it to fork.
This is okay since we just do vfork()/exec() in lib/ftpio.c and don't rely
on any vfork vs. fork semantics.
2003-09-04 20:34:04 +00:00
jlam
4e37479c34 Use AH_TEMPLATE when we use AC_DEFINE so that autoheader can generate the
symbol and comment in nbconfig.h.in for us in the correct place.  The
previous way of using AH_BOTTOM also worked but separated the symbol
definition from the accompanying C comment text, which was a little harder
to maintain.
2003-09-04 20:20:08 +00:00
jlam
a4fd047c90 Update pkgtools/libnbcompat to 20030828. Changes from previous version
include making mkdtemp() return the correct values on systems that use
libnbcompat's mkdtemp.  Fix by jschauma@netbsd.org.
2003-09-04 01:51:15 +00:00
jlam
ee4ef77170 Update pkgtools/libnbcompat to 20030827. Changes from previous version
include only building __fts13.o into libnbcompat.a if the fts_*()
functions aren't present in the system.
2003-09-03 16:38:36 +00:00
jlam
ebb438dccb Put back <sys/vfs.h> lost in last update. 2003-09-03 14:22:57 +00:00
jlam
35ae38a50f Update to pkg_install-20030824. Changes from the previous version include:
* Check for errors in reading from the file descriptor for the ftp
      process, and correct the error messages.

    * Nuke some code for older NetBSDs that's better handled in
      pkgtools/libnbcompat.

    * Don't prevent user from using views other than the default view.
2003-09-03 14:05:59 +00:00
jlam
5fe1f0551a Add and remove some files I forgot to in the last commit. 2003-09-03 13:35:54 +00:00
jlam
deadfb61c8 Add and remove some files I forgot to in the last commit. 2003-09-03 13:35:45 +00:00
jlam
16ddd24bdb Update pkgtools/libnbcompat to 20030826. Changes from previous version:
* Properly declare statfs() and fstatfs() if we use the libnbcompat
      versions.

    * Move some headers into a private directory in the installed
      location so that they don't override headers of the same name
      on the system.

    * Define TAILQ_HEAD_INITIALIZER if it doesn't exist.

    * Add a poll() implementation using select() for poll()-less systems.
      Thanks for Charles Blundell for the implementation!

    * Fix the vis.h check for systems whose vis() is not as featureful
      as NetBSD's.
2003-09-03 13:11:11 +00:00
jlam
8895f41caf Put back several includes lost in the update that should fix builds on
Solaris and Linux.
2003-09-03 12:32:50 +00:00
jlam
f8184589ff Update pkgtools/libnbcompat to 20030825. Changes from version 20030824
are moving the definitions of the TAILQ accessor methods into the top level
of nbcompat.h.  This should fix using nbcompat.h to replace sys/queue.h
on Linux systems.
2003-09-03 07:07:04 +00:00
tron
2016c74f49 Add missing include files. 2003-09-03 06:16:08 +00:00
jlam
5619137743 Actually, extern.h and stat_flags.h are used by pkgtools/mtree.
XXX This should really be done in a different way than installing some
XXX globally-accessible header called "extern.h".
2003-09-03 03:43:45 +00:00
jlam
63ea2414a6 Update pkgtools/libnbcompat to 20030824. Changes from previous version:
* Don't install namespace.h, extern.h and stat_flags.h, which are
      only used internally.

    * Clean up util.h by using '#if !HAVE_xxx' instead of
      '#ifndef !HAVE_xxx', removing some LIST_* definitions that are
      defined by <nbcompat.h>, and removing static declarations.

    * If fparseln is in libutil (as it is in NetBSD), then don't build
      it into libnbcompat.a.
2003-09-03 03:28:23 +00:00
jlam
eecbe2144e Use '#if !HAVE_xxx' instead of '#ifndef HAVE_xxx' to cover cases when
-DHAVE_xxx=0 is set on the command-line.
2003-09-03 01:55:56 +00:00
jlam
c0b994c4c8 We don't need to build cat1 files since they're part of the sources, so
no need to require the text utilities.
2003-09-02 22:34:04 +00:00
jlam
3f78dd5424 libnbcompat/buildlink2.mk does more magic for us, so do less here. 2003-09-02 22:30:46 +00:00
jlam
4ff65f12e6 If the package uses GNU_CONFIGURE, then automatically add the necessary
options to find the headers and libnbcompat.
2003-09-02 22:19:03 +00:00
jlam
287bd97a65 BUILDLINK_LDADD.libnbcompat contains the options to add to the compiler to
link against libnbcompat.
2003-09-02 22:14:51 +00:00
jlam
45dba79b8a The *.0 files belong in $(mandir)/cat1. 2003-09-02 22:06:25 +00:00
seb
94aba904f2 Fix EXTRACT_ONLY. (Johnny please get some sleep :) 2003-09-02 10:41:38 +00:00
grant
aefcbd4ca5 allow this to build on -current after groff update to 1.19. 2003-09-02 09:08:52 +00:00
jlam
5cbadd5e70 Sync to latest pkg_install sources from the HEAD for pkg_delete
optimizations and man page fixes.  Also use recent src2nbcompat to reverse
the order that "config.h" and <nbcompat.h> are included in *.[ch] files.
2003-09-02 08:28:22 +00:00
jlam
e6a9f770c3 Only copy new files into place if they're different from the original file,
modulo $NetBSD$ tag differences.
2003-09-02 08:26:35 +00:00
jlam
df790619d3 Reverse the order that the config.h file and <nbcompat.h> are included,
since the latter has all sorts of checks to make sure we don't stomp on
any macros defined in config.h, but the reverse isn't true.
2003-09-02 08:07:16 +00:00
jlam
b191d33c41 Update pkgtools/x11-links to 0.13. This package now uses buildlink3
to build.  I'm bumping the version number just in case the installed
package is different from version 0.12 (I can't test on different
systems).
2003-09-02 07:14:39 +00:00
jlam
fa35a58150 Solaris needs to include <sys/vfs.h> to get definitions for statvfs(). 2003-09-02 02:05:22 +00:00
jlam
ecf2225023 Older awks don't like gensub() so use sub() instead. 2003-09-02 01:54:39 +00:00
jlam
3319ebf79b We only need to step carefully in the Solaris case for statfs(), but
otherwise we can trust statfs() if it's on the system.
2003-09-02 01:45:14 +00:00
jlam
1714c64e33 Re-add the checks for HAVE_CHFLAGS and HAVE_DBOPEN so that this can build
on systems that don't have either function.
2003-09-02 01:37:04 +00:00
jlam
68343ad3b2 Document the actions taken by the tree-conversion script. 2003-09-01 22:49:42 +00:00
wiz
9ded9e4ce9 Drop trailing space; sort sections; sort SEE ALSO. 2003-09-01 16:51:45 +00:00
wiz
709ef68ba6 Sort SEE ALSO, pkg_view(1) not pkg_views(1). 2003-09-01 16:51:31 +00:00
jlam
2b8f551f54 Update pkg_install to 20030823, which has the changes to support
package views.  Pkgsrc changes include:

* Convert to use pkgtools/libnbcompat so that it's easier to keep
  this in sync with src/usr.sbin/pkg_install.

* Add a src2nbcompat script that converts src/usr.sbin/pkg_install
  into an appropriate start for pkgtools/pkg_install.  The script
  removes the Makefiles, adds CPP inclusion guards around each
  #include <...> line, and includes <nbcompat.h> at the top of each
  *.c file.  This should make it even easier to keep sources in
  sync with the HEAD.
2003-09-01 16:27:07 +00:00
jlam
0c71abea7b Bump version to 20030823:
* Add mkdtemp, TAILQ_*, and statfs.

* Install a nbconfig.h file containing the discovered system information
  and include it directly in nbcompat.h.  Make all files use nbconfig.h
  instead of config.h.  Ensure that all installed headers don't include
  any local header files.  This makes libnbcompat more self-contained.

* Consistently use "#if HAVE_HEADER_H" instead of "#ifdef HAVE_HEADER_H"
  since sometimes people put -DHAVE_HEADER_H=0 on their command lines.
2003-09-01 15:31:14 +00:00
jlam
716e03ab32 Tighten up this file by removing an unnecessary inclusion of bsd.prefs.mk. 2003-08-31 20:22:09 +00:00
jlam
241e4f4fb2 This package is needed to bootstrap pkgsrc, so don't do tools, buildlink,
or run mtree.  Also ensure that we call the pkg_install commands with no
options so that we install properly without recent pkg_install tools.
2003-08-31 12:02:56 +00:00
jlam
80667b1247 Do previous in another way: simply define PKG_ADMIN to be the command that
we want it to be.
2003-08-31 11:55:09 +00:00
jlam
05be31747a Explicitly call pkg_admin(1) using "PKG_DBDIR=... pkg_admin" so that we
don't use any options/flags not supported by pkg_admin that may be a part
of ${PKG_ADMIN}.
2003-08-31 11:11:20 +00:00
jlam
b8762b0a9d Fix whitespace 2003-08-31 11:06:02 +00:00
jlam
8b2c221221 Remove lines that have no effect since they're all conditional on
${OPSYS} == "NetBSD".
2003-08-31 10:55:26 +00:00
wiz
79cf4123e4 Bump date for last; drop trailing space. 2003-08-30 23:17:31 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
jmmv
c51f629e84 Update to 1.9:
- Introduce two new variables, MOUNT_SCRIPT and UMOUNT_SCRIPT, that let the
  user specify a script file run after mounting known filesystems and before
  unmounting them, respectively.  Patch by seb@, thanks!
2003-08-30 21:11:30 +00:00
jlam
2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00
jlam
e760c0d462 Modernize this package a bit:
* Use bsd.pkg.install.mk instead of supplying custom INSTALL/DEINSTALL
  scripts.

* Note that this package doesn't really use buildlink.

* Remove ancient BUILDLINK_DEPENDS= line at the bottom of the file that
  we no longer need since the buildlink1 days of yore.
2003-08-30 11:08:22 +00:00
jlam
f09a76d361 xpkgwedge isn't only for NetBSD. 2003-08-30 10:46:05 +00:00
abs
636c979c40 Update pkglint to 3.59 - handle bsd.pkg.mk's assumption that the caller is in
pkgsrc/some/dir
2003-08-28 14:44:55 +00:00
jmmv
d34c1dce87 Drop advertising clause from UCB licensed code, following changes done in
NetBSD's source files.
2003-08-27 12:25:40 +00:00
jschauma
aa0aa518ac Finally remove support of Mesa 3.4.1 completely as discussed at length
on tech-pkg@ at various times.  This means that regardless of what kind of
GL support comes with X11, if a package depends on GL, Mesa 5.0.1 (or higher)
will be installed into ${LOCALBASE}.

Some troubleshooting after the latest patches by Krister Walfridsson.
2003-08-26 01:43:48 +00:00
seb
8f88970627 Update to version 0.113.
Pkgvi fix: deal with pathnames like `dir-with.a-dot/file-without-dot'
for which the temporary file pathname hold in $tmp ended up as
`dir-with.a-dot/file-without-dot.$$.a-dot/file-without-dot'.
2003-08-23 19:40:18 +00:00
wiz
01c6ba7ddf Add and enable rdigest. 2003-08-07 08:20:52 +00:00
dmcmahill
b2a7d43adf s/netbsd/NetBSD/ 2003-08-03 15:17:51 +00:00
wiz
35cdf1cc65 Add a space in an error message. 2003-08-02 19:51:45 +00:00
jschauma
7fe8dcf6a6 Add the err.h header, so we can use it on systems that don't provide err.h
(functionality already in the library, just the header was missing).
Bumpt date to today.
2003-07-31 22:40:26 +00:00
seb
138aba22b3 Update to version 3.58.
Teach pkglint about new rules related to info files handling.
- remove old checks of PLIST related to install-info.
- emit a FATAL error for "@exec install-info" and similar in PLIST.
- emit a FATAL error for inclusion of texinfo.mk.
2003-07-31 15:13:21 +00:00
grant
e173909669 also install man page source, no version bump as this is not yet in
sync with -current, and no functionality change.
2003-07-31 09:51:00 +00:00
grant
c95c646229 also install man page source, bump to 20030731. 2003-07-31 09:30:27 +00:00
jmmv
12a10361a1 Set USE_PKGINSTALL instead of directly including bsd.pkg.install.mk. 2003-07-30 10:41:22 +00:00
cjep
e1bd9b7063 Respect ${MAKE} so that this works out of the box on non-NetBSD. 2003-07-25 09:24:59 +00:00
wiz
a175673769 Check if HOMEPAGE URL has a trailing slash if it only consists of a hostname.
From Ben Collver in PR 22215.
Bump to 3.57.
2003-07-24 07:54:45 +00:00
atatat
783fa5270c A strange meta-package of a sort, rdigest is implemented as a jumbo
patch to the well-known digest package.  The output is the same for
files, but if rdigest is given a directory as an argument, it will
recursively checksum the directory in such a manner as to:

(1) give a repeatable checksum
(2) with no regard for file ownership
(3) or timestamps
(4) or modes
(5) while taking into account empty files and directories

such that the checksum of an extracted tar file will match the
checksum of the same tree as retrieved via cvs, or two allegedly
matching trees from different cvs servers, etc.
2003-07-24 05:21:04 +00:00
atatat
677c3a74db Fix the usage line. Addresses PR pkg/22207. 2003-07-24 00:27:09 +00:00
martti
8cee801716 COMMENT should start with a capital letter. 2003-07-21 17:10:16 +00:00
seb
e59a7f655d Remove AC_FUNC_MALLOC: there is no need to check for a compatible GNU malloc
as there is no call to malloc(0) in this code.
As a side effect, need to explicitly add a check for <stdlib.h>.
2003-07-20 19:55:01 +00:00
jmmv
73ccb5cd27 Properly set LD_PRELOAD in the environment so libkver works properly.
Pointed out by seb@.
2003-07-20 16:05:04 +00:00
jmmv
4780dff302 Update to 1.8:
- Add the NETBSD_RELEASE variable.  This is used to automatically configure
  pkgtools/libkver inside the chroot so that packages see the right kernel
  version when issuing calls to sysctl(8).  Suggested by seb@.
- Turn on emacs editing mode by default in sh/ksh.
2003-07-20 15:54:46 +00:00
seb
06c5a4ac05 Add support for picking up KVER_OSRELEASE in "/etc/mk.conf": both
when used as standalone sources and -as MAKECONF is set to /dev/null in
MAKE_ENV by bsd.pkg.mk- as package sources.
2003-07-20 15:37:46 +00:00
seb
3acd4bb717 Use english not french! 2003-07-20 13:56:25 +00:00
wiz
04f62f706a Change address of maintainer per PR 22170. 2003-07-19 08:54:23 +00:00
grant
dc2db97466 bump to 20030718 2003-07-19 03:05:39 +00:00
grant
c1356280a6 test for time.h, sys/time.h and inclusion of both.
include system fts.h if we have one, or our own.
2003-07-19 03:05:00 +00:00
jmmv
53663d364d Update to 1.7:
- Added support for audit-packages.  pkg_comp will now automatically setup
  the vulnerabilities file inside the chroot so that pkgsrc can check for
  security flaws before building packages.  See the USE_AUDIT_PACKAGES
  variable in the manpage.
- Added support for gcc3.  pkg_comp will now automatically install the gcc3
  compiler inside the chroot and build all packages using it.  See the
  USE_GCC3 variable in the manpage.
- The new MKCONF_VARS variable lets you add any variable to the generated
  mk.conf file from the configuration file (no need for EXTRAMK in most
  cases).
- Deprecated the removepkgs target.  It was buggy and difficult to adapt to
  the new changes.  removeroot+makeroot should produce the same effect.
- Some code cleanup, specially regarding to template file generation and
  default values for variables.  (See next change item)
- Configuration file semantics have changed.  Variables are now set to their
  default value if they are NOT set in the configuration file.  This changes
  the behaviour of SETS_X11 specially, which needs to be explicitly set to
  "no" to disable X11.
- Fixed shell profile configuration.  Now PS1 is properly set when using the
  "chroot" target.
2003-07-18 12:21:38 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
grant
e43a695067 bump to 20030717 2003-07-17 19:55:06 +00:00
grant
a046577418 don't test for fparseln in libutil for now. 2003-07-17 19:53:54 +00:00
grant
aec55e892f force nbtypes.h to be built, and run ranlib after building the static
archive.
2003-07-17 19:36:43 +00:00
grant
1a0804c285 move stuff from deprecated acconfig.h to configure.ac. 2003-07-17 06:22:32 +00:00
grant
7b5455fa33 pkgvi: create temp files with the same extension as the original, so
editors can pick the right syntax.

bump PKGREVISION to 0.112.
2003-07-16 01:38:26 +00:00
jmmv
c72d103bab Some fixes. 2003-07-15 16:46:09 +00:00
grant
ac5af43e48 do away with AC_CONFIG_SRCDIR 2003-07-15 05:36:03 +00:00
grant
b76a6c0cd6 bump to 20030715 2003-07-15 05:33:33 +00:00
grant
8c13cfdcce fix getopt_long() test to avoid overriding it. 2003-07-15 05:33:04 +00:00
martti
f10364f6cb Updated pkglint to 3.56:
- COMMENTs should start with a capital letter.
2003-07-14 15:36:27 +00:00
wiz
9d33a24492 Add and enable pkg_filecheck. 2003-07-13 16:17:48 +00:00
wiz
e2494da4f7 Initial import of pkg_filecheck, a tool to compare the file system
contents with the package database, reporting files that are in
the file system but not in the package database.
Written by Dieter Baron (dillo@) with man pages from Thomas Klausner (wiz@).
2003-07-13 16:15:34 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
grant
7e82b59baa add some missing periods at the end of sentences
netbsd.org -> NetBSD.org
2003-07-13 06:57:37 +00:00
grant
0fb424ba9a bump to 20030713 2003-07-13 02:36:47 +00:00
grant
394bcaacf9 setenv.c - include strings.h for bcopy prototype
add prototypes for getmode, lchmod, lchown

eliminates implicit declaration warnings building pax and mtree with
Forte compiler on Solaris.
2003-07-13 02:36:17 +00:00
grant
6c0c7208c7 setenv() returns an int, so make it believe that. 2003-07-12 19:43:53 +00:00
dillo
2816ab4961 don't define test target directly, use do-test instead 2003-07-12 13:23:43 +00:00
seb
43f79373d0 Add libkver. 2003-07-11 14:53:00 +00:00
seb
a26ba88462 Initial import of libkver version 0.1 into the NetBSD Packages Colelction.
This package provides a shared library and a replacement for
sysctl(1) (when needed i.e. when the original one is statically linked)
so that the real version numbers and strings of the running NetBSD
kernel as returned by sysctl(3) and uname(3) are overridden by
those fixed during compilation.

This is useful for -among other things- building packages in
sandboxed/chrooted environment for a different NetBSD release than the
system hosting the sandbox/chroot.
2003-07-11 14:50:37 +00:00
seb
20a0f4c061 Use '@SH@' for pkgdiff's interpreter and substitute for it.
SH is /bin/ksh on Solaris, this gives us a working pkgdiff on Solaris.
2003-07-07 12:55:16 +00:00
grant
fdcd21c7e4 update to 20030706. sync with -current:
----------------------------
revision 1.59
date: 2003/07/04 14:14:10;  author: lukem;  state: Exp;  lines: +1 -7
Revert previous; the "return" if rc.subr had already loaded had issues
in some circumstances where run_rc_script()'s sourcing of an rc.d file
which then sourced rc.subr, the `optimisation' in rc.subr to "return as
we're already loaded" would finish more than just the inner-most sourcing.
I haven't tracked down the exact issue, but removing the `optimisation'
fixes the problem I noticed in starting up certain rc.d scripts, and
may fix [bin/22053] as well.
2003-07-06 20:40:34 +00:00
grant
3c1af0cf0b remove (now) inaccurate comment, as digest isn't statically linked.
also mention it does sha256, sha384 and sha512, too.
2003-07-06 19:08:00 +00:00
grant
dc19bd61f1 test for getmode(), setmode(), isblank(), strmode(), tzfile.h.
bump to 20030630.
2003-06-30 15:54:19 +00:00
grant
e5f742fbf2 bump to 20030630 2003-06-30 15:18:02 +00:00
grant
0bdef15848 s/#if !/#ifndef/, since the former confuses some C pre-processors 2003-06-30 15:14:46 +00:00
grant
d0b0537213 fix rcsid 2003-06-30 15:13:17 +00:00
grant
79aba7a3d8 remove config.h in distclean target, not clean. 2003-06-30 14:48:00 +00:00
jschauma
89e1b65bc9 Add BUILDLINK_FILES for IRIX64. 2003-06-29 18:32:45 +00:00
grant
ba4e3cdfa5 update to 20030627. sync with -current:
----------------------------
revision 1.58
date: 2003/06/27 05:01:21;  author: lukem;  state: Exp;  lines: +7 -1
If _rc_subr_loaded=true, "return" immediately, otherwise set that var
and continue as normal.
Gains ~ 2 seconds on 110 runs of ". rc.subr" on a shark.
Suggested by Andrew Cagney in [bin/18400]
----------------------------
revision 1.57
date: 2003/06/27 04:06:01;  author: lukem;  state: Exp;  lines: +2 -2
run_rc_command(): when checking if ${command} exists before executing it,
be sure to check under ${name_chroot} (if set).
Fix from Ed Ravin in [bin/18523]
----------------------------
revision 1.56
date: 2003/06/03 14:00:45;  author: christos;  state: Exp;  lines: +4 -4
Use more concise shell syntax:
1. for i in $* -> for i
2. foo=$* -> foo="$@"
2003-06-28 07:15:27 +00:00
jschauma
efd2c1e98a Synch with basesrc:
Quote % characters in macro lines.
2003-06-26 15:12:07 +00:00
jschauma
7a025a99c3 Synch with basesrc:
deleting as non-root works fine, so don't insist on running as root
2003-06-26 00:29:01 +00:00
jschauma
0e81cc9882 Make pax compile on Irix by including pwcache.h, which now includes
forward declarations of the uid_from_user functions.
2003-06-24 14:09:21 +00:00
grant
47276e6a4b add prototype for isblank() to avoid implicit declaration
add RCS Id
2003-06-24 06:22:23 +00:00
grant
fc4ac99b0b not all systems define all of the time related constants we
need in tzfile.h, avoid redefinition warnings.
2003-06-23 13:15:59 +00:00
atatat
0d6688542d Only need to #include <digest-types.h> once. Discovered during sync
with bootstrap-pkgsrc/digest.
2003-06-23 13:12:53 +00:00
grant
dee7f2ff36 remove old pax package (moved to archivers/pax). 2003-06-23 11:49:51 +00:00
grant
6c5b7cfc7a add getopt, getopt_long.
include tzfile.h and sys/mkdev.h in nbcompat.h.

bump to 20030622.
2003-06-23 11:33:06 +00:00
grant
5d281c2397 Allow this to work on Linux (at least Slackware 8.1). 2003-06-23 07:03:49 +00:00
grant
a850c7421b no need for defaults/rc.conf.
minor whitespace fix.

bump to 20030622.
2003-06-23 07:02:16 +00:00
grant
9944d71427 add rc.subr 2003-06-19 16:09:20 +00:00
grant
b4e9a3b74b Initial import of rc.subr into The NetBSD Packages Collection.
This package allows you to use rc.subr-style rc scripts (such as
those included in pkgsrc) on other operating systems.
2003-06-19 16:07:10 +00:00
tron
e14347c304 Fix a bug which caused "pkg_chk" not to check all packages on system with
many (>500) packages installed. Bump package version to 1.39.
2003-06-19 13:37:00 +00:00
wiz
b610990e48 Add and enable pkg_install-info. 2003-06-19 08:36:38 +00:00
abs
7bfbddf260 Update pkgchk to 1.38:
Handle 'PKGPATH=' and 'PKGPATH= ' in pkg_info -B.
    From Marc Recht in PR pkg/21895
2003-06-18 08:58:12 +00:00
seb
4f5d385691 Redde Caesari quae sunt Caesaris... 2003-06-16 16:11:35 +00:00
atatat
49758757d0 A function that is declared to return an int *really ought to do do*.
I expect that since all possible code paths through this function did,
as their last step, an assignment of what was to be the return value,
that the registers somehow ended up nicely arranged after we fell out
of the bottom of the function.

But it's still better just to return a value.
2003-06-16 13:35:22 +00:00
abs
d4ad1db230 Update pkgchk to 1.37:
Run 'make update' with 'CLEANDEPENDS=yes' to clean up after us as we go
2003-06-16 11:52:52 +00:00
abs
0083a17975 Update pkglint to 3.55:
- In lintpkgsrc check for invalid PKGREVISION, and handle PKGREVISION=0
2003-06-15 22:19:46 +00:00
atatat
99b76b3894 Reword the guts of digest so that the entry points into the various
hashes (fooInit(), fooUpdate(), fooFinal(), and fooFile()) are in the
array of structs that list the digests we support.

This makes the code somewhat simpler, easier to patch, and makes it
much easier to add new algorithms.

Note that since this *only* changes the inner workings of the digest
program, we don't need to touch the version number.

Approved (finally) by agc.  :)
2003-06-15 00:42:29 +00:00
atatat
af2afefc25 Add support to pkgdiff for the environment variable PKGDIFF_FMT. This
allows you to get context style or plain diffs from mkpatches or
pkgdiff, instead of the default unified format.

Sometimes it's very nice to be able to look at a different diff
format.
2003-06-14 19:12:40 +00:00
jschauma
61c1a50ff1 Use ${MAKE}, too. 2003-06-12 15:34:38 +00:00
jschauma
d9b7f763cf Initial buildlink2 for X under IRIX.
XSgi is based on Release 6 of the X Consortium distribution, but it also
has a whole bunch of symlinks into Motif libraries and headers.

When installing the links, grab the right ABI.
2003-06-12 15:29:52 +00:00
seb
ed63d13051 GNU TeXinfo's gettext.h unconditionally include locale.h when
__sun is defined by cpp. Hence the build was quite broken
on Solaris.

Fix by adding configure bits to check for locale.h, setlocale() and
LC_MESSAGES.

Build is now ok on Solaris 9 and Solaris 8.

Bump PKGREVISION.
2003-06-10 20:20:39 +00:00
wiz
783c331c9e Update to 1.110: make grep only match closed CVS tags (including the
second $).
2003-06-10 12:47:32 +00:00
seb
89b631a159 Darwin 5.5 does not have getopt.h (says schmonz@, thanks for the report).
Fix this once for all the way GNU TeXinfo does it: provide GNU
getopt* sources and unconditionally compile them!

Bump PKGREVISION.
2003-06-10 07:02:11 +00:00
grant
d37b862505 use wildward for installed header files rather than listing each
individually.
2003-06-10 06:35:27 +00:00
grant
a6d4a8363a protect against multiple inclusion 2003-06-10 06:33:24 +00:00
grant
f332b2a802 test for both getmode() and setmode(). 2003-06-10 05:59:16 +00:00
seb
6710fd35f2 Initial import of pkg_install-info version 4.5 into the NetBSD Packages
Collection.

This package provides a standalone GNU install-info utility.
2003-06-09 22:16:10 +00:00
grant
7ea7d74ab1 regen after bumping date 2003-06-09 17:21:15 +00:00
grant
09187eb341 add isblank() and strmode().
bump to 20030609.
2003-06-09 17:19:48 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
cjep
52fdfc8be7 Whitespace police 2003-05-31 17:51:01 +00:00