summaryrefslogtreecommitdiff
path: root/manualPorts/logwatch/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/logwatch/Pkgfile')
-rw-r--r--manualPorts/logwatch/Pkgfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/manualPorts/logwatch/Pkgfile b/manualPorts/logwatch/Pkgfile
new file mode 100644
index 0000000..dea66d8
--- /dev/null
+++ b/manualPorts/logwatch/Pkgfile
@@ -0,0 +1,36 @@
+# Description: A tool to summarize log file entries
+# URL: http://sourceforge.net/projects/logwatch/
+# Maintainer: Erich Eckner, crux at eckner dot net
+
+name=logwatch
+version=7.4.3
+release=1
+source=(http://sourceforge.net/projects/$name/files/$name-$version/$name-$version.tar.gz
+ archive.patch)
+
+build() {
+
+ cd $name-$version
+
+ patch -p0 < ../archive.patch
+
+ mkdir -p $PKG/etc/logwatch
+ mkdir $PKG/etc/logwatch/scripts
+ mkdir $PKG/etc/logwatch/conf
+ mkdir $PKG/etc/logwatch/conf/logfiles
+ mkdir $PKG/etc/logwatch/conf/services
+ touch $PKG/etc/logwatch/conf/logwatch.conf
+ touch $PKG/etc/logwatch/conf/ignore.conf
+ touch $PKG/etc/logwatch/conf/override.conf
+
+ mkdir -p $PKG/usr/share/logwatch
+ mkdir $PKG/usr/share/logwatch/dist.conf
+ mkdir $PKG/usr/share/logwatch/dist.conf/logfiles
+ mkdir $PKG/usr/share/logwatch/dist.conf/services
+
+ mv conf/ $PKG/usr/share/logwatch/default.conf
+ mv scripts/ $PKG/usr/share/logwatch/scripts
+ mv lib $PKG/usr/share/logwatch/lib
+
+ mkdir -p $PKG/var/cache/logwatch
+}