diff options
| author | Paul Buetow <paul@buetow.org> | 2022-01-30 22:09:23 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-01-30 22:09:23 +0000 |
| commit | 3ce5be863e5178aa045c6aff3fb6d5da62c50be9 (patch) | |
| tree | ca98291ba979ccb08b8498c44bfe7e8ba123d3a3 | |
| parent | d81c0b0fb5698d3d5f6add3efdfb5384442c023d (diff) | |
delete debian stuff
| -rw-r--r-- | Makefile | 62 | ||||
| -rw-r--r-- | README.pod | 74 | ||||
| -rw-r--r-- | bin/.gitignore | 4 | ||||
| -rw-r--r-- | debian/README | 7 | ||||
| -rw-r--r-- | debian/changelog | 71 | ||||
| -rw-r--r-- | debian/compat | 1 | ||||
| -rw-r--r-- | debian/control | 15 | ||||
| -rw-r--r-- | debian/copyright | 30 | ||||
| -rw-r--r-- | debian/files | 1 | ||||
| -rw-r--r-- | debian/guprecords.manpages | 1 | ||||
| -rw-r--r-- | debian/guprecords.substvars | 2 | ||||
| -rwxr-xr-x | debian/rules | 13 |
12 files changed, 0 insertions, 281 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index f8214d8..0000000 --- a/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -NAME=guprecords -all: version documentation build - -# THIS IS NEEDED BY THE DEBIAN TOOLS - -# Builds the project. Since this is only a fake project, it just copies a script. -build: - cp -p ./src/$(NAME) bin/$(NAME) - sed -i "s/VERSION_DEVEL/$$(cat .version)/" bin/$(NAME) - -# 'install' installes a fake-root, which will be used to build the Debian package -# $DESTDIR is actually set by the Debian tools. -install: - test ! -d $(DESTDIR)/usr/bin && mkdir -p $(DESTDIR)/usr/bin || exit 0 - test ! -d $(DESTDIR)/usr/share/$(NAME) && mkdir -p $(DESTDIR)/usr/share/$(NAME) || exit 0 - cp ./bin/* $(DESTDIR)/usr/bin - #cp -r ./lib $(DESTDIR)/usr/share/$(NAME)/lib - -deinstall: - test ! -z "$(DESTDIR)" && test -f $(DESTDIR)/usr/bin/$(NAME) && rm $(DESTDIR)/usr/bin/$(NAME) || exit 0 - test ! -z "$(DESTDIR)/usr/share/$(NAME)" && -d $(DESTDIR)/usr/share/$(NAME) && rm -r $(DESTDIR)/usr/share/$(NAME) || exit 0 - -clean: - rm bin/* - -# ADDITIONAL RULES: - -# Parses the version out of the Debian changelog -version: - cut -d' ' -f2 debian/changelog | head -n 1 | sed 's/(//;s/)//' > .version - -# Builds the documentation into a manpage -documentation: - pod2man --release="$(NAME) $$(cat .version)" \ - --center="User Commands" ./docs/$(NAME).pod > ./docs/$(NAME).1 - pod2text ./docs/$(NAME).pod > ./docs/$(NAME).txt - # For Github - cp ./docs/${NAME}.pod README.pod - -# Build a debian package (don't sign it, modify the arguments if you want to sign it) -deb: all - dpkg-buildpackage - -dch: - dch -i - -dput: - dput -u wheezy-buetowdotorg ../$(NAME)_$$(cat ./.version)_amd64.changes - dput -u jessie-buetowdotorg ../$(NAME)_$$(cat ./.version)_amd64.changes - -release: all dch deb - bash -c "git tag $$(cat .version)" - git push --tags - git commit -a -m 'New release' - git push origin master - -clean-top: - rm ../$(NAME)_*.tar.gz - rm ../$(NAME)_*.dsc - rm ../$(NAME)_*.changes - rm ../$(NAME)_*.deb - diff --git a/README.pod b/README.pod deleted file mode 100644 index 1004ea3..0000000 --- a/README.pod +++ /dev/null @@ -1,74 +0,0 @@ -=head1 NAME - -guprecords - Global uptime records - -Shows uprecord stats of several hosts at once. - -=head2 Synopsis - -guprecords [--help] [--total|--all] [--count=i] [--indir=s] - -=head2 Parameters - -=over - -=item --all - -Shows every individual uptime of all hosts. - -=item --count=i - -Show i num of entries. Default is 23. - -=item --nofqdn - -Don't display the FQDNs - -=item --help - -Shows the help - -=item --indir=s - -Read all the *.records files from dir s. Default is ./ - -=item --total - -Aggregates a total uptime for every single host. - -=back - - -=head2 Quick getting started - -=head3 Uptimed - -First of all, you need to collect uprecords using the uptimed deaemon. To install it run: - - sudo aptitude install uptimed - -Please consult the L<uptimed> and L<uprecords> manpages. Please ensure to understand how it works and what it does. - -uptimed collects uprecords to - - /var/spool/uptimed/records - -And this file is used by guprecords for further processing. - -=head3 Collect all the uprecords - -You may have several hosts with uptimed running already. Collect all the records file to a central repository (e.g. git). Name each file FQDN.records and run - - guprecords --indir ./ - -You may automate the collecting of all the uprecords using something like cron or puppet. - -=head1 LICENSE - -See package description or project website. - -=head1 AUTHOR - -Paul Buetow - <http://guprecords.buetow.org> - -=cut diff --git a/bin/.gitignore b/bin/.gitignore deleted file mode 100644 index 5e7d273..0000000 --- a/bin/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory -* -# Except this file -!.gitignore diff --git a/debian/README b/debian/README deleted file mode 100644 index c4b96e7..0000000 --- a/debian/README +++ /dev/null @@ -1,7 +0,0 @@ -The Debian Package guprecords ----------------------------- - -This is just a humble go project. Not sure if everything meets the debian -policy though. Alt least the resulting debian package passes a pedantic lintian - - -- Paul Buetow <paul@buetow.org> Wed, 02 Jan 2013 15:23:53 +0200 diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 566d018..0000000 --- a/debian/changelog +++ /dev/null @@ -1,71 +0,0 @@ -guprecords (0.2.2) stable; urgency=low - - * Add README.pod for github page - - -- Paul Buetow <paul@buetow.org> Sun, 22 Jun 2014 11:29:44 +0200 - -guprecords (0.2.1) stable; urgency=low - - * Remove make dput from release Makefile target - - -- Paul Buetow <paul@buetow.org> Fri, 20 Jun 2014 00:21:52 +0200 - -guprecords (0.2.0) stable; urgency=low - - * Add --nofqdn switch, displays only the hostnames and not the FQDNs - - -- Paul Buetow <paul@buetow.org> Fri, 20 Jun 2014 00:20:35 +0200 - -guprecords (0.1.8) stable; urgency=low - - * Merge - - -- Paul Buetow <paul@buetow.org> Sat, 14 Jun 2014 10:57:19 +0200 - -guprecords (0.1.7) stable; urgency=low - - * Another try to add a Package for Jessie - - -- Paul Buetow <paul@buetow.org> Sat, 14 Jun 2014 10:55:29 +0200 - -guprecords (0.1.6) stable; urgency=low - - * Also add Package for Jessie - - -- Paul Buetow <paul@buetow.org> Sat, 14 Jun 2014 10:49:23 +0200 - -guprecords (0.1.5) stable; urgency=low - - * Typo in manual page fix. - - -- Paul Buetow <paul@buetow.org> Sun, 02 Mar 2014 14:01:12 +0100 - -guprecords (0.1.4) stable; urgency=low - - * Fix the --help output. - - -- Paul Buetow <paul@buetow.org> Sun, 02 Mar 2014 13:57:38 +0100 - -guprecords (0.1.3) stable; urgency=low - - * Fix version string in manpage - - -- Paul Buetow <paul@buetow.org> Sun, 02 Mar 2014 13:45:34 +0100 - -guprecords (0.1.2) stable; urgency=low - - * Sign the packages - - -- Paul Buetow <paul@buetow.org> Sun, 02 Mar 2014 13:40:29 +0100 - -guprecords (0.1.1) stable; urgency=low - - * Fix the version string - - -- Paul Buetow <paul@buetow.org> Sun, 02 Mar 2014 13:39:17 +0100 - -guprecords (0.1.0) stable; urgency=low - - * Initial release - - -- Paul Buetow <paul@buetow.org> Sun, 02 Mar 2014 13:32:05 +0100 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 45a4fb7..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -8 diff --git a/debian/control b/debian/control deleted file mode 100644 index 3e0e59b..0000000 --- a/debian/control +++ /dev/null @@ -1,15 +0,0 @@ -Source: guprecords -Section: utils -Priority: optional -Maintainer: Paul Buetow <paul@buetow.org> -Build-Depends: -Standards-Version: 3.9.2 -Homepage: https://guprecords.buetow.org -Vcs-Git: https://github.com/buetow/guprecords.git -Vcs-Browser: https://github.com/buetow/guprecords - -Package: guprecords -Architecture: all -Depends: -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 deleted file mode 100644 index 2879d80..0000000 --- a/debian/copyright +++ /dev/null @@ -1,30 +0,0 @@ -Format: http://dep.debian.net/deps/dep5 -Upstream-Name: guprecords -Source: http://guprecords.buetow.org - -Files: * -Copyright: 2014 Paul Buetow <paul@buetow.org> -License: GPL-3.0+ - -Files: debian/* -Copyright: 2014 Paul Buetow <paul@buetow.org> -License: GPL-3.0+ - -License: GPL-3.0+ - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - . - On Debian systems, the complete text of the GNU General - Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". - - diff --git a/debian/files b/debian/files deleted file mode 100644 index e323e14..0000000 --- a/debian/files +++ /dev/null @@ -1 +0,0 @@ -guprecords_0.2.2_all.deb utils optional diff --git a/debian/guprecords.manpages b/debian/guprecords.manpages deleted file mode 100644 index ad209b1..0000000 --- a/debian/guprecords.manpages +++ /dev/null @@ -1 +0,0 @@ -docs/guprecords.1 diff --git a/debian/guprecords.substvars b/debian/guprecords.substvars deleted file mode 100644 index bcb0957..0000000 --- a/debian/guprecords.substvars +++ /dev/null @@ -1,2 +0,0 @@ -perl:Depends=perl -misc:Depends= diff --git a/debian/rules b/debian/rules deleted file mode 100755 index b760bee..0000000 --- a/debian/rules +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -%: - dh $@ |
