summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-05-22 14:11:05 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-05-22 14:11:05 +0000
commitbaa63655ab44ce86026d9899c4d2eb2a7668b69a (patch)
treec1db5fb6dd73789c7b396962d996298d4540426d /sys-freebsd
parentSparc stable, Bug #269496. (diff)
downloadhistorical-baa63655ab44ce86026d9899c4d2eb2a7668b69a.tar.gz
historical-baa63655ab44ce86026d9899c4d2eb2a7668b69a.tar.bz2
historical-baa63655ab44ce86026d9899c4d2eb2a7668b69a.zip
bump to 7.2
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-cddl/Manifest9
-rw-r--r--sys-freebsd/freebsd-usbin/ChangeLog8
-rw-r--r--sys-freebsd/freebsd-usbin/Manifest19
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-7.2.ebuild171
4 files changed, 197 insertions, 10 deletions
diff --git a/sys-freebsd/freebsd-cddl/Manifest b/sys-freebsd/freebsd-cddl/Manifest
index a592b80a70c5..b85f43e26b57 100644
--- a/sys-freebsd/freebsd-cddl/Manifest
+++ b/sys-freebsd/freebsd-cddl/Manifest
@@ -18,14 +18,13 @@ DIST freebsd-sys-7.2.tar.bz2 23005928 RMD160 0ecdff9fbefe9e16325e09a76310ca2b4a7
DIST freebsd-ubin-7.1.tar.bz2 1850676 RMD160 17f80c122f0ba4f76b61cb50d6a6a0aa192be19e SHA1 8329c7e8f4b9c2c35bd6fb9a7dc768bd9922670b SHA256 c5a3d3b5aeb75e84b5a1d3871c8714c64c190ec044811c3fd05a86c0e3c1ca56
DIST freebsd-ubin-7.2.tar.bz2 1851174 RMD160 b56cdc06fe0ce1ea47762a75c33ed9ed6d1abfde SHA1 1739eceebc41d9a4cbf10d21ef4e8d55b586f640 SHA256 5ca9f185a5af59993ddf83ece155bfcea1340a93d2540035b35c5acbfc3a2625
EBUILD freebsd-cddl-7.1-r1.ebuild 1414 RMD160 dd3df12bc444dd5693dc02b675a5b0ea4836d0ab SHA1 ed22f0f69cbe3b9df3f865bc52a7d651c07b346d SHA256 bea61b81f7f141c024130a4d0d5a674fe78e1e41954bd7ac2c9c436e98f3b6fa
-EBUILD freebsd-cddl-7.1.ebuild 1394 RMD160 b448402ba91febb5d89a09eeff597838e3b9a94f SHA1 308929bd00b7cda90ee145219d1f60c074aeae2c SHA256 12e97ca849d2dc991b18b0a6a2b70199fd9b4bfaae15d44bfca939f972d1236f
EBUILD freebsd-cddl-7.2.ebuild 1411 RMD160 5209b3de023d18e1743136207a42d12b7b3ca15d SHA1 0226290172dcc5079c28c38d9752dcf775756160 SHA256 dd04e3eaa348fc28b8f7fc6304cfa632012d5fa588613802940952b0bc7c4ebc
-MISC ChangeLog 1089 RMD160 bb0819c986d953b91541df65475cc152d7486980 SHA1 c4c1daf45a10bdd9cdd8e0f6f9bde98ac6d386cc SHA256 376ce75604c20a94c7542653b7417fb2852622ddaa527fe5d718eeabb683ef78
+MISC ChangeLog 1183 RMD160 fb05c09e7895c540927787818fd988279a8b058d SHA1 44f1ad9424bb0a1dcdff6d1ecee4fba6ffd218e2 SHA256 81cce971e02d1d4eb25800de27f4aa43432a36edcb2f06788aa87e0152b66770
MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkoWiOsACgkQvFcC4BYPU0pVaQCfTGGK8l5sJ4HAt0V59i1xU8cQ
-rSUAn2dHJtQFTZLU+LTuB3X0Auht0tx6
-=orlQ
+iEYEARECAAYFAkoWsyEACgkQvFcC4BYPU0pRWgCfWl2gD+vYBggpTxzJ2DAGtC/G
+hD0AoI6JnqpBuPn023VWGsbO0FKVYmiB
+=Jktm
-----END PGP SIGNATURE-----
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog
index d98e03b2ad34..d0dd08c0152a 100644
--- a/sys-freebsd/freebsd-usbin/ChangeLog
+++ b/sys-freebsd/freebsd-usbin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-freebsd/freebsd-usbin
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.55 2009/05/18 17:46:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.56 2009/05/22 14:11:05 aballier Exp $
+
+*freebsd-usbin-7.2 (22 May 2009)
+
+ 22 May 2009; Alexis Ballier <aballier@gentoo.org>
+ +freebsd-usbin-7.2.ebuild:
+ bump to 7.2
18 May 2009; Diego E. Pettenò <flameeyes@gentoo.org>
freebsd-usbin-7.1-r2.ebuild:
diff --git a/sys-freebsd/freebsd-usbin/Manifest b/sys-freebsd/freebsd-usbin/Manifest
index ad6d680e608c..d72aa63e6b9c 100644
--- a/sys-freebsd/freebsd-usbin/Manifest
+++ b/sys-freebsd/freebsd-usbin/Manifest
@@ -25,33 +25,44 @@ AUX syscons.initd 1711 RMD160 1baace1dd867e77442668bebdcfd45daf0977f96 SHA1 7ab7
AUX syslogd.initd 571 RMD160 915d4efbd2bac506c162a3fb8c08efc3a97082b7 SHA1 a3200b5973fb0e474fcc9f93709324162a03b679 SHA256 3f0f242197be7c59f36edffd36918935189d17ca7d8f5c2de6238c7a7f52d005
DIST freebsd-contrib-6.2.tar.bz2 36594160 RMD160 8b89f1ac72ba0054efe1aec2d747ecd33789fde3 SHA1 02493b8d90b0e1bb4304ce6466203135bf5709b1 SHA256 dbbd9198597e176242806329242d0e12181820a921e5da42aadefaacda1b6277
DIST freebsd-contrib-7.1.tar.bz2 41014879 RMD160 c604f44a1d41190c984ebca298e9777be56fcaab SHA1 9ee16db2c60f3412b72e214e8bd0b11f92748796 SHA256 ff273f6b2ea3cdd743632e591928563e73221aa1ba77e874009daffbad8c78e5
+DIST freebsd-contrib-7.2.tar.bz2 41156304 RMD160 d32da79d66aa9e5cd113bd7b3a16b7d83849dca2 SHA1 8f3778a1638bfe852f95d746d181a56258446182 SHA256 e6b5b4320552185d64a1d17676ca4376ca43f147eafaee7e2b0885571e4ee1f2
DIST freebsd-etc-6.2.tar.bz2 190297 RMD160 1540601566ece689b3fc2935329a2eca62a24314 SHA1 e8337672d0a0d207a9e9674c9f516d8ed94af0cf SHA256 ff5970db1d7842d2933589203ae0c3907dee427b2ea99de68fce678582bf1804
DIST freebsd-etc-7.1.tar.bz2 197584 RMD160 c9404684b8abeb89d4490cb366232b9ddc02c8fe SHA1 93edd3acb45c8c8fd4b1bd520d5f40ab23a03dc3 SHA256 01943b5d17af8a4f99a15ee5636016d7ec55d85d58e260e95507c5ac3218cd3b
+DIST freebsd-etc-7.2.tar.bz2 199580 RMD160 f8954a1c590c918861b39cb414a079a960af9969 SHA1 a2fee43a6a6fffd864776eceab134002fc9292d2 SHA256 9a6ebd6877191e7ff5d734a77da16090123c5223cfe873177b9fe1ca4f12d653
DIST freebsd-gnu-7.1.tar.bz2 813553 RMD160 c5b4f38e6caa42d0d0f59d3690534b2b19543c3e SHA1 b564bef142ec674f8356f8970724229f7196357c SHA256 324303f3bdb18c52e8e12dffde97c0f44158e53a956e5bd173f2443fdffecc53
+DIST freebsd-gnu-7.2.tar.bz2 814017 RMD160 6b4f742c236a095e919cc839a174e25310812535 SHA1 bc139f2323e7962619de89a7026b66050106256a SHA256 17b64c91d33c166ed909b349044dd4291e3295e36bb4e4c14d82e680b6491cd4
DIST freebsd-include-6.2.tar.bz2 131651 RMD160 9264ba0661bbdceba85c4bef19a2ebd788ec6957 SHA1 2e36c98dc3b6c1588eb78d5483475bea441a695a SHA256 38928510c34efd735a977896a9f96e71b48c22cf4727677ee954a23aff871d53
DIST freebsd-include-7.1.tar.bz2 135238 RMD160 4570fcb7a8049e32e2793c2a85e641a2db180181 SHA1 61fb8404aa94b92a2500ebdc9d61666f3d27b0cd SHA256 675d13874810445ed43b2630eb3537c1afe10cbc7d7fc0cf36e13d39f6e63124
+DIST freebsd-include-7.2.tar.bz2 135657 RMD160 ee9db50e6fcf218929fdff06aabcf31ad2035965 SHA1 3c2369272005c1f2620b9dcc760047de7cab963a SHA256 8640d655e3cefeea14250dbe5e7fd7f56d1de78d79c4adcc6232f70bba89f5d4
DIST freebsd-lib-6.2.tar.bz2 2670374 RMD160 95bbce7862fc7a406b8629914f281d5e01e5ea71 SHA1 3cd061f83ef6672d98599dd3a294ead6832a1b14 SHA256 8e0c909a79a9ed18841f8a5a6e25fc770f76de1a5dc20cbd6bc591bed52d1033
DIST freebsd-lib-7.1.tar.bz2 2960439 RMD160 9a6ade2a84b6f5d49aff4c64a07ddb9cee916511 SHA1 5b632bc3dbf72dbf76691cdf20e03667affaece2 SHA256 9891c9887aa33a7fa17c4893c50db1ac3ecae5a76c3f31ee0294344a47b62db1
+DIST freebsd-lib-7.2.tar.bz2 2970356 RMD160 d676e9bfd3a32293ac1190ff3c42861fb987394e SHA1 15749e43f5ed16316c5311bfa40f42ed546b69e9 SHA256 80b54a23068b806aede48700884a5ed2aa33f5d813309ef7497a7b951d62aab0
DIST freebsd-libexec-6.2.tar.bz2 277231 RMD160 423490cb7c888bfce7edcf473d77868c65c21fe2 SHA1 86f58d8f6e4eff022720a6ada60f2d9c5549c861 SHA256 546821f50ff3e69cebd59e1415798233050259de33a4b37acfcbd56b8d92782b
DIST freebsd-libexec-7.1.tar.bz2 276019 RMD160 1484fbe1fda4be2cdbefecef46312241bcae39e4 SHA1 8d468b54986e49bda44c1d860d71da967bafd700 SHA256 add412192d8b829d75d66f73f3ae9ac76707fd341f36df4b88346567781d859b
+DIST freebsd-libexec-7.2.tar.bz2 275993 RMD160 e3cfab5b89c304eeff76d92eaadaaadb6322c90e SHA1 747aa2365565fabb97aa910c01c06b340ddf3ea2 SHA256 375627cd871a4fbed4b7ec79d788bb5e62bc6cc818e971c613b3acd89b2db453
DIST freebsd-sbin-6.2.tar.bz2 1162548 RMD160 f7d5f4ea5e4b5e03910a44a127b5670f8d6ebf2c SHA1 be082439c7ed657a1f188af93837f7c34677eddf SHA256 aef424c07686bb72fbd06e4fd66a01b00bd36b70fec02ebdc228061cd4b435dd
DIST freebsd-sbin-7.1.tar.bz2 1124597 RMD160 5de59693776949c564dbfe41dd8561f1b6e9c44b SHA1 1e9fb89be26975586aa8b22ddee00fff2d7dba64 SHA256 1bea5d2953286be8ea7aee6058320eeb56b98015ea1ceb21c23b6d06d3112516
+DIST freebsd-sbin-7.2.tar.bz2 1131189 RMD160 f05c364f49623153f809152a64e5bea8632ed0ec SHA1 f4241733b291f322d21c65cbb683aa1c4c5375e3 SHA256 d5c3c2fe1689bfa13b78117778ca066ad68a1bbefbaa092074c31bdc1b57e876
DIST freebsd-sys-6.2.tar.bz2 18344936 RMD160 784230e22ccaf09933ef3f053ff29cc3e579786a SHA1 161b7a4d165665deb1c4434c356b5f610a72a83a SHA256 a754371d88601aaab7152bb3d127bd3777db912e13a26a866e13ba34934c5e5b
DIST freebsd-sys-7.1.tar.bz2 22471627 RMD160 2e09c51d3ffaaf62bd2fbeed8dd949a1463fab4e SHA1 8c53e0d3e20c52c21e8017b35c6e63a65a72a390 SHA256 336734d3e6e90cfc73e5f6b082a42fd4ccb7141912710e173a7da454159750ce
+DIST freebsd-sys-7.2.tar.bz2 23005928 RMD160 0ecdff9fbefe9e16325e09a76310ca2b4a7751b8 SHA1 1c2d6894371a8650288ebf1a4831a4b08c2e4f09 SHA256 38e1fc670b8438be42947b1512ca7d10b0f8c62c58d3234afd8ce2e55b6cae11
DIST freebsd-ubin-6.2.tar.bz2 1772844 RMD160 8101bc3e98fa485e31ecf0d5529136ddeb4be5b9 SHA1 34debd5e3142cbde5e603ce6c89e358d0039e68f SHA256 446c1a8c7031defda8b184ccf4535cacf651928f324db6ce0aaec3b87b04d9ae
DIST freebsd-ubin-7.1.tar.bz2 1850676 RMD160 17f80c122f0ba4f76b61cb50d6a6a0aa192be19e SHA1 8329c7e8f4b9c2c35bd6fb9a7dc768bd9922670b SHA256 c5a3d3b5aeb75e84b5a1d3871c8714c64c190ec044811c3fd05a86c0e3c1ca56
+DIST freebsd-ubin-7.2.tar.bz2 1851174 RMD160 b56cdc06fe0ce1ea47762a75c33ed9ed6d1abfde SHA1 1739eceebc41d9a4cbf10d21ef4e8d55b586f640 SHA256 5ca9f185a5af59993ddf83ece155bfcea1340a93d2540035b35c5acbfc3a2625
DIST freebsd-usbin-6.2.tar.bz2 2695872 RMD160 ea6104fcfbf6c0be511a80d0475e5a8f716292be SHA1 4772ed5fdc591273887fc7a2e97bddf7a1669b5d SHA256 6195301d39e7bc7fa00f6dec71479b1800ea5c3dc9d3ea375dafe4e71e6485f0
DIST freebsd-usbin-7.1.tar.bz2 2584691 RMD160 cf6adf2f1cc60e667417f647cb99bbc3107c85f6 SHA1 7120dd7e7abed78954889ad4e18e5f8775411621 SHA256 e14cd80187a161153ea5eb6e5441171bf1ca1a8b8e8bdeea7306187c77c52af8
+DIST freebsd-usbin-7.2.tar.bz2 2654480 RMD160 af0a94e0affce332cf30532ea45251563e65632e SHA1 b52db981e0250357b40d10ebc7ffd6ca3ea9cc4c SHA256 56574e81ac4ab54a20d83d9a2d1ba3a42b5677691675f1db162fde161da0907f
EBUILD freebsd-usbin-6.2-r1.ebuild 5288 RMD160 35475e8b833bc9189f727ebb51d55e9d104f575c SHA1 5e54a905453ea6ffc8b93546641d8c0237134387 SHA256 a53f8668a31e357fbc607facfea36e5b3d052b45fa3b9b1ce8eadc38889fce49
EBUILD freebsd-usbin-7.1-r1.ebuild 5262 RMD160 4b7ab729d5f90cbec1adf51c1a12993b0e77787e SHA1 e1f58f6fc70f9e952f0a42c0ea4ec1371894a769 SHA256 73c296f4a0383e95709380276885d5e57f9e221ced27e3ea308ef4bb32ed7bd0
EBUILD freebsd-usbin-7.1-r2.ebuild 5210 RMD160 1a6649d698ac82d5aba5a63a57da2c9daeeecc49 SHA1 3c643366115232802eef62c0baa0f4321942a41f SHA256 2a768e4ad11c414899350bd17eb931de6c75529b99b32445fb52f2e9b38696c7
EBUILD freebsd-usbin-7.1.ebuild 5251 RMD160 43d09d319641ccec5cf781dc02c76470d30e38b6 SHA1 9c0f0f59abdf64351ae45f043517db2e35fa31c5 SHA256 e1d24b12f4c10cb7f00f06698f46e680d80da9f4b2eaeef038df611a6b0118b3
-MISC ChangeLog 16096 RMD160 7b84fabd392af83ce8809b9c4a15bbb2a240b2d3 SHA1 d4691c56e5010316b08e5fc61e867726b58c296a SHA256 831cbc823585bad8a4eea4bf51bcef72fb1c796a9bac08255310397c12b51ebc
+EBUILD freebsd-usbin-7.2.ebuild 5206 RMD160 3747ddc29d67babbd9bec96add596446feb55855 SHA1 3946eeda0925b6daced81cf4ee32f39dba9bbd84 SHA256 596a9d8be265954da8b9199f95121ce1ab8a91c74a491fde06d0e941677251c3
+MISC ChangeLog 16225 RMD160 d175ed340ddf8b9716388508e768ec5824186f6e SHA1 b09b8a6e26ec2cb8e575be9b7b3968f229d62370 SHA256 03f18d3a9016fe29c726dc89d7e5a5f8b37159e9d7da42d6b23f4c8fc68b0144
MISC metadata.xml 622 RMD160 40c395c94b61a9c17839c2ee03e1f931315b026b SHA1 73fb91a0bf10dc1f73b845bf1d24f999a78093ba SHA256 91e453a246233781073dd07099e645e31ef48e487ca856f0c489460c230342c8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkoRnwsACgkQAiZjviIA2Xj/WQCfegK2pJX6J2VWNSGWIZBO8jAv
-A7QAoN4y5v7HXABpi0q7dcHtmRAQq4di
-=6ZWh
+iEYEARECAAYFAkoWsoAACgkQvFcC4BYPU0qF2gCdFDq9m+SVRVMCV9yKNZsSI4H4
+2l8AoIEslcSswUqkfbKrHHZMZjSfnLza
+=Bsgj
-----END PGP SIGNATURE-----
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-7.2.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-7.2.ebuild
new file mode 100644
index 000000000000..7fd23565e169
--- /dev/null
+++ b/sys-freebsd/freebsd-usbin/freebsd-usbin-7.2.ebuild
@@ -0,0 +1,171 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-7.2.ebuild,v 1.1 2009/05/22 14:11:05 aballier Exp $
+
+EAPI=2
+
+inherit bsdmk freebsd flag-o-matic eutils
+
+DESCRIPTION="FreeBSD /usr/sbin tools"
+SLOT="0"
+KEYWORDS="~sparc-fbsd ~x86-fbsd"
+
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${CONTRIB}.tar.bz2
+ mirror://gentoo/${UBIN}.tar.bz2
+ mirror://gentoo/${LIB}.tar.bz2
+ mirror://gentoo/${SBIN}.tar.bz2
+ mirror://gentoo/${ETC}.tar.bz2
+ mirror://gentoo/${GNU}.tar.bz2
+ nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 )
+ build? ( mirror://gentoo/${SYS}.tar.bz2
+ mirror://gentoo/${INCLUDE}.tar.bz2 )"
+
+RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[nis?,usb?,bluetooth?,netware?]
+ =sys-freebsd/freebsd-libexec-${RV}*
+ acpi? ( sys-power/iasl )
+ build? ( sys-apps/baselayout )
+ ssl? ( dev-libs/openssl )
+ tcpd? ( sys-apps/tcp-wrappers )
+ dev-libs/libedit
+ net-libs/libpcap"
+DEPEND="${RDEPEND}
+ =sys-freebsd/freebsd-mk-defs-${RV}*
+ !build? ( =sys-freebsd/freebsd-sources-${RV}* )
+ sys-apps/texinfo
+ sys-devel/flex"
+
+PROVIDE="virtual/logger"
+
+S="${WORKDIR}/usr.sbin"
+
+IUSE="acpi atm audit bluetooth ipv6 isdn netware nis pam ssl usb build"
+
+pkg_setup() {
+ # Release crunch is something like minimal. It seems to remove everything
+ # which is not needed to work.
+ use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= "
+
+ use acpi || mymakeopts="${mymakeopts} WITHOUT_ACPI= "
+ use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
+ use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= "
+ use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= "
+ use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= "
+ use isdn || mymakeopts="${mymakeopts} WITHOUT_I4B= "
+ use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
+ use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
+ use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= "
+ use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= "
+ use usb || mymakeopts="${mymakeopts} WITHOUT_USB= "
+
+ mymakeopts="${mymakeopts} WITHOUT_BIND_NAMED= WITHOUT_BIND_DNSSEC= WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= "
+}
+
+PATCHES="${FILESDIR}/${PN}-7.0-nowrap.patch
+ ${FILESDIR}/${PN}-adduser.patch"
+
+REMOVE_SUBDIRS="
+ named named-checkzone named-checkconf rndc rndc-confgen
+ dnssec-keygen dnssec-signzone
+ tcpdchk tcpdmatch
+ sendmail praliases editmap mailstats makemap
+ sysinstall cron mailwrapper ntp bsnmpd
+ tcpdump ndp inetd
+ wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase
+ zic amd
+ pkg_install freebsd-update"
+
+src_prepare() {
+ if ! use build; then
+ ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
+ ln -s "/usr/include" "${WORKDIR}/include"
+ else
+ dummy_mk mount_smbfs
+ fi
+}
+
+src_compile() {
+ strip-flags
+ append-flags -I "${WORKDIR}/sys"
+
+ NOFLAGSTRIP="yes" freebsd_src_compile
+}
+
+src_install() {
+ # By creating these directories we avoid having to do a
+ # more complex hack
+ dodir /usr/share/doc
+ dodir /sbin
+ dodir /usr/libexec
+ dodir /usr/bin
+
+ # FILESDIR is used by some makefiles which will install files
+ # in the wrong place, just put it in the doc directory.
+ mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed"
+
+ # Most of these now come from openrc.
+ for util in nfs rpc.statd rpc.lockd; do
+ newinitd "${FILESDIR}/"${util}.initd ${util} || die
+ if [[ -e "${FILESDIR}"/${util}.confd ]]; then \
+ newconfd "${FILESDIR}"/${util}.confd ${util} || die
+ fi
+ done
+
+ for class in daily monthly weekly; do
+ cat - > "${T}/periodic.${class}" <<EOS
+#!/bin/sh
+/usr/sbin/periodic ${class}
+EOS
+ exeinto /etc/cron.${class}
+ newexe "${T}/periodic.${class}" periodic
+ done
+
+ # Install the pw.conf file to let pw use Gentoo's skel location
+ insinto /etc
+ doins "${FILESDIR}/pw.conf" || die
+
+ cd "${WORKDIR}/etc"
+ doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die
+ use usb && doins usbd.conf
+
+ insinto /etc/ppp
+ doins ppp/ppp.conf || die
+
+ if use isdn; then
+ insinto /etc/isdn
+ doins isdn/* || die
+ rm -f "${D}"/etc/isdn/Makefile
+ fi
+
+ if use bluetooth; then
+ insinto /etc/bluetooth
+ doins bluetooth/* || die
+ rm -f "${D}"/etc/bluetooth/Makefile
+ fi
+
+ # Install the periodic stuff (needs probably to be ported in a more
+ # gentooish way)
+ cd "${WORKDIR}/etc/periodic"
+
+ doperiodic daily daily/*.accounting
+ doperiodic monthly monthly/*.accounting
+}
+
+pkg_postinst() {
+ # We need to run pwd_mkdb if key files are not present
+ # If they are, then there is no need to run pwd_mkdb
+ if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then
+ if [[ -e "${ROOT}etc/master.passwd" ]] ; then
+ einfo "Generating passwd files from ${ROOT}etc/master.passwd"
+ "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd"
+ else
+ eerror "${ROOT}etc/master.passwd does not exist!"
+ eerror "You will no be able to log into your system!"
+ fi
+ fi
+
+ for logfile in messages security auth.log maillog lpd-errs xferlog cron \
+ debug.log slip.log ppp.log; do
+ [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}"
+ done
+}