summaryrefslogtreecommitdiffstats
path: root/abs/mv-core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core')
-rwxr-xr-xabs/mv-core/MythVantage-config/PKGBUILD2
-rwxr-xr-xabs/mv-core/MythVantage-config/install_proxy.sh6
-rw-r--r--abs/mv-core/certmaster/PKGBUILD5
-rwxr-xr-xabs/mv-core/certmaster/certmaster.install46
-rw-r--r--abs/mv-core/func/PKGBUILD2
-rwxr-xr-xabs/mv-core/func/func.install11
6 files changed, 64 insertions, 8 deletions
diff --git a/abs/mv-core/MythVantage-config/PKGBUILD b/abs/mv-core/MythVantage-config/PKGBUILD
index 885e51d..d59299e 100755
--- a/abs/mv-core/MythVantage-config/PKGBUILD
+++ b/abs/mv-core/MythVantage-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=MythVantage-config
pkgver=3.2
-pkgrel=151
+pkgrel=152
pkgdesc="The Gui-installer"
depends=(bc mysql-python expect curl dnsutils sg3_utils parted)
arch=('i686')
diff --git a/abs/mv-core/MythVantage-config/install_proxy.sh b/abs/mv-core/MythVantage-config/install_proxy.sh
index d0be6c3..84b397e 100755
--- a/abs/mv-core/MythVantage-config/install_proxy.sh
+++ b/abs/mv-core/MythVantage-config/install_proxy.sh
@@ -106,7 +106,9 @@ full_install () {
cp -f $MV_ROOT/bin/*.sh "$mountpoint"$MV_ROOT/bin/
chmod -R 755 ${mountpoint}/root
cp /etc/mtab "$mountpoint"/etc/mtab
- apply_new_auth
+ apply_new_auth
+ mkdir -p $mountpoint/var/log/func
+ mkdir -p $mountpoint/var/log/certmaster
if [ $SystemType = "Master_backend" -o $SystemType = "Standalone" ]
then
@@ -222,6 +224,8 @@ function upgrade () {
chmod -R 755 ${mountpoint}/root
chown root:mythtv "$mountpoint"/etc/systemconfig
chmod 775 "$mountpoint"/etc/systemconfig
+ mkdir -p $mountpoint/var/log/func
+ mkdir -p $mountpoint/var/log/certmaster
#mount /proc and /dev
mount --bind /dev "$mountpoint/dev"
mount --bind /proc "$mountpoint/proc"
diff --git a/abs/mv-core/certmaster/PKGBUILD b/abs/mv-core/certmaster/PKGBUILD
index 96b8d2c..8158bd7 100644
--- a/abs/mv-core/certmaster/PKGBUILD
+++ b/abs/mv-core/certmaster/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=certmaster
pkgver=0.24
-pkgrel=5
+pkgrel=6
pkgdesc="certmaster"
url=""
license="gpl"
@@ -8,11 +8,10 @@ depends=(pyopenssl)
makedepends=()
conflicts=()
replaces=()
-backup=()
moddir="pkg/usr/lib/python2.5/site-packages/func/minion/modules/"
backup=('etc/certmaster/certmaster.conf' 'etc/certmaster/minion.conf')
-
+install=certmaster.install
source=($pkgname-$pkgver.tar.gz certmaster.conf minion.conf)
md5sums=()
arch=('i686')
diff --git a/abs/mv-core/certmaster/certmaster.install b/abs/mv-core/certmaster/certmaster.install
new file mode 100755
index 0000000..98c9215
--- /dev/null
+++ b/abs/mv-core/certmaster/certmaster.install
@@ -0,0 +1,46 @@
+# This is a default template for a post-install scriptlet. You can
+# remove any functions you don't need (and this header).
+
+# arg 1: the new package version
+pre_install() {
+/bin/true
+mkdir -p /var/log/certmaster
+}
+
+# arg 1: the new package version
+post_install() {
+ if [ ! -e /var/log/certmaster ]
+ then
+ mkdir -p /var/log/certmaster
+ fi
+
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_upgrade() {
+ /bin/true
+
+
+
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+op=$1
+shift
+$op $*
diff --git a/abs/mv-core/func/PKGBUILD b/abs/mv-core/func/PKGBUILD
index 96eafce..5dc03d6 100644
--- a/abs/mv-core/func/PKGBUILD
+++ b/abs/mv-core/func/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=func
pkgver=0.24
-pkgrel=21
+pkgrel=22
pkgdesc="fedora unifed network controller"
url=""
license="gpl"
diff --git a/abs/mv-core/func/func.install b/abs/mv-core/func/func.install
index a1d42f8..5f0fa72 100755
--- a/abs/mv-core/func/func.install
+++ b/abs/mv-core/func/func.install
@@ -4,6 +4,7 @@
# arg 1: the new package version
pre_install() {
/bin/true
+mkdir -p /var/log/func
}
# arg 1: the new package version
@@ -12,9 +13,15 @@ post_install() {
then
mkdir /etc/cron.tenminutes
fi
+ if [ ! -e /etc/cron.tenminutes/failed_func.sh ]
+ then
+ ln -s /usr/bin/failed_func.sh /etc/cron.tenminutes/failed_func.sh
+ fi
- ln -s /usr/bin/failed_func.sh /etc/cron.tenminutes/failed_func.sh
-
+ if [ ! -e /var/log/func ]
+ then
+ mkdir -p /var/log/func
+ fi
}