summaryrefslogtreecommitdiff
path: root/mk/scripts
AgeCommit message (Collapse)AuthorFilesLines
2004-11-12Don't expand .la files in PLISTs that are symlinks. The expansion shouldjlam1-2/+2
only occur with the real .la file. This avoids the problem noted by Greg Troxel in: http://mail-index.netbsd.org/tech-pkg/2004/11/12/0018.html
2004-10-05Check for presence of the libname listed in the libtool archive beforejlam1-2/+6
outputting it to stdout.
2004-09-21Don't exit on error if the *.la file is not a libtool archive.jlam1-11/+11
2004-09-21Add a lock_file function that generates lockfiles that are usable onjlam1-1/+57
NFS-mounted directories.
2004-09-10* Do the *.la expansion within the current _PLIST_AWK_SCRIPT framework.jlam1-17/+31
We no longer require that LIBTOOL_LA_FILES be defined in the package Makefile, and the libtool archives should once again be listed in the PLIST. * Add a new yes/no variable "LIBTOOLIZE_PLIST" to control whether to have bsd.pkg.mk automatically expand *.la files in PLISTs into the true library names represented by the libtool archives. * Rename the "transform-la" script to "print-la-libnames" which more correctly reflects its function. Many thanks to Todd Vierling for the original implementation and for his contructive comments on how to improve the changes in this commit.
2004-09-06Add a library of useful shell functions. There are functions forjlam1-0/+329
logging, backslash quoting, and two queue implementations: one entirely in memory and one using a file.
2004-08-16Add new variable LIBTOOL_LA_FILES, which may be used instead of listingtv1-0/+59
all of the .a, .la, .so, and .so.* files in the PLIST. This will autogenerate the PLIST entries based on the informaion in the .la file. This include print-PLIST support; if LIBTOOL_LA_FILES contains an installed .la, its entries will be elided from the output PLIST template.
2004-07-06Retire buildlink2, now that all packages using it have been converted towiz1-2/+2
buildlink3.
2003-09-23Use ${BMAKE} instead of make to make this work on non NetBSD platforms.yyamano1-2/+2
2003-09-11s/vulnerabilities/pkg-vulnerabilitesdmcmahill1-2/+2
2003-09-02Merge pkgviews-mk branch into the HEAD by running:jlam1-1/+1
cd pkgsrc/mk cvs update -Pd -A cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
2003-07-25- fix bug that gave an invalid entry in the homepage field when there isdmcmahill1-3/+13
no listed homepage. Thanks to Grant Beattie for noting this and providing a patch which I changed slightly. - fix a bug which put extra stuff in the categories field. Thanks to Grant for noting this.
2003-07-24- add HOMEPAGE as the last field in the INDEX file.dmcmahill1-30/+20
- make the paths be relative to PKGSRCDIR as opposed to absolute. - some cleanup/simplification of the awk code.
2003-07-23rework the INDEX file generation. The new approach speeds up things bydmcmahill1-0/+389
several orders of magnitude and 'make index' now takes 30 minutes or so instead of several days on my test machine. The approach now is to take one pass through every package and extract some key information including the explicitly listed dependencies. After the data is extracted, the dependencies are flattened in one step which avoids the extremely inefficient recursive make that was previously used.
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv4-73/+73
2003-03-21when there are no build depends, indicate this with "none" instead ofdmcmahill1-3/+11
having an empty list. Do the same for run depends. Suggested by Christian Hattemer in a private email.
2003-03-19- fix a bug in the HOMEPAGE link when the URL contains an ampersanddmcmahill1-41/+80
- fix a bug in which caused only packages listed as DEPENDS to show up in the 'packages needed to build' section. Now the BUILD_DEPENDS are also shown. Thanks to Christian Hattemer for noting this. - fix a bug which caused error messages claiming that category and top level README.html files could not be created even though they were created. This bug only showed up if an old README.html file did not exist. As part of this, clean up and unify the code which handles comparing the new README.html file to a possibly pre-existing one and only copying it over if there is a change.
2003-03-19fix a few 'strings split across lines' bugs which caused some dependenciesdmcmahill1-9/+4
to be dropped from the README.html files. Problem of missing dependencies noted by Christian Hattemer in a private email.
2003-02-09Open/close HTML mark-up in the correct order. Noted by Kevin P. Neal.wiz1-2/+2
2003-02-08Add backslash for a line continuation to fix "make readme" erroryyamano1-4/+4
on darwin. Approved by mcmahill.
2003-01-20fix a bug introduced by the last commit where a string was accidentallydmcmahill1-3/+2
split across a line. Thanks to Greg Woods for catching this.
2003-01-18Many white space and indenting fixes to bring this more in line withdmcmahill1-469/+553
/usr/share/misc/style. Prompted by a private email from Greg Woods, woods at weird dot com.
2003-01-15avoid the use of the gensub() function as it is a gawk extension notdmcmahill1-6/+7
found in other awk implementations. Patch provided by Greg Woods, woods at weird dot com, via private email.
2003-01-05add a -a|--append option to allow appending to an existing database instead ofdmcmahill1-4/+36
creating a new one.
2003-01-04expr -> ${EXPR}dmcmahill2-5/+7
2003-01-04move bulk/{mkreadme,genreadme.awk} to scripts/ as this is a more suitabledmcmahill2-0/+1131
location. They are not really part of the bulk build stuff.
2003-01-04add two scripts used for creating dependency databases. These scriptsdmcmahill2-0/+294
can be used anytime one needs to extract the complete dependency information for a package for example, when creating a README.html file for the pkg. The approach used by mkdatabase requires exactly one make call per package which makes it scale well to packages with large dependency trees that have many paths to the leaves.