summaryrefslogtreecommitdiff
path: root/Tools/scripts/pkg-stash/pkg-list.sh
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2003-01-08 15:40:08 +0000
committerPeter Pentchev <roam@FreeBSD.org>2003-01-08 15:40:08 +0000
commit77ec5aff0a370f9b15970dfe1783fd99d374ee56 (patch)
treed878cdb236f25bfb19d8f7ea1e7f88ae87b5a30a /Tools/scripts/pkg-stash/pkg-list.sh
parentUpdate to ccache-2.1, which fixes a segfault when ccache(1) is invoked (diff)
Add two utilties for listing and stashing away package files obtained
from recursive dependency builds a la: make DEPENDS_TARGET='install package clean' all install package clean The pkg-list script obtains a list of the packages in the dependency directories; the pkg-stash script moves them away to a predefined directory, adding a timestamp to the package file name. This is convenient for keeping ready-built packages for system rescue activities.
Notes
Notes: svn path=/head/; revision=72748
Diffstat (limited to 'Tools/scripts/pkg-stash/pkg-list.sh')
-rw-r--r--Tools/scripts/pkg-stash/pkg-list.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/scripts/pkg-stash/pkg-list.sh b/Tools/scripts/pkg-stash/pkg-list.sh
new file mode 100644
index 000000000000..88cdc2a16970
--- /dev/null
+++ b/Tools/scripts/pkg-stash/pkg-list.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# $FreeBSD$
+
+for i in . `make all-depends-list`; do
+ cd $i && [ -f "`make -V PKGFILE`" ] && make -V PKGFILE
+done