File star-configuration.diff of Package star

diff -Naur star-1.5.orig/conf/configure.in star-1.5/conf/configure.in
--- star-1.5.orig/conf/configure.in	2008-03-27 19:58:16.000000000 +0100
+++ star-1.5/conf/configure.in	2008-04-28 13:54:36.000000000 +0200
@@ -6,6 +6,8 @@
 AC_CONFIG_HEADER(xconfig.h)
 AC_CANONICAL_HOST
 
+AC_DEFINE(_GNU_SOURCE,,[Use GNU extensions on systems that provide them])
+
 dnl Checks for programs.
 AC_SHELL_BASH
 dnl CC=${CC-cc}
diff -Naur star-1.5.orig/DEFAULTS/Defaults.linux star-1.5/DEFAULTS/Defaults.linux
--- star-1.5.orig/DEFAULTS/Defaults.linux	2007-05-08 16:56:55.000000000 +0200
+++ star-1.5/DEFAULTS/Defaults.linux	2008-04-28 13:54:36.000000000 +0200
@@ -8,8 +8,7 @@
 # Compiler stuff
 #
 ###########################################################################
-DEFCCOM=	cc
-#DEFCCOM=	gcc
+DEFCCOM=	gcc
 
 ###########################################################################
 #
@@ -26,7 +25,7 @@
 # If the next line is uncommented, compilation is done with minimal warnings
 #
 ###########################################################################
-CWARNOPTS=
+#CWARNOPTS=
 
 ###########################################################################
 #
@@ -40,20 +39,20 @@
 LINUX_SRC_INCLUDE=      $(__LINUX_SRC_INCLUDE:$(_UNIQ)no%=%)
 
 DEFINCDIRS=	$(SRCROOT)/include
-LDPATH=		-L/opt/schily/lib
-RUNPATH=	-R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
+LDPATH=		-L/usr/lib
+RUNPATH=
 
 ###########################################################################
 #
 # Installation config stuff
 #
 ###########################################################################
-INS_BASE=	/opt/schily
+INS_BASE=	/usr
 INS_KBASE=	/
 #
 DEFUMASK=	002
 #
-DEFINSMODEF=	444
+DEFINSMODEF=	644
 DEFINSMODEX=	755
 DEFINSUSR=	bin
 DEFINSGRP=	bin
diff -Naur star-1.5.orig/include/schily/schily.h star-1.5/include/schily/schily.h
--- star-1.5.orig/include/schily/schily.h	2008-02-16 16:32:01.000000000 +0100
+++ star-1.5/include/schily/schily.h	2008-04-28 14:13:10.000000000 +0200
@@ -238,7 +238,7 @@
 #endif
 
 /*PRINTFLIKE1*/
-extern	int	error __PR((const char *, ...)) __printflike__(1, 2);
+extern	int	error __PR((const char *, ...));
 extern	char	*fillbytes __PR((void *, int, char));
 extern	char	*findbytes __PR((const void *, int, char));
 extern	int	findline __PR((const char *, char, const char *,
diff -Naur star-1.5.orig/lib/fexec.c star-1.5/lib/fexec.c
--- star-1.5.orig/lib/fexec.c	2007-07-01 12:04:35.000000000 +0200
+++ star-1.5/lib/fexec.c	2008-04-28 14:07:35.000000000 +0200
@@ -40,7 +40,6 @@
  */
 #if	defined(HAVE_DUP) && (defined(HAVE_DUP2) || defined(F_DUPFD))
 
-
 #define	MAX_F_ARGS	16
 
 #if	defined(IS_MACOS_X) && defined(HAVE_CRT_EXTERNS_H)
diff -Naur star-1.5.orig/mt/Makefile star-1.5/mt/Makefile
--- star-1.5.orig/mt/Makefile	2007-02-04 02:18:40.000000000 +0100
+++ star-1.5/mt/Makefile	2008-04-28 13:54:36.000000000 +0200
@@ -7,7 +7,7 @@
 
 INSDIR=		bin
 TARGET=		smt
-SYMLINKS=	mt
+#SYMLINKS=	mt
 CPPOPTS +=	-DUSE_REMOTE
 CPPOPTS +=	-DSCHILY_PRINT
 
diff -Naur star-1.5.orig/rmt/rmt.1 star-1.5/rmt/rmt.1
--- star-1.5.orig/rmt/rmt.1	2008-03-24 01:06:54.000000000 +0100
+++ star-1.5/rmt/rmt.1	2008-04-28 13:54:36.000000000 +0200
@@ -20,6 +20,7 @@
 .B /opt/schily/sbin/rmt
 .br
 .B /etc/rmt
+.B /usr/sbin/rmt
 
 .SH DESCRIPTION
 .IX  "rmt command"  ""  "\fLrmt\fP \(em remote magnetic tape protocol server"
diff -Naur star-1.5.orig/rmt/rmt.dfl star-1.5/rmt/rmt.dfl
--- star-1.5.orig/rmt/rmt.dfl	2005-08-09 15:20:37.000000000 +0200
+++ star-1.5/rmt/rmt.dfl	2008-04-28 13:54:36.000000000 +0200
@@ -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
@@ -44,7 +42,7 @@
 #	name	name
 #
 #ACCESS=rtape	sparky	/dev/rmt/*
-ACCESS=*	*	/dev/rmt/*
+#ACCESS=*	*	/dev/rmt/*
 ACCESS=*	*	/dev/null
-ACCESS=*	*	/dev/zero
+#ACCESS=*	*	/dev/zero
 #ACCESS=*	*	*
diff -Naur star-1.5.orig/RULES/cc-gcc64.rul star-1.5/RULES/cc-gcc64.rul
--- star-1.5.orig/RULES/cc-gcc64.rul	2007-05-09 14:25:30.000000000 +0200
+++ star-1.5/RULES/cc-gcc64.rul	2008-04-28 13:54:36.000000000 +0200
@@ -26,9 +26,7 @@
 CPPOPTS=	-I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) $(OSDEFS)
 COPTS=		-m64
 #		-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
diff -Naur star-1.5.orig/RULES/cc-gcc.rul star-1.5/RULES/cc-gcc.rul
--- star-1.5.orig/RULES/cc-gcc.rul	2007-05-09 14:25:30.000000000 +0200
+++ star-1.5/RULES/cc-gcc.rul	2008-04-28 13:54:36.000000000 +0200
@@ -26,9 +26,7 @@
 CPPOPTS=	-I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) $(OSDEFS)
 COPTS=
 #		-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
diff -Naur star-1.5.orig/RULES/rules.inc star-1.5/RULES/rules.inc
--- star-1.5.orig/RULES/rules.inc	2007-05-06 14:50:26.000000000 +0200
+++ star-1.5/RULES/rules.inc	2008-04-28 14:01:23.000000000 +0200
@@ -44,7 +44,7 @@
 		$(LDCC) $(_LD_OUTPUT_OPTION) $(POFILES) $(LDFLAGS) $(LDLIBS)
 
 $(PTARGET):	$(OINCSDIR) $(PTARGETCX)
-		@echo "	==> GENERATING include file \"$@\""; $(PTARGETC)$(_XEXEEXT) > $@
+		@echo "	==> GENERATING include file \"$@\""; $(PTARGETC) > $@
 
 ###########################################################################
 include		$(SRCROOT)/$(RULESDIR)/sub.htm
diff -Naur star-1.5.orig/RULES/rules.prg star-1.5/RULES/rules.prg
--- star-1.5.orig/RULES/rules.prg	2006-07-07 11:42:38.000000000 +0200
+++ star-1.5/RULES/rules.prg	2008-04-28 13:54:36.000000000 +0200
@@ -89,7 +89,7 @@
 #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