summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10When installing the bootstrap kit from a directory, correctly handle therillig1-2/+3
case when ${prefix} already exists.
2007-10-09Remove trailing spaces.martti1-2/+2
2007-10-07fix obsolete URLs for www.NetBSD.orgkano10-18/+18
close PR pkg/37071 reviewd by xtraeme@
2007-10-01+ MISSING_FEATURESrillig1-1/+2
2007-10-01On Solaris, at least the catpages can be installed. By the way, mandocrillig1-6/+3
pages cannot be processed with nroff -man. Since we already have the preformatted files in the FILESDIR, what was the point of regenerating them? PKGREVISION++
2007-10-01Marked _PKG_SILENT and _PKG_DEBUG as deprecated, added USE_FEATURES.rillig2-2/+7
2007-09-29Honour the setting of MANINSTALL.rillig1-2/+4
2007-09-29There is no master/slave mode anymore.rillig1-5/+1
2007-09-27- Be less aggressive when resizing the version field, just resize ifjoerg3-16/+22
the old size is not enough. Fixes PR 37031. - Disable dependency tracking in libarchive build. Supposed to address PR 36953. Bump version to 20070927.
2007-09-25GConf, not GConf2; bump version to 2.7.wiz2-4/+4
2007-09-22Reverted two of my recent changes.rillig1-6/+3
See: http://mail-index.netbsd.org/pkgsrc-changes/2007/09/21/0046.html
2007-09-21If dirfd is either a function or a macro, use it. If it doesn't exist,joerg5-7/+250
but DIR contains dd_fd, define it as macro. Otherwise use -1 when calling fts_safe_changedir in fts(3). Based on patch from Sean Boudreau.
2007-09-21Fully ANSIfy and use size_t and uint32_t in places where u_int was usedjoerg16-149/+91
before. This fixes the build on QNX, where u_int is not exposed by the current set of headers. Make the prototypes of the crypto functions consistent.
2007-09-21Fix spelling of variable and add DESTDIR support.joerg1-4/+5
2007-09-21Removed code duplication by calling the client-clean script.rillig3-12/+18
Before removing prefix, fix the permissions. Everything inside that directory must be writable and all directories must be searchable. NetBSD's chmod has an option -P which I would have liked to use, but POSIX requires only -R to be implemented. Therefore, it is possible that permissions of files outside the prefix are changed due to symlinks. The client-clean program promises to clean $prefix, so fail if that is not possible. A common cause for this is that some files inside have their flags set (see chflags(1) on NetBSD). When installing the bootstrap kit, the source may be either a regular file (which is then assumed to be a tar archive) or a directory (which is copied directly). The latter option is new and allows for easier changes of files once the bulk build has started.
2007-09-21Only save PREFIX in a tar file if the package has reached the installrillig1-3/+3
phase. This saves some disk space, and in most cases the contents of PREFIX is not interesting before. Added quotes around keep_wrkdir and keep_prefix because they were missing in a previous version of the example configuration file.
2007-09-21Thou shalt not nest double quotes in backticks, for the Solaris /bin/kshrillig1-2/+2
cannot handle it.
2007-09-20Finally fixed the bogus warnings in PHP extension packages concerningrillig1-19/+30
the patch files.
2007-09-20Variables mentioned in SUBST_VARS.* are marked as used. An assertion inrillig1-22/+55
that code had been proven wrong as is now gone. PKG_USERS_VARS and PKG_GROUPS_VARS are added to BUILD_DEFS by the infrastructure, so no warnings should be emitted for "unused" variables in this case. The comment for USE_LANGUAGE in combination with GNU_CONFIGURE is considered to be intentional if it contains either of the words "c", "empty" or "none".
2007-09-20update pkg_chk to 1.87.abs2-5/+6
Make -k work with -l, so a missing package will still result in a list of binary packages being displayed
2007-09-18Don't cache the allocated argv in a local static variable, just allocatejoerg1-28/+16
and free it.
2007-09-18Remove EXPECT_DEBUG code and if(0)'ed call of setbuf.joerg1-50/+2
2007-09-18Make allocation errors fatal. Better than leaking memory in the errorjoerg1-10/+5
case.
2007-09-17Add and document FETCH_PRE_ARGS, idea from David Sainty in PR #23899.adrianp4-5/+24
This allows such settings as the following in audit-packages.conf: FETCH_PRE_ARGS="env ftp_proxy://ftp.myproxy.com" Which will be set before FETCH_CMD is run.
2007-09-16Fix a major memory leak in Dewey that existed sine ~forever.joerg3-46/+36
This was made a lot more critical with the changes to use the iteration API, as that is running a lot more Dewey comparisions. Thanks to adrianp and wiz for the reports. Bump to 20070916.
2007-09-14Don't use u_char when uint8_t are meant. Don't mess with __attribute__,joerg11-66/+70
conditionally use it in the only place it is used. This should fix problems on QNX reported by Sean Boudreau.
2007-09-11All variables named by SUBST_VARS.* are marked as being used.rillig1-2/+9
Quoting warnings are only printed when -Wquoting is enabled.
2007-09-11Bump to 20070911 for pkg_add -u fixes.joerg1-2/+2
2007-09-11Replaced undefined behavior with an error message. We don't expectrillig1-5/+4
absolute paths in the PLIST anyway.
2007-09-11Removed unused variable.rillig1-5/+2
2007-09-11Applying sizeof() to a string parameter does not return the size of therillig1-4/+7
buffer, but the size of a pointer to a buffer. This makes pkg_add -u work again. It failed before, trying to rename the +REQUIRED_BY file to "/us" or "/va", depending on the value of PKGDBDIR.
2007-09-10Cleaned up the TODO list from things I don't find worth implementing.rillig1-10/+1
2007-09-08Convert to use the features framework.jlam9-44/+27
2007-09-08Removed the warning about pkg_add or pkg_delete "not running as root"rillig2-13/+5
completely. It only made the code more bloated, and a user trying to add or delete packages would get lots of "Permission denied" warnings anyway.
2007-09-08Avoid EPERM errors from tar when installing packages as an unprivilegedrillig1-2/+12
user.
2007-09-07The WRKDIR and PREFIX can be saved in the log directory when a packagerillig2-2/+15
doesn't build properly. These options are off by default since they require much disk space.
2007-09-07In unprivileged builds, the user running pkg_add and pkg_delete isrillig2-6/+6
almost always an unprivileged user. So there's no point in printing a warning in that case.
2007-09-06Convert all libnbcompat/buildlink3.mk references to inplace.mk.jlam2-4/+4
2007-09-06Drop libnbcompat/buildlink3.mk and force all packages that usejlam2-35/+2
libnbcompat to use it "in place". libnbcompat is just really special, and is of almost no use to anything other than the pkgsrc bootstrap process.
2007-09-06Use only features available in nawk.jlam1-3/+7
2007-09-06If waitpid was interrupt for some reason, restart it. Error out on alljoerg1-5/+6
other negative return values or when errno != EINTR.
2007-09-06Fix build on QNX. From Sean Boudreau.joerg1-2/+9
2007-09-04Ensure undef before typedef, to avoid error when a application detect missingobache1-3/+4
types by itself and define (ex, pkgtools/pkg_install).
2007-09-04Fixed some internal pkglint errors.rillig1-4/+4
2007-09-04load_lines returns false on failure, not undef.rillig1-2/+2
2007-08-29* When adding or checking a package using pkg_admin(1), give a morejlam5-16/+40
meaningful warning if the file is a symlink whose target doesn't exist. The message has now been changed from: pkg_admin: netbsd32_compat30-extras: File `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' is in +CONTENTS but not on filesystem! to: pkg_admin: Symlink `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' exists and is in +CONTENTS but target does not exist! * Pass values for --sysconfdir (and --prefix) to the configure script instead of passing them through CPPFLAGS. Both SYSCONFDIR and PREFIX are only used by audit-packages, and the audit-packages Makefile already handles passing these values inherited from the configure script. This avoids compiler warnings that, e.g. SYSCONFDIR has been redefined on the command line. * Fix quoting for arguments to the configure script -- :Q instead of \"\". Bump version to 20070828. Reviewed by <joerg>.
2007-08-29Add FILE_NAME, the name of the binary package file.dillo3-5/+20
Prompted by Jeremy, okayed by Joerg.
2007-08-27Update pkg_chk to 1.86:abs3-70/+88
- Fix '-l' to list dependencies needed at runtime by each package, as opposed to those at build time. Avoids issues such as 'jdk15' pulling in sun-jdk & sun-jre
2007-08-25Only gcc understands those -W* flags for warnings.rillig1-1/+3
2007-08-24Drop -RELEASE and similiar components of the OS version on FreeBSD asjoerg2-2/+2
well.