summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2007-10-27bump PKGREVISION for archivers/pax fix (largefile support).grant1-2/+2
2007-10-25* If PLIST_SRC is explicitly set to an empty value in a package Makefile,jlam2-3/+2
then automatically generate a PLIST that says "${PKGNAME} has no files". * If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile, and no PLIST files exist, then fail during the package build with PKG_FAIL_REASON. * Remove "intentionally empty" PLISTs again. Now, the easy way to say that a package installs no files is to just add the following to the package Makefile: PLIST_SRC= # empty
2007-10-25Re-add "intentionally empty" PLISTs for meta-packages and other packagesjlam1-0/+2
that directly manipulate empty PLISTs. Modify plist/plist.mk so that if the PLIST files are missing and no GENERATE_PLIST is defined, then the package fails to build.
2007-10-25Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mkjlam2-2/+0
can handle packages having no PLIST files.
2007-10-25Reverted the deprecation of LICENCE and ACCEPTABLE_LICENCES, since thererillig1-3/+5
is no consensus among the pkgsrc developers about them. Some want to keep them (proper British spelling), others want to eliminate them (redundancy).
2007-10-25It's not very useful to have empty PLIST files, so warn about it. Thisrillig1-1/+15
may happen when a package has been newly created and the print-PLIST target has not yet been run.
2007-10-17Make language lawyers happy and rename report_recipient to plural.joerg3-6/+6
2007-10-17LICENCE and ACCEPTABLE_LICENCES (British English) are deprecated.rillig1-3/+5
2007-10-15I just removed the $bulklog directory once again, due to runningrillig1-1/+7
bin/bulkbuild when instead I wanted to resume the bulk build. To prevent this frustration, added a warning and a five second waiting period.
2007-10-14Fixed the problem with package name matching that Klaus Heinz discoveredrillig1-5/+21
in http://mail-index.netbsd.org/tech-pkg/2007/10/14/0004.html The pattern "pkg_install" matched "pkg-install-20070828", but "pkg*all" didn't. Now it does.
2007-10-13Updated the URLs for ftp.NetBSD.org, so that they will work after therillig2-15/+15
upcoming clean-up.
2007-10-13Whew. pkglint didn't know FAIL_MSG at all.rillig1-1/+2
2007-10-13FAIL_MSG may be a hidden command.rillig1-2/+32
2007-10-12As pointed out in PR 37113, it is dangerous to set MAINTAINERrillig1-2/+2
unconditionally in Makefile.common, so warn about it.
2007-10-12X11_TYPE=xorg is no longer supported.rillig1-2/+2
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.