summaryrefslogtreecommitdiff
path: root/packages/pmount
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pmount')
-rw-r--r--packages/pmount/.mtn2git_empty0
-rw-r--r--packages/pmount/files/.mtn2git_empty0
-rw-r--r--packages/pmount/files/no-hal.patch11
-rw-r--r--packages/pmount/pmount_0.9.4.bb14
4 files changed, 25 insertions, 0 deletions
diff --git a/packages/pmount/.mtn2git_empty b/packages/pmount/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/pmount/.mtn2git_empty
diff --git a/packages/pmount/files/.mtn2git_empty b/packages/pmount/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/pmount/files/.mtn2git_empty
diff --git a/packages/pmount/files/no-hal.patch b/packages/pmount/files/no-hal.patch
new file mode 100644
index 0000000000..0deffdee5d
--- /dev/null
+++ b/packages/pmount/files/no-hal.patch
@@ -0,0 +1,11 @@
+--- pmount-0.9.4/Makefile.orig 2005-09-22 15:43:39 +0200
++++ pmount-0.9.4/Makefile 2005-09-22 15:43:52 +0200
+@@ -9,7 +9,7 @@
+ pumount_OBJ = pumount.o policy.o utils.o luks.o
+ pmount_hal_OBJ = pmount-hal.o policy.o utils.o fs.o
+
+-all: pmount pumount pmount-hal po/pmount.pot
++all: pmount pumount po/pmount.pot
+
+ pmount: $(pmount_OBJ)
+ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@
diff --git a/packages/pmount/pmount_0.9.4.bb b/packages/pmount/pmount_0.9.4.bb
new file mode 100644
index 0000000000..ceb0d070c7
--- /dev/null
+++ b/packages/pmount/pmount_0.9.4.bb
@@ -0,0 +1,14 @@
+DESCRIPTION="mount removable devices as normal user"
+DEPENDS="sysfsutils"
+PR="r0"
+
+SRC_URI="http://www.piware.de/projects/pmount-0.9.4.tar.gz \
+ file://no-hal.patch;patch=1"
+
+do_install() {
+ install -m 4755 -D ${S}/pmount ${D}/${bindir}/pmount
+ install -m 4755 -D ${S}/pumount ${D}/${bindir}/pumount
+ install -m 644 -D ${S}/pmount.1 ${D}/${datadir}/man/man1/pmount.1
+ install -m 644 -D ${S}/pumount.1 ${D}/${datadir}/man/man1/pumount.1
+ install -m 644 -D ${S}/pmount.allow ${D}/${sysconfdir}/pmount.allow
+}