File star-configuration.diff of Package star

Index: star-1.5.3/DEFAULTS/Defaults.linux
===================================================================
--- star-1.5.3.orig/DEFAULTS/Defaults.linux
+++ star-1.5.3/DEFAULTS/Defaults.linux
@@ -8,8 +8,7 @@
 # Compiler stuff
 #
 ###########################################################################
-DEFCCOM=	cc
-#DEFCCOM=	gcc
+DEFCCOM=	gcc
 
 ###########################################################################
 #
@@ -26,7 +25,7 @@ DEFLINKMODE=	static
 # If the next line is uncommented, compilation is done with minimal warnings
 #
 ###########################################################################
-CWARNOPTS=
+#CWARNOPTS=
 
 ###########################################################################
 #
@@ -48,22 +47,21 @@ LINUX_SRC_INCLUDE=      $(__LINUX_SRC_IN
 
 DEFINCDIRS=	$(SRCROOT)/include
 DEFOSINCDIRS=
-LDPATH=		-L/opt/schily/lib
-#RUNPATH=	-R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
-RUNPATH=	-R$(INS_BASE)/lib -R/opt/schily/lib
+LDPATH=		-L/usr/lib
+RUNPATH=
 
 ###########################################################################
 #
 # Installation config stuff
 #
 ###########################################################################
-INS_BASE=	/opt/schily
+INS_BASE=	/usr
 INS_KBASE=	/
 INS_RBASE=	/
 #
 DEFUMASK=	002
 #
-DEFINSMODEF=	444
+DEFINSMODEF=	644
 DEFINSMODEX=	755
 DEFINSUSR=	root
 DEFINSGRP=	bin
Index: star-1.5.3/RULES/cc-gcc.rul
===================================================================
--- star-1.5.3.orig/RULES/cc-gcc.rul
+++ star-1.5.3/RULES/cc-gcc.rul
@@ -33,9 +33,7 @@ C++FLAGS=	$(C++OPTS) $(C++WARNOPTS) $(C+
 CPPOPTS=	-I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%)
 COPTS=		$(GCC_OPTXX)
 #		-Wtraditional now causes more pain than it helps 
-CWOPTS=		-Wall -Wtraditional
-CWOPTS=		-Wall -Wno-unknown-pragmas \
-		-Wshadow -Wmissing-prototypes -Wstrict-prototypes
+CWOPTS=		-Wall -Wstrict-prototypes -Wpointer-arith
 COPTOPT=	-O
 COPTDYN=	-fpic
 COPTGPROF=	-pg
Index: star-1.5.3/RULES/rules.inc
===================================================================
--- star-1.5.3.orig/RULES/rules.inc
+++ star-1.5.3/RULES/rules.inc
@@ -48,13 +48,13 @@ $(PTARGETCX):	$(OFILES) $(SRCLIBS)
 #
 $(PTARGET):	$(OINCSDIR) $(PTARGETCX)
 		@echo "	==> GENERATING include file \"$@\""; \
-		$(PTARGETC)$(_XEXEEXT) > $@ || \
-		$(CONFIG_RMTCALL) $(PTARGETC)$(_XEXEEXT) > $@
+		$(PTARGETC) > $@ || \
+		$(CONFIG_RMTCALL) $(PTARGETC) > $@
 
 ###########################################################################
 include		$(SRCROOT)/$(RULESDIR)/sub.htm
 include		$(SRCROOT)/$(RULESDIR)/rules.clr
-include		$(SRCROOT)/$(RULESDIR)/rules.ins
+#include		$(SRCROOT)/$(RULESDIR)/rules.ins
 include		$(SRCROOT)/$(RULESDIR)/rules.tag
 include		$(SRCROOT)/$(RULESDIR)/rules.hlp
 include		$(SRCROOT)/$(RULESDIR)/rules.dep
Index: star-1.5.3/RULES/rules.prg
===================================================================
--- star-1.5.3.orig/RULES/rules.prg
+++ star-1.5.3/RULES/rules.prg
@@ -102,7 +102,7 @@ ARFLAGS=	cr
 #LEX=		@echo "	==> LEXING \"$@\""; lex
 #AWK=		@echo "	==> AWKING \"$@\""; awk
 RANLIB=		@echo "	==> RANDOMIZING ARCHIVE \"$@\""; true
-MKDEP=		@echo "	==> MAKING DEPENDENCIES \"$@\""; makedepend
+MKDEP=		@echo "	==> MAKING DEPENDENCIES \"$@\""; gccmakedep
 MKDEP_OUT=	-f -
 MKDIR=		@echo "	==> MAKING DIRECTORY \"$@\""; $(UMASK); mkdir
 MKDIR_SH=	@echo "	==> MAKING DIRECTORY \"$@\""; $(UMASK); sh $(SRCROOT)/conf/mkdir-sh
Index: star-1.5.3/include/schily/schily.h
===================================================================
--- star-1.5.3.orig/include/schily/schily.h
+++ star-1.5.3/include/schily/schily.h
@@ -377,7 +377,7 @@ extern	int	_comerr		__PR((FILE *, int, i
 #endif
 
 /*PRINTFLIKE1*/
-extern	int	error __PR((const char *, ...)) __printflike__(1, 2);
+extern	int	error __PR((const char *, ...));
 #ifdef	FOUND_SIZE_T
 extern	char	*fillbytes __PR((void *, ssize_t, char));
 extern	char	*zerobytes __PR((void *, ssize_t));
Index: star-1.5.3/mt/Makefile
===================================================================
--- star-1.5.3.orig/mt/Makefile
+++ star-1.5.3/mt/Makefile
@@ -7,7 +7,7 @@ include		$(SRCROOT)/$(RULESDIR)/rules.to
 
 INSDIR=		bin
 TARGET=		smt
-SYMLINKS=	mt
+#SYMLINKS=	mt
 CPPOPTS +=	-DUSE_REMOTE
 CPPOPTS +=	-DSCHILY_PRINT
 
@@ -17,7 +17,7 @@ CFILES=		mt.c
 # LIB_CAP is needed for Linux capability support in librmt.
 #
 LIBS=		-lrmt -lschily $(LIB_SOCKET) $(LIB_CAP)
-XMK_FILE=	Makefile.man mt.mk1
+XMK_FILE=	Makefile.man
 
 ###########################################################################
 include		$(SRCROOT)/$(RULESDIR)/rules.cmd
Index: star-1.5.3/rmt/rmt.1
===================================================================
--- star-1.5.3.orig/rmt/rmt.1
+++ star-1.5.3/rmt/rmt.1
@@ -17,9 +17,8 @@
 .SH NAME
 rmt \- remote magnetic tape protocol server
 .SH SYNOPSIS
-.B /opt/schily/sbin/rmt
 .br
-.B /etc/rmt
+.B /usr/bin/rmt
 
 .SH DESCRIPTION
 .IX  "rmt command"  ""  "\fLrmt\fP \(em remote magnetic tape protocol server"
Index: star-1.5.3/rmt/rmt.dfl
===================================================================
--- star-1.5.3.orig/rmt/rmt.dfl
+++ star-1.5.3/rmt/rmt.dfl
@@ -18,15 +18,13 @@
 # Each USER= entry adds the listed user to the users who may run rmt
 #
 # A typical passwd entry looks like this:
-# rtape:x:1999:1000:Remote TAPE:/export/home/rtape:/opt/schily/sbin/rmt
+# rtape:x:1999:1000:Remote TAPE:/home/tape:/usr/sbin/rmt
 #
-# Add entries for all valid remote users to /export/home/rtape/.rhosts
+# Add entries for all valid remote users to /home/tape/.rhosts
+# See /usr/share/doc/packages/star/README.SUSE
 #
 #USER=rtape
-#USER=joerg
-# Default to old SunOS behavior. If you like to be more restrictive, comment
-# out the entry below and enable the explicit USER= entries above.
-USER=*
+#USER=*
 
 #
 # Each ACCESS= entry adds a target or group of targets to the list of visible
@@ -43,8 +41,8 @@ USER=*
 #	user	host	file
 #	name	name
 #
-#ACCESS=rtape	sparky	/dev/rmt/*
-ACCESS=*	*	/dev/rmt/*
+#ACCESS=rtape	sparky	/dev/st0
+#ACCESS=*	*	/dev/nst*
 ACCESS=*	*	/dev/null
-ACCESS=*	*	/dev/zero
+#ACCESS=*	*	/dev/zero
 #ACCESS=*	*	*
Index: star-1.5.3/rmt/Makefile
===================================================================
--- star-1.5.3.orig/rmt/Makefile
+++ star-1.5.3/rmt/Makefile
@@ -5,8 +5,8 @@ RULESDIR=	RULES
 include		$(SRCROOT)/$(RULESDIR)/rules.top
 ###########################################################################
 
-INSDIR=		sbin
-TARGET=		rmt
+INSDIR=		bin
+TARGET=		srmt
 CPPOPTS +=	-DUSE_REMOTE
 CPPOPTS +=	-DUSE_LARGEFILES
 CFILES=		rmt.c
Index: star-1.5.3/rmt/Makefile.doc
===================================================================
--- star-1.5.3.orig/rmt/Makefile.doc
+++ star-1.5.3/rmt/Makefile.doc
@@ -7,7 +7,7 @@ RULESDIR=	RULES
 include		$(SRCROOT)/$(RULESDIR)/rules.top
 ###########################################################################
 
-INSDIR=		share/doc/rmt
+INSDIR=		share/doc/packages/star-rmt
 TARGET=		default-rmt.sample
 #XMK_FILE=	Makefile.man
 
Index: star-1.5.3/rmt/Makefile.man
===================================================================
--- star-1.5.3.orig/rmt/Makefile.man
+++ star-1.5.3/rmt/Makefile.man
@@ -8,7 +8,7 @@ include		$(SRCROOT)/$(RULESDIR)/rules.to
 ###########################################################################
 
 MANDIR=		man
-TARGETMAN=	rmt
+TARGETMAN=	srmt
 MANSECT=	$(MANSECT_CMD)
 MANSUFFIX=	$(MANSUFF_CMD)
 MANFILE=	rmt.1
Index: star-1.5.3/star/all.mk
===================================================================
--- star-1.5.3.orig/star/all.mk
+++ star-1.5.3/star/all.mk
@@ -12,7 +12,7 @@ include		$(SRCROOT)/$(RULESDIR)/rules.to
 # and copy star_fat.mk to Makefile.
 #
 
-MK_FILES= star.mk pax.mk suntar.mk gnutar.mk cpio.mk 
+MK_FILES=star.mk pax.mk Makefile.dfl
 
 ###########################################################################
 include		$(SRCROOT)/$(RULESDIR)/rules.mks
Index: star-1.5.3/star/pax.mk
===================================================================
--- star-1.5.3.orig/star/pax.mk
+++ star-1.5.3/star/pax.mk
@@ -8,7 +8,7 @@ include		$(SRCROOT)/$(RULESDIR)/rules.to
 
 INSDIR=		bin
 TARGET=		spax
-#SYMLINKS=	ustar tar
+SYMLINKS=	pax
 CPPOPTS +=	-D__STAR__
 CPPOPTS +=	-DSET_CTIME -DFIFO -DUSE_MMAP -DUSE_REMOTE -DUSE_RCMD_RSH
 #CPPOPTS +=	-DSET_CTIME -DFIFO -DUSE_MMAP
Index: star-1.5.3/RULES/rules.lib
===================================================================
--- star-1.5.3.orig/RULES/rules.lib
+++ star-1.5.3/RULES/rules.lib
@@ -45,7 +45,7 @@ $(PTARGET):	$(OFILES)
 include		$(SRCROOT)/$(RULESDIR)/sub.htm
 include		$(SRCROOT)/$(RULESDIR)/rules.lnt
 include		$(SRCROOT)/$(RULESDIR)/rules.clr
-include		$(SRCROOT)/$(RULESDIR)/rules.ins
+#include		$(SRCROOT)/$(RULESDIR)/rules.ins
 include		$(SRCROOT)/$(RULESDIR)/rules.tag
 include		$(SRCROOT)/$(RULESDIR)/rules.hlp
 include		$(SRCROOT)/$(RULESDIR)/rules.dep
Index: star-1.5.3/conf/Makefile
===================================================================
--- star-1.5.3.orig/conf/Makefile
+++ star-1.5.3/conf/Makefile
@@ -48,7 +48,7 @@ XMK_FILE=	xconfig.mk
 ###########################################################################
 # Now done in rules.top
 #include		$(SRCROOT)/$(RULESDIR)/rules.cnf
-include		$(SRCROOT)/$(RULESDIR)/rules.ins
+#include		$(SRCROOT)/$(RULESDIR)/rules.ins
 ###########################################################################
 
 OTHERTARGETS=	clean ibins depend rmdep \
Index: star-1.5.3/star/star.mk
===================================================================
--- star-1.5.3.orig/star/star.mk
+++ star-1.5.3/star/star.mk
@@ -8,7 +8,7 @@ include		$(SRCROOT)/$(RULESDIR)/rules.to
 
 INSDIR=		bin
 TARGET=		star
-SYMLINKS=	ustar tar
+SYMLINKS=	ustar
 CPPOPTS +=	-D__STAR__
 CPPOPTS +=	-DSET_CTIME -DFIFO -DUSE_MMAP -DUSE_REMOTE -DUSE_RCMD_RSH
 #CPPOPTS +=	-DSET_CTIME -DFIFO -DUSE_MMAP
@@ -21,6 +21,7 @@ CPPOPTS +=	-DUSE_XATTR
 CPPOPTS +=	-DUSE_FFLAGS
 CPPOPTS +=	-DCOPY_LINKS_DELAYED
 CPPOPTS +=	-DSCHILY_PRINT
+CPPOPTS +=	-DWITH_SELINUX
 CFILES=		star.c header.c cpiohdr.c xheader.c xattr.c \
 		list.c extract.c create.c append.c diff.c restore.c \
 		remove.c star_unix.c acl_unix.c acltext.c fflags.c \
@@ -35,8 +36,8 @@ CFILES=		star.c header.c cpiohdr.c xhead
 HFILES=		star.h starsubs.h dirtime.h xtab.h xutimes.h \
 		movearch.h table.h props.h fifo.h diff.h restore.h \
 		checkerr.h dumpdate.h bitstring.h
-LIBS=		-ldeflt -lrmt -lfind -lschily $(LIB_ACL) $(LIB_ATTR) $(LIB_SOCKET) $(LIB_INTL)
-XMK_FILE=	Makefile.man starformatman.mk
+LIBS=		-ldeflt -lrmt -lfind -lschily $(LIB_ACL) $(LIB_ATTR) $(LIB_SOCKET) $(LIB_INTL) $(LIB_SELINUX)
+XMK_FILE=	Makefile.man
 
 ###########################################################################
 include		$(SRCROOT)/$(RULESDIR)/rules.cmd
Index: star-1.5.3/man/Makefile
===================================================================
--- star-1.5.3.orig/man/Makefile
+++ star-1.5.3/man/Makefile
@@ -7,7 +7,7 @@ RULESDIR=	RULES
 include		$(SRCROOT)/$(RULESDIR)/rules.top
 ###########################################################################
 
-DIRS=	man1 man4
+DIRS=	man1
 
 ###########################################################################
 include		$(SRCROOT)/$(RULESDIR)/rules.dir
openSUSE Build Service is sponsored by