1 From ebefdd0429b35e479073ee76d73f35ca55180d14 Mon Sep 17 00:00:00 2001 |
|
2 From: Tomas Zeman <tzeman@volny.cz> |
1 From: Tomas Zeman <tzeman@volny.cz> |
3 Date: Fri, 26 Oct 2007 23:15:37 +0200 |
2 Date: Fri, 26 Oct 2007 23:15:37 +0200 |
4 Subject: [PATCH] diet-daemontools-0.76-1-i686.fpm |
|
5 * added |
|
6 |
3 |
7 --- |
4 diet-daemontools |
8 source/dietlibc/diet-daemontools/FrugalBuild | 42 ++++++++++++++++++++ |
|
9 .../dietlibc/diet-daemontools/daemontools.install | 37 +++++++++++++++++ |
|
10 2 files changed, 79 insertions(+), 0 deletions(-) |
|
11 create mode 100644 source/dietlibc/diet-daemontools/FrugalBuild |
|
12 create mode 100644 source/dietlibc/diet-daemontools/daemontools.install |
|
13 |
5 |
14 diff --git a/source/dietlibc/diet-daemontools/FrugalBuild b/source/dietlibc/diet-daemontools/FrugalBuild |
6 diff -r f0bdfccbdd22 source/dietlibc/diet-daemontools/FrugalBuild |
15 new file mode 100644 |
7 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
16 index 0000000..3322f94 |
8 +++ b/source/dietlibc/diet-daemontools/FrugalBuild Wed Feb 15 14:49:05 2012 +0100 |
17 --- /dev/null |
|
18 +++ b/source/dietlibc/diet-daemontools/FrugalBuild |
|
19 @@ -0,0 +1,42 @@ |
9 @@ -0,0 +1,42 @@ |
20 +# Maintainer: Tomas Zeman <tzeman@volny.cz> |
10 +# Maintainer: Tomas Zeman <tzeman@volny.cz> |
21 + |
11 + |
22 +branch=diet |
12 +branch=diet |
23 +pkgorig=daemontools |
13 +pkgorig=daemontools |
24 +pkgname=$branch-$pkgorig |
14 +pkgname=$branch-$pkgorig |
25 +pkgver=0.76 |
15 +pkgver=0.76 |
26 +pkgrel=1 |
16 +pkgrel=2 |
27 +pkgdesc="A collection of tools for managing UNIX services." |
17 +pkgdesc="A collection of tools for managing UNIX services." |
28 +makedepends=(dietlibc) |
18 +makedepends=(dietlibc) |
29 +license="public domain" |
19 +license="public domain" |
30 +backup=(etc/inittab) |
20 +backup=(etc/inittab) |
31 +url="http://cr.yp.to/daemontools.html" |
21 +url="http://cr.yp.to/daemontools.html" |
57 + ln -sf /command/$BIN $Fdestdir/usr/bin/$BIN |
47 + ln -sf /command/$BIN $Fdestdir/usr/bin/$BIN |
58 + done |
48 + done |
59 + cd $Fdestdir/package/admin && ln -sf $pkgorig-$pkgver $pkgorig || Fdie |
49 + cd $Fdestdir/package/admin && ln -sf $pkgorig-$pkgver $pkgorig || Fdie |
60 +} |
50 +} |
61 +# vim: ft=sh |
51 +# vim: ft=sh |
62 diff --git a/source/dietlibc/diet-daemontools/daemontools.install b/source/dietlibc/diet-daemontools/daemontools.install |
52 diff -r f0bdfccbdd22 source/dietlibc/diet-daemontools/daemontools.install |
63 new file mode 100644 |
53 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
64 index 0000000..1e85fde |
54 +++ b/source/dietlibc/diet-daemontools/daemontools.install Wed Feb 15 14:49:05 2012 +0100 |
65 --- /dev/null |
|
66 +++ b/source/dietlibc/diet-daemontools/daemontools.install |
|
67 @@ -0,0 +1,37 @@ |
55 @@ -0,0 +1,37 @@ |
68 +# arg 1: the new package version |
56 +# arg 1: the new package version |
69 +post_install() { |
57 +post_install() { |
70 + if [ ! "`grep ^SV:345:respawn:/command/svscanboot etc/inittab`" ]; then |
58 + if [ ! "`grep ^SV:345:respawn:/command/svscanboot etc/inittab`" ]; then |
71 + if [ ! "`grep ^'# End of file' etc/inittab`" ]; then |
59 + if [ ! "`grep ^'# End of file' etc/inittab`" ]; then |