]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Initial server packages
authorSam Hartman <hartmans@debian.org>
Fri, 10 Nov 2000 00:01:27 +0000 (00:01 +0000)
committerSam Hartman <hartmans@debian.org>
Fri, 10 Nov 2000 00:01:27 +0000 (00:01 +0000)
debian/control
debian/filelist
debian/openafs-dbserver.dirs [new file with mode: 0644]
debian/openafs-fileserver.dirs [new file with mode: 0644]
debian/rules

index 8a88207fbcc43f4174d81e99a1403cef144bf2d1..4bfa4733fcbc4bce54823553f72980b7d5fe5441 100644 (file)
@@ -6,7 +6,7 @@ Build-Depends: debhelper, libncurses5-dev, libpam0g-dev, bison
 Standards-Version: 3.1.1
 
 Package: openafs-client
-Architecture: any
+Architecture: i386
 Depends: ${shlibs:Depends}, debconf
 Recommends: openafs-modules
 Description: The AFS distributed filesystem- client support
@@ -17,8 +17,31 @@ Description: The AFS distributed filesystem- client support
    This package provides basic client support to mount and manipulate
    AFS.
 
+Package: openafs-fileserver
+Architecture: i386
+Depends: ${shlibs:Depends}, debconf, openafs-client (= ${Source-Version})
+Description: The AFS distributed filesystem- file server
+   AFS is a distributed filesystem allowing cross-platform sharing of
+   files among multiple computers.  Facilities are provided for access
+   control, authentication, backup and administrative management.
+   .
+ This package provides the AFS fileserver binaries.  It should be
+ installed on any machine that will export files into AFS.
+
+Package: openafs-dbserver
+Architecture: i386
+Depends: ${shlibs:Depends}, debconf, openafs-fileserver (= ${Source-Version})
+Description: The AFS distributed filesystem- database server
+   AFS is a distributed filesystem allowing cross-platform sharing of
+   files among multiple computers.  Facilities are provided for access
+   control, authentication, backup and administrative management.
+   .
+ This package provides AFS database server binaries.  It should be
+ installed on the servers that will act as volume location and
+ protection servers.
+
 Package: libopenafs-dev
-Architecture: any
+Architecture: i386
 Description: The AFS distributed filesystem- development libraries
    AFS is a distributed filesystem allowing cross-platform sharing of
    files among multiple computers.  Facilities are provided for access
index ee47ced49458e4e96b6401f393faabbe10642d4f..be4964832d6108a30b4b057fb9a0a3c2d48b830a 100644 (file)
@@ -2,5 +2,10 @@ openafs-client/usr/bin bin/fs bin/pts bin/bos etc/vos bin/tokens
 openafs-client/usr/sbin root.client/usr/vice/etc/afsd
 openafs-client/usr/bin bin/klog  bin/kpwvalid bin/unlog
 openafs-client/etc/openafs     ../../debian/CellServDB
+openafs-fileserver/usr/lib/openafs  root.server/usr/afs/bin/fileserver root.server/usr/afs/bin/volserver
+openafs-fileserver/usr/sbin    root.server/usr/afs/bin/bosserver
+openafs-fileserver/usr/lib/openafs root.server/usr/afs/bin/salvager 
+openafs-dbserver/usr/lib/openafs       root.server/usr/afs/bin/vlserver 
+openafs-dbserver/usr/lib/openafs root.server/usr/afs/bin/ptserver
 libopenafs-dev/usr     lib
 libopenafs-dev/usr include
diff --git a/debian/openafs-dbserver.dirs b/debian/openafs-dbserver.dirs
new file mode 100644 (file)
index 0000000..2cbb144
--- /dev/null
@@ -0,0 +1 @@
+var/lib/openafs/db
diff --git a/debian/openafs-fileserver.dirs b/debian/openafs-fileserver.dirs
new file mode 100644 (file)
index 0000000..ebf55bc
--- /dev/null
@@ -0,0 +1,4 @@
+var/log/openafs
+etc/openafs/server
+etc/openafs/server-local
+var/lib/openafs/cores
index bffad3277097ebeda8d9fa0073fef55cd1a444d2..e44e4068d46fbac54294f7bc8a1185f7a3993108 100755 (executable)
@@ -16,7 +16,7 @@ export DH_COMPAT=2
 export DH_OPTIONS
 
 # The AFS sysname is determined by a script
-SYS_NAME=$(shell debian/sysname)
+SYS_NAME=$(shell sh debian/sysname)
 package=openafs
 srcpkg = openafs-modules-source
 modulepkg=$(shell echo openafs-modules-$(KVERS))
@@ -59,9 +59,9 @@ clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp
-       -rm -rf obj dest $(SYS_NAME)
+       -rm -rf obj dest $(SYS_NAME) @sys Makefile
        # Add here commands to clean up after the build process.
-       -$(MAKE) clean
+
 
        dh_clean
 
@@ -135,6 +135,9 @@ binary-arch: build install
        dh_fixperms
        # You may want to make some executables suid here.
        chmod 700 debian/openafs-client/var/cache/openafs
+       chmod 700 debian/openafs-fileserver/etc/openafs/server
+       chmod 700 debian/openafs-dbserver/var/lib/openafs/db
+       chmod 700 debian/openafs-fileserver/var/lib/openafs/cores
        dh_suidregister
        dh_installdeb
 #      dh_makeshlibs