From e23f292d2ddd4eca9eff7184483bb142187e2c43 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 8 Feb 2014 20:27:53 +0400 Subject: illumos-source-2.10 (2.10) unstable; urgency=low * Initial release. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control.in | 25 ++++++++++++++++++++++ debian/rules | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ debian/source/format | 1 + 5 files changed, 90 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control.in create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f4bbfe1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +illumos-source-2.10 (2.10) unstable; urgency=low + + * Initial release. + + -- Igor Pashev Mon, 08 Oct 2012 03:14:18 +0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control.in b/debian/control.in new file mode 100644 index 0000000..9511b79 --- /dev/null +++ b/debian/control.in @@ -0,0 +1,25 @@ +Source: illumos-source-@VER@ +Section: kernel +Priority: optional +Maintainer: Igor Pashev +Build-Depends: debhelper ( >= 9 ), git, xz-utils +Standards-Version: 3.9.3 +Homepage: http://illumos.org/ + + +Package: illumos-source-@VER@ +Section: kernel +Priority: optional +Architecture: all +Depends: xz-utils, ${misc:Depends} +Suggests: dh-illumos +Description: complete and unmodified sources of illumos OS (@VER@) + This package provides complete and unmodified source code for the illumos + operating system: unix kernel, libraries, system tools, user utilities and + development tools. Sources are packed into tarball with a snapshot from + https://github.com/illumos/illumos-gate + . + The first number in package name is year from 2010 (2012 => 2), + the second number is month (September => 9). + . + Sources include all commits made before the first day of the designated month. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ba81070 --- /dev/null +++ b/debian/rules @@ -0,0 +1,58 @@ +#!/usr/bin/make -f + +major := 2 +minor := 10 + +url := git://github.com/illumos/illumos-gate.git + +VER := $(major).$(minor) + +year := $(shell expr 2010 + $(major)) +month := $(minor) + +illumos-gate: + git clone $(url) illumos-gate || rm -rf illumos-gate + +checkout: illumos-gate + cd illumos-gate && git checkout `git rev-list -n 1 --before="$(year)-$(month)-01" master` + touch $@ + +illumos-gate-$(VER).tar.xz: checkout + tar -c -f - --exclude-vcs illumos-gate | xz -9 > $@ + +ChangeLog: checkout + cd illumos-gate && git log --date-order --after=1/10/2011 --before="$(year)-$(month)-01" --stat > ../$@ + +build-arch build-indep build: + +debian/control: debian/control.in + sed 's,@VER@,$(VER),g' $< > $@ + +binary-arch binary-indep binary: binary-stamp +binary-stamp: install-stamp debian/control + dh_testroot + dh_testdir + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + touch $@ + + +install: install-stamp +install-stamp: illumos-gate-$(VER).tar.xz ChangeLog + dh_testroot + dh_testdir + dh_installdirs usr/src/illumos-gate + dh_install illumos-gate-$(VER).tar.xz usr/src/illumos-gate/ + dh_installchangelogs ChangeLog + touch $@ + +clean: + dh_clean + rm -f ChangeLog + rm -f checkout + rm -f illumos-gate-$(VER).tar.xz + rm -rf illumos-gate diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3