diff options
author | Naohiro Aota <naota@gentoo.org> | 2012-05-27 06:23:08 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2012-05-27 06:23:08 +0000 |
commit | 8dc54f3e77026e8a2eb3fb1a65a6f6e32b936e69 (patch) | |
tree | 750afe80bb55d97a20557d3676d4acc7163286d2 /sys-freebsd/freebsd-cddl | |
parent | Version bump, inherit cleanup (diff) | |
download | historical-8dc54f3e77026e8a2eb3fb1a65a6f6e32b936e69.tar.gz historical-8dc54f3e77026e8a2eb3fb1a65a6f6e32b936e69.tar.bz2 historical-8dc54f3e77026e8a2eb3fb1a65a6f6e32b936e69.zip |
Add zfs initd script. #415129
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'sys-freebsd/freebsd-cddl')
-rw-r--r-- | sys-freebsd/freebsd-cddl/ChangeLog | 6 | ||||
-rw-r--r-- | sys-freebsd/freebsd-cddl/Manifest | 23 | ||||
-rw-r--r-- | sys-freebsd/freebsd-cddl/files/zfs.initd | 24 | ||||
-rw-r--r-- | sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild | 7 |
4 files changed, 52 insertions, 8 deletions
diff --git a/sys-freebsd/freebsd-cddl/ChangeLog b/sys-freebsd/freebsd-cddl/ChangeLog index 7fb1c24cd0e6..6fa90d205b7c 100644 --- a/sys-freebsd/freebsd-cddl/ChangeLog +++ b/sys-freebsd/freebsd-cddl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-freebsd/freebsd-cddl # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.23 2012/05/16 16:18:19 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.24 2012/05/27 06:23:08 naota Exp $ + + 27 May 2012; Naohiro Aota <naota@gentoo.org> +files/zfs.initd, + freebsd-cddl-9.0.ebuild: + Add zfs initd script. #415129 16 May 2012; Alexis Ballier <aballier@gentoo.org> freebsd-cddl-9.0.ebuild: put libavl in / too as it is required by libzpool. diff --git a/sys-freebsd/freebsd-cddl/Manifest b/sys-freebsd/freebsd-cddl/Manifest index 99bb8ed4ff1e..0c4058eb4200 100644 --- a/sys-freebsd/freebsd-cddl/Manifest +++ b/sys-freebsd/freebsd-cddl/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 AUX freebsd-cddl-7.1-libpaths.patch 3739 RMD160 93f97c9d820bc875954ab2b18268a7cc4f107a4a SHA1 ca17300a24df00cafcc4e990dd7727375a2992f5 SHA256 f07e90c67926b5ff1af3b1839797fd95f7eeecb7ec5cd938bb3eaf598de05287 AUX freebsd-cddl-7.1-xdr_header.patch 380 RMD160 84ca8934581eb1e7728b690edbf0609ac5862265 SHA1 e107524735127ee5b290c64aab786e743e583134 SHA256 cb9d14f3770866c3d07d9aa09067428f0f1de432a7ac60567f57089a43704762 @@ -8,6 +8,7 @@ AUX freebsd-cddl-8.2-libpaths.patch 822 RMD160 df5cb25f474da011973a1c4cf3acfc833 AUX freebsd-cddl-9.0-bsdxml.patch 1419 RMD160 41e1a1a1ac5eb17709634a6198b1782768a6066d SHA1 a339d43ef9260faa254d5166fcdc5c18243735bb SHA256 0a5c5f5b242e17d0a378778ec39ff43d410e1efed144dd14a46cbd2cf4a44542 AUX freebsd-cddl-9.0-libpaths.patch 7621 RMD160 5a6e4429826314892f5309fed3c9645d4cbda0c9 SHA1 77a4f692dbc9cb0480f4ac07a6d10a50ea834fbe SHA256 392593d858b1cbd6c5d6a6da25d9fda48f412d4eb75c0dfeba20cd9e8ad6d762 AUX freebsd-cddl-9.0-underlink.patch 755 RMD160 fd26244f69dececaf488efe196866b095595d3e3 SHA1 5775f9691c5c64e2165d8f7f8267a5f28c9355a9 SHA256 12d2dbbbb19c7b4920d84d01c48b6cc331b8a244eaaabe72081c7a5c6ff2300c +AUX zfs.initd 481 RMD160 5a12f8be72bc71d605479f0677d7f31b8d3bff1d SHA1 bad2add2bedef6f110d47afc67c82bd1b139e0b6 SHA256 8078bfd9241d694ca97364044ce5386015669a5102ef3702be0b1b1d70fdab61 AUX zvol.initd 955 RMD160 cfd7bda7514f8217edc42a7ca103c92b174046fa SHA1 5e5af05dd5a0dc4bda75cf1548387ebe06c5b81c SHA256 6252345dca575d479621de99e4b19a384d76d0db1490fc1048ce742a065e9467 AUX zvol.initd-9.0 930 RMD160 2a776a61c6c30083b152e57ce607c351f7f8118c SHA1 1bc21a74ae70573f31d4d40e7fec2c8d86e78ca2 SHA256 5b3aed77ab896f1d522d36c697718afe69cf5799a753c704c4beae7ec1c6b44a DIST freebsd-cddl-7.2.tar.bz2 696078 RMD160 44aac7c838c53f7d4b418bae204e7b1d66ba03e7 SHA1 1b8bddf95aabea8ef3db4a850675dab1a9a1b87f SHA256 bb9551c48c34c1bc51f31fbfbc2ac781eca595026e3f981a145e3c781f6e1086 @@ -41,13 +42,23 @@ DIST freebsd-ubin-9.0.tar.bz2 1962957 RMD160 0e01edf7896057b95ee2630ab1472329009 EBUILD freebsd-cddl-7.2.ebuild 1415 RMD160 5a5ba653593bc52117d844ef2e7504596e59b0fe SHA1 17fb158ba99fdbcde89f36317a1f5dadef0a4cb7 SHA256 524ebbfa57f1cbcc9a282e05b2bad47a48b7277e4a3dac30388cd43fd681466f EBUILD freebsd-cddl-8.0.ebuild 1290 RMD160 32123bd1521f5e43c12157e7374e13062963ddb6 SHA1 6ea0927b177f036e5dbfe6f2272640b58e17b9e1 SHA256 fcc3d6777c67c418d05327d3c92bb012fe40cb0eb250cbc715a4825c1bc41019 EBUILD freebsd-cddl-8.2.ebuild 1329 RMD160 921799a17c6c74321b2f59d53d99118d4e72a0e0 SHA1 df896573ae32cd1156c2cf5c715faf8ac4df4e5f SHA256 7d5b351f8fbc327746d7871355e93d4b2ea63dba7a2a6c9748c1dc829eafb060 -EBUILD freebsd-cddl-9.0.ebuild 1550 RMD160 0efc273e19cbdcdbbc0882592d987b477ede7295 SHA1 23a7471259f28b2d7abf51f313efc4b015e4d1dd SHA256 766c1bc6959d9db3f058a5cc05f8a615f6eaeeafc4e588dfeacc75cd496e520e -MISC ChangeLog 3702 RMD160 c2c14d2184a128328643e0938e4a0b761e456a28 SHA1 6edd9201dabebe32ba27fa8c23b573917a942024 SHA256 41896ec008da2ef5d7648d0a9e06e64fae563cfaf9b65ae2863bf0191129bd72 +EBUILD freebsd-cddl-9.0.ebuild 1627 RMD160 116e04abba4a9ed2ab60364190b0254619610a3a SHA1 1c20afea3239f3a6f1ca4eceaf528d0ec44d9931 SHA256 48d262be70403cfedec3677fbc06c44852e8f37d12b79bce68211cd661cfea36 +MISC ChangeLog 3824 RMD160 67d4e96425ab8513a13a863703c8671658d37b8e SHA1 b6bae14597f331852d8595784b640ede10079c6d SHA256 4c73435c81bf7ead69211a057abd55c46e0ce110b257321e7669238ba7399ba1 MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAk+z01AACgkQvFcC4BYPU0oNIACgpSJEft3O+R+qutXxSzSiZ1Og -Ko4AoIewt1d/UVo7QSUfBw1E57mvbusf -=7G5V +iQIcBAEBCAAGBQJPwchXAAoJEDYO1FT4VRUUHxQP/0Il4MwGm3qRgcnlDqHH1Ym3 +rzO0IYqGhTuTzZRP/C5hBRFg3rZQY8e+PrGoEyRDZfp+sj+PmkmXZWnjLKVklkBA +/+2jjaVvFwWqk7WBWOqaXV+4t5c72Gxn37jTCz9UJbyTwEVis2nSBMl2sgd3WXWc +QDGBqeKrXUY7Kr6KOQQjNIh8aA6MWTbw2zICSBIWnKyjwq0kd7psbnnTHq1UNHHC +wub3oizTl21Yai4zPq2KXU9mgXaSRh6QmWrN+8io25EUziJSfOwpJ+T4Tjt5Gmok +Sg+AdmE9QYD5j+Y/LDEPEkmjL7NOCu/TyTkJXYS4Sz8kkoi7shurzDJzIaoLUg/8 +zJLHuOxXepUaTmVUMxYVGI23IRqByPLoOmp5u0bAGdwqhj1Ug7d2fG4/g0A2Qvjh +UOp/mBW5WHgl59F+Kt9Rqz673k2MLgxPKxLADnWBGOOl34glk9uF62X7dZed0cJO +RGzRxMVOuodupC9ijBxF1jERk67yG41OoNtR4xhydzkSl6kCJm83Gmc45FVp18Zj +b0FFIT9ymMRAXEDUQ4b+z2rF/IawwUB6yLwQMpiG7hkpn9KRI91t2M4EDtfkxnpW +6g8rHRo1HkACZ8Nx5n4l07n97OZls69nf2jQ8PXiUygLXPCK0i7PWNLO3DfFzRbc +raEFTgZ9Lb8p00orwCnR +=zTI+ -----END PGP SIGNATURE----- diff --git a/sys-freebsd/freebsd-cddl/files/zfs.initd b/sys-freebsd/freebsd-cddl/files/zfs.initd new file mode 100644 index 000000000000..a2b0f97efa95 --- /dev/null +++ b/sys-freebsd/freebsd-cddl/files/zfs.initd @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/files/zfs.initd,v 1.1 2012/05/27 06:23:07 naota Exp $ + +depend() { + need hostid + before fsck +} + +start() { + einfo "Starting zfs ..." + zfs mount -a + zfs share -a + if [ ! -r /etc/zfs/exports ]; then + touch /etc/zfs/exports + fi +} + +stop() { + einfo "Stopping zfs ..." + zfs unshare -a + zfs unmount -a +} diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild index 2eeb201148be..dd4050821b3e 100644 --- a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild +++ b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild,v 1.7 2012/05/16 16:18:19 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild,v 1.8 2012/05/27 06:23:08 naota Exp $ EAPI=4 @@ -54,4 +54,9 @@ src_install() { # Install zfs volinit script. newinitd "${FILESDIR}"/zvol.initd-9.0 zvol + + # Install zfs script + newinitd "${FILESDIR}"/zfs.initd zfs + + keepdir /etc/zfs } |