File hylafax-4.4.4-fax_user.dif of Package hylafax

Index: hylafax-4.4.4/config.site
===================================================================
--- hylafax-4.4.4.orig/config.site
+++ hylafax-4.4.4/config.site
@@ -71,8 +71,8 @@ DIR_LOCKS="/var/spool/locks"		# director
 #
 #DEFVRES="196"				# default vertical res for outbound fax
 #FILLORDER="MS2LSB"			# bit order of cpu (MSB2LSB/LSB2MSB)
-#FAXGID="uucp"				# group ID for fax user
-#FAXUID="uucp"				# user ID for fax user
+FAXGID="uucp"				# group ID for fax user
+FAXUID="fax"				# user ID for fax user
 PAGESIZE="ISO A4"			# default page size
 #SYSGID="sys"				# group ID for system installs
 #SYSUID="bin"				# user ID for system installs
Index: hylafax-4.4.4/configure
===================================================================
--- hylafax-4.4.4.orig/configure
+++ hylafax-4.4.4/configure
@@ -49,7 +49,7 @@ PATH_IMPRIP=/usr/lib/print/psrip
 CGIPATH=/cgi-bin
 DEFVRES=98
 PAGESIZE="North American Letter"
-FAXUID=uucp
+FAXUID=fax
 FAXGID=
 SYSUID=bin
 SYSGID=
Index: hylafax-4.4.4/etc/faxaddmodem.sh.in
===================================================================
--- hylafax-4.4.4.orig/etc/faxaddmodem.sh.in
+++ hylafax-4.4.4/etc/faxaddmodem.sh.in
@@ -1790,7 +1790,7 @@ test -p $FIFO || {
 	die
     fi
 }
-$CHOWN uucp.uucp $FIFO; $CHMOD 600 $FIFO
+$CHOWN ${FAX}:${faxGID} $FIFO; $CHMOD 600 $FIFO
 if [ "$OLDFIFO" ]; then
     echo "Removing old fifo $OLDFIFO.";
     $RMCMD $OLDFIFO;
Index: hylafax-4.4.4/faxmail/mailfax.sh-postfix
===================================================================
--- hylafax-4.4.4.orig/faxmail/mailfax.sh-postfix
+++ hylafax-4.4.4/faxmail/mailfax.sh-postfix
@@ -97,7 +97,7 @@
 # =====
 #
 # Notes:
-# 1) If you want the fax to be submitted as an user other than fax (uucp), 
+# 1) If you want the fax to be submitted as an user other than fax,
 #    then replace
 #    flags= user=fax argv=/usr/bin/faxmail -d -n ${user}
 #    with
Index: hylafax-4.4.4/pkg/postinstall.in
===================================================================
--- hylafax-4.4.4.orig/pkg/postinstall.in
+++ hylafax-4.4.4/pkg/postinstall.in
@@ -27,16 +27,16 @@ then
 0   0    *    *    *   @SBIN@/faxqclean
 EOF
 
-	cat >/tmp/uucp.crontab <<EOF
+	cat >/tmp/fax.crontab <<EOF
 #	crontab(1)
 # (minutes) (hour) (day of the month) (month of the year) (day of the week)
 # faxcron - HylaFAX routine maintenance script
 25   23    *    *    0   sh @SBIN@/faxcron -rcv 20 | mailx -s "Fax Reports" FaxMaster
 EOF
 
-	echo "See sample crontab(1) entries for root and fax (uucp)"
+	echo "See sample crontab(1) entries for root and fax"
 	echo "/tmp/root.crontab"
-	echo "/tmp/uucp.crontab"
+	echo "/tmp/fax.crontab"
 
 else
 	echo "\n\nRun @SBIN@/faxsetup -client\n"
Index: hylafax-4.4.4/pkg/postremove.in
===================================================================
--- hylafax-4.4.4.orig/pkg/postremove.in
+++ hylafax-4.4.4/pkg/postremove.in
@@ -13,7 +13,7 @@ then
 
 # I'll automate this part when I get time
 	echo "Remove @SBIN@/faxqclean from root's crontab"
-	echo "Remove @SBIN@/faxcron from uucp's crontab"
+	echo "Remove @SBIN@/faxcron from fax's crontab"
 fi
 
 exit 0
openSUSE Build Service is sponsored by