source:
freewrt/package/mgetty/patches/mgetty.patch@
428f140
| Last change on this file since 428f140 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 3.4 KB | |
-
mgetty-1.1.
Only in mgetty-1.1.31: .prepared diff -ur mgetty-1.1.31-old/Makefile mgetty-1.1.31/Makefile
old new 164 164 # 165 165 # if your systems doesn't have one, use the shell script that I provide 166 166 # in "inst.sh" (taken from X11R5). Needed on IRIX5.2 167 INSTALL=install -c -o bin -g bin 167 STRIP=$(STAGING_DIR)sstrip 168 INSTALL=install -c -o root -g root 169 #INSTALL=install -c -o bin -g bin 168 170 #INSTALL=install -c -o root -g wheel # NeXT/BSD 169 171 #INSTALL=/usr/ucb/install -c -o bin -g bin # AIX, Solaris 2.x 170 172 #INSTALL=installbsd -c -o bin -g bin # OSF/1, AIX 4.1, 4.2 … … 216 218 # (it's possible to run faxrunq(d) as root, but the FAX_OUT_USER 217 219 # MUST NOT BE root or any other privileged account). 218 220 # 219 FAX_OUT_USER= fax221 FAX_OUT_USER=root 220 222 # 221 223 # 222 224 # Where section 1 manual pages should be placed … … 416 418 ./mksed >sedscript 417 419 chmod 700 sedscript 418 420 419 mksed: mksed.c policy.h Makefile 421 REALGCC:=/usr/bin/gcc 422 mksed: mksed.c policy.h Makefile 423 ( echo $(REALGCC); $(MAKE) "CC=$(REALGCC)" "CFLAGS=$(CFLAGS)" mksed-wrong;\ 424 ); 425 426 mksed-wrong: mksed.c policy.h Makefile 420 427 $(CC) $(CFLAGS) -DBINDIR=\"$(BINDIR)\" -DSBINDIR=\"$(SBINDIR)\" \ 421 428 -DLIBDIR=\"$(LIBDIR)\" \ 422 429 -DCONFDIR=\"$(CONFDIR)\" \ … … 590 597 -test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) ) 591 598 -mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old 592 599 -mv -f $(SBINDIR)/sendfax $(SBINDIR)/sendfax.old 593 $(INSTALL) -s -m 700 mgetty $(SBINDIR) 594 $(INSTALL) -s -m 755 sendfax $(SBINDIR) 600 $(INSTALL) -m 700 mgetty $(SBINDIR) 601 $(STRIP) $(SBINDIR)/mgetty 602 $(INSTALL) -m 755 sendfax $(SBINDIR) 603 $(STRIP) $(SBINDIR)/sendfax 595 604 # 596 605 # data files + directories 597 606 # … … 653 662 if [ ! -z "$(INSTALL_MECHO)" ] ; then \ 654 663 cd compat ; \ 655 664 $(CC) $(CFLAGS) -o mg.echo mg.echo.c && \ 656 $(INSTALL) -s -m 755 mg.echo $(BINDIR) ; \ 665 $(INSTALL) -m 755 mg.echo $(BINDIR) && \ 666 $(STRIP) $(BINDIR)/mg.echo ; \ 657 667 fi 658 668 659 669 # -
g3/Makefile
Only in mgetty-1.1.31-old: Makefile.orig Only in mgetty-1.1.31-old: Makefile.rej diff -ur mgetty-1.1.31-old/g3/Makefile mgetty-1.1.31/g3/Makefile
old new 40 40 # install programs 41 41 # 42 42 for f in $(G3_PROGRAMS) ; do \ 43 $(INSTALL) -s -m 755 $$f $(BINDIR) ; \ 43 $(INSTALL) -m 755 $$f $(BINDIR) ; \ 44 $(STRIP) $(BINDIR)/$$f ; \ 44 45 done 45 46 # 46 47 # make symlink for "g3topbm" (so third-party fax viewers won't fail) -
mgetty-1.1.
diff -ur mgetty-1.1.31-old/logfile.c mgetty-1.1.31/logfile.c
old new 327 327 } 328 328 else /* ERROR or FATAL */ 329 329 { 330 fprintf(log_fp, "\n%02d/%02d %02d:%02d:%02d %s %s: %s",330 fprintf(log_fp, "\n%02d/%02d %02d:%02d:%02d %s %s: #%d", 331 331 tm->tm_mon+1, tm->tm_mday, 332 332 tm->tm_hour, tm->tm_min, tm->tm_sec, 333 333 log_infix, ws, 334 ( errnr <= sys_nerr ) ? sys_errlist[errnr]: 335 "<error not in list>" ); 334 errnr ); 336 335 #ifdef SYSLOG 337 336 syslog( level == L_FATAL? LOG_ALERT: LOG_ERR, "%s: %m", ws ); 338 337 #endif
Note:
See TracBrowser
for help on using the repository browser.
