try: sys.path.append(((_ for _ in (os.path.join(os.path.sep.join(('..' for _ in range(_))),d,
'site_scons') for d in ('','senf','Senf') for _ in range(len(os.getcwd().split('/'))))
if os.path.exists(_))).next())
-except: pass
+except: sys.path.append('/usr/lib/senf/site_scons')
import senfutil
env = Environment()
--- /dev/null
+udpcat (0.1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Stefan Bund <stefan@unknown> Thu, 27 May 2010 11:16:18 +0200
--- /dev/null
+Source: udpcat
+Section: unknown
+Priority: extra
+Maintainer: Stefan Bund <stefan@unknown>
+Build-Depends: debhelper (>= 5), scons (>= 0.97), libsenf-dev
+Standards-Version: 3.7.2
+
+Package: udpcat
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: simple network cat
--- /dev/null
+This work was packaged for Debian by:
+
+ Stefan Bund <stefan@unknown> on Thu, 27 May 2010 11:16:18 +0200
+
+It was downloaded from:
+
+ <url://example.com>
+
+Upstream Author(s):
+
+ <put author's name and email here>
+ <likewise for another author>
+
+Copyright:
+
+ <Copyright (C) YYYY Firstname Lastname>
+ <likewise for another author>
+
+License:
+
+ 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'.
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Stefan Bund <stefan@unknown>
+
+# Please chose a license for your packaging work. If the program you package
+# uses a mainstream license, using the same license is the safest choice.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
+# If you just want it to be GPL version 3, leave the following line in.
+
+and is licensed under the GPL version 3, see above.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
--- /dev/null
+udpcat usr/bin
\ No newline at end of file
--- /dev/null
+#!/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.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+CONCURRENCY_LEVEL ?= 1
+export CONCURRENCY_LEVEL
+
+destdir=$(CURDIR)/debian/tmp
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+# Add here commands to compile the arch part of the package.
+ scons -j $(CONCURRENCY_LEVEL)
+ touch $@
+
+clean: debclean
+# Add here commands to clean up after the build process.
+ -scons -c all
+
+debclean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k -s -Xdebian/tmp
+ dh_installdirs -s
+# Add here commands to install the arch part of the package into
+# debian/tmp.
+ dh_install -X.svn -X.git -s
+
+binary: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress -Xhtml -Xdoclib -Xexamples
+ dh_fixperms
+# dh_perl
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+.PHONY: configure build clean debclean install binary