Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mcjoin: Add debian/ directory for building .deb package.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
- Loading branch information
Showing
15 changed files
with
163 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Very simple -*-Makefile-*- for .deb generation | ||
|
||
CC = @gcc | ||
CPPFLAGS = -W -Wall | ||
|
||
all: mcjoin | ||
|
||
mcjoin: mcjoin.c | ||
|
||
package: | ||
dpkg-buildpackage -B -uc -tc | ||
|
||
clean: | ||
@rm -f mcjoin *.o | ||
|
||
distclean: clean | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
mcjoin for Debian | ||
----------------- | ||
|
||
(Jul 13th, 2014) | ||
|
||
mcjoin is a small multicast helper tool. It can be used to join one or | ||
many IPv4 multicast groups on any interface. When joining on an interface | ||
that is not the default gateway a --repeat=N argument can be used to ensure | ||
that mcjoin re-joins the stream(s) every N seconds. | ||
|
||
Don't use it on the Internet. | ||
|
||
-- Joachim Nilsson <troglobit@gmail.com> Sun, 13 Jul 2014 23:26:11 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
mcjoin (1.5-1) unstable; urgency=low | ||
|
||
* Initial release. | ||
|
||
-- Joachim Nilsson <troglobit@gmail.com> Sun, 13 Jul 2014 23:21:36 +0200 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Source: mcjoin | ||
Section: net | ||
Priority: extra | ||
Maintainer: Joachim Nilsson <troglobit@gmail.com> | ||
Build-Depends: debhelper (>= 7.0.0) | ||
Standards-Version: 3.9.3 | ||
Homepage: https://github.com/troglobit/toolbox/mcjoin | ||
|
||
Package: mcjoin | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Provides: | ||
Conflicts: | ||
Description: IPv4 multicast join test tool. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
Copyright (C) 2004 David Stevens <dlstevens()us!ibm!com> | ||
Copyright (C) 2008-2014 Joachim Nilsson <troglobit()gmail!com> | ||
|
||
License: ISC | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/sbin |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
#DEBHELPER# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
#DEBHELPER# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
#DEBHELPER# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
#DEBHELPER# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
mcjoin for Debian | ||
----------------- | ||
|
||
(Jul 13th, 2014) | ||
|
||
mcjoin is a small multicast helper tool. It can be used to join one or | ||
many IPv4 multicast groups on any interface. When joining on an interface | ||
that is not the default gateway a --repeat=N argument can be used to ensure | ||
that mcjoin re-joins the stream(s) every N seconds. | ||
|
||
Don't use it on the Internet. | ||
|
||
-- Troglobit <jocke@luthien>, Sun, 13 Jul 2014 23:26:43 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/usr/bin/make -f | ||
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
|
||
build: | ||
dh_testdir | ||
$(MAKE) | ||
|
||
clean: | ||
dh_testdir | ||
dh_testroot | ||
[ ! -f defs.h ] || $(MAKE) distclean | ||
dh_clean | ||
|
||
install: build | ||
dh_testdir | ||
dh_testroot | ||
dh_prep | ||
dh_installdirs | ||
|
||
cp mcjoin debian/mcjoin/usr/sbin/mcjoin | ||
|
||
# Build architecture-independent files here. | ||
binary-indep: build install | ||
# We have nothing to do by default. | ||
|
||
# Build architecture-dependent files here. | ||
binary-arch: build install | ||
# dh_testversion | ||
dh_testdir | ||
dh_testroot | ||
# dh_installdebconf | ||
# dh_installdocs | ||
# dh_installexamples | ||
# dh_installmenu | ||
# dh_installemacsen | ||
# dh_installinit | ||
# dh_installcron | ||
# dh_installmanpages | ||
# dh_undocumented | ||
# dh_installchangelogs ChangeLog | ||
dh_strip | ||
dh_compress | ||
dh_fixperms | ||
dh_installdeb | ||
dh_shlibdeps | ||
dh_gencontrol | ||
# dh_makeshlibs | ||
dh_md5sums | ||
dh_builddeb | ||
|
||
source diff: | ||
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false | ||
|
||
binary: binary-indep binary-arch | ||
.PHONY: build clean binary-indep binary-arch binary install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters