diff options
| author | Igor Pashev <pashev.igor@gmail.com> | 2013-03-24 23:28:14 +0000 |
|---|---|---|
| committer | Igor Pashev <pashev.igor@gmail.com> | 2013-03-24 23:28:14 +0000 |
| commit | e2d5d538ef8f945a51315c0045501b14bc028e6f (patch) | |
| tree | 40fc8c3c8005dbf36f0a9115cd72ce0c5e40723a /smf-base | |
| parent | b3ce92e190b362c51edbbd4a41fe338a0b84b4b9 (diff) | |
| download | illumos-packaging-e2d5d538ef8f945a51315c0045501b14bc028e6f.tar.gz | |
smf-base (2.10-5) unstable; urgency=low
* Log dir is /var/log/svc, /var/svc/log is a symlink
* Remove /var/log/svc if purging
Diffstat (limited to 'smf-base')
| -rw-r--r-- | smf-base/debian/changelog | 7 | ||||
| -rwxr-xr-x | smf-base/debian/rules | 2 | ||||
| -rw-r--r-- | smf-base/debian/smf-base.dirs | 2 | ||||
| -rw-r--r-- | smf-base/debian/smf-base.links | 1 | ||||
| -rw-r--r-- | smf-base/debian/smf-base.postrm | 8 |
5 files changed, 18 insertions, 2 deletions
diff --git a/smf-base/debian/changelog b/smf-base/debian/changelog index 3770eac..af8fd09 100644 --- a/smf-base/debian/changelog +++ b/smf-base/debian/changelog @@ -1,3 +1,10 @@ +smf-base (2.10-5) unstable; urgency=low + + * Log dir is /var/log/svc, /var/svc/log is a symlink + * Remove /var/log/svc if purging + + -- Igor Pashev <pashev.igor@gmail.com> Sun, 24 Mar 2013 23:24:07 +0000 + smf-base (2.10-4) unstable; urgency=low * Create /var/run/lock on boot diff --git a/smf-base/debian/rules b/smf-base/debian/rules index 85ef910..dc5ae1c 100755 --- a/smf-base/debian/rules +++ b/smf-base/debian/rules @@ -57,5 +57,5 @@ clean: unpatch dh_testdir dh_testroot dh_clean README - rm -rf usr + rm -rf usr .pc diff --git a/smf-base/debian/smf-base.dirs b/smf-base/debian/smf-base.dirs index 75a6419..a2f9017 100644 --- a/smf-base/debian/smf-base.dirs +++ b/smf-base/debian/smf-base.dirs @@ -1 +1 @@ -var/svc/log +var/log/svc diff --git a/smf-base/debian/smf-base.links b/smf-base/debian/smf-base.links index c91d3e5..c6faa35 100644 --- a/smf-base/debian/smf-base.links +++ b/smf-base/debian/smf-base.links @@ -1 +1,2 @@ /usr/share/xml/schema/smf/service_bundle.dtd.1 /usr/share/lib/xml/dtd/service_bundle.dtd.1 +/var/log/svc /var/svc/log diff --git a/smf-base/debian/smf-base.postrm b/smf-base/debian/smf-base.postrm new file mode 100644 index 0000000..23d674e --- /dev/null +++ b/smf-base/debian/smf-base.postrm @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ "$1" = purge ]; then + rm -rf /var/log/svc +fi + +exit 0 + |
