From 1186e05e3771bf8c34795b03173e3349d2ea3906 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 14 May 2007 18:22:20 +0000 Subject: [PATCH] * improved argus to copy its config file to $sysconfdir and to install the archiving script git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21045 10447126-35f2-4685-b0cf-6dd780d3921f --- network/argus/argus.conf | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/network/argus/argus.conf b/network/argus/argus.conf index a2a548510..c4ce80d83 100644 --- a/network/argus/argus.conf +++ b/network/argus/argus.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../argus/argus.conf -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -19,3 +19,11 @@ if [ $prefix_auto = 1 ] ; then fi var_append makeopt " " "DESTDIR=$root" + +pkg_argus_postmake() { + # copy argus.conf + cp -av support/Config/argus.conf $root$sysconfdir + # copy argusarchive (log archiving/rotation script) + cp -av support/Archive/argusarchive $root$bindir +} +hook_add postmake 5 "pkg_argus_postmake"