Commit graph

3687 commits

Author SHA1 Message Date
wiz
290a2cb7f2 Fix documentation -- dewey_cmp and dewey_match texts were swapped.
Noted and patch provided by Mihai Chelaru.

Bump version to 1.1.
2009-03-07 01:44:50 +00:00
tnn
5d68b98b8d joergs says the problem is with &&, so revert to revision 1.4 which should
be safe everywhere.
2009-03-06 15:53:21 +00:00
joerg
0e85145c05 Add explicit cast to silence GCC on comparing different signs. 2009-03-06 15:21:17 +00:00
joerg
4778d3c99e Merge lib/dewey.c rev 1.11 from pkg_install:
Avoid sign comparision issues.
2009-03-06 15:19:04 +00:00
joerg
2901543f5b Avoid sign comparision issues. 2009-03-06 15:18:42 +00:00
tnn
83c08423d2 fix previous:
actually, if our /bin/sh has some bug related to set -e,
it's better to write the test with if-then-fi instead.
2009-03-06 13:05:21 +00:00
tnn
2c965309de Invert logic of the package timestamp check, as at least ksh and bash
terminate the shell due to "set -e" when the [ ... ] part is false.
This behaviour seems correct to me, but I can't explain why this code
doesn't fail with our /bin/sh.
2009-03-06 13:00:29 +00:00
joerg
fbb7f3e773 Explicitly build local libarchive without ACL support, I don't want to
get into the mess of needing to figure out linkage on Linux.
2009-03-04 19:47:20 +00:00
hasso
78eb8fd89a Needs msgfmt. 2009-03-04 17:00:37 +00:00
joerg
9eb91efbb3 pkg_install-20090302:
Add new option -r to pkg_info, which works like -R, but expands it
recursively.
2009-03-02 17:13:49 +00:00
joerg
35f74daf9a Remove a close(-1) as hinted by wiz. 2009-03-02 15:30:45 +00:00
joerg
9b9d6a3ce9 Be nice to stupid version of TAILQ_INSERT_TAIL on Linux, that doesn't
create a block context.
2009-03-02 15:15:06 +00:00
joerg
af07339813 pkg_install-20090301:
Plug a number of file descriptor leaks.
2009-03-02 14:59:14 +00:00
joerg
89f19b4095 libnbcompat-20090302:
Add TAILQ_LAST.
2009-03-02 13:54:55 +00:00
wiz
1bb6451a10 regen 2009-02-28 16:25:46 +00:00
wiz
1f3593dd09 Fix typo. 2009-02-28 16:20:50 +00:00
wiz
f629212fdd Remove trailing whitespace. 2009-02-28 16:19:17 +00:00
joerg
5bdcb8f520 pkg_install-20090228:
Integrate the PKG_PATH logic for tightly with the find_archive logic:
- remember initial current working directory from the time PKG_PATH is
  processed, it will be used as reference for all relative entries
- remove now redundant fchdir dance in pkg_add
- pass down to find_archive if this is a top-level package (e.g.
  requested on the command line) or not; the location of top-level
  packages is searched for packages first and for URLs or path names the
  PKG_PATH itself is not processed (e.g. pkg_add foo/bar not look into
  PKG_PATH for bar). This addresses PR 33884 in a different way.
- document the rules for finding packages more explicitly
- allow specifying PKG_PATH in pkg_install.conf as well; environment
  takes precendence.
- remove PKG_PATH related logic in pkg_info(1), it doesn't deal with
  PKG_PATH anyway
- remove PKG_PATH, PKG_TMPDIR and TMPDIR description in pkg_info(1),
  they are no longer used
2009-02-28 16:03:56 +00:00
joerg
f9a9823e92 When checking for explicit conflicts, skip the old version checkif no
old version exists (e.g. because this is not an update).
Reported by Thomas Klausner.
2009-02-27 19:34:12 +00:00
joerg
f01efe1be7 Provide TAILQ_FOREACH_SAFE if it is missing. 2009-02-26 16:14:18 +00:00
joerg
816c3045cd pkg_install-20090226:
Always try to preserve the +PRESERVE file from the old package, even
when the new one has one as well. This fixes the update case for the
special case of pkg_install itself as reported by tron@.
2009-02-26 12:52:43 +00:00
wiz
108d0702df Recognize groff-1.20.1 on Linux.
From Stathis Kamperis on pkgsrc-users.

Bump version.
2009-02-26 07:05:10 +00:00
joerg
afe5fbacdd Be silent if querying a variable and no installed information exists.
"pkg_info -Q automatic foo" should not bitch.
2009-02-25 20:52:10 +00:00
joerg
f774c82b95 Include sys/poll.h and poll.h directly if they exist.
nbcompat/poll.h conflicts with the system header on Solaris
and is implicitly included by nbcompat.h already, if needed.
Fixes PR 40756.
2009-02-25 19:31:53 +00:00
wiz
e6bba895cc Bump date for previous. Remove trailing whitespace. 2009-02-25 16:57:51 +00:00
joerg
7fc8fb8212 pkg_install-20090225:
Rewrite pkg_delete to expand the list of packages to delete first and
reorder it if necessary. It will bail out if it knows in advance that it
can't remove a package. It will also fail for errors while removing one
package, unless forced. Add an option to remove automatically installed
packages that are no longer used.

The pkgviews support is kept, but untested. The error handling for
pkgviews most of all is as weak as before.

Basic review from hubertf@, man page changes by bad@.
2009-02-25 16:29:08 +00:00
joerg
2939cc9d49 Fix markup. From Tim Zingelman. 2009-02-25 15:19:00 +00:00
abs
dbeaf82136 Updated pkgtools/pkg_chk to 1.97
Fix PR 36641 - pkg_chk -g requires pkgsrc source tree, from Aleksey Cheusov.
2009-02-21 20:50:06 +00:00
wiz
9cf0bcd52a Sort options in usage. Break lines appropriately. 2009-02-20 07:50:15 +00:00
wiz
c7d27eda6c Use more and better markup.
Add EXIT STATUS section.
Sort options and their descriptions.
2009-02-20 07:46:15 +00:00
wiz
b6c7ef8f10 Use more and more proper markup.
New sentence, new line.
Add EXIT STATUS section.
Sort options and their descriptions.
Bump date for previous.
2009-02-20 07:41:15 +00:00
dmcmahill
7037193a4e Update to cdpack-1.9. This version teaches cdpack how to add packages
ending in .tbz as well as .tgz.  Should address the problem reported
in PR pkg/40515.  I am explicitly not using the mk.conf settings
for PKG_SUFX though because at run time we may or may not have a valid
mk.conf on hand that corresponds to how the packages were built.
2009-02-20 05:16:51 +00:00
joerg
f0209f8ffe Make sure that SYSCONFDIR is expanded in pkg_install.conf(5). 2009-02-19 20:27:36 +00:00
wiz
b0396c17a1 Some minor improvements. 2009-02-19 09:41:39 +00:00
abs
44dc2856b0 Fix PR 40151 - bootstrap of pkgsrc fails on Ubuntu 8.10
- At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
  which means (void)fwrite(...) will *always* generate a warning, so
  set -Wno-error to bypass this in Linux.sys.mk
- Ubuntu 8.1 also jumps through hoops to ensure ARG_MAX is *undefined*, so
  work around this in tnftp and libnbcompat
2009-02-19 00:51:12 +00:00
imil
ac431e9fa5 Updated pkg_notify to 0.4.3
Changes since 0.4.2:
- added -c list-file (seb@)
- no more MASTER_SITES, using files/ instead
- removed README in favor of a man page
- corrected pkglint(1) warning about multi-line SUBST_SED

OK'd by cube@
2009-02-18 21:23:21 +00:00
joerg
5ff23c6137 bootstrap-mk-files-20090217:
Don't leak the unprivileged user for USE_DESTDIR=full.
2009-02-17 17:08:13 +00:00
joerg
fa27df019a Improve support for ancient OpenSSL releases. 2009-02-16 20:59:11 +00:00
joerg
3fe7d4b4fb Point to the various commands of pkg_admin that replace audit-packages,
not just fetch-pkg-vulnerabilities. Suggested by David Holland.
2009-02-15 18:20:32 +00:00
wiz
cbc999f306 Avoid installing files to /lib/udev.
Sort PLIST, and remove share/examples/packagekit.
Bump PKGREVISION for last.
2009-02-15 16:44:20 +00:00
joerg
bc8a5758f1 Ignore CHECK_INTERPRETER for two scripts likely not used on !Linux.
From a private discussion with jmcneill.
Mark as destdir safe.
2009-02-14 18:51:36 +00:00
joerg
d64aadd1db Tag as pkg_install-20090214 in preparation for updating NetBSD current. 2009-02-14 17:08:05 +00:00
rillig
f01f63d281 Remind the package developers that AUTO_MKDIRS is more convenient than
using the INSTALL_*_DIR commands or the INSTALLATION_DIRS variable.
Suggested by abs@ on tech-pkg@.
2009-02-14 10:42:20 +00:00
obache
55b26be751 Need to define SSL_SUPPORT before using it :) 2009-02-14 03:02:58 +00:00
joerg
09b6362c0a Explicitly pull in crypto if building with ssl option. 2009-02-13 14:13:58 +00:00
joerg
03c3a41d9e Explicitly check that the conflicting package is not the one we want to
remove for update; mysql-client has a pattern that matching itself.
Reported by Obata Akio.
2009-02-13 13:19:12 +00:00
joerg
e0011104f7 Non-matching signature file name is not an hard error, so return 1. 2009-02-13 13:17:41 +00:00
joerg
d5294c7411 Close the archive on fatal errors during signature validation. This can
happen e.g. if pkg_add finds a directory with that name.
Remove a bunch of HAVE_SSL conditionals that no longer apply as GPG
support is back in.
2009-02-13 11:21:07 +00:00
joerg
643788189c pkg_install-20090213:
Fix pkg_delete -d:
- ignore @dirrm commands, directories are removed already on demand
- use local copy of dir before changing it, the caller expects it
unmodified for the call to pkgdb_remove
2009-02-13 01:31:42 +00:00
joerg
d66a067120 Fix setting of PKG_METADATA_DIR. 2009-02-12 22:23:06 +00:00
joerg
601eb83a16 Don't check for tgetent or curses, it is never used. 2009-02-12 00:14:48 +00:00
joerg
f6da77786c Don't segfault if running pkg_info on a binary package without
+BUILD_INFO (or installed without +INSTALLED_INFO). Second half of
PR 30276.
2009-02-11 23:51:30 +00:00
joerg
52e03c25de pkg_install-20090212:
Print the error about missing build information even when the
+BUILD_INFO file is missing instead of segfaulting. The problem is from
PR 30276, a solution in the form of just installing it will not be
implemented.
2009-02-11 23:42:42 +00:00
joerg
d82a0be2f2 Restore ONLY_FOR_*. 2009-02-10 00:26:26 +00:00
joerg
f147bc5cc4 DESTDIR support. 2009-02-10 00:25:00 +00:00
joerg
de7d5abdaa DESTDIR support 2009-02-10 00:15:20 +00:00
joerg
4beb0d6f99 DESTDIR support. 2009-02-10 00:13:34 +00:00
joerg
6bf251943f DESTDIR support. 2009-02-09 23:53:00 +00:00
joerg
3c645bb7fc Switch to Python 2.5 as default. Bump revision of all packages that have
changed runtime dependencies now.
2009-02-09 22:56:21 +00:00
joerg
e2107c85f6 Remove Python 2.1 support. 2009-02-09 21:09:20 +00:00
joerg
051e2fcd6a Only use issetugid if it exists. Fixes reported build issues on QNX and
AIX.
2009-02-09 20:35:21 +00:00
joerg
99269d29a5 Regen with autoconf 2.63. The endian macro issues on Mac OS X have been
addressed according to PR 38625.
2009-02-09 19:18:42 +00:00
joerg
a5ef458265 Fix !OpenSSL build/bootstrap. 2009-02-09 16:54:08 +00:00
wiz
677c83584c regen. 2009-02-08 23:14:14 +00:00
wiz
9db60ccb61 Spelling fixes. 2009-02-08 23:12:10 +00:00
wiz
5db37a19b0 Use more markup. 2009-02-08 23:12:05 +00:00
wiz
200c1b97c9 New sentence, new line. 2009-02-08 23:11:56 +00:00
joerg
60289b484d pkg_install-20090205:
- Restrict audit related commands to the documented set and/or fix the
  documention.
- Add support for conditional fetch-pkg-vulnerabilities via -u option.
2009-02-05 17:22:19 +00:00
joerg
0ffd57fde6 Don't chdir back to the original directory at the end of make_dist,
pkg_create is about to exit() anyway.
2009-02-05 16:06:55 +00:00
joerg
d33d3af1f8 Include fcntl.h. 2009-02-03 19:47:37 +00:00
joerg
97f4088f5d Remove the remaining trails of HAVE_DBLIB. 2009-02-03 13:49:56 +00:00
joerg
4835ef2879 Fix PR 40456: Mac OS X can't deal well with BSS in static libraries. 2009-02-03 13:44:34 +00:00
joerg
2b915dcf8f If no db.h or variant exists, use the one from nbcompat.
For PR 40544.
2009-02-03 13:18:03 +00:00
joerg
c5349bbb20 Include fcntl.h for O_RDONLY, it is included indirectly on NetBSD, but
not on Solaris. Part of PR 40544.
2009-02-03 13:15:34 +00:00
joerg
42be515354 Merge x509 setup and documentation from pkg_install-renovation. 2009-02-02 12:49:16 +00:00
joerg
d7cc6db11b Merge pkg_install-20090201 from pkg_install-renovation branch.
- DB support is always included from libnbcompat if needed
- pkg_view and linkfarm are not installed any more; they are not moved
into the attic yet, so they can easily be installed as separte package
- common configuration file to customise the behavior of various
components; this supersedes the old audit-packages.conf
- support for PKSC7 signatures (using X509 certs) and GPG signatures for
packages in a secure way. See pkg_admin(8) for how to create them and
pkg_install.conf(5) for the options to use them
- audit-packages and download-vulnerability-list are wrapper scripts
  around pkg_admin. They try to mimic the classic options if used sanely.
  "pkg_admin audit" is now an order of magnitude faster than before
- pkg_add uses libarchive and libfetch instead of external ftp and tar:
  - progress bar is currently missing for downloads
  - "pkg_add -" is no longer supported
  - no adhoc check for conficts between dependencies and already
    installed packages
  - "pkg_add -s" has been replaced with an option in pkg_install.conf,
    verification of plain detached GPG signatures is no longer supported
  - optional check for vulnerabilities before adding a package
  - if /var and /usr/pkg are on different fileystems it is twice as fast
    now
  - conflicts due to overlapping plists are checked before installation
  - pkg_add no longer plays with the process limits
- pkg_add and pkg_delete have a new destdir option; scripts have to
  either be modified to use PKG_DESTDIR or should be disabled
- pkg_add -u for now can't be used to update to the exact same version
- internal "rm -rf" and "mkdir_p" code
- all memory allocation failures are not explicitly fatal
- if a file is not removed due to a failed checksum, still remove the
  entry from pkgdb
2009-02-02 12:34:59 +00:00
joerg
360471cf79 pbulk-0.37:
- replace libevent dependency with internal event loop to make the pbulk
  core standalone
- open success and error log with O_APPEND, which allows e.g. cleaning
  up the error build during build without breaking it if done with care.
2009-01-31 23:25:37 +00:00
rillig
115f8bca6b Packages that install *.desktop files should include
sysutils/desktop-file-utils/desktopdb.mk. Suggested by Matthias
Drochner.
2009-01-26 16:14:45 +00:00
rillig
21cac04813 Added but disabled a check that tests whether the PKGNAME and the
package directory match. There is much work to do until this can be
enabled.
2009-01-26 15:44:15 +00:00
sketch
cce651087b Change to WRKSRC before compiling, fixes builds with read-only pkgsrc tree. 2009-01-23 11:27:16 +00:00
shattered
02dcf45d24 On some operating systems (Linux, FreeBSD -- see their problem report
82430) ps might list process names in square brackets.  Fix regex in
_find_processes() accordingly.

OK by wiz@.
2009-01-18 22:35:35 +00:00
dsainty
c417193ec6 Yet Another Groff Version (1.17.2), allows successful bootstrapping on an
extremely crufty old Linux box of unclear parentage (but it might be a RedHat
3.0 installation).
2009-01-14 23:16:54 +00:00
jmcneill
ba0d4a12c7 Build and install libpk-gtk-module. From the README:
The GTK+ module is designed to be loaded using gnome-settings-daemon by the
gnome-packagekit package.

It can however be launched for testing using:

GTK_MODULES="$GTK_MODULES:/usr/lib/gtk-2.0/modules/pk-gtk-module.so" application

The module installs a custom default pangocairo font map during gtk_init().
Pango will then call back with any languages which need installing, and these
are queued up. In an idle callback these are emitted as an asyncronous D-BUS
method to the session PackageKit InstallFonts() method.

If configured to do so, this will prompt the user to install new fonts.
2009-01-11 04:22:10 +00:00
jmcneill
9f88852e13 + packagekit gnome-packagekit 2009-01-08 00:26:05 +00:00
jmcneill
603077989c Import gnome-packagekit version 0.4.0.
PackageKit is a system designed to make installing and updating software on
your computer easier. The primary design goal is to unify all the software
graphical tools used in different distributions, and use some of the latest
technology like PolicyKit to make the process suck less.

The actual nuts-and-bolts distro tool (yum, apt, conary, etc) is used by
PackageKit using compiled and scripted helpers. PackageKit isn't meant to
replace these tools, instead providing a common set of abstractions that can
be used by standard GUI and text mode package managers.

PackageKit itself is a system activated daemon called packagekitd. Being
system activated means that it's only being run when the user is using a text
mode or graphical tool, and quits when it's no longer being used. This means
we don't delay the boot sequence or session startup and don't consume memory
when not being used.

gnome-packagekit is the name of the collection of graphical tools for
PackageKit to be used in the GNOME desktop.
2009-01-08 00:22:45 +00:00
jmcneill
43e73f96b4 Import packagekit version 0.4.0. Much work to do.
PackageKit is a system designed to make installing and updating software on
your computer easier. The primary design goal is to unify all the software
graphical tools used in different distributions, and use some of the latest
technology like PolicyKit to make the process suck less.

The actual nuts-and-bolts distro tool (yum, apt, conary, etc) is used by
PackageKit using compiled and scripted helpers. PackageKit isn't meant to
replace these tools, instead providing a common set of abstractions that can
be used by standard GUI and text mode package managers.

PackageKit itself is a system activated daemon called packagekitd. Being
system activated means that it's only being run when the user is using a text
mode or graphical tool, and quits when it's no longer being used. This means
we don't delay the boot sequence or session startup and don't consume memory
when not being used.
2009-01-08 00:21:00 +00:00
tnn
5531fbc2c5 fix typos 2009-01-06 16:40:19 +00:00
adrianp
0f5bb1b8ae Update to 0.02
Check for PATCHFILES as well
2009-01-06 10:28:38 +00:00
wiz
1c2d59c2d6 Recognize CMAKE_ARGS. 2009-01-04 20:28:51 +00:00
adrianp
398d830fd7 +pkg_distinst 2009-01-04 00:45:37 +00:00
adrianp
a88f7c13cd This is a simple script that will synchronise the content of your ${DISTDIR}
directory with currently installed packages.

This script will delete any ${DISTFILE} in ${DISTDIR} that does not currently
have an installed package as an owner.

If you play with packages a fair bit and download some just to have a play with
and delete the package later your ${DISTDIR} can end up with a lot of orphaned
${DISTFILES}.  While lintpkgsrc will help you remove outdated ${DISTFILES} it
does not do any corealtion with installed packakges which is the gap this
script aims to fill.

With "lintpkgsrc -or && pkg_distinst --delete" you can and up with a fairly
lean and current ${DISTDIR}.
2009-01-04 00:44:38 +00:00
rillig
ea2694451d Warn about missing PKG_DESTDIR_SUPPORT definition. Every package should
have one.
2008-12-21 10:34:59 +00:00
adrianp
9e164864f6 Make this work on OpenSolaris 2008-12-21 00:03:32 +00:00
abs
d84ad5c936 Updated pkgtools/pkg_chk to 1.96
Handle unset PKGSRCDIR - from Taylor R Campbell in PR/39306
2008-12-20 09:50:59 +00:00
rillig
03b5233b74 TOOLS_DEPENDS.* names a dependency, and all the directories that are
mentioned in it must actually contain a Makefile.
2008-12-15 12:47:31 +00:00
rillig
41f53c4dd5 Changed one of the explanations to be more permissive. Fixed a
grammatical mistake in the same sentence.
2008-12-14 18:46:58 +00:00
rillig
f772ef6398 An int is not guaranteed to be 64bit and in fact isn't on most
platforms.
2008-12-14 10:18:16 +00:00
obache
9244674af5 Need to include stdint.h for unit64_t on SUA 6.0. 2008-12-14 07:50:49 +00:00
adrianp
40abbe86e4 +audit-packages
+download-vulnerability-list
2008-12-10 22:02:18 +00:00
wiz
b4f7fd588d Make complaints about hicolor icon themes directories errors.
Ok rillig
2008-12-05 06:48:05 +00:00
rillig
549bd2d94b Added explicit checks for share/icons/hicolor directories in PLISTs, as
suggested by wiz.
2008-12-04 18:07:52 +00:00
cube
23abb33176 Bump version after libXtst builtinification. Sorry guys. 2008-12-04 04:17:21 +00:00
cube
d49befb95d Builtinify libXtst. 2008-12-04 04:16:41 +00:00
rillig
7359b60f45 Removed unused code. Changed one constructor call to match the pattern
of all the others. Explained how to get an overview of the code.
2008-12-02 09:00:28 +00:00
wiz
7082848df0 Variable for GConf is now called GCONF_SCHEMAS (not GCONF2_SCHEMAS).
Bump version to 2.8.
2008-12-01 13:48:34 +00:00
rillig
5614873bfe Banned the warnings about SUBST_* groups into the -Wextra option, since
they are used less strict than pkglint wants them.
2008-11-30 22:19:01 +00:00
rillig
f85556e344 more to do. 2008-11-25 19:11:39 +00:00
rillig
359895ef14 Allowed pkglint to check doc/CHANGES-* files individually. 2008-11-24 14:59:28 +00:00
rillig
f66a7f1777 Fixed the (hopefully) last issue with the downgrading warning. 2008-11-19 07:46:35 +00:00
obache
1ed485738b SU was replaced to use SU_CMD over 4 years ago. 2008-11-19 00:20:48 +00:00
rillig
30458d7406 It's pretty tricky to get the bmake substitution right. At least if
you're a lazy programmer. Now the ${DISTNAME:S...} is interpreted
correctly.
2008-11-18 21:17:53 +00:00
rillig
25f7fc3110 Updated pkglint to 4.90.
Changes since 4.89:
- Packages are checked whether they are being downgraded.
- Several small fixes and improvements.
2008-11-18 19:43:32 +00:00
rillig
a3a3f7f775 Get rid of the false positive warnings for downgrading, by doing more
magic to the PKGNAME and DISTNAME in the package Makefile. Thanks, wiz,
for insisting on this.
2008-11-18 19:39:49 +00:00
rillig
88db5cd30e Emit a note instead of a warning when the :Q operator is used in places
where it isn't necessary.

The :Q operator is necessary for URLs, since they may contain ampersands.
2008-11-18 19:18:51 +00:00
rillig
39f4738073 It is not necessary to save the whole text of the package Makefile
including all included files. By now, all checks are done by checking
individual lines, not the whole text.
2008-11-18 18:59:36 +00:00
rillig
f568f6dcea The PKGREVISION is included in the version comparison, to fix the bogus
warning that a package "is being downgraded from 1.0.0nb5 to 1.0.0".

Disabled the note saying that in shell variable assignments, there don't
need to be double quotes around backticks. In some cases they need to be
there.
2008-11-18 08:18:29 +00:00
rillig
d24f8d2bf7 DIST_SUBDIR may contain slashes. Found in www/firefox3-bin. 2008-11-18 08:04:35 +00:00
tron
6055ccc1bc Add support for user destination directory installation.
Patch provided by Aleksey Cheusov.
2008-11-16 10:25:34 +00:00
schwarz
e88d2f7dbf remove NetBSD-specific code from OpenBSD's bsd.own.mk 2008-11-15 13:06:42 +00:00
schwarz
c07f4de9ea OpenBSD changed to ELF on i386 with the 3.4 release 2008-11-15 13:05:09 +00:00
cube
1555f6320f Buildlink glut, bump package version and required dependency. 2008-11-11 16:19:23 +00:00
cube
6fb6b44e59 Properly register libGLU files with native X.Org as found in NetBSD. 2008-11-11 16:18:18 +00:00
joerg
fba094a13c OpenBSD headers are still not standalone, even though SUS is pretty
explicit about it at least for netinet/in.h. Include sys/types.h before
checking for content of sys/socket.h and netinet/in.h to fix this.
Reported and tested by Georg Schwarz.
2008-11-08 21:35:57 +00:00
rillig
411a485a0d Only check doc/CHANGES-* starting with 2008, as suggested by OBATA Akio
on pkgsrc-changes.

TODO: Discuss whether the old files should be converted to the common
format or just be left as they are.
2008-11-06 14:46:51 +00:00
obache
4daaf7ad07 Add DESTDIR support. 2008-11-06 12:25:17 +00:00
jschauma
ec5816ac04 update mtree to 20081105, most notably providing support for sha256,
sha384 and sha512;  while here, fix a minor build error discovered on
RHEL
2008-11-06 02:14:52 +00:00
joerg
6d6f20fbaf Add some forgotten ifndefs to fix issues on DragonFly. 2008-11-06 00:25:42 +00:00
wiz
208ed5a45e Ignore more uninteresting output.
Tries to address PR 39291.

Welcome to 0.121.
2008-11-05 23:18:18 +00:00
rillig
37dbfbc809 Fixed three warnings, which have been reported by Mark Davies. 2008-11-04 23:13:05 +00:00
rillig
507581677b The macro __NetBSD_Prereq__ should not be used.
Extended the spell checker for variants of __NetBSD_Version__.
2008-11-04 22:27:00 +00:00
rillig
3bc83926b1 Added a check that detects a downgrade of a package. To do this, it
loads the changes in doc/CHANGES-*.
2008-11-04 21:45:13 +00:00
joerg
1cb2d826a6 Define __UNCONST. From PR 39797. 2008-10-30 19:27:20 +00:00
joerg
18058a4e57 Avoid STAT as macro, it exists in sys/dir.h on AIX already. 2008-10-30 16:00:54 +00:00
cube
b71f57b3db Builtinify libXv, and make sure x11-links knows about xv.pc. Bump version
of x11-links.
2008-10-29 21:14:01 +00:00
joerg
69064b82e8 Don't use __RENAME. 2008-10-29 16:39:03 +00:00
joerg
8dee63e644 Provide more compat glue for ndbm interface as shown in PR 39738.
Bump to libnbcompat-20081029.
2008-10-29 11:23:17 +00:00
joerg
7f9c816849 Define away O_EXLOCK and O_SHLOCK if they are missing. 2008-10-28 18:01:06 +00:00
joerg
dde0f32833 Use nbcompat/paths.h, Solaris is missing paths.h. From Uwe Klaus. 2008-10-28 17:57:36 +00:00
joerg
83613e330d Add circleq support. Bump to 20081028. Should fix IRIX build from
PR 39797.
2008-10-28 15:15:18 +00:00
joerg
eece6e89de Replace EFTYPE with EINVAL if the former doesn't exist. 2008-10-28 15:06:26 +00:00
joerg
9944df4826 Provide and use local mpool.h. 2008-10-26 12:51:59 +00:00
joerg
690ac5928f Explicitly check for libnsl and libsocket as required by Solaris.
Based on patches from Aleksey Cheusov.
2008-10-26 12:31:30 +00:00
rillig
6208c4238d Moved all explaining texts to the beginning of a line, so they stand out
from the rest of the code.
2008-10-20 11:09:07 +00:00
rillig
fe5245c568 Removed the experimental --klickibunti option and everything that was
only there to support this option. Maybe I will reinvent the advanced
autofix code someday, hopefully in a programming language that provides
more error checking than Perl.
2008-10-20 10:56:18 +00:00
rillig
9f78a56db8 Updated pkglint to 4.89.
Changes since 4.88:
- Fixed the remaining PLIST_VARS warnings.
- Adjusted pkglint to work together with Perl 5.10.0.
2008-10-20 10:13:12 +00:00
rillig
025fe0934e Replaced all instances of "=~ qr" with "=~ m", and all instances of
"!~ qr" with "!~ m", to work around a memory leak in Perl 5.10.0.
(See Perl bug #59994 or just run perl -e 'while(1){qr""}'.)

This change also speeds up pkglint by around 15 percent, although I
noticed that updating from Perl 5.8.8. to 5.10.0 slowed down pkglint by
about 2 percent.
2008-10-20 10:10:28 +00:00
joerg
c071594cda Include nbcompat/types.h early to make sure that uintX_t are defined.
Reported by Aleksey Cheusov and Joern Clausen in PR 39738.
2008-10-19 21:02:07 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
rillig
10b7bee739 Fixed another "closedir() on undefined".
Made the code around PLIST.* variables prettier.
2008-10-18 16:35:59 +00:00
he
59ca29e40d Two minor fixes:
o Documentation fix: the blbump script does not print the names of
   the package directories it succeeded in bumping, only the ones
   which it failed to bump
 o Code fix: remove a pointless assignment / substitution in blbump
2008-10-17 14:23:58 +00:00