From ee3b6612ff237343d8e8ac9499b9f4eec8d0edb9 Mon Sep 17 00:00:00 2001 From: "tlimoncelli@stackexchange.com" Date: Mon, 16 Feb 2015 16:17:30 +0000 Subject: [PATCH] - Add blackbox_list_files to RPM and MacPorts packages. - Makefile should not require DESTDIR variable. --- Makefile | 6 +++--- tools/mk_macports.vcs_blackbox.txt | 1 + tools/mk_rpm_fpmdir.stack_blackbox.txt | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 69f80ee..986856d 100644 --- a/Makefile +++ b/Makefile @@ -25,9 +25,9 @@ tools/mk_macports.vcs_blackbox.txt: tools/mk_rpm_fpmdir.stack_blackbox.txt sed -e 's@/usr/blackbox/bin/@bin/@g' -e '/profile.d-usrblackbox.sh/d' $@ check-destdir: -ifndef DESTDIR - $(error DESTDIR is undefined) -endif + ifndef DESTDIR + $(error DESTDIR is undefined) + endif # MacPorts expects to run: make packages-macports DESTDIR=${destroot} packages-macports: tools/mk_macports.vcs_blackbox.txt check-destdir diff --git a/tools/mk_macports.vcs_blackbox.txt b/tools/mk_macports.vcs_blackbox.txt index 4948454..55afb3f 100644 --- a/tools/mk_macports.vcs_blackbox.txt +++ b/tools/mk_macports.vcs_blackbox.txt @@ -11,3 +11,4 @@ exec bin/blackbox_register_new_file ../bin/blackbox_register_new_file exec bin/blackbox_removeadmin ../bin/blackbox_removeadmin exec bin/blackbox_shred_all_files ../bin/blackbox_shred_all_files exec bin/blackbox_update_all_files ../bin/blackbox_update_all_files +exec bin/blackbox_list_files ../bin/blackbox_list_files diff --git a/tools/mk_rpm_fpmdir.stack_blackbox.txt b/tools/mk_rpm_fpmdir.stack_blackbox.txt index fa0093b..de4731e 100644 --- a/tools/mk_rpm_fpmdir.stack_blackbox.txt +++ b/tools/mk_rpm_fpmdir.stack_blackbox.txt @@ -12,3 +12,4 @@ exec /usr/blackbox/bin/blackbox_register_new_file ../bin/blackbox_register_new_f exec /usr/blackbox/bin/blackbox_removeadmin ../bin/blackbox_removeadmin exec /usr/blackbox/bin/blackbox_shred_all_files ../bin/blackbox_shred_all_files exec /usr/blackbox/bin/blackbox_update_all_files ../bin/blackbox_update_all_files +exec /usr/blackbox/bin/blackbox_list_files ../bin/blackbox_list_files