From c29655a5c8ede41376108be5a34d8cc67b5c5233 Mon Sep 17 00:00:00 2001 From: Jesse Smith Date: Sat, 8 Sep 2018 23:29:02 -0300 Subject: [PATCH] Updated changelog with information on pidof's new -q flag. Fixed Makefile to make sure it does proper clean before making tarball. And properly creates signed tarball afterwards. --- Makefile | 6 ++++-- doc/Changelog | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f6514f0..64a7384 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ PACKAGE=sysvinit VERSION=$(shell sed -rn '1s/.*[[:blank:]]\((.*)\)[[:blank:]].*/\1/p' doc/Changelog) all install clean distclean: + @rm -f $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION).tar.xz.sig $(MAKE) VERSION=$(VERSION) -C src $@ GITLOGIN=$(shell git remote -v | head -n 1 | cut -f 1 -d '@' | sed 's/origin\t//g') @@ -10,8 +11,9 @@ override TARBALL:=$(TMP)/$(PACKAGE)-$(VERSION).tar.xz override SFTPBATCH:=$(TMP)/$(VERSION)-sftpbatch SOURCES=contrib COPYING COPYRIGHT doc Makefile man README src -dist: clean $(TARBALL) +dist: $(TARBALL).sig @cp $(TARBALL) . + @cp $(TARBALL).sig . @echo "tarball $(PACKAGE)-$(VERSION).tar.xz ready" rm -rf $(TMP) @@ -35,7 +37,7 @@ $(TARBALL).sig: $(TARBALL) $(TARBALL): $(TMP)/$(PACKAGE)-$(VERSION) @tar --exclude=.git --owner=nobody --group=nogroup -cJf $@ -C $(TMP) $(PACKAGE)-$(VERSION) -$(TMP)/$(PACKAGE)-$(VERSION): +$(TMP)/$(PACKAGE)-$(VERSION): distclean @mkdir -p $(TMP)/$(PACKAGE)-$(VERSION) @cp -R $(SOURCES) $(TMP)/$(PACKAGE)-$(VERSION)/ @chmod -R a+r,u+w,og-w $@ diff --git a/doc/Changelog b/doc/Changelog index e9716f9..600106f 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -16,6 +16,12 @@ sysvinit (2.91) UNRELEASED; urgency=low the musl C library) can still check the current runlevel. This is useful when running halt/reboot as these programs want to check the runlevel. + * Added patch from Walter Harms which allows pidof to run without + displaying output. In this mode pidof simply returns true or false + without displaying PID values. + Updated manual page with new -q (quiet) mode. + Added -h flag for pidof, which was recognized before, but not used. + The -h flag now displays brief usage information for pidof. sysvinit (2.90) world; urgency=low