public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [shutdown - Shutdown, reboot, hibernate or suspend the machine] branch master, updated. 2df13b5252ae6f5b88cda05436b3a3e437f4ab44
@ 2016-09-07 18:54 ffes
  0 siblings, 0 replies; only message in thread
From: ffes @ 2016-09-07 18:54 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/shutdown.git;h=2df13b5252ae6f5b88cda05436b3a3e437f4ab44

commit 2df13b5252ae6f5b88cda05436b3a3e437f4ab44
Author: Frank Fesevur <ffes@users.sourceforge.net>
Date:   Fri Jul 1 15:22:54 2016 +0200

    Add cygport file

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/shutdown.git;h=7251d5ecb0d5cfa306d57ba4ea1f5707681f0265

commit 7251d5ecb0d5cfa306d57ba4ea1f5707681f0265
Author: Frank Fesevur <ffes@users.sourceforge.net>
Date:   Fri Jun 17 13:54:29 2016 +0200

    Fix compile warning

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/shutdown.git;h=9904ce398c61b2ad1e7ba7d0a4b5801e6a7b37b7

commit 9904ce398c61b2ad1e7ba7d0a4b5801e6a7b37b7
Author: Frank Fesevur <ffes@users.sourceforge.net>
Date:   Fri Jun 17 11:27:19 2016 +0200

    Updated links after moving the github repo


Diff:
---
 .gitignore              |    2 ++
 ReadMe.md               |    6 ++++--
 extras/shutdown.cygport |   23 +++++++++++++++++++++++
 shutdown.c              |    2 +-
 4 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 25a7384..26f2530 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
 *.o
 *.exe
+extras/shutdown-*
+extras/*.bz2
diff --git a/ReadMe.md b/ReadMe.md
index 01e2c39..446ce12 100644
--- a/ReadMe.md
+++ b/ReadMe.md
@@ -5,9 +5,11 @@ These are the official sources of the [Cygwin](https://cygwin.com) `shutdown` co
 
 Since Cygwin is not a complete Linux kernel, some low-end stuff like shutting down the machine won't work the Linux way. Therefore Cygwin has its own shutdown program. It is a simple program that mimic the Linux [shutdown](http://linux.die.net/man/8/shutdown) command but uses the [Win32-API](https://msdn.microsoft.com/en-us/library/windows/desktop/aa376883%28v=vs.85%29.aspx) to work on Windows.
 
-Report [issues](https://github.com/ffes/cygwin-shutdown/issues) here or on the [Cygwin mailing list](https://www.cygwin.com/ml/cygwin/).
+Report [issues](https://github.com/cygwin/shutdown/issues) here or on the [Cygwin mailing list](https://www.cygwin.com/ml/cygwin/).
 
-[Pull requests](https://github.com/ffes/cygwin-shutdown/pulls) will always be reviewed or https://cygwin.com/acronyms/#PTC
+[Pull requests](https://github.com/cygwin/shutdown/pulls) will always be reviewed or https://cygwin.com/acronyms/#PTC
+
+The repo can also be found at https://sourceware.org/git/?p=cygwin-apps/shutdown.git
 
 Version history
 ---------------
diff --git a/extras/shutdown.cygport b/extras/shutdown.cygport
new file mode 100644
index 0000000..be2fb25
--- /dev/null
+++ b/extras/shutdown.cygport
@@ -0,0 +1,23 @@
+NAME="shutdown"
+VERSION="1.10"
+RELEASE=1
+CATEGORY="Admin"
+SUMMARY="Shutdown, reboot, hibernate or suspend the machine"
+DESCRIPTION="Shutdown, reboot, hibernate or suspend the machine"
+HOMEPAGE="http://cygwin.com/"
+
+GIT_URI="https://github.com/cygwin/shutdown"
+GIT_TAG="v1.10.0"
+inherit git
+
+src_compile() {
+	cd ${B}
+	make -f ${S}/Makefile SRCDIR=${S}
+}
+
+src_install() {
+	cd ${B}
+	make install -f ${S}/Makefile SRCDIR=${S} DESTDIR=${D}
+}
+
+# vim: ts=4:sw=4:noet:ft=sh
diff --git a/shutdown.c b/shutdown.c
index 92f1418..c189a64 100644
--- a/shutdown.c
+++ b/shutdown.c
@@ -21,7 +21,7 @@
  */
 
 #include <stdio.h>
-#include <string.h>
+#include <strings.h>
 #include <ctype.h>
 #include <unistd.h>
 #include <stdarg.h>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-07 18:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-07 18:54 [shutdown - Shutdown, reboot, hibernate or suspend the machine] branch master, updated. 2df13b5252ae6f5b88cda05436b3a3e437f4ab44 ffes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).