debian/0000775000000000000000000000000012246562546007204 5ustar debian/rules0000775000000000000000000000404512246562415010262 0ustar #!/usr/bin/make -f # -*- makefile -*- export DH_VERBOSE=1 srcpkg = $(shell LC_ALL=C dpkg-parsechangelog | awk '/^Source:/{print $$2;}') uversion = $(shell LC_ALL=C dpkg-parsechangelog | awk '/^Version:/{print $$2;}' | sed -e 's,-[^-]*$$,,g') MANDIR=$(CURDIR)/debian/manpages CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif # Following logic was borrowed from strace Debian package # Copyright 1996-2011 strace Debian maintainers, License: BSD-3 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(NUMJOBS) endif DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CONFIG_OPTS = --build=$(DEB_BUILD_GNU_TYPE) else CONFIG_OPTS = --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) endif %: dh $@ override_dh_auto_configure: dh_auto_configure $@ : # Need to generate strace-4.6/Makefile with proper architecture specs : # otherwise build would fail on 32/64 kernel with 32bit userland cd strace-4.6; \ sh ./configure --prefix=/usr $(CONFIG_OPTS) override_dh_auto_install: make install DESTDIR=debian/cde PREFIX=/usr override_dh_auto_clean: -dh_auto_clean $@ @echo "I: distcleaning in strace-4.6" -cd strace-4.6 && make distclean # make orig tarball from repository corresponding to $srcpkg (should # contain treeish) but excluding some content get-orig-source: git archive --worktree-attributes --format=tar \ --prefix=$(srcpkg)-$(uversion)/ v$(uversion) \ | gzip -9 >| ../tarballs/$(srcpkg)_$(uversion).orig.tar.gz manpages: build @echo "I: Pre-generating manpages" mkdir -p $(MANDIR) for b in cde cde-exec; do \ help2man --no-info --no-discard-stderr --help-option=-h \ --opt-include=$(MANDIR)/$$b.inc \ --version-string=$(uversion) ./$$b \ >| $(MANDIR)/$$b.1; \ done debian/watch0000664000000000000000000000136512246562415010235 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to examine a Webpage # #http://www.example.com/downloads.php cde-(.*)\.tar\.gz # Uncomment to examine a Webserver directory #http://www.example.com/pub/cde-(.*)\.tar\.gz # Uncommment to examine a FTP server #ftp://ftp.example.com/pub/cde-(.*)\.tar\.gz debian uupdate # Uncomment to find new files on sourceforge, for devscripts >= 2.9 # http://sf.net/cde/cde-(.*)\.tar\.gz # Uncomment to find new files on GooglePages # http://example.googlepages.com/foo.html cde-(.*)\.tar\.gz debian/changelog0000664000000000000000000000153312246562532011053 0ustar cde (0.1+git9-g551e54d-1ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - debian/control: Contains x86isms, limit as such. -- Logan Rosen Sun, 01 Dec 2013 02:29:10 -0500 cde (0.1+git9-g551e54d-1) unstable; urgency=low * Fresh upstream snapshot (includes up_cp_cmdline_version patch) - resolves few issues (e.g. closing unused file descriptors) * Updated Homepage. Thanks Branen Salmon (Closes: #699643) -- Yaroslav Halchenko Sun, 17 Nov 2013 20:47:11 -0500 cde (0.1-1ubuntu1) quantal; urgency=low * Contains x86isms, limit as such. -- Ben Collins Wed, 13 Jun 2012 00:23:57 -0400 cde (0.1-1) unstable; urgency=low * Initial release (Closes: #610711) -- Yaroslav Halchenko Fri, 03 Feb 2012 19:27:05 -0500 debian/compat0000664000000000000000000000000212246562415010375 0ustar 7 debian/README.source0000664000000000000000000000052612246562415011361 0ustar cde for Debian -------------- CDE is packaged directly from the upstream's GIT repository. Exclusion of unncessary for source distribution materials (e.g. tarballs of pristine strace) are handled via debian/source/options and .gitattributes, so that .orig.tar.gz is generated by git-buildpackage or get-orig-source debian/rules directive. debian/copyright0000664000000000000000000001063612246562415011140 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: cde Source: http://github.com/pgbovine/CDE Comment: CDE project is heavily based on strace and readelf-mini borrowed from GNU binutils. CDE is developed ATM as a fork of strace. Files: * Copyright: 2010-2011 Philip Guo License: GPL-3.0+ Files: strace-* Copyright: 1991, 1992 Paul Kranenburg 1993 Branko Lankester 1993 Ulrich Pegelow 1995, 1996 Michael Elizabeth Chastain 1993, 1994, 1995, 1996 Rick Sladkey 1998-2003 Wichert Akkerman 2002-2008 Roland McGrath 2003-2008 Dmitry V. Levin 2007-2008 Jan Kratochvil License: BSD-3 Files: readelf-mini Copyright: 1998-2009 Free Software Foundation, Inc. License: GPL-3.0+ Comment: Some files within readelf-mini were originally released under GPL 2.0 (or any later version) and still carry the original license header whilst this project is now released under GPL v 3.0. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: readelf-mini/include/safe-ctype.h Copyright: 2000, 2001 Free Software Foundation, Inc License: LGPL-2.0+ Files: debian/* Copyright: 2012 Yaroslav Halchenko License: GPL-3.0+ Files: debian/rules Copyright: 1996-2011 strace Debian maintainers (parts) License: BSD-3 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 . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". License: BSD-3 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: LGPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 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 Lesser 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 . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2'. debian/cde.manpages0000664000000000000000000000002412246562415011443 0ustar debian/manpages/*.1 debian/source/0000775000000000000000000000000012246562544010502 5ustar debian/source/format0000664000000000000000000000001412246562415011705 0ustar 3.0 (quilt) debian/source/options0000664000000000000000000000007312246562415012115 0ustar extend-diff-ignore = "(^|/)(\.gitattributes|.*\.tar\..*)$" debian/manpages/0000775000000000000000000000000012246562544010775 5ustar debian/manpages/cde.inc0000664000000000000000000000016712246562415012224 0ustar [NAME] cde - package everything required to execute a Linux command on another computer [SEE ALSO] .BR cde-exec "(1)" debian/manpages/cde-exec.10000664000000000000000000000161512246562415012534 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4. .TH CDE-EXEC "1" "February 2012" "cde-exec 0.1" "User Commands" .SH NAME cde-exec - execute binary within a package generated by cde .SH DESCRIPTION CDE: Code, Data, and Environment packaging for Linux Copyright 2010\-2011 Philip Guo (pg@cs.stanford.edu) http://www.stanford.edu/~pgbovine/cde.html .PP usage: cde\-exec [command within cde\-root/ to run] .PP Options .TP \fB\-l\fR : Use native dynamic linker on machine (less portable but more robust) .TP \fB\-n\fR : Block network access (blank out bind/connect syscalls) .TP \fB\-f\fR : Do NOT follow forks, so child processes run natively .TP \fB\-s\fR : Streaming mode (ooh, mysterious!) .HP \fB\-i\fR '' : Ignore the given exact file path .HP \fB\-p\fR '' : Ignore the given file path prefix .TP \fB\-v\fR : Verbose mode (for debugging) .SH "SEE ALSO" .BR cde "(1)" debian/manpages/cde-exec.inc0000664000000000000000000000013512246562415013141 0ustar [NAME] cde-exec - execute binary within a package generated by cde [SEE ALSO] .BR cde "(1)" debian/manpages/cde.10000664000000000000000000000157012246562415011612 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4. .TH CDE "1" "February 2012" "cde 0.1" "User Commands" .SH NAME cde - package everything required to execute a Linux command on another computer .SH DESCRIPTION CDE: Code, Data, and Environment packaging for Linux Copyright 2010\-2011 Philip Guo (pg@cs.stanford.edu) http://www.stanford.edu/~pgbovine/cde.html .PP usage: cde [command to run and package] .PP Options .TP \fB\-c\fR : Print the order of files copied into the package in cde\-copied\-files.log .HP \fB\-o\fR : Set a custom output directory instead of "cde\-package/" .TP \fB\-f\fR : Do NOT follow forks, so child processes are not packaged .HP \fB\-i\fR '' : Ignore the given exact file path .HP \fB\-p\fR '' : Ignore the given file path prefix .TP \fB\-v\fR : Verbose mode (for debugging) .SH "SEE ALSO" .BR cde-exec "(1)" debian/TODO0000664000000000000000000000056412246562415007674 0ustar * manpages Ask Philip to - add handling of --help and --version - assure ok appearance processed with help2man (or just generate/maintain them) So far tried with help2man --no-info --help-option=-h ./cde --version-string=VERSION * What is optimal way to run unit tests and what would be the build-depends to assure all necessary components for them debian/cde.dirs0000664000000000000000000000001012246562415010604 0ustar usr/bin debian/control0000664000000000000000000000312312246562440010577 0ustar Source: cde Section: utils Priority: optional XSBC-Original-Maintainer: NeuroDebian Team Maintainer: Ubuntu Developers Uploaders: Yaroslav Halchenko , Michael Hanke Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.2 Homepage: http://www.pgbovine.net/cde.html Vcs-Browser: http://git.debian.org/?p=pkg-exppsy/cde.git Vcs-Git: git://git.debian.org/git/pkg-exppsy/cde.git Package: cde Architecture: amd64 i386 Depends: ${shlibs:Depends}, ${misc:Depends} Description: package everything required to execute a Linux command on another computer CDEpack (Code, Data, and Environment packaging) is a tool that automatically packages up everything required to execute a Linux command on another computer without any installation or configuration. A command can range from something as simple as a command-line utility to a sophisticated GUI application with 3D graphics. The only requirement is that the other computer have the same hardware architecture (e.g., x86) and major kernel version (e.g., 2.6.X) as yours. CDEpack allows you to easily run programs without the dependency hell that inevitably occurs when attempting to install software or libraries. . Typical use cases: 1. Quickly share prototype software 2. Try out software in non-native environments 3. Perform reproducible research 4. Instantly deploy applications to cluster or cloud computing 5. Submit executable bug reports 6. Package class programming assignments 7. Easily collaborate on coding projects debian/docs0000664000000000000000000000003312246562415010046 0ustar nasty-bash-hack.txt README debian/gbp.conf0000664000000000000000000000040312246562415010613 0ustar [DEFAULT] # the default branch for upstream sources: upstream-branch = master # the default branch for the debian patch: debian-branch = debian # the default tag formats used: upstream-tag = %(version)s upstream-tree = branch debian-tag = debian/%(version)s debian/patches/0000775000000000000000000000000012246562544010631 5ustar debian/patches/series0000664000000000000000000000005612246562440012042 0ustar up_ignore-noMakefile_on_clean deb_install_usr debian/patches/up_ignore-noMakefile_on_clean0000664000000000000000000000036712246562415016454 0ustar --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ strace-4.6/Makefile: clean: cd readelf-mini && make clean - cd strace-4.6 && make clean + -cd strace-4.6 && make clean rm -f cde cde-exec okapi okapi: strace-4.6/okapi.c strace-4.6/okapi.h debian/patches/deb_install_usr0000664000000000000000000000040712246562415013723 0ustar --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ all: strace-4.6/Makefile okapi mv -f strace-4.6/cde-exec . install: all - install cde cde-exec $(PREFIX)/bin + install cde cde-exec $(DESTDIR)/$(PREFIX)/bin strace-4.6/Makefile: cd strace-4.6 && ./configure