From 9903d4e33861e1e851fee84a82959e85b61456ff Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 6 Jun 2013 19:08:28 +0000 Subject: Add mga-advisories module --- modules/mga-advisories/templates/mga-advisories.conf | 5 +++++ modules/mga-advisories/templates/update_script | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 modules/mga-advisories/templates/mga-advisories.conf create mode 100644 modules/mga-advisories/templates/update_script (limited to 'modules/mga-advisories/templates') diff --git a/modules/mga-advisories/templates/mga-advisories.conf b/modules/mga-advisories/templates/mga-advisories.conf new file mode 100644 index 00000000..2e814fc7 --- /dev/null +++ b/modules/mga-advisories/templates/mga-advisories.conf @@ -0,0 +1,5 @@ +send_adv_mail: yes +send_report_mail: yes +out_dir: <%= @vhostdir %> +advisories_dir: <%= @advisories_dir %> +status_dir: <%= @status_dir %> diff --git a/modules/mga-advisories/templates/update_script b/modules/mga-advisories/templates/update_script new file mode 100644 index 00000000..16f7a6b1 --- /dev/null +++ b/modules/mga-advisories/templates/update_script @@ -0,0 +1,6 @@ +#!/bin/sh +set -e + +cd <%= @advisories_dir %> +svn up +exec /usr/bin/mkadvisories -- cgit v1.2.1