Files
mgetty/mgetty-mkdir-p.patch
Marcus Meissner a8eb0e3802 Accepting request 501778 from home:sbrabec:branches:Base:System
- Update to version 1.1.37:
 * faxspool: implement "-t hh:mm-hh:mm" time-range syntax, add
   @DATE +<format>@ to faxheader processing
 * faxq: properly display queued jobs with time-range field
 * faxrunqd: correctly handle jobs running out of the end of their
   sent-time window.
   INCOMPATIBLE CHANGE: Changes handling of "-t hh:mm" to
   "from hh:mm to midnight"
 * microcom: improve read-from-device exception handling
 * sendfax: send NSF frame on reception,
   new option reset-after-fail
 * faxrunqd: enhance and clarify per-modem statistics
- New build fixes (mgetty-noroot.patch, mgetty-mkdir-p.patch).
- Update patches
  (mgetty-1.1.37-callback.patch, mgetty-1.1.37-makefile.patch).

OBS-URL: https://build.opensuse.org/request/show/501778
OBS-URL: https://build.opensuse.org/package/show/Base:System/mgetty?expand=0&rev=33
2017-06-10 15:04:43 +00:00

36 lines
1.4 KiB
Diff

Index: mgetty-1.1.37/Makefile
===================================================================
--- mgetty-1.1.37.orig/Makefile
+++ mgetty-1.1.37/Makefile
@@ -642,13 +642,13 @@ install.bin: mgetty sendfax newslock \
# fax spool directories
#
test -d $(DESTDIR)$(spool) || \
- ( mkdir $(DESTDIR)$(spool) && chmod 755 $(DESTDIR)$(spool) )
+ ( mkdir -p $(DESTDIR)$(spool) && chmod 755 $(DESTDIR)$(spool) )
test -d $(DESTDIR)$(FAX_SPOOL) || \
- ( mkdir $(DESTDIR)$(FAX_SPOOL) && chmod 755 $(DESTDIR)$(FAX_SPOOL) )
+ ( mkdir -p $(DESTDIR)$(FAX_SPOOL) && chmod 755 $(DESTDIR)$(FAX_SPOOL) )
test -d $(DESTDIR)$(FAX_SPOOL_IN) || \
- ( mkdir $(DESTDIR)$(FAX_SPOOL_IN) && chmod 755 $(DESTDIR)$(FAX_SPOOL_IN) )
+ ( mkdir -p $(DESTDIR)$(FAX_SPOOL_IN) && chmod 755 $(DESTDIR)$(FAX_SPOOL_IN) )
test -d $(DESTDIR)$(FAX_SPOOL_OUT) || \
- mkdir $(DESTDIR)$(FAX_SPOOL_OUT)
+ mkdir -p $(DESTDIR)$(FAX_SPOOL_OUT)
chmod 755 $(DESTDIR)$(FAX_SPOOL_OUT)
#
# g3 tool programs
Index: mgetty-1.1.37/doc/Makefile
===================================================================
--- mgetty-1.1.37.orig/doc/Makefile
+++ mgetty-1.1.37/doc/Makefile
@@ -64,7 +64,7 @@ clean:
install: $(MANSRC) mgetty.info
for D in `dirname $(MAN1DIR)` $(MAN1DIR) $(MAN4DIR) $(MAN5DIR) $(MAN8DIR) ; do \
- if [ ! -d $$D ] ; then mkdir $$D || exit 1 ; fi ; \
+ if [ ! -d $$D ] ; then mkdir -p $$D || exit 1 ; fi ; \
done
for i in $(MAN1PAGES) ; do \
$(INSTALL) -m 644 $$i $(MAN1DIR) ; \