summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/vasile/files/vasile-1.1710-r1.patch39
-rw-r--r--app-admin/vasile/vasile-1.1710-r1.ebuild (renamed from app-admin/vasile/vasile-1.1710.ebuild)5
2 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/vasile/files/vasile-1.1710-r1.patch b/app-admin/vasile/files/vasile-1.1710-r1.patch
new file mode 100644
index 00000000..87540b85
--- /dev/null
+++ b/app-admin/vasile/files/vasile-1.1710-r1.patch
@@ -0,0 +1,39 @@
+diff --git a/src/backend/f_generic.sh b/src/backend/f_generic.sh
+index d692c46..ce413fe 100644
+--- a/src/backend/f_generic.sh
++++ b/src/backend/f_generic.sh
+@@ -38,7 +38,7 @@ checkjailsum () {
+ fi
+ }
+
+-jaildkmsbuild () {
++dkmsmodbuild () {
+ checkifroot
+ if [[ -x /usr/sbin/dkms ]] ; then
+ for i in $(dkms status | cut -d " " -f1,2 | sed -e 's/,//g' | sed -e 's/ /\//g' | sed -e 's/://g') ; do
+diff --git a/src/backend/f_makeiso.sh b/src/backend/f_makeiso.sh
+index be5a550..8cadcfa 100644
+--- a/src/backend/f_makeiso.sh
++++ b/src/backend/f_makeiso.sh
+@@ -56,7 +56,7 @@ jailisostart () {
+ mkliveimg () {
+ # create live filesystem image layout
+ mkdir -p "$jailsynctarget"
+- truncate -s 10G ""$jailsynctarget".img"
++ dd if=/dev/zero of=""$jailsynctarget".img" bs=1M count=15360
+ sync
+ mkfs.ext2 -F ""$jailsynctarget".img"
+ mkdir -p "$jailsyncsource"
+diff --git a/src/frontend/cli/vasile.sh b/src/frontend/cli/vasile.sh
+index aeb27b3..557caee 100755
+--- a/src/frontend/cli/vasile.sh
++++ b/src/frontend/cli/vasile.sh
+@@ -34,7 +34,7 @@ case $1 in
+ srcmode
+ ;;
+ --dkms)
+- dkmsmod
++ dkmsmodbuild
+ ;;
+ --help)
+ showhelp
diff --git a/app-admin/vasile/vasile-1.1710.ebuild b/app-admin/vasile/vasile-1.1710-r1.ebuild
index c519500a..0fa43fa7 100644
--- a/app-admin/vasile/vasile-1.1710.ebuild
+++ b/app-admin/vasile/vasile-1.1710-r1.ebuild
@@ -22,6 +22,11 @@ RDEPEND="${DEPEND}
sys-fs/mtools
sys-fs/squashfs-tools"
+src_prepare() {
+ default
+ eapply "${FILESDIR}/${P}-r1.patch"
+}
+
src_install() {
default
dosym /usr/bin/${PN}.sh /usr/bin/${PN}