summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorGravatar aeb 2000-11-25 02:05:35 +0000
committerGravatar aeb 2000-11-25 02:05:35 +0000
commitc7d326137ecd2e53d531ef3cc9abf1c8954cd4ab (patch)
treea1f481d7ff2154798d735ee5499754d7f970fdfd /debian
parentAdd some information about return values. (diff)
Fix postinst ldconfig.
Fix device file creation. Install NEWS and README as documentation in the dev package. git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@46 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'debian')
-rw-r--r--debian/libraw1394.postinst.in17
-rw-r--r--debian/rules5
2 files changed, 11 insertions, 11 deletions
diff --git a/debian/libraw1394.postinst.in b/debian/libraw1394.postinst.in
index 8e91020..0f60fbe 100644
--- a/debian/libraw1394.postinst.in
+++ b/debian/libraw1394.postinst.in
@@ -1,7 +1,7 @@
#!/bin/sh -e
if [ "$1" = "configure" ]; then
- ldconfig usr/lib/@libname@
+ ldconfig
if [ ! -c /dev/raw1394 ]; then
echo
@@ -9,20 +9,21 @@ if [ "$1" = "configure" ]; then
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] "
+ echo -n "Should I create it for you? [Y/n] "
read REPLY
case "$REPLY" in
- y|yes)
+ 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 "It is owned by root with read/write permissions for root."
+ echo "You may want to fix the group/permission to something"
+ echo "appropriate for you. Note however that anyone who can open"
+ echo "raw1394 can access all devices on all connected 1394 buses"
+ echo "unrestricted, including harddisks and other probably"
+ echo "sensitive devices."
;;
*)
echo
diff --git a/debian/rules b/debian/rules
index d309604..7f73d44 100644
--- a/debian/rules
+++ b/debian/rules
@@ -51,10 +51,9 @@ binary-arch: build install autoclean-files
usr/lib/$(fullversionname)
echo debian/libraw1394-$(major).postinst >>autoclean-files
- sed <debian/libraw1394.postinst.in >debian/libraw1394-$(major).postinst \
- -e s/@libname@/$(fullversionname)/
+ cp debian/libraw1394.postinst.in debian/libraw1394-$(major).postinst
- dh_installdocs
+ dh_installdocs README NEWS
dh_installchangelogs
dh_strip
dh_compress
51bad732094834f752ee75db73228e01bcb7c56b&follow=1'>typosGravatar John Cowan 1-1/+1 2021-07-26paired mutatorsGravatar John Cowan 1-43/+68 2021-07-26exceptionsGravatar John Cowan 1-1/+15 2021-07-26new exampleGravatar John Cowan 1-1/+4 2021-07-26updatesGravatar John Cowan 1-2/+4 2021-07-26dtd always first argumentGravatar John Cowan 1-9/+9 2021-07-26DTO to DTDGravatar John Cowan 1-55/+52 2021-07-26typoGravatar John Cowan 1-1/+1 2021-07-26switching to explicit dtosGravatar John Cowan 1-88/+102 2021-07-26errorsGravatar John Cowan 1-1/+4 2021-07-26more MN-W reviewGravatar John Cowan 1-5/+5 2021-07-26update preview linkGravatar John Cowan 1-1/+1 2021-07-26MN-W reviewGravatar John Cowan 1-6/+6 2021-07-26paired mutatorsGravatar John Cowan 1-43/+68 2021-07-25exceptionsGravatar John Cowan 1-1/+15 2021-07-25new exampleGravatar John Cowan 1-1/+4 2021-07-25updatesGravatar John Cowan 1-2/+4 2021-07-24dtd always first argumentGravatar John Cowan 1-9/+9 2021-07-23DTO to DTDGravatar John Cowan 1-55/+52 2021-07-22typoGravatar John Cowan 1-1/+1 2021-07-22switching to explicit dtosGravatar John Cowan 1-88/+102 2021-07-22errorsGravatar John Cowan 1-1/+4 2021-07-22more MN-W reviewGravatar John Cowan 1-5/+5 2021-07-20update preview linkGravatar John Cowan 1-1/+1 2021-07-20MN-W reviewGravatar John Cowan 1-6/+6 2021-07-18Fix typo.Gravatar Arthur A. Gleckler 2-4/+4 2021-07-18Add <p> around abstract.Gravatar Arthur A. Gleckler 1-2/+2 2021-07-18Publish first draft.draft-1Gravatar Arthur A. Gleckler 3-0/+114 2021-07-18Ignore trailing whitespace.Gravatar Arthur A. Gleckler 11-129/+129 2021-07-18Ignore "Dictionaries.log".Gravatar Arthur A. Gleckler 1-1/+2 2021-07-18Fix errors reported by W3C HTML Validator.Gravatar Arthur A. Gleckler 1-27/+27 2021-07-18Eliminate unnecessary redirect by using TLS/SSL.Gravatar Arthur A. Gleckler 1-1/+1