diff --git a/debian/changed.manpages b/debian/changed.manpages new file mode 100644 index 0000000000000000000000000000000000000000..c5d0ffd28201abe11d8189eea021949c2191e698 --- /dev/null +++ b/debian/changed.manpages @@ -0,0 +1 @@ +changed.1 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..ccadf710dde61c8dd68a2ace3ad943e49f160830 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +changed (0.1) unstable; urgency=low + + * Initial Release. + + -- ale <ale@incal.net> Wed, 21 Jan 2015 08:19:45 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..2b52159dbd2aa305d9a263672a061ca45d514820 --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: changed +Section: utils +Priority: optional +Maintainer: ale <ale@incal.net> +Build-Depends: debhelper (>= 8.0.0) +Standards-Version: 3.9.5 + +Package: changed +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Tells if a file or directory have changed. + Useful for automation and configuration management scripts. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..e30d6d0c9b95338334382176e81d4752369c7c05 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: changed +Source: <https://git.autistici.org/ale/changed> + +Files: * +Copyright: 2014 ale <ale@incal.net> +License: MIT + +Files: debian/* +Copyright: 2014 ale <ale@incal.net> +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..1e02d6d9333ae7d992f1793d67b8b65fcbe24f6b --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PKGDIR = $(CURDIR)/debian/changed + +%: + dh $@ + +override_dh_install: + install -m 755 -o root -g root -d $(PKGDIR)/usr/bin + go build -o $(PKGDIR)/usr/bin/changed changed.go + chmod 755 $(PKGDIR)/usr/bin/changed + chown root:root $(PKGDIR)/usr/bin/changed + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000000000000000000000000000000000000..89ae9db8f88b823b6a7eabf55e203658739da122 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)