diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-09-09 02:33:53 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-09-09 02:33:53 +0000 |
commit | ddefcddae2e97579f82320f4fd70d0ba14a52392 (patch) | |
tree | 632ff7b16cb6e3aacf52350420f8f437ff3f139a | |
parent | 8e7ba70eba02f88d4f3ba12e07ab9c7bdf32240a (diff) | |
download | coreutils-ddefcddae2e97579f82320f4fd70d0ba14a52392.tar.gz |
Added debian dir
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 34 | ||||
-rwxr-xr-x | debian/mach | 2 | ||||
-rwxr-xr-x | debian/rules | 37 | ||||
-rw-r--r-- | debian/source/format | 1 |
6 files changed, 80 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..dfc15f07 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +coreutils (8.17-1) unstable; urgency=low + + * Initial release. + + -- Igor Pashev <pashev.igor@gmail.com> Sun, 24 Jun 2012 01:24:38 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..21f7590e --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: coreutils +Maintainer: Igor Pashev <pashev.igor@gmail.com> +Section: utils +Priority: required +Standards-Version: 3.9.2.0 +Build-Depends: gettext (>= 0.10.37), + debhelper (>= 9), texinfo (>= 4.2), groff, + libattr1-dev, + libselinux1-dev (>= 1.32) [linux-any], + gperf, bison, + libsec1-dev [illumos-amd64], libacl1-dev [linux-any], +Homepage: http://gnu.org/software/coreutils + +Package: coreutils +Architecture: any +Multi-Arch: foreign +Pre-Depends: ${shlibs:Depends}, ${misc:Pre-Depends} +Essential: yes +Depends: ${misc:Depends} +Replaces: illumos-procps (<= 0.1+13513-22), realpath +Description: GNU core utilities + This package contains the basic file, shell and text manipulation + utilities which are expected to exist on every operating system. + . + Specifically, this package includes: + arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp + csplit cut date dd df dir dircolors dirname du echo env expand expr + factor false flock fmt fold groups head hostid id install join link ln + logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc od + paste pathchk pinky pr printenv printf ptx pwd readlink rm rmdir runcon + sha*sum seq shred sleep sort split stat stty sum sync tac tail tee test + timeout touch tr true truncate tsort tty uname unexpand uniq unlink + users vdir wc who whoami yes + diff --git a/debian/mach b/debian/mach new file mode 100755 index 00000000..1cbad21e --- /dev/null +++ b/debian/mach @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/uname -p diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..b9213907 --- /dev/null +++ b/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f + + +export FORCE_UNSAFE_CONFIGURE=1 + +d := debian/coreutils + +%: + dh $@ + +override_dh_install: + dh_install + + # gnu thinks chroot is in bin, debian thinks it's in sbin + install -d $(d)/usr/sbin $(d)/usr/share/man/man8 + mv $(d)/usr/bin/chroot $(d)/usr/sbin/chroot + sed s/\"1\"/\"8\"/1 $(d)/usr/share/man/man1/chroot.1 > $(d)/usr/share/man/man8/chroot.8 + rm $(d)/usr/share/man/man1/chroot.1 + + # the [ program doesn't have its own man page yet + ln -s test.1 $(d)/usr/share/man/man1/[.1 + + # kill from illumos-procps is illumos-specific + rm -f $(d)/usr/bin/kill $(d)/usr/share/man/man1/kill.1 + + # shipped with shadow: + rm -f $(d)/usr/bin/su $(d)/usr/share/man/man1/su.1 + + # unneeded + rm -rf $(d)/usr/share/locale/*/LC_TIME + + # hostname is Debian native package: + rm -f $(d)/usr/bin/hostname $(d)/usr/share/man/man1/hostname.1 + + # Just a wrapper for uname -p, used by illumos-gate + install -o root -g root -m 0755 debian/mach \ + $(d)/usr/bin/mach diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) |