summaryrefslogtreecommitdiff
path: root/pkgtools/libkver
AgeCommit message (Collapse)AuthorFilesLines
2020-08-09pkgtools/libkver: fix a few pkglint warningsrillig1-3/+3
2019-05-23all: replace SUBST_SED with the simpler SUBST_VARSrillig1-3/+3
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
2018-07-04*: Move SUBST_STAGE from post-patch to pre-configurejperkin1-2/+2
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
2018-01-27pkgtools/*: Realign variables in Makefilesrillig1-11/+11
Mainly done by pkglint, manually reviewed and improved in some few cases.
2018-01-01Sort PLIST files.rillig1-2/+2
Unsorted entries in PLIST files have generated a pkglint warning for at least 12 years. Somewhat more recently, pkglint has learned to sort PLIST files automatically. Since pkglint 5.4.23, the sorting is only done in obvious, simple cases. These have been applied by running: pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2017-08-19pkgtools/libkver: Install manpages into ${PKGMANDIR}.jlam1-1/+3
This project uses BSD makefiles to build and install the binaries and manpages. Add "MANDIR=..." to the flags passed to "make install" so that the manpages are installed in the correct location under ${PKGMANDIR}.
2016-03-20whitespace fix PR pkg/38651seb1-2/+2
2015-06-17Remove duplicate entries from previous commit.sborrill1-4/+1
2014-10-09Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.wiz1-3/+1
2014-03-03Just define PKGNAME and use it.obache1-4/+2
2013-08-23Update the valid_MACHINE_ARCH list from NetSBD src/build.sh version 1.272.apb2-8/+25
Bump kver version to 0.7.2.
2013-07-20Use Mt for email addresses.wiz2-5/+5
2013-01-04* commit PLIST changes that I forgot to commit earlier;apb3-5/+8
* use size_t, not int, for a length passed to sysctl(2); * bump version to 0.7.1.
2012-10-31Sort options and their descriptions.wiz1-16/+16
2012-10-31Fix xref, sort sections, use more markup, remove superfluous Pp.wiz1-10/+10
2012-10-31Markup to prevent "e.g." from being misinterpreted as the end of a sentence.apb2-10/+10
(Not bumping the version number for this.)
2012-10-31Add the ability for libkver to override all four of ostype, osrelease,apb8-52/+696
machine, and machine_arch. Add a helper script to simplify use of libkver. Set VERSION=0.7. An earlier version of this change was reviewed by seb@NetBSD.org.
2012-09-11"user-destdir" is default these daysasau1-2/+1
2011-11-22Ensure everything is prototypes correctly.joerg1-1/+8
2009-02-10DESTDIR support.joerg1-4/+2
2008-10-01Set "USE_BSD_MAKEFILE" to indicate that this package uses a BSD-styletron1-1/+2
makefile. This should fix HTML manual page issue under NetBSD-current. Problem reported by Cesar Catrian Carreno on "pkgsrc-users" mailing list.
2008-04-12Convert to use PLIST_VARS instead of manually passing "@comment "jlam2-5/+5
through PLIST_SUBST to the plist module.
2007-07-26Thinking again, include bsd.prefs.mk *first* and override CHECK_PERMSjoerg1-2/+3
afterwards, the user might have set it.
2007-07-26Skip the permission check for libkver as well to avoid cyclicjoerg1-1/+2
dependencies.
2007-05-18Silence make. If /sbin/sysctl is static or non-existent, ldd would returnjoerg1-2/+2
an error and make complain rather verbosely. Use || true to hide that error.
2007-02-22Whitespace cleanup, courtesy of pkglint.wiz1-2/+2
Patch provided by Sergey Svishchev in private mail.
2006-08-11Fix compile problem on gcc-4; added simply includes of <stdio.h>.taca1-1/+2
2006-05-31placate pkglintseb1-5/+5
2006-05-31If I should be steward of one be it this one!seb1-2/+2
2006-04-09Adapt sysctl prototype for -current. The boundary is chosen as 3.99.16.cube1-3/+9
The broken area is -current between Feb 24th 2006 and Mar 2nd 2006. Fixes PR#33226 by Cesar Catrian Carreno.
2006-03-14Modify the pkginstall framework so that it manages all aspects ofjlam1-4/+1
INSTALL/DEINSTALL script creation within pkgsrc. If an INSTALL or DEINSTALL script is found in the package directory, it is automatically used as a template for the pkginstall-generated scripts. If instead, they should be used simply as the full scripts, then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC explicitly, e.g.: INSTALL_SRC= ${PKGDIR}/INSTALL DEINSTALL_SRC= # emtpy As part of the restructuring of the pkginstall framework internals, we now *always* generate temporary INSTALL or DEINSTALL scripts. By comparing these temporary scripts with minimal INSTALL/DEINSTALL scripts formed from only the base templates, we determine whether or not the INSTALL/DEINSTALL scripts are actually needed by the package (see the generate-install-scripts target in bsd.pkginstall.mk). In addition, more variables in the framework have been made private. The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are more sensible names given the very few exported variables in this framework. The only public variables relating to the templates are: INSTALL_SRC INSTALL_TEMPLATE DEINSTALL_SRC DEINSTALL_TEMPLATE HEADER_TEMPLATE The packages in pkgsrc have been modified to reflect the changes in the pkginstall framework.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-27Lower expectations, both others' and mine: relinquish stewardshipseb1-2/+2
2005-11-14Rename LIBKVER_STANDALONE_DIR to LIBKVER_STANDALONE_PREFIX.seb1-4/+4
2005-11-07Add target 'standalone-install': install libkver in ${LIBKVER_STANDALONE_DIR},seb1-1/+6
defaults to /libkver, and register it there. This is a convenient one-stop target to use libkver in a sandboxed bulk-build. (hint for Julio ;)
2005-09-28Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,rillig1-3/+3
NO_BUILD, USE_LIBTOOL.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-30Update to version 0.6.seb2-6/+6
Support NetBSD release like X.Y.Z_LABEL eg 1.6.2_STABLE.
2005-01-14Add support for versions such as 2.0_STABLE.cube1-1/+5
XXX: actually, it would be nice if pkg_add didn't complain when adding a 2.0 package to a 2.0_STABLE system.
2005-01-06Don't "cp -p" for *source* files. Builds are usually done as an unprivilegedtv1-2/+2
user, so it's not nice to try to use an option that will try to chown if the repository isn't owned by the builder. (Some OS's do in fact cause an error when the chown in "cp -p" fails.)
2004-07-06o Allow use if sysctl for MIBs shorter or longer than 2cube2-10/+6
o Instead of returning an error, pass the control to the actual call. This avoids a failure in make because of broken uname() when libkver is used. OK'd by seb@.
2004-04-24fix a sentence, fix a typo, s/netbsd.org/NetBSD.org/grant1-4/+4
2004-01-19Convert to bl3 and allow pkgviews installation.jmmv1-2/+6
2003-12-23Replace ad hoc creation of installation directories in pre-install targetseb1-7/+6
by INSTALLATION_DIRS framework. While here also create {man,cat}pages directories.
2003-12-13Update to version 0.4.seb12-101/+249
Libkver is now run-time configurable, see installed kver(3), it now installs in LOCALBASE and uses install/deinstall scripts to replace/restore /sbin/sysctl if needed.
2003-10-27Update to version 0.3.seb3-4/+9
Add support for NetBSD 1.6.2. XXX The "release date" is fiction.
2003-09-30Update to version 0.2.seb2-7/+6
Fix a mostly harmless bug: a utsname.machine string was added at the end of utsname.version string.
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-20Add support for picking up KVER_OSRELEASE in "/etc/mk.conf": bothseb3-6/+13
when used as standalone sources and -as MAKECONF is set to /dev/null in MAKE_ENV by bsd.pkg.mk- as package sources.