summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (mars.fritz.box) <paul@buetow.org>2014-03-02 12:53:15 +0100
committerPaul Buetow (mars.fritz.box) <paul@buetow.org>2014-03-02 12:53:15 +0100
commitda03c49e263ad9562253a01217e2fe5166c97d98 (patch)
tree977966f1134c9ed1a83d0dae85112702cee6f880
parenteb700e71f0ab89f16aabefea8d190a33beb50fcc (diff)
rename to guprecords
-rw-r--r--Makefile2
-rw-r--r--debian/README2
-rw-r--r--debian/changelog2
-rw-r--r--debian/control14
-rw-r--r--debian/copyright8
-rw-r--r--debian/files2
-rw-r--r--debian/foo.manpages1
-rw-r--r--debian/guprecords.manpages1
-rw-r--r--debian/guprecords.substvars (renamed from debian/foo.substvars)0
-rw-r--r--docs/guprecords.1 (renamed from docs/foo.1)48
-rw-r--r--docs/guprecords.pod (renamed from docs/foo.pod)44
-rw-r--r--docs/guprecords.txt (renamed from docs/foo.txt)44
-rwxr-xr-xsrc/guprecords (renamed from src/foo)0
13 files changed, 84 insertions, 84 deletions
diff --git a/Makefile b/Makefile
index 42b4fd6..5ffeddb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-NAME=foo
+NAME=guprecords
all: version documentation build
# THIS IS NEEDED BY THE DEBIAN TOOLS
diff --git a/debian/README b/debian/README
index 8edd461..c4b96e7 100644
--- a/debian/README
+++ b/debian/README
@@ -1,4 +1,4 @@
-The Debian Package foo
+The Debian Package guprecords
----------------------------
This is just a humble go project. Not sure if everything meets the debian
diff --git a/debian/changelog b/debian/changelog
index 0521464..a0e1376 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-foo (0.0.0.0) stable; urgency=low
+guprecords (0.0.0.0) stable; urgency=low
* Initial version of the template
diff --git a/debian/control b/debian/control
index 1a33eb7..0b8b729 100644
--- a/debian/control
+++ b/debian/control
@@ -1,15 +1,15 @@
-Source: foo
+Source: guprecords
Section: utils
Priority: optional
Maintainer: Paul Buetow <paul@buetow.org>
Build-Depends:
Standards-Version: 3.9.2
-Homepage: https://template.buetow.org
-Vcs-Git: git://git.buetow.org/template
-Vcs-Browser: http://web.buetow.org/git/?p=template.git;a=summary
+Homepage: https://guprecords.buetow.org
+Vcs-Git: git://git.buetow.org/guprecords
+Vcs-Browser: http://web.buetow.org/git/?p=guprecords.git;a=summary
-Package: foo
+Package: guprecords
Architecture: all
Depends:
-Description: Small template package
- This is just a template package, which cann print Hello World.
+Description: Shows uprecords of several hosts
+ A tool to show global uprecord stats collected on several hosts using uptimed.
diff --git a/debian/copyright b/debian/copyright
index 081a25d..2879d80 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,13 +1,13 @@
Format: http://dep.debian.net/deps/dep5
-Upstream-Name: foo
-Source: http://template.buetow.org
+Upstream-Name: guprecords
+Source: http://guprecords.buetow.org
Files: *
-Copyright: 2012 Paul Buetow <paul@buetow.org>
+Copyright: 2014 Paul Buetow <paul@buetow.org>
License: GPL-3.0+
Files: debian/*
-Copyright: 2012 Paul Buetow <paul@buetow.org>
+Copyright: 2014 Paul Buetow <paul@buetow.org>
License: GPL-3.0+
License: GPL-3.0+
diff --git a/debian/files b/debian/files
index b1f79bd..ee7f63c 100644
--- a/debian/files
+++ b/debian/files
@@ -1 +1 @@
-foo_0.0.0.0_all.deb utils optional
+guprecords_0.0.0.0_all.deb utils optional
diff --git a/debian/foo.manpages b/debian/foo.manpages
deleted file mode 100644
index 3925962..0000000
--- a/debian/foo.manpages
+++ /dev/null
@@ -1 +0,0 @@
-docs/foo.1
diff --git a/debian/guprecords.manpages b/debian/guprecords.manpages
new file mode 100644
index 0000000..ad209b1
--- /dev/null
+++ b/debian/guprecords.manpages
@@ -0,0 +1 @@
+docs/guprecords.1
diff --git a/debian/foo.substvars b/debian/guprecords.substvars
index abd3ebe..abd3ebe 100644
--- a/debian/foo.substvars
+++ b/debian/guprecords.substvars
diff --git a/docs/foo.1 b/docs/guprecords.1
index 57ca229..ab84c6c 100644
--- a/docs/foo.1
+++ b/docs/guprecords.1
@@ -124,18 +124,18 @@
.\" ========================================================================
.\"
.IX Title "FOO 1"
-.TH FOO 1 "2014-02-03" "foo 0.0.0.0" "User Commands"
+.TH FOO 1 "2014-02-03" "guprecords 0.0.0.0" "User Commands"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
-foo \- A template project
+guprecords \- A template project
.SH "WTF?"
.IX Header "WTF?"
You may use this project in order to build your own Debian package for your own project. This has been tested with Debian GNU/Linux Squeeze and Debian GNU/Linux Wheezy.
.PP
-Feel free to modify any aspects. This project is just an empty example foo.
+Feel free to modify any aspects. This project is just an empty example guprecords.
.PP
Follow these steps:
.SS "Install required packages"
@@ -158,7 +158,7 @@ Go to the to level directory and run
To test run
.PP
.Vb 1
-\& ./bin/foo
+\& ./bin/guprecords
.Ve
.PP
It should print out the version number of the project.
@@ -173,35 +173,35 @@ Go to the to level directory and run
It will create the files like:
.PP
.Vb 4
-\& ../foo_0.0.0.0_all.deb
-\& ../foo_0.0.0.0.dsc
-\& ../foo_0.0.0.0_amd64.changes
-\& ../foo_0.0.0.0.tar.gz
+\& ../guprecords_0.0.0.0_all.deb
+\& ../guprecords_0.0.0.0.dsc
+\& ../guprecords_0.0.0.0_amd64.changes
+\& ../guprecords_0.0.0.0.tar.gz
.Ve
.PP
It should create a debian package in ../. Check and install it, e.g:
.PP
.Vb 2
-\& lintian \-\-pedantic ../foo_0.0.0.0_all.deb
-\& sudo dpkg \-i ../foo_0.0.0.0_all.deb
+\& lintian \-\-pedantic ../guprecords_0.0.0.0_all.deb
+\& sudo dpkg \-i ../guprecords_0.0.0.0_all.deb
.Ve
.PP
Run
.PP
.Vb 1
-\& dpkg \-L foo
+\& dpkg \-L guprecords
.Ve
.PP
to see whats in there. You can now run
.PP
.Vb 1
-\& /usr/bin/foo
+\& /usr/bin/guprecords
.Ve
.PP
or for example
.PP
.Vb 1
-\& man foo
+\& man guprecords
.Ve
.SS "Read the Makefile"
.IX Subsection "Read the Makefile"
@@ -223,32 +223,32 @@ Now, since you understood everything feel free to customize everything the way y
You should also consider the following:
.SS "Manual page"
.IX Subsection "Manual page"
-This template is using \s-1POD\s0 for creating manual pages. Edit ./docs/foo.pod and run
+This template is using \s-1POD\s0 for creating manual pages. Edit ./docs/guprecords.pod and run
.PP
.Vb 1
\& make documentation
.Ve
.PP
-in order to build ./docs/foo.1. The page will be included in the resulting debian package automatically. You can review the page with
+in order to build ./docs/guprecords.1. The page will be included in the resulting debian package automatically. You can review the page with
.PP
.Vb 1
-\& man ./docs/foo.1
+\& man ./docs/guprecords.1
.Ve
-.SS "Renaming foo into your project name"
-.IX Subsection "Renaming foo into your project name"
-Rename all files which have *foo* included into your own new package name. You can do that with:
+.SS "Renaming guprecords into your project name"
+.IX Subsection "Renaming guprecords into your project name"
+Rename all files which have *guprecords* included into your own new package name. You can do that with:
.PP
.Vb 3
\& PROJECTNAME=yourproject
-\& find . \-name \e*foo\e* |
-\& while read foo; do git mv $foo ${foo/foo/$PROJECTNAME}; done
+\& find . \-name \e*guprecords\e* |
+\& while read guprecords; do git mv $guprecords ${guprecords/guprecords/$PROJECTNAME}; done
.Ve
.PP
-Search all content and rename *foo* into your own new package name. You can do that with:
+Search all content and rename *guprecords* into your own new package name. You can do that with:
.PP
.Vb 2
-\& grep \-R foo . | grep \-v .git |
-\& cut \-d: \-f1 | uniq | xargs sed \-i "s/foo/$PROJECTNAME/g"
+\& grep \-R guprecords . | grep \-v .git |
+\& cut \-d: \-f1 | uniq | xargs sed \-i "s/guprecords/$PROJECTNAME/g"
.Ve
.SS "Updating ./debian"
.IX Subsection "Updating ./debian"
diff --git a/docs/foo.pod b/docs/guprecords.pod
index 5afff25..29ff2bd 100644
--- a/docs/foo.pod
+++ b/docs/guprecords.pod
@@ -1,12 +1,12 @@
=head1 NAME
-foo - A template project
+guprecords - A template project
=head1 WTF?
You may use this project in order to build your own Debian package for your own project. This has been tested with Debian GNU/Linux Squeeze and Debian GNU/Linux Wheezy.
-Feel free to modify any aspects. This project is just an empty example foo.
+Feel free to modify any aspects. This project is just an empty example guprecords.
Follow these steps:
@@ -26,7 +26,7 @@ Go to the to level directory and run
To test run
- ./bin/foo
+ ./bin/guprecords
It should print out the version number of the project.
@@ -38,27 +38,27 @@ Go to the to level directory and run
It will create the files like:
- ../foo_0.0.0.0_all.deb
- ../foo_0.0.0.0.dsc
- ../foo_0.0.0.0_amd64.changes
- ../foo_0.0.0.0.tar.gz
+ ../guprecords_0.0.0.0_all.deb
+ ../guprecords_0.0.0.0.dsc
+ ../guprecords_0.0.0.0_amd64.changes
+ ../guprecords_0.0.0.0.tar.gz
It should create a debian package in ../. Check and install it, e.g:
- lintian --pedantic ../foo_0.0.0.0_all.deb
- sudo dpkg -i ../foo_0.0.0.0_all.deb
+ lintian --pedantic ../guprecords_0.0.0.0_all.deb
+ sudo dpkg -i ../guprecords_0.0.0.0_all.deb
Run
- dpkg -L foo
+ dpkg -L guprecords
to see whats in there. You can now run
- /usr/bin/foo
+ /usr/bin/guprecords
or for example
- man foo
+ man guprecords
=head2 Read the Makefile
@@ -80,26 +80,26 @@ You should also consider the following:
=head2 Manual page
-This template is using POD for creating manual pages. Edit ./docs/foo.pod and run
+This template is using POD for creating manual pages. Edit ./docs/guprecords.pod and run
make documentation
-in order to build ./docs/foo.1. The page will be included in the resulting debian package automatically. You can review the page with
+in order to build ./docs/guprecords.1. The page will be included in the resulting debian package automatically. You can review the page with
- man ./docs/foo.1
+ man ./docs/guprecords.1
-=head2 Renaming foo into your project name
+=head2 Renaming guprecords into your project name
-Rename all files which have *foo* included into your own new package name. You can do that with:
+Rename all files which have *guprecords* included into your own new package name. You can do that with:
PROJECTNAME=yourproject
- find . -name \*foo\* |
- while read foo; do git mv $foo ${foo/foo/$PROJECTNAME}; done
+ find . -name \*guprecords\* |
+ while read guprecords; do git mv $guprecords ${guprecords/guprecords/$PROJECTNAME}; done
-Search all content and rename *foo* into your own new package name. You can do that with:
+Search all content and rename *guprecords* into your own new package name. You can do that with:
- grep -R foo . | grep -v .git |
- cut -d: -f1 | uniq | xargs sed -i "s/foo/$PROJECTNAME/g"
+ grep -R guprecords . | grep -v .git |
+ cut -d: -f1 | uniq | xargs sed -i "s/guprecords/$PROJECTNAME/g"
=head2 Updating ./debian
diff --git a/docs/foo.txt b/docs/guprecords.txt
index bf913ac..968b998 100644
--- a/docs/foo.txt
+++ b/docs/guprecords.txt
@@ -1,5 +1,5 @@
NAME
- foo - A template project
+ guprecords - A template project
WTF?
You may use this project in order to build your own Debian package for
@@ -7,7 +7,7 @@ WTF?
Debian GNU/Linux Wheezy.
Feel free to modify any aspects. This project is just an empty example
- foo.
+ guprecords.
Follow these steps:
@@ -26,7 +26,7 @@ WTF?
To test run
- ./bin/foo
+ ./bin/guprecords
It should print out the version number of the project.
@@ -37,27 +37,27 @@ WTF?
It will create the files like:
- ../foo_0.0.0.0_all.deb
- ../foo_0.0.0.0.dsc
- ../foo_0.0.0.0_amd64.changes
- ../foo_0.0.0.0.tar.gz
+ ../guprecords_0.0.0.0_all.deb
+ ../guprecords_0.0.0.0.dsc
+ ../guprecords_0.0.0.0_amd64.changes
+ ../guprecords_0.0.0.0.tar.gz
It should create a debian package in ../. Check and install it, e.g:
- lintian --pedantic ../foo_0.0.0.0_all.deb
- sudo dpkg -i ../foo_0.0.0.0_all.deb
+ lintian --pedantic ../guprecords_0.0.0.0_all.deb
+ sudo dpkg -i ../guprecords_0.0.0.0_all.deb
Run
- dpkg -L foo
+ dpkg -L guprecords
to see whats in there. You can now run
- /usr/bin/foo
+ /usr/bin/guprecords
or for example
- man foo
+ man guprecords
Read the Makefile
Read the Makefile in order to understand what's going on.
@@ -78,28 +78,28 @@ Customize
Manual page
This template is using POD for creating manual pages. Edit
- ./docs/foo.pod and run
+ ./docs/guprecords.pod and run
make documentation
- in order to build ./docs/foo.1. The page will be included in the
+ in order to build ./docs/guprecords.1. The page will be included in the
resulting debian package automatically. You can review the page with
- man ./docs/foo.1
+ man ./docs/guprecords.1
- Renaming foo into your project name
- Rename all files which have *foo* included into your own new package
+ Renaming guprecords into your project name
+ Rename all files which have *guprecords* included into your own new package
name. You can do that with:
PROJECTNAME=yourproject
- find . -name \*foo\* |
- while read foo; do git mv $foo ${foo/foo/$PROJECTNAME}; done
+ find . -name \*guprecords\* |
+ while read guprecords; do git mv $guprecords ${guprecords/guprecords/$PROJECTNAME}; done
- Search all content and rename *foo* into your own new package name. You
+ Search all content and rename *guprecords* into your own new package name. You
can do that with:
- grep -R foo . | grep -v .git |
- cut -d: -f1 | uniq | xargs sed -i "s/foo/$PROJECTNAME/g"
+ grep -R guprecords . | grep -v .git |
+ cut -d: -f1 | uniq | xargs sed -i "s/guprecords/$PROJECTNAME/g"
Updating ./debian
Edit the following files accordingly to your new project (e.g. with
diff --git a/src/foo b/src/guprecords
index eabe0de..eabe0de 100755
--- a/src/foo
+++ b/src/guprecords