Coda File System

2 problems when building the package

From: Michael Tautschnig <michael.tautschnig_at_zt-consulting.com>
Date: Tue, 17 Aug 2004 18:30:23 +0200 (CEST)
Hi!

Should norton(-reinit) go into /usr/sbin or /usr/bin ? My idea:

Index: debian/coda-server.files
===================================================================
RCS file: /coda-src/coda/debian/coda-server.files,v
retrieving revision 1.10
diff -U3 -r1.10 coda-server.files
--- debian/coda-server.files    14 Jul 2004 15:21:26 -0000      1.10
+++ debian/coda-server.files    17 Aug 2004 16:26:13 -0000
@@ -2,8 +2,8 @@
 etc/init.d/codasrv.init
 etc/init.d/auth2.init
 usr/bin/getvolinfo
-usr/bin/norton
-usr/bin/norton-reinit
+usr/sbin/norton
+usr/sbin/norton-reinit
 usr/bin/reinit
 usr/bin/rpc2ping
 usr/bin/rvmsizer

The way we get the section for the manpages is somewhat troublesome -
another little patch to make it work for passwd.coda.5 too:

Index: configs/Makerules
===================================================================
RCS file: /coda-src/coda/configs/Makerules,v
retrieving revision 4.53
diff -U3 -r4.53 Makerules
--- configs/Makerules   17 Aug 2004 14:47:55 -0000      4.53
+++ configs/Makerules   17 Aug 2004 16:29:57 -0000
@@ -179,7 +179,7 @@
 c_man_install: $(CMANPAGES)
 ifdef CMANPAGES
        for page in $(CMANPAGES) ; do \
-           sect=`echo $$page | cut -d. -f2` ; \
+           sect=`echo $$page | cut -d. -f2- | sed 's/[^[:digit:]]*//g'` ;
\
            $(TOPDIR)/tools/our-install 644 $(MANDIR)/man$$sect $$page ; \
        done
 endif
@@ -187,7 +187,7 @@
 s_man_install: $(SMANPAGES)
 ifdef SMANPAGES
        for page in $(SMANPAGES) ; do \
-           sect=`echo $$page | cut -d. -f2` ; \
+           sect=`echo $$page | cut -d. -f2- | sed 's/[^[:digit:]]*//g'` ;
\
            $(TOPDIR)/tools/our-install 644 $(MANDIR)/man$$sect $$page ; \
        done
 endif

Regards,
Michael
Received on 2004-08-17 12:32:18