aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-04 22:37:04 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-04 22:37:04 +0000
commit87ed85fc2329febf65e4d8f5802734908e97754f (patch)
tree3c45cf9f98f0a91c452e253dc6eb49a4ac4168e9
parentc594ec7021de939630f618430ac98995efdbc90d (diff)
downloadpaludis-87ed85fc2329febf65e4d8f5802734908e97754f.tar.gz
paludis-87ed85fc2329febf65e4d8f5802734908e97754f.tar.xz
Start shipping demo hooks
-rw-r--r--configure.ac1
-rw-r--r--hooks/Makefile.am.m42
-rwxr-xr-xhooks/demos/report.bash.in14
3 files changed, 16 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 49c4d61..c32c4b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -692,6 +692,7 @@ AC_OUTPUT(
ebuild/echo_functions.bash
eselect/Makefile
hooks/Makefile
+ hooks/demos/Makefile
misc/Makefile
misc/svn-version-filter-data.bash
paludis/Makefile
diff --git a/hooks/Makefile.am.m4 b/hooks/Makefile.am.m4
index 829a1ac..0f1f466 100644
--- a/hooks/Makefile.am.m4
+++ b/hooks/Makefile.am.m4
@@ -5,7 +5,7 @@ dnl vim: set ft=m4 noet :
MAINTAINERCLEANFILES = Makefile.in Makefile.am
CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda .keep
-SUBDIRS = .
+SUBDIRS = . demos
installvarlibpaludisnewsdir = $(localstatedir)/paludis/news
diff --git a/hooks/demos/report.bash.in b/hooks/demos/report.bash.in
new file mode 100755
index 0000000..674317c
--- /dev/null
+++ b/hooks/demos/report.bash.in
@@ -0,0 +1,14 @@
+#!/bin/bash
+# vim: set et sw=4 sts=4 :
+
+# This hook makes Paludis display a report about vulnerable, masked and unused
+# packages. If this functionality is desired, this script should be copied or
+# symlinked into:
+#
+# @DATADIR@/paludis/hooks/sync_all_post/
+#
+# You should ensure that it has execute permissions.
+
+${PALUDIS_COMMAND} --report
+echo
+