diff options
author | Meike Reichle <meike@debian.org> | 2009-06-21 22:01:56 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-06-21 22:31:16 +0200 |
commit | c607ef678f2ecb05b1cf031c3d70625d29562f7f (patch) | |
tree | ed2efdc6be6f6ae9f0a36d6c3df7109585ff8f2f | |
parent | a47e348e7852d6e6ef23190f39ad2cf99900bf56 (diff) | |
download | ptxdist-c607ef678f2ecb05b1cf031c3d70625d29562f7f.tar.gz ptxdist-c607ef678f2ecb05b1cf031c3d70625d29562f7f.tar.xz |
[debian] add ingenious and hilarious debian packaging infrastructure
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
-rw-r--r-- | debian/README.Debian | 7 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 20 | ||||
-rw-r--r-- | debian/copyright | 43 | ||||
-rw-r--r-- | debian/docs | 3 | ||||
-rw-r--r-- | debian/lintian-override | 96 | ||||
-rw-r--r-- | debian/patches/dependency-fixes | 232 | ||||
-rw-r--r-- | debian/patches/destdir_bash_compl_fix | 15 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rw-r--r-- | debian/ptxdist-1.99.13.sgml | 333 | ||||
-rw-r--r-- | debian/ptxdist.debhelper.log | 15 | ||||
-rw-r--r-- | debian/ptxdist.substvars | 1 | ||||
-rwxr-xr-x | debian/rules | 94 | ||||
-rw-r--r-- | debian/watch | 23 |
15 files changed, 890 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 00000000..7cc58d44 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,7 @@ +ptxdist for Debian +------------------ + +There is an extra package for any development version of ptxdist +available, they can be installed simultaneously. + + -- Meike Reichle <meike@debian.org> Mon, 15 Jun 2009 16:37:34 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..7cf9a9fa --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ptxdist-1.99.13 (1.99.13-1) unstable; urgency=low + + * Packaged svn checkout, removed .svn directories + + -- Meike Reichle <meike@debian.org> Mon, 15 Jun 2009 12:23:17 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..7f8f011e --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..16525636 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: ptxdist-1.99.13 +Section: devel +Priority: extra +Maintainer: Meike Reichle <meike@debian.org> +Build-Depends: debhelper (>= 7), docbook-to-man, flex, bison, expect, libncurses-dev, texinfo, quilt +Standards-Version: 3.8.1 +Homepage: http://www.pengutronix.de + +Package: ptxdist-1.99.13 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, gawk, python, ckermit, wget, patch, autoconf, automake, python-dev +Suggests: quilt +Description: a build system for embedded system root filesystems + PTXdist is a GPL licensed build system for userlands, started by Pengutronix. + It uses the Kconfig configuration system from the Linux kernel. Although + PTXdist (without patches) still fits on one disc, a whole root filesystem can + be built as easy as "ptxdist go". PTXdist is considered to be "executable + documentation", which means that the steps necessary to build a target system + are put into scripts which can be easily reviewed, but also executed with one + click by a less experienced user. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..bba667fc --- /dev/null +++ b/debian/copyright @@ -0,0 +1,43 @@ +This package was debianized by: + + Meike Reichle <meike@debian.org> on Mon, 15 Jun 2009 16:37:34 +0200 + +It was downloaded from: + + <http://www.pengutronix.de/software/ptxdist/download/> + +Upstream Authors: + + PTXdist Team <ptxdist@pengutronix.de> + +Copyright: + + Copyright (C) PTXdist Team ptxdist@pengutronix.de + This package includes code by other authors, see the CREDITS file for details + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is: + + Copyright (C) 2009 Meike Reichle <meike@debian.org> + +and is licensed under the GPL version 2, +see `/usr/share/common-licenses/GPL-2'. + +This package includes code by other authors, please see the CREDITS file for details diff --git a/debian/docs b/debian/docs new file mode 100644 index 00000000..cf4ddc85 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +README +TODO + diff --git a/debian/lintian-override b/debian/lintian-override new file mode 100644 index 00000000..e4b310c0 --- /dev/null +++ b/debian/lintian-override @@ -0,0 +1,96 @@ +ptxdist-1.99.13 binary: image-file-in-usr-lib usr/lib/ptxdist-1.99.13/patches/DirectFB-examples-1.2.0/generic/ptx_logo_640_480.png +ptxdist-1.99.13 binary: shell-script-fails-syntax-check ./usr/lib/ptxdist-1.99.13/patches/xawtv-3.95/generic/page_size.diff +ptxdist-1.99.13 binary: unusual-interpreter ./usr/lib/ptxdist-1.99.13/tests/libptxdisttest.kermit #!/usr/bin/kermit +ptxdist-1.99.13 binary: executable-not-elf-or-script ./usr/lib/ptxdist-1.99.13/tests/setenv.kermit +ptxdist-1.99.13 binary: executable-not-elf-or-script ./usr/lib/ptxdist-1.99.13/tests/flash.kermit +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/generic/etc/dhclient-script +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/generic/etc/ppp/ip-down +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/generic/etc/ppp/ip-up +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/generic/etc/udhcpc.script +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/generic/sbin/bootchartd +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/prelink-0.0.20071009/generic/Makefile.in.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/prelink-0.0.20071009/generic/dso.c.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/prelink-0.0.20071009/generic/fsync.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/prelink-0.0.20071009/generic/init.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/prelink-0.0.20071009/generic/layout.c.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/prelink-0.0.20071009/generic/md5sha.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/prelink-0.0.20071009/generic/prelink.h.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_free.1.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_output_sort_time.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_pmap.1.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_ps.1.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_skill.1.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_skill_perror.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_slabtop.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_sysctl.8.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_sysctl_malloclen.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_sysctl_options.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_tload.1.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_top_irix.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_top_no_openproc.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_top_stdineof.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_top_uid_length.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_uptime.1.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_vmstat.8.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_w_time.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/10_watch.1.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/20_Makefile_lib64.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/20_kill.1.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/20_kill_warncr.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/20_module_mk_shared.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/20_sysinfo_c.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/20_top_c_resize.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/20_top_manpage.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/20_w-bassman.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/20_watch_8bitchar.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/30_library_map_freeproc.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/30_pgrep_start_time.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/30_readproc_c.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/30_sysinfo_7numbers.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/30_tload_no_optargs.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/30_top.1_cpustate.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/30_w-columns.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/30_w.1.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/30_watch_exec_beep.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/35_path_max.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/40_gnu-kbsd-version.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/40_pgrep_coption.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/40_ps_cgroup_display.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/40_watch_precision_time.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/45_proc_complain_unmounted_proc.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/45_top_exitcode.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/45_vmstat_exitcode.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/50_dev_null_makefile_fix.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/50_pgrep.1.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/50_top_mintime.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/50_vmstat_headers.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/55_pgrep_usage_exitcode.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/55_top_highlight.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/procps-3.2.7/generic/60_top_nohz.dpatch +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/patches/xawtv-3.95/generic/page_size.diff +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/plugins/url_check/ptxlib.bash +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/plugins/url_check_ng/ptxlib.bash +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/rules/busybox.postinst +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/rules/cvs.postinst +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/rules/dnsmasq.postinst +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/rules/fam.postinst +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/rules/inetutils.postinst +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/rules/portmap.postinst +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/rules/pureftpd.postinst +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/rules/rsync.postinst +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/rules/urshd.postinst +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/rules/urshd.preinst +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/kconfig/lxdialog/check-lxdialog.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/lib/ptxd_lib_cfgchg.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/lib/ptxd_lib_colgen.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/lib/ptxd_lib_dgen.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/lib/ptxd_lib_kgen.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/lib/ptxd_make_00-init.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/lib/ptxd_make_extract.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/lib/ptxd_make_fixpermissions.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/lib/ptxd_make_get.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/lib/ptxd_make_install.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/scripts/libptxdist.sh +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/tests/libptxdisttest.kermit +ptxdist-1.99.13 binary: script-not-executable ./usr/lib/ptxdist-1.99.13/tests/libptxdisttest.sh + diff --git a/debian/patches/dependency-fixes b/debian/patches/dependency-fixes new file mode 100644 index 00000000..a4b0094a --- /dev/null +++ b/debian/patches/dependency-fixes @@ -0,0 +1,232 @@ +Index: ptxdist-1.99.13/configure +=================================================================== +--- ptxdist-1.99.13.orig/configure 2009-06-19 19:32:49.000000000 +0200 ++++ ptxdist-1.99.13/configure 2009-06-19 19:35:30.000000000 +0200 +@@ -5457,59 +5457,6 @@ + { (exit 1); exit 1; }; } + fi + +-for ac_prog in gawk mawk nawk awk +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +-if test "${ac_cv_prog_AWK+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- if test -n "$AWK"; then +- ac_cv_prog_AWK="$AWK" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then +- ac_cv_prog_AWK="$ac_prog" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +-IFS=$as_save_IFS +- +-fi +-fi +-AWK=$ac_cv_prog_AWK +-if test -n "$AWK"; then +- { echo "$as_me:$LINENO: result: $AWK" >&5 +-echo "${ECHO_T}$AWK" >&6; } +-else +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +-fi +- +- +- test -n "$AWK" && break +-done +- +-{ echo "$as_me:$LINENO: checking awk version" >&5 +-echo $ECHO_N "checking awk version... $ECHO_C" >&6; } +-AWK_VERSION=`$AWK --version 2>/dev/null | $SED -ne "s/GNU [Aa]wk \([0-9\.]*\)/\1/p"` +-case "$AWK_VERSION" in +-"") { { echo "$as_me:$LINENO: error: we need GNU awk" >&5 +-echo "$as_me: error: we need GNU awk" >&2;} +- { (exit 1); exit 1; }; } ;; +-*) ;; +-esac +-{ echo "$as_me:$LINENO: result: $AWK_VERSION" >&5 +-echo "${ECHO_T}$AWK_VERSION" >&6; } + + for ac_prog in flex lex + do +@@ -6194,56 +6141,6 @@ + { (exit 1); exit 1; }; } + fi + +-for ac_prog in wget +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +-if test "${ac_cv_path_WGET+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- case $WGET in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_WGET="$WGET" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then +- ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +-IFS=$as_save_IFS +- +- ;; +-esac +-fi +-WGET=$ac_cv_path_WGET +-if test -n "$WGET"; then +- { echo "$as_me:$LINENO: result: $WGET" >&5 +-echo "${ECHO_T}$WGET" >&6; } +-else +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +-fi +- +- +- test -n "$WGET" && break +-done +- +-if test -z "$WGET"; then +- { { echo "$as_me:$LINENO: error: wget could not be found, please install" >&5 +-echo "$as_me: error: wget could not be found, please install" >&2;} +- { (exit 1); exit 1; }; } +-fi + + for ac_prog in tar + do +@@ -6625,56 +6522,6 @@ + { (exit 1); exit 1; }; } + fi + +-for ac_prog in expect +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +-if test "${ac_cv_path_EXPECT+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- case $EXPECT in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_EXPECT="$EXPECT" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then +- ac_cv_path_EXPECT="$as_dir/$ac_word$ac_exec_ext" +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +-IFS=$as_save_IFS +- +- ;; +-esac +-fi +-EXPECT=$ac_cv_path_EXPECT +-if test -n "$EXPECT"; then +- { echo "$as_me:$LINENO: result: $EXPECT" >&5 +-echo "${ECHO_T}$EXPECT" >&6; } +-else +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +-fi +- +- +- test -n "$EXPECT" && break +-done +- +-if test -z "$EXPECT"; then +- { { echo "$as_me:$LINENO: error: expect could not be found, please install" >&5 +-echo "$as_me: error: expect could not be found, please install" >&2;} +- { (exit 1); exit 1; }; } +-fi + + for ac_prog in gmake gnumake make + do +@@ -6927,53 +6774,6 @@ + + + +-# Check whether --with-python was given. +-if test "${with_python+set}" = set; then +- withval=$with_python; +- PYTHON="$withval" +- +- { echo "$as_me:$LINENO: Using python executable $PYTHON" >&5 +-echo "$as_me: Using python executable $PYTHON" >&6;} +- +-else +- +- PYTHON="python" +- +- +-fi +- +-{ echo "$as_me:$LINENO: checking whether $PYTHON finds distutils" >&5 +-echo $ECHO_N "checking whether $PYTHON finds distutils... $ECHO_C" >&6; } +-if test "`$PYTHON -c "import distutils" 2> /dev/null && echo yes`" = "yes"; then +- { echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6; } +-else +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- { { echo "$as_me:$LINENO: error: Please install the Python distutils package" >&5 +-echo "$as_me: error: Please install the Python distutils package" >&2;} +- { (exit 1); exit 1; }; } +-fi +- +-{ echo "$as_me:$LINENO: checking whether python development files are present" >&5 +-echo $ECHO_N "checking whether python development files are present... $ECHO_C" >&6; } +-PYTHON_CONFDIR=`$PYTHON -v -c "import distutils" 2>&1 | $EGREP distutils | $EGREP directory | $SED -ne "s/^[^\/]*\([^[:space:]]*\).*/\1/p"`/../config/ +-if test -e "$PYTHON_CONFDIR/Makefile"; then +- { echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6; } +-else +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- { { echo "$as_me:$LINENO: error: some python development files could not be found, you are +- likely using suse or redhat system as host. In this case +- please install the python-devel packages" >&5 +-echo "$as_me: error: some python development files could not be found, you are +- likely using suse or redhat system as host. In this case +- please install the python-devel packages" >&2;} +- { (exit 1); exit 1; }; } +-fi +- +- + # Check whether --with-patch was given. + if test "${with_patch+set}" = set; then + withval=$with_patch; diff --git a/debian/patches/destdir_bash_compl_fix b/debian/patches/destdir_bash_compl_fix new file mode 100644 index 00000000..b1f7ed2e --- /dev/null +++ b/debian/patches/destdir_bash_compl_fix @@ -0,0 +1,15 @@ +Index: ptxdist-1.99.13/Makefile.in +=================================================================== +--- ptxdist-1.99.13.orig/Makefile.in 2009-06-19 19:16:57.000000000 +0200 ++++ ptxdist-1.99.13/Makefile.in 2009-06-19 19:17:17.000000000 +0200 +@@ -50,8 +50,8 @@ + @rm -f "$(DESTDIR)$(bindir)/ptxdist" + @ln -sf "$(instdir)/bin/ptxdist" "$(DESTDIR)$(bindir)/ptxdist-$(version)" + @ln -sf "$(instdir)/bin/ptxdist" "$(DESTDIR)$(bindir)/ptxdist" +- -@[ -d "@BASH_COMPLETION_DIR@" ] && \ +- cp scripts/bash_completion "@BASH_COMPLETION_DIR@/ptxdist" ++ -@[ -d "$(DESTDIR)@BASH_COMPLETION_DIR@" ] && \ ++ cp scripts/bash_completion "$(DESTDIR)@BASH_COMPLETION_DIR@/ptxdist" + + clean: + @rm -f .done diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..fefcd22d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +destdir_bash_compl_fix +dependency-fixes diff --git a/debian/ptxdist-1.99.13.sgml b/debian/ptxdist-1.99.13.sgml new file mode 100644 index 00000000..718ba509 --- /dev/null +++ b/debian/ptxdist-1.99.13.sgml @@ -0,0 +1,333 @@ +<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ + +<!-- Process this file with docbook-to-man to generate an nroff manual + page: `docbook-to-man manpage.sgml > manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + <!-- Fill in your name for FIRSTNAME and SURNAME. --> + <!ENTITY dhfirstname "<firstname>Meike</firstname>"> + <!ENTITY dhsurname "<surname>Reichle</surname>"> + <!-- Please adjust the date whenever revising the manpage. --> + <!ENTITY dhdate "<date>June 15, 2009</date>"> + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are + allowed: see man(7), man(1). --> + <!ENTITY dhsection "<manvolnum>1</manvolnum>"> + <!ENTITY dhemail "<email>meike@debian.org</email>"> + <!ENTITY dhusername "Meike Reichle"> + <!ENTITY dhucpackage "<refentrytitle>PTXDIST</refentrytitle>"> + <!ENTITY dhpackage "ptxdist-1.99.13"> + + <!ENTITY debian "<productname>Debian</productname>"> + <!ENTITY gnu "<acronym>GNU</acronym>"> + <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> +]> + +<refentry> + <refentryinfo> + <address> + &dhemail; + </address> + <author> + &dhfirstname; + &dhsurname; + </author> + <copyright> + <year>2009</year> + <holder>&dhusername;</holder> + </copyright> + &dhdate; + </refentryinfo> + <refmeta> + &dhucpackage; + + &dhsection; + </refmeta> + <refnamediv> + <refname>&dhpackage;</refname> + + <refpurpose>a build system for embedded system root filesystems</refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis> + <command>&dhpackage; action</command> + + <arg><option>args</option></arg> + + <arg><option>options</option></arg> + </cmdsynopsis> + </refsynopsisdiv> + <refsect1> + <title>DESCRIPTION</title> + + <para>This manual page documents briefly the + <command>&dhpackage;</command> command.</para> + + <para>This manual page was written for the &debian; distribution + because the original program does not have a manual page.</para> + + </refsect1> + <refsect1> + + <title>SETUP AND PROJECT ACTIONS</title> + <variablelist> + <varlistentry><term><option>menu</option></term><listitem> + <para>enter main control menu</para> + </listitem></varlistentry> + <varlistentry><term><option>setup</option></term><listitem> + <para>setup per-user preferences</para> + </listitem></varlistentry> + <varlistentry><term><option>boardsetup</option></term><listitem> + <para>setup per-board preferences</para> + </listitem></varlistentry> + <varlistentry><term><option>projects</option></term><listitem> + <para>show available projects</para> + </listitem></varlistentry> + <varlistentry><term><option>clone <from></option></term><listitem> + <para>create a new project, cloned from <from></para> + </listitem></varlistentry> + <varlistentry><term><option>menuconfig</option></term><listitem> + <para>configure the project's filesystem</para> + </listitem></varlistentry> + <varlistentry><term><option>menuconfig kernel</option></term><listitem> + <para>configure the kernel (`kernelconfig' works too)</para> + </listitem></varlistentry> + <varlistentry><term><option>menuconfig platform</option></term><listitem> + <para>configure the platform (`platformconfig' works too)</para> + </listitem></varlistentry> + <varlistentry><term><option>menuconfig collection</option></term><listitem> + <para>configure the collection</para> + </listitem></varlistentry> + <varlistentry><term><option>menuconfig u-boot-v2</option></term><listitem> + <para>configure U-Boot V2 (`u_boot_config' works too)</para> + </listitem></varlistentry> + <varlistentry><term><option>oldconfig</option></term><listitem> + <para>run `make oldconfig' on ptxconfig file</para> + </listitem></varlistentry> + <varlistentry><term><option>allmodconfig</option></term><listitem> + <para>run `make allmodconfig' on ptxconfig file</para> + </listitem></varlistentry> + <varlistentry><term><option>allyesconfig</option></term><listitem> + <para>run `make allyesconfig' on ptxconfig file</para> + </listitem></varlistentry> + <varlistentry><term><option>allnoconfig</option></term><listitem> + <para>run `make allnoconfig' on ptxconfig file</para> + </listitem></varlistentry> + <varlistentry><term><option>migrate</option></term><listitem> + <para>migrate config files from a previous ptxdist release</para> + </listitem></varlistentry> + <varlistentry><term><option>toolchain [<path>]</option></term><listitem> + <para>if path is omitted the toolchain is guessed, (guessing works only if platformconfig is already selected) otherwise select this toolchain (<path> to binaries)</para> + </listitem></varlistentry> + <varlistentry><term><option>select <config></option></term><listitem> + <para>if there is no selected_ptxconfig file you can select one of several project configs to be used</para> + </listitem></varlistentry> + <varlistentry><term><option> platform <config></option></term><listitem> + <para>if there is no selected_platform file you can select one of several platform configs to be used</para> + </listitem></varlistentry> + <varlistentry><term><option>collection <config></option></term><listitem> + <para>if there is no selected_collection file you can select one of several collection configs to be used</para> + </listitem></varlistentry> + </variablelist> + </refsect1> + + <refsect1> + <title>BUILD ACTIONS</title> + <variablelist> + <varlistentry><term><option>go</option></term><listitem> + <para>start building the current project</para> + </listitem></varlistentry> + <varlistentry><term><option>get <package></option></term><listitem> + <para>get packet sources</para> + </listitem></varlistentry> + <varlistentry><term><option>extract <package></option></term><listitem> + <para>extract packet</para> + </listitem></varlistentry> + <varlistentry><term><option>prepare <package></option></term><listitem> + <para>run configure stages for packet</para> + </listitem></varlistentry> + <varlistentry><term><option>compile <package></option></term><listitem> + <para>compile the sources</para> + </listitem></varlistentry> + <varlistentry><term><option>install <package></option></term><listitem> + <para>install host side components into sysroot</para> + </listitem></varlistentry> + <varlistentry><term><option>targetinstall <package></option></term><listitem> + <para>install files for target into root</para> + </listitem></varlistentry> + <varlistentry><term><option>clean <package></option></term><listitem> + <para>cleanup packet</para> + </listitem></varlistentry> + <varlistentry><term><option>autobuild</option></term><listitem> + <para>search for `autobuild' scripts and run them</para> + </listitem></varlistentry> + <varlistentry><term><option>clean <package> <stage></option></term><listitem> + <para>mark a stage of a packet as unbuilt</para> + </listitem></varlistentry> + <varlistentry><term><option>tags <package></option></term><listitem> + <para>try to build tags of the packet</para> + </listitem></varlistentry> + <varlistentry><term><option>images</option></term><listitem> + <para>build images for target system</para> + </listitem></varlistentry> + </variablelist> + </refsect1> + + <refsect1> + <title>CLEAN ACTIONS</title> + <variablelist> + <varlistentry><term><option>clean</option></term><listitem> + <para>cleanup build-host and build-cross dirs</para> + </listitem></varlistentry> + <varlistentry><term><option>clean root</option></term><listitem> + <para>cleanup root directory for target</para> + </listitem></varlistentry> + <varlistentry><term><option>distclean</option></term><listitem> + <para>cleanup everything</para> + </listitem></varlistentry> + </variablelist> + </refsect1> + + + <refsect1> + <title>MISC</title> + <variablelist> + <varlistentry><term><option>version</option></term><listitem> + <para>print out ptxdist version</para> + </listitem></varlistentry> + <varlistentry><term><option>test <testname></option></term><listitem> + <para>run tests</para> + </listitem></varlistentry> + <varlistentry><term><option>newpacket <type></option></term><listitem> + <para>create a new packet Makefile in a rules dir. <type> can be one of: target, host, host-existing-target, cross, cross-existing-target, source, kernel_driver, font, simple</para> + </listitem></varlistentry> + <varlistentry><term><option>print <var></option></term><listitem> + <para>print the contents of a variable, in the way it is known by "make"</para> + </listitem></varlistentry> + <varlistentry><term><option>export_src <target dir></option></term><listitem> + <para>export all source archives needed for this project to <target dir></para> + </listitem></varlistentry> + </variablelist> + </refsect1> + + + <refsect1> + <title>MISC</title> + <variablelist> + <varlistentry><term><option>--ptxconfig=<config></option></term><listitem> + <para>use specified ptxconfig</para> + </listitem></varlistentry> + <varlistentry><term><option>--platformconfig=<config></option></term><listitem> + <para>use specified platformconfig</para> + </listitem></varlistentry> + <varlistentry><term><option>--collectionconfig=<config></option></term><listitem> + <para>use specified collectionconfig</para> + </listitem></varlistentry> + <varlistentry><term><option>--toolchain=<toolchain></option></term><listitem> + <para>use specified toolchain</para> + </listitem></varlistentry> + <varlistentry><term><option>--force</option></term><listitem> + <para>select config even if MOJO is missing</para> + </listitem></varlistentry> + <varlistentry><term><option>--force-download</option></term><listitem> + <para>allow downloading, even if disabled by setup</para> + </listitem></varlistentry> + </variablelist> + </refsect1> + + + + + + <refsect1> + <title>OPTIONS</title> + <variablelist> + <varlistentry> + <term><option>-d</option> + <option>--debug</option> + </term> + <listitem> + <para>print out additional info (like make decisions)</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-q</option> + <option>--quiet</option> + </term> + <listitem> + <para>suppress output, show only stderr</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-ji<n></option> + <option>--j-intern=<n></option> + </term> + <listitem> + <para>set number of parallel builds in packages (default = 2*CPUs)</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-je<n></option> + <option>--j-extern=<n></option> + </term> + <listitem> + <para>set number of packages built in parallel (default = 1)</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-k</option> + </term> + <listitem> + <para>keep going. Continue as much as possible after an error.</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + + + + <refsect1> + <title>AUTHOR</title> + + <para>This manual page was written by &dhusername; &dhemail; for + the &debian; system (and may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + </para> + <para> + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + </para> + + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:2 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:nil +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +--> diff --git a/debian/ptxdist.debhelper.log b/debian/ptxdist.debhelper.log new file mode 100644 index 00000000..34de80b1 --- /dev/null +++ b/debian/ptxdist.debhelper.log @@ -0,0 +1,15 @@ +dh_prep +dh_installdirs +dh_installchangelogs +dh_installdocs +dh_installexamples +dh_installman +dh_link +dh_strip +dh_compress +dh_fixperms +dh_installdeb +dh_shlibdeps +dh_gencontrol +dh_md5sums +dh_builddeb diff --git a/debian/ptxdist.substvars b/debian/ptxdist.substvars new file mode 100644 index 00000000..2cad123f --- /dev/null +++ b/debian/ptxdist.substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.3.4), libncurses5 (>= 5.6+20071006-3) diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..dfea17c2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,94 @@ +#!/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 + +include /usr/share/quilt/quilt.make + +configure: patch configure-stamp +configure-stamp: $(QUILT_STAMPFN) + dh_testdir + # Add here commands to configure the package. + ./configure --prefix=/usr + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + docbook-to-man debian/ptxdist-1.99.13.sgml > ptxdist-1.99.13.1 + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean --exclude ./patches/etherwake-1.09.orig --exclude ./patches/mii-diag-2.11.orig --exclude ./patches/setmixer_27DEC94ds1.orig ptxdist-1.99.13.1 + +install: build + dh_testdir + dh_testroot + dh_prep --exclude ./patches/etherwake-1.09.orig --exclude ./patches/mii-diag-2.11.orig --exclude ./patches/setmixer_27DEC94ds1.orig + dh_installdirs + + # Add here commands to install the package into debian/ptxdist. + $(MAKE) DESTDIR=$(CURDIR)/debian/ptxdist-1.99.13 install + rm -f $(CURDIR)/debian/ptxdist-1.99.13/usr/bin/ptxdist + rm -f $(CURDIR)/debian/ptxdist-1.99.13/usr/lib/ptxdist-1.99.13/COPYING + + install -p -d -m 755 $(CURDIR)/debian/ptxdist-1.99.13/usr/share/lintian/overrides/ + install -m 644 debian/lintian-override $(CURDIR)/debian/ptxdist-1.99.13/usr/share/lintian/overrides/ptxdist-1.99.13 + + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman ptxdist-1.99.13.1 + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/debian/watch b/debian/watch new file mode 100644 index 00000000..0b213344 --- /dev/null +++ b/debian/watch @@ -0,0 +1,23 @@ +# 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 +# <Webpage URL> <string match> +http://www.pengutronix.de/software/ptxdist/download/v1.99/ ptxdist-(.*)\.tgz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/ptxdist-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/ptxdist-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/ptxdist/ptxdist-(.*)\.tar\.gz + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html ptxdist-(.*)\.tar\.gz |