summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorGravatar aeb 2000-11-24 01:03:43 +0000
committerGravatar aeb 2000-11-24 01:03:43 +0000
commit670ce6c77a1a884cb8002e13cff380909dada3bc (patch)
treed578f1ab2fe92acc4b3798c2bc966c9823519aad /debian
parentAdd ldconfig in deb postinst for Debian policy conformance. (diff)
Added libraw1394.postinst.in to list of distributed files.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@43 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
-rw-r--r--debian/Makefile.am2
-rw-r--r--debian/libraw1394.postinst.in32
-rw-r--r--debian/rules4
3 files changed, 35 insertions, 3 deletions
diff --git a/debian/Makefile.am b/debian/Makefile.am
index 330f2f0..93e5600 100644
--- a/debian/Makefile.am
+++ b/debian/Makefile.am
@@ -1,3 +1,3 @@
# process this file with automake to create a Makefile.in
-EXTRA_DIST = control rules changelog copyright
+EXTRA_DIST = control rules changelog copyright libraw1394.postinst.in
diff --git a/debian/libraw1394.postinst.in b/debian/libraw1394.postinst.in
index 38bea86..8e91020 100644
--- a/debian/libraw1394.postinst.in
+++ b/debian/libraw1394.postinst.in
@@ -2,6 +2,38 @@
if [ "$1" = "configure" ]; then
ldconfig usr/lib/@libname@
+
+ if [ ! -c /dev/raw1394 ]; then
+ echo
+ echo "Required /dev/raw1394 device file not found."
+ echo "Without it, libraw1394 is quite useless as it can't talk"
+ echo "to the kernel driver."
+ echo
+ echo -n "Should I create it for you? [N/y] "
+ read REPLY
+
+ case "$REPLY" in
+ y|yes)
+ mknod -m600 /dev/raw1394 c 171 0
+ chown root.root /dev/raw1394
+ echo
+ echo "/dev/raw1394 created."
+ echo "It is owned by root with permissions 600. You may want to fix"
+ echo "the group/permission to something appropriate for you."
+ echo "Note however that anyone who can open raw1394 can access all"
+ echo "devices on all connected 1394 buses unrestricted, including"
+ echo "harddisks and other probably sensitive devices."
+ ;;
+ *)
+ echo
+ echo "/dev/raw1394 not created."
+ echo "You can create it at a later time using /dev/MAKEDEV if you"
+ echo "have a version that already knows raw1394 or you can create"
+ echo "it manually with the command:"
+ echo "mknod -m600 /dev/raw1394 c 171 0"
+ ;;
+ esac
+ fi
fi
#DEBHELPER#
diff --git a/debian/rules b/debian/rules
index f610f0e..d309604 100644
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,7 @@ clean: autoclean-files
-$(MAKE) distclean
dh_clean
- xargs <autoclean_files rm -f
+ xargs <autoclean-files rm -f
install: build
dh_testdir
@@ -50,7 +50,7 @@ binary-arch: build install autoclean-files
usr/lib/$(majorname) \
usr/lib/$(fullversionname)
- echo debian/libraw1394-$(major).postinst >>autoclean_files
+ echo debian/libraw1394-$(major).postinst >>autoclean-files
sed <debian/libraw1394.postinst.in >debian/libraw1394-$(major).postinst \
-e s/@libname@/$(fullversionname)/
d4a021095ff680a927d4a996b051468bc6a&follow=1'>Patch from Stephen Tiedemann to allow reentrancy in raw1394's usage ofGravatar bencollins 7-200/+199 2003-07-17Patch from Dan Maas to add raw1394_iso_recv_flush() call to API, using theGravatar bencollins 2-3/+25 2003-07-17pkg-config support from Kristian Hogsberg.Gravatar bencollins 3-1/+15 2003-07-17Remove trailing whitespace, which automake chokes on.Gravatar bencollins 1-1/+1 2003-07-13Fixed section for -dev package.Gravatar bencollins 1-1/+1 2003-07-13Re-add the pdf buildGravatar bencollins 1-0/+1 2003-07-13Update Debian files.Gravatar bencollins 4-25/+73 2003-07-13Ok, the Debian package was way out of sync with upstreamGravatar bencollins 1-1/+1 2003-07-13Ooops...libtool works a bit different than I thought, but atleast it worksGravatar bencollins 2-6/+1 2003-07-13Generate and install the pdf in the Debian package.Gravatar bencollins 3-3/+4 2003-07-13Don't run configure at the end of autogen.sh. Also, remove autom4te.cache.Gravatar bencollins 1-1/+1 2003-07-13Update Debian maintainerGravatar bencollins 1-1/+2 2003-07-13Update Debian changelog.Gravatar bencollins 1-0/+8 2003-07-13File doesn't really seem needed. The NEWS file gives a good overview, andGravatar bencollins 1-4/+0 2003-07-13Fix compiler warnings.Gravatar bencollins 4-12/+22 2003-07-13Updates from 0.10.0 release.Gravatar bencollins 4-5/+14 2003-04-23add libtoolize to bootstrapGravatar ddennedy 1-1/+10 2003-04-21added Dan Maas' rawiso docsGravatar ddennedy 1-32/+295 2003-04-07new_handle_on_port() error path fix from Jim RadfordGravatar dmaas 1-1/+3 2003-03-26add raw1394_new_handle_on_port() convenience functionGravatar dmaas 2-1/+41 2003-02-22Updates for new rawiso ioctl interface.Gravatar bencollins 3-37/+125 2003-01-15add iso_xmit_sync() and iso_xmit_write(); clean up iso handling a bitGravatar dmaas 5-39/+161 2003-01-15implement tag matching for rawiso receptionGravatar dmaas 3-4/+12 2003-01-06back out previous commit - don't drop the legacy API just yetGravatar dmaas 6-173/+130 2003-01-05emulate legacy ISO reception API on top of new rawiso APIGravatar dmaas 7-131/+174 2002-12-24update iso API for multi-channel reception and new packet buffer layoutGravatar dmaas 4-123/+236 2002-12-20oops, irq_interval needs to be signedGravatar anonymous 1-1/+1 2002-12-20dmaas - renamed exported arm definitions into the raw1394_ namespace; brought...Gravatar anonymous 3-124/+48 2002-12-16rawiso updates:Gravatar dmaas 3-18/+25 2002-11-18fix cplusplus extern C blockGravatar ddennedy 1-4/+4 2002-11-18merged rawiso branchGravatar ddennedy 7-6/+488