summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/gestpkg/.footprint5
-rw-r--r--extra/gestpkg/.md5sum2
-rw-r--r--extra/gestpkg/Pkgfile7
-rw-r--r--extra/gestpkg/gestpkg-logfile-02.patch11
4 files changed, 19 insertions, 6 deletions
diff --git a/extra/gestpkg/.footprint b/extra/gestpkg/.footprint
index 4222c5843..113f8facd 100644
--- a/extra/gestpkg/.footprint
+++ b/extra/gestpkg/.footprint
@@ -17,8 +17,6 @@ drwxr-xr-x root/root usr/lib/python2.6/site-packages/GestPkgGUI/img/
-rw-r--r-- root/root usr/lib/python2.6/site-packages/GestPkgGUI/img/NuTyX_logo.png
-rw-r--r-- root/root usr/lib/python2.6/site-packages/GestPkgGUI/info.py
-rw-r--r-- root/root usr/lib/python2.6/site-packages/GestPkgGUI/info.pyc
-drwxr-xr-x root/root usr/lib/python2.6/site-packages/GestPkgGUI/log/
--rw-r--r-- root/root usr/lib/python2.6/site-packages/GestPkgGUI/log/gestpkg.log
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/gestpkg.desktop
@@ -33,3 +31,6 @@ drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/gestpkg.png
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/log/
+-rw-r--r-- root/root var/log/gestpkg.log (EMPTY)
diff --git a/extra/gestpkg/.md5sum b/extra/gestpkg/.md5sum
index 795913ac8..6bd66c677 100644
--- a/extra/gestpkg/.md5sum
+++ b/extra/gestpkg/.md5sum
@@ -1,2 +1,2 @@
3179e41e300e59b43651d3113c703307 gestpkg-1.1-src.tar.gz
-7cd1de5a8f6f81f3c85130d195600f4c gestpkg-logfile-01.patch
+adeb6c40bbc285cac196d40831f580db gestpkg-logfile-02.patch
diff --git a/extra/gestpkg/Pkgfile b/extra/gestpkg/Pkgfile
index a9c63d445..49cd66b54 100644
--- a/extra/gestpkg/Pkgfile
+++ b/extra/gestpkg/Pkgfile
@@ -6,13 +6,14 @@
name=gestpkg
version=1.1
-release=2
+release=3
source=(http://kiao.no-ip.info/NuTyX/files/$name-$version-src.tar.gz\
- gestpkg-logfile-01.patch)
+ gestpkg-logfile-02.patch)
build() {
-cd $name-$version-src
+ cd $name-$version-src
+ patch -Np1 -i ../gestpkg-logfile-02.patch
rm -r GestPkgGUI/log
python setup.py install --root=$PKG
diff --git a/extra/gestpkg/gestpkg-logfile-02.patch b/extra/gestpkg/gestpkg-logfile-02.patch
new file mode 100644
index 000000000..f4935ea5e
--- /dev/null
+++ b/extra/gestpkg/gestpkg-logfile-02.patch
@@ -0,0 +1,11 @@
+--- gestpkg-1.1-src.original/GestPkgGUI/GestPkgGUI.py 2009-10-12 14:33:35.000000000 +0200
++++ gestpkg-1.1-src/GestPkgGUI/GestPkgGUI.py 2010-09-14 08:43:20.000000000 +0200
+@@ -126,7 +126,7 @@
+ #------------------------------ LOG ------------------------------------
+
+ saveout = sys.stdout
+-f = open(REP_DATA + "/log/gestpkg.log", "w")
++f = open("/var/log/gestpkg.log", "w")
+ sys.stdout = f
+ sys.stderr = f
+