pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools Readd pkg_comp, now at version 2.0:
details: https://anonhg.NetBSD.org/pkgsrc/rev/f85bd12f37cb
branches: trunk
changeset: 358668:f85bd12f37cb
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Fri Feb 17 21:25:46 2017 +0000
description:
Readd pkg_comp, now at version 2.0:
**Released on 2017-02-17.**
This is the first release of the pkg_comp project as a standalone
package. This new release shares no code with previous versions and is
not compatible with them.
The following are the major differences between pkg_comp 2.0 and all
previous releases, which incidentally are the reasons that triggered
this rewrite:
* Support for multiple platforms.
* Use of pbulk to (re)build packages within the sandbox. This results
in more reliable incremental builds after pkgsrc updates.
* Support for bootstrap, generating binary kits as part of the builds.
* Better scriptability to allow running from cron(8) trivially.
diffstat:
pkgtools/Makefile | 3 ++-
pkgtools/pkg_comp/DESCR | 6 ++++++
pkgtools/pkg_comp/Makefile | 46 ++++++++++++++++++++++++++++++++++++++++++++++
pkgtools/pkg_comp/PLIST | 24 ++++++++++++++++++++++++
pkgtools/pkg_comp/distinfo | 6 ++++++
5 files changed, 84 insertions(+), 1 deletions(-)
diffs (115 lines):
diff -r 0422d11aba33 -r f85bd12f37cb pkgtools/Makefile
--- a/pkgtools/Makefile Fri Feb 17 21:23:42 2017 +0000
+++ b/pkgtools/Makefile Fri Feb 17 21:25:46 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.115 2017/02/12 10:48:55 jmmv Exp $
+# $NetBSD: Makefile,v 1.116 2017/02/17 21:25:46 jmmv Exp $
#
COMMENT= Tools for use in the packages collection
@@ -34,6 +34,7 @@
SUBDIR+= pkg
SUBDIR+= pkg_alternatives
SUBDIR+= pkg_chk
+SUBDIR+= pkg_comp
SUBDIR+= pkg_comp1
SUBDIR+= pkg_distinst
SUBDIR+= pkg_filecheck
diff -r 0422d11aba33 -r f85bd12f37cb pkgtools/pkg_comp/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_comp/DESCR Fri Feb 17 21:25:46 2017 +0000
@@ -0,0 +1,6 @@
+pkg_comp is a tool to automate the maintenance of pkgsrc binary packages
+and the pkgsrc source tree by means of a single command and a configuration
+file that tells pkg_comp what to do.
+
+Make sure to check the pgbuild-user package for a way to trivially set
+up periodic package rebuilds.
diff -r 0422d11aba33 -r f85bd12f37cb pkgtools/pkg_comp/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_comp/Makefile Fri Feb 17 21:25:46 2017 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.57 2017/02/17 21:25:46 jmmv Exp $
+
+DISTNAME= pkg_comp-2.0
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jmmv/}pkg_comp/releases/download/pkg_comp-2.0/
+
+MAINTAINER= jmmv%NetBSD.org@localhost
+COMMENT= Automates builds of packages and manages pkgsrc trees
+LICENSE= modified-bsd
+
+DEPENDS= sandboxctl>=1.0:../../sysutils/sandboxctl
+
+GNU_CONFIGURE= yes
+TEST_TARGET= check
+USE_LANGUAGES= # empty
+USE_TOOLS= pkg-config
+
+PKG_SYSCONFSUBDIR= pkg_comp
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= PKG_COMP_CONFSUBDIR=
+INSTALL_MAKE_FLAGS+= pkg_comp_confdir=${EGDIR}
+EGDIR= ${PREFIX}/share/examples/pkg_comp
+CONF_FILES+= ${EGDIR}/default.conf ${PKG_SYSCONFDIR}/default.conf
+CONF_FILES+= ${EGDIR}/extra.mk.conf ${PKG_SYSCONFDIR}/extra.mk.conf
+CONF_FILES+= ${EGDIR}/sandbox.conf ${PKG_SYSCONFDIR}/sandbox.conf
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pkg_comp
+PKG_SUPPORTED_OPTIONS= tests
+PKG_SUGGESTED_OPTIONS= tests
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mtests)
+. include "../../devel/atf/buildlink3.mk"
+PLIST_SUBST+= TESTS=
+.else
+CONFIGURE_ARGS+= --with-atf=no
+PLIST_SUBST+= TESTS=@comment
+
+post-install:
+ rm -rf "${PREFIX}/share/tests/pkg_comp"
+.endif
+
+BUILDLINK_API_DEPENDS.shtk+= shtk>=1.7
+.include "../../devel/shtk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0422d11aba33 -r f85bd12f37cb pkgtools/pkg_comp/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_comp/PLIST Fri Feb 17 21:25:46 2017 +0000
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.3 2017/02/17 21:25:46 jmmv Exp $
+man/man5/pkg_comp.conf.5
+man/man8/pkg_comp.8
+man/man8/pkg_comp4cron.8
+sbin/pkg_comp
+sbin/pkg_comp4cron
+share/doc/pkg_comp/AUTHORS
+share/doc/pkg_comp/CONTRIBUTING.md
+share/doc/pkg_comp/CONTRIBUTORS
+share/doc/pkg_comp/COPYING
+share/doc/pkg_comp/NEWS
+share/examples/pkg_comp/default.conf
+share/examples/pkg_comp/extra.mk.conf
+share/examples/pkg_comp/sandbox.conf
+share/pkg_comp/sandbox.conf.post
+share/pkg_comp/sandbox.conf.pre
+share/shtk/pkg_comp_git.subr
+share/shtk/pkg_comp_pkgsrc.subr
+${TESTS}tests/pkg_comp/Kyuafile
+${TESTS}tests/pkg_comp/pkg_comp_git_test
+${TESTS}tests/pkg_comp/pkg_comp_inttest
+${TESTS}tests/pkg_comp/pkg_comp_pkgsrc_test
+${TESTS}tests/pkg_comp/pkg_comp_test
+${TESTS}tests/pkg_comp/pkg_comp4cron_test
diff -r 0422d11aba33 -r f85bd12f37cb pkgtools/pkg_comp/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_comp/distinfo Fri Feb 17 21:25:46 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/17 21:25:46 jmmv Exp $
+
+SHA1 (pkg_comp-2.0.tar.gz) = fe91c1d3f42a30ccaed2da7ca4fcb68a8ce78d3f
+RMD160 (pkg_comp-2.0.tar.gz) = 8b41936bf8c28b0a9cc711aa566b947b57d8fdfa
+SHA512 (pkg_comp-2.0.tar.gz) = dd7d96e36e05a5c4bb3dc0bda6c27a574f86e4b279e4ab3a97d156959d5bf7a9d12bd4d029ddfcef7a368f15d1891eb17ccd9b428000cfca2d41ce2073d587a7
+Size (pkg_comp-2.0.tar.gz) = 92496 bytes
Home |
Main Index |
Thread Index |
Old Index