summaryrefslogtreecommitdiff
path: root/net-misc/cfengine
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
commit8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch)
tree230f3135ceaace633cf93e9838b185c4a6664c2e /net-misc/cfengine
parent9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff)
gentoo resync : 23.09.2020
Diffstat (limited to 'net-misc/cfengine')
-rw-r--r--net-misc/cfengine/Manifest21
-rw-r--r--net-misc/cfengine/cfengine-2.2.10-r5.ebuild115
-rw-r--r--net-misc/cfengine/cfengine-2.2.10-r6.ebuild116
-rw-r--r--net-misc/cfengine/cfengine-3.3.9.ebuild129
-rw-r--r--net-misc/cfengine/cfengine-3.4.5.ebuild144
-rw-r--r--net-misc/cfengine/cfengine-3.5.3.ebuild141
-rw-r--r--net-misc/cfengine/files/511666-segfault.patch20
-rw-r--r--net-misc/cfengine/files/admit-noclass-520696.patch15
-rw-r--r--net-misc/cfengine/files/cfengine-2.2.10-lsbrelease.patch24
-rw-r--r--net-misc/cfengine/files/cfengine-2.2.10-snprintf_buffer_overflow.patch11
-rw-r--r--net-misc/cfengine/files/cfengine-3.4.5-acl.patch30
-rw-r--r--net-misc/cfengine/files/cfengine-3.4.5-ifconfig.patch42
-rw-r--r--net-misc/cfengine/files/cfengine-3.5.3-ifconfig.patch42
-rw-r--r--net-misc/cfengine/files/cfenvd.rc617
-rw-r--r--net-misc/cfengine/files/cfexecd.rc617
-rw-r--r--net-misc/cfengine/files/cfservd.rc617
-rw-r--r--net-misc/cfengine/metadata.xml2
17 files changed, 1 insertions, 902 deletions
diff --git a/net-misc/cfengine/Manifest b/net-misc/cfengine/Manifest
index 7df583fdb80d..e2f434ba8306 100644
--- a/net-misc/cfengine/Manifest
+++ b/net-misc/cfengine/Manifest
@@ -1,28 +1,9 @@
-AUX 511666-segfault.patch 731 BLAKE2B b43d19d5fdaecd3659535981ad6a296131248d2f666a3d1bbc247cce5f82fdb791e564c151da5255bc9b6bd29432bf093cb3b34c0530e2374941ee31924d653b SHA512 3a4e971e7cd60a1cef9644b075f45787d3ef8159d9d18c3aea4847391f246b5c96c658ab98f8b7184e9d315acca3d0d2961826a2785d029b2b4b009686fe7133
-AUX admit-noclass-520696.patch 400 BLAKE2B 034166c262cae8df913275c5838faed7403e625988985ee16b1ea18b347df3889f67a3ec39531ea0d846b270ca754f53ff064ac226f10e97bdc8ca2606d07bba SHA512 1263459a8a91962ddd5290374f4066f38d09eb021bedc86c15683d5b0b9ad3969672cb490ccf386a7816f8401ee1665aef60a10735e539357112f785ce7407ad
AUX cf-execd.rc6 319 BLAKE2B 0abc025c3b122627576a4f93b7963a5bfc4b9695153e02b855812cab529ada9acbddbbda63095f893eeccf3d5c1c6b861d5f7130db31d56ebbad3d70c9d33af4 SHA512 cac7ac5126d8d2f3c3acf61a694e89f6a2cddbf0748442e4ce82064a520c077adf2bf6cdcd8dda398b684699c03031e9b48178bd21c97badaa84a2776a04998d
AUX cf-monitord.rc6 316 BLAKE2B b19ff5106f87b5fed13e090552c9aa00b67d8c6597525e055823638a9c7909da810efddea216177b42557ac15ea760c89e488960526a624c4c7a7b3c30f0dd78 SHA512 d141891e6cac6ddc4dad6c7caa623e5fb43846a91c23ae99fcc27e9fad5aeed6c5ee2ddc4bf88363523bd04c977241d649b818833e13a58319c4b8a48efadb1a
AUX cf-serverd.rc6 311 BLAKE2B 82ee5abedac139a55ff886c8503d17f6ef35a3da9bb14975b5e9647652545869cfd30cadb3ed553c868040a23f4a42a6da6eb29aed8a4cece5bb19401108b835 SHA512 ef22d159ab71c311e5105709956cfca11dbe1569de4278a87bfbe82a496ac9b0e715b35f65b66a36dc84b7f4254d00172f16ab72240348282f9702b084a7b8bf
-AUX cfengine-2.2.10-lsbrelease.patch 697 BLAKE2B 346d5e21d49504ee1c27847d168cf07978a296c6a87a29303102ddc9b00740514f622ef79e942b679ea9358d4e715181dce349b4487fdd549d04c89e024c57c0 SHA512 dbbeeb73fb61dc194cd9800fe5be00a292bd106e5ba13292929b067f4748ccdd0f1127914382533323cb20e30dc43ead0963136e8e70c562b54998ed214d1864
-AUX cfengine-2.2.10-snprintf_buffer_overflow.patch 460 BLAKE2B 81de82584ff683d13b2a209f9591bd7939e21d806269731cc3cdba73a0e07bcfa8495e108b419d8e80da3e99741df720e38f720b40133aa21bcc003c6bb4bc4b SHA512 14600a9b48c6ed326600ade59f833ab8d93837218070b5420ac7d4e45e1988a3e15554c8d9280c3d33d11613da3084ed728d5b27435d201eaa6a57978ad1167d
-AUX cfengine-3.4.5-acl.patch 1024 BLAKE2B 0cd02ca5c62cc088f9b18e55dae019cd2193d086d4ccba721869f2e2956c4fc613d3af07ad9831593dc06acc9a64788ab6a00ba32c0185a7b07351a578d50583 SHA512 f8e7987cf26c8791d3b0c816a61fdd8b877114729c804d096270f9e98c69f0cdcfe4d72a4120d9d8fa8fd260fae340ef75f9897b4a421da7648d05c10a4bc02b
-AUX cfengine-3.4.5-ifconfig.patch 1447 BLAKE2B 69fb92a9456705342f1231af7a21f3cf3c4f704cf17c85f99f3c4e85402d3364a03de3fb905912416e4c2ad257de017a76e197a7f07f8617eb530908ce843448 SHA512 e2e3f362777951c9778fe9f98f95fb934fd76a3a0af39612ab3a6aeec320d181834d4531382ab70c0ebc3162180dd9e9508f082ee99fd80fb5144eb1815ebc55
-AUX cfengine-3.5.3-ifconfig.patch 1776 BLAKE2B e96d9ac013494d43ad2dcf9c7ee5499eae3f799ddf36cf6c147fa9c416b01f31a2fd9b1de1377e82c4f389fda874b06e862055701343c58e5124eba58ab09e6b SHA512 33c7ce6a3f064e8d9fbb393dcf56816be3ed4e679864dd2163681686b15c458b7694a05731607971acadd643c763c8d94d3fd14d19e5fb1814e4898cfedf9ef9
AUX cfengine-3.6.2-ifconfig.patch 486 BLAKE2B c8ccad409a64f1a0232fc800fe3787ece597c63728a7dd890ffbf363bed81d2be22b6354df9acf6d7082fe573418ba53e805ce1581251a458811cccb084a144e SHA512 f2cd1c008f3d4dea418207660c6d6cc4769e7effa50259b59e74ecc3e6fc1581f282fec1482046f50c0e0aa46d40084aa1616bd618de33ae3055ce626bfa9c5d
AUX cfengine-3.6.2-sysmacros.patch 555 BLAKE2B e1111a7cd5dd1b28787c0db6af1f55fed2b95ac3f1267eb5ad516584f6bf4c070a5243185808ce772c2a70171bcf3e5eb331bc0cfc5b82a04e8dccd99fdce761 SHA512 404468a5e10b535c8f10c2cff9c8928730a4323145cd29cfc080cd3af9effef1b890fb038f3dad8d84ba67d1af72b402d35cc1f382ff34fb0cdd07b8af23732c
-AUX cfenvd.rc6 255 BLAKE2B e65d843b93d6eacc657f2fc7d03c48ddf55ec1bee8d278cce9c44e9822bbec352cb2f98480095804d5b4511e260448898182deeab28c2127fc4ca723c83ebf3f SHA512 3b6356bd75d2986d4482a6d603cb1b07697d5314a748f440b8f11e7275670c072ed96fddd5a41d4066e19ebbf1d126f93d70428324e37bbb40185dc414e10994
-AUX cfexecd.rc6 260 BLAKE2B c31397f5b0c8473ee4dc1c505ea32bf7618fc5ef25572f0e8023e6bed812ba665d4cd68b050f58035fe29429bbad7b907f0a548deecfaebe24b3ac7e97dc71f0 SHA512 735a34204b6c9d555b454f264edeaf371e1ee7cf80a2c23fcc83d604ed87d3a19dcd9008f6c815a024535b1d9e9a32aac008ce7b4e440f9b688b642050ec7ff1
-AUX cfservd.rc6 260 BLAKE2B 01accee08aa1005eae37f57bb7f6d4bb9133ef137170053677786d4dcef5e5afee1e9b4250c5f1722bc6730dd3b9251f2931cea10759cb897de94231ba26eeab SHA512 c69b2bcc509b0dbcf93a7131a85bcbb57ea2a648b90fb1a886a4fa6bcb787593dc49d03857b0ef8f552e10db46c3002799c67bc57655e43927e02ce1d13c393d
-DIST cfengine-2.2.10.tar.gz 2690333 BLAKE2B a6e0027fc290a46730327f3fc4bf382add421f37759d6972b3f99de92417e77d8c5ff649aa376d216abde017e49072d3bd98aed60a109cb57b9e5920a358923a SHA512 861af25f32248e115512790357cb4739b16bee9d19db33cc1b93ab2091d020991770970fc916796a5894c978ee6a5956100d2f714efb6e97e9e9a9ea88f64dea
-DIST cfengine-3.3.9.tar.gz 1256138 BLAKE2B 15a71f5de94f55df9a117331029b81385a8196a5602db5775154527eb1ec63dcf15d55c89b34706e8448baaa6ed8f6cccc4e24bc8c7d6b3c56deedd55d5b606c SHA512 9d64667d001daa2db506abf97ecde43e6b6ac672d3ca6dba4c5e68b742b72f2c7cee65c2f5ab82a12cf0f9b385f48fb0d2bb9eae7fe2ff57b187c725238faf1f
-DIST cfengine-3.4.5.tar.gz 4671628 BLAKE2B d6964631ef6a6ba2fab661c5d0b287f8a5fb8ffc747bd8963133fe0b24d5969f57bed02d059bbee83a042b3c5912fa05aec591262d94e17fd081c0167a154959 SHA512 3de95b511c03b4e4f83b13b605d4cc8185419fb7ee6b42e34faf300e5af2a755713b2f8f61305a1cd3dea02f89c09076b164469549cfc96fec09a813c7069f0f
-DIST cfengine-3.5.3.tar.gz 1542468 BLAKE2B e7e4fe1194563cc9e72e4262c934f7ce73c0a74749b131a424201445b954492d90dfc6a8b0530d5f9bcd2852b41b32ed25dc43e70b525dafc9c4a111b7c4990f SHA512 20ead13d5290905dc51567887807a0c2c5d9d753cb48ffe2859041b75239698ad0f4bee1ad0eac4eee96122b3a5a475d516566c1571c4fcbc460be757583da18
DIST cfengine-3.6.2.tar.gz 1966966 BLAKE2B bb5be86ff1562fe44216c05ed179273dc803ef2a20d783f4692fe1fb533cd1914982671cbcc103c5f8f7118f7742f51ccbcdbe4408a86ebc566f444bc581e3df SHA512 b1bf6010d4309980846524ca94bb39f624f4ed0df3af220df91f7210b4441456840dfeeee4d62d6d6260b417ea7cf959509ca96c1a26c6da67bda7b3c1e5dbbc
DIST cfengine-masterfiles-3.6.2.tar.gz 119594 BLAKE2B df01bfb5e5970fb386652ab1588d0b7d037d13018904506bd481b91720782bd837f7d54ca550d7b81e2db5fd535f053ac70e4ad5337d473986408e062e3565a7 SHA512 ec942dbfbc848455bbdaa157d6665d3e830cb967bbc07303aa4ee577cf2774d01bc602c57893372538b72d70b8b62b7e2a90ca9f8e59d7420d5b2f94fcd809e9
-EBUILD cfengine-2.2.10-r5.ebuild 3241 BLAKE2B 71e64eb4d323556416c67ddac89c3170d5178a38d4b072bca81172565d741e0d1c69f0b4de25df5713c8eaaae0f15b9724a579df87e0ca9718276eb117d10d22 SHA512 e4e02b753f443af0bd7966ee7ccddea2170ce080585e807eee514f4071d19da7fb1805b6fd6e42586b3c8ed2bc1777ff134b8853c6730a1b7c821b2f5ee792f6
-EBUILD cfengine-2.2.10-r6.ebuild 3289 BLAKE2B a879eff37f932f5bf65639f47a6db9602b56239dd8fc0e0ed3d49468063696b5ed82b49643ceaf362dca2380fe142bb330d30ae1ef9b367e27931614a7ddc90a SHA512 39c6795f652346cd4dcb0455c4e637f12a0233c342e4dcc83d54e1e8a855462f8ea805f5883f7daacd527d35597733570acbe7445d732529407943f2aad064c1
-EBUILD cfengine-3.3.9.ebuild 3491 BLAKE2B b74a4325583d6ae105e0fe336be431e12d99a5d6a63d9c242e0ef3318b646c0091403507f9cf767bfe719b7ee5c65d1037cd4f9271c2396f290a04e553f1318a SHA512 803ec254482363e66056005af2f2befb886d84247f89f0054b2d9fc8d288aa642764a4a6c686f65dfc954923ade60f3b837df7e1066d1e73992d19ae7b737154
-EBUILD cfengine-3.4.5.ebuild 3717 BLAKE2B e7385a42ab34a3016afb4b0ab01eb6884640d4cfddb77b0f2b23328f4897a42d5cb3654f603b58398bd8a2971c83428a16d68afee37d5cfd93cd9e42f61c8e6f SHA512 ac9b0b051fbb64d80041e9eced6199ab533a0437813e0e37de21c3aa64a6a482bc1722dad68f7b2818f8ed2739165e2e23148631778d17a043f01a966a1e6973
-EBUILD cfengine-3.5.3.ebuild 3791 BLAKE2B 5ea2c138d74ecad59d7a84f3c6deaef9691945087da761fe869e2444d7f5b02083acc32e6af2f9d9c25533fa19fa610f1d7ce0d142dfaa5082d0a55da45baf29 SHA512 3e8d3e5bedd37d0dc9838ef887db2085ff871810a1d98010d280e0fe2570e6aa96739f90bfa12593ba3d25716ef7b3f700cf13f1bc6b10264b98777264e9923a
EBUILD cfengine-3.6.2.ebuild 4233 BLAKE2B 5122f44c2f29211090bdaacaf69ea5494ee5c17318dd3c3726a9291d5c7489f50b9d36f27a5cfbb197b890ee9a974f52ae74e012ce5263722e186cc191f30f04 SHA512 64cc74d3cb5ad93b5898d78928be0d81438bca150302ef236e71d6ee6acab3d370f3dfdcd2919685ebe6f98faec119dd3e8872d0f094bdd8d862740d9260e650
-MISC metadata.xml 2159 BLAKE2B fce780617a458d494a437239729a7841c860e797e66f1a8c783c4ffce62bef89b92ef644fa8258cf4209e44aa56b566e9df493a1ba34667611b47bf274cb7bd9 SHA512 c30ddd7fce32d4e7231b860d64940d9368085bc8f65851fefa886b312995512c48f7a1291afcfb80921fac64f2a676946c286723483294d13d4a9c89c01659e4
+MISC metadata.xml 2058 BLAKE2B 55eb2fc9f281e651d45e677bd8dedd4294009ae8975fdf94d15abb295abd92e9a1a2cfbdc97789e14f9a6789c0d6d59678637e947a6d778d10262e01d6936369 SHA512 212daea407c091ede8db7b3444d3e39e354e97a1ddb29ced2c448bbda7eb9dfbfd93dcea5aeeb35198181eee0b9c5ebda454b9d864f9b20c94134ed4fcee41a0
diff --git a/net-misc/cfengine/cfengine-2.2.10-r5.ebuild b/net-misc/cfengine/cfengine-2.2.10-r5.ebuild
deleted file mode 100644
index 22bdd71cfd9d..000000000000
--- a/net-misc/cfengine/cfengine-2.2.10-r5.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="An automated suite of programs for configuring and maintaining
-Unix-like computers"
-HOMEPAGE="http://www.cfengine.org/"
-SRC_URI="http://cfengine.com/source_code/download?file=${P}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="vim-syntax"
-
-RDEPEND=">=sys-libs/db-4:=
- <dev-libs/openssl-1.1:=
- app-portage/portage-utils
- net-libs/libnsl:="
-DEPEND="${RDEPEND}
- virtual/yacc
- sys-devel/flex"
-PDEPEND="vim-syntax? ( app-vim/cfengine-syntax )"
-
-src_prepare() {
- eapply_user
-
- # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520696
- # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511666
- # https://bugs.gentoo.org/339808
- eapply "${FILESDIR}/admit-noclass-520696.patch" \
- "${FILESDIR}/511666-segfault.patch" \
- "${FILESDIR}/${P}-snprintf_buffer_overflow.patch"
-
- # 2048 causes crashes on some 32-bit hardened kernels, and the warning
- # messages say to turn it back down.
- if use x86; then
- sed -i -e "s:CF_IFREQ 2048:CF_IFREQ 1024:g" src/cf.defs.h || die
- fi
-}
-
-src_configure() {
- # Enforce /var/cfengine for historical compatibility
- econf \
- --disable-static \
- --with-workdir=/var/cfengine \
- --with-berkeleydb=/usr
-
- # Fix Makefile to skip doc,inputs, & contrib install to wrong locations
- sed -i -e 's/\(DIST_SUBDIRS.*\) contrib inputs doc/\1/' \
- -e 's/\(SUBDIRS.*\) contrib inputs/\1/' \
- -e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile || die
-
- # Fix man pages
- sed -i -e 's@/usr/local@/usr@' doc/*.8 || die
-}
-
-src_install() {
- newinitd "${FILESDIR}"/cfservd.rc6 cfservd
- newinitd "${FILESDIR}"/cfenvd.rc6 cfenvd
- newinitd "${FILESDIR}"/cfexecd.rc6 cfexecd
-
- emake DESTDIR="${D}" install
-
- # Remove static library and libtool file as they are not needed
- rm "${ED}"/usr/$(get_libdir)/*.la || die
-
- dodoc AUTHORS ChangeLog README TODO INSTALL
-
- # Manually install doc and inputs
- doman doc/*.8
- doinfo doc/*.info*
- docinto examples
- dodoc inputs/*.example
-
- # Create cfengine working directory
- dodir /var/cfengine
- fperms 700 /var/cfengine
- keepdir /var/cfengine/bin
- keepdir /var/cfengine/inputs
- keepdir /var/cfengine/modules
-}
-
-pkg_postinst() {
- # Copy cfagent into the cfengine tree otherwise cfexecd won't
- # find it. Most hosts cache their copy of the cfengine
- # binaries here. This is the default search location for the
- # binaries.
-
- cp -f /usr/sbin/cf{agent,servd,execd} "${ROOT}"/var/cfengine/bin/
-
- einfo
- einfo "NOTE: The cfportage module has been deprecated in favor of the"
- einfo " upstream 'packages' action."
- einfo
- einfo "Init scripts for cfservd, cfenvd, and cfexecd are now provided."
- einfo
- einfo "To run cfengine out of cron every half hour modify your crontab:"
- einfo "0,30 * * * * /usr/sbin/cfexecd -F"
- einfo
-
- elog "You MUST generate the keys for cfengine by running:"
- elog "emerge --config ${CATEGORY}/${PN}"
-}
-
-pkg_config() {
- if [[ -z ${ROOT} ]]; then
- if [[ ! -f ${EPREFIX}/var/cfengine/ppkeys/localhost.priv ]]; then
- einfo "Generating keys for localhost."
- "${EPREFIX}"/usr/sbin/cfkey
- fi
- else
- die "cfengine cfkey does not support any value of ROOT other than /."
- fi
-}
diff --git a/net-misc/cfengine/cfengine-2.2.10-r6.ebuild b/net-misc/cfengine/cfengine-2.2.10-r6.ebuild
deleted file mode 100644
index d172669af7b2..000000000000
--- a/net-misc/cfengine/cfengine-2.2.10-r6.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="An automated suite of programs for configuring and maintaining
-Unix-like computers"
-HOMEPAGE="http://www.cfengine.org/"
-SRC_URI="http://cfengine.com/source_code/download?file=${P}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="vim-syntax"
-
-RDEPEND=">=sys-libs/db-4:=
- <dev-libs/openssl-1.1:=
- app-portage/portage-utils
- net-libs/libnsl:="
-DEPEND="${RDEPEND}
- virtual/yacc
- sys-devel/flex"
-PDEPEND="vim-syntax? ( app-vim/cfengine-syntax )"
-
-src_prepare() {
- eapply_user
-
- # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520696
- # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511666
- # https://bugs.gentoo.org/339808
- eapply "${FILESDIR}/admit-noclass-520696.patch" \
- "${FILESDIR}/511666-segfault.patch" \
- "${FILESDIR}/${P}-snprintf_buffer_overflow.patch" \
- "${FILESDIR}/${PN}-2.2.10-lsbrelease.patch"
-
- # 2048 causes crashes on some 32-bit hardened kernels, and the warning
- # messages say to turn it back down.
- if use x86; then
- sed -i -e "s:CF_IFREQ 2048:CF_IFREQ 1024:g" src/cf.defs.h || die
- fi
-}
-
-src_configure() {
- # Enforce /var/cfengine for historical compatibility
- econf \
- --disable-static \
- --with-workdir=/var/cfengine \
- --with-berkeleydb=/usr
-
- # Fix Makefile to skip doc,inputs, & contrib install to wrong locations
- sed -i -e 's/\(DIST_SUBDIRS.*\) contrib inputs doc/\1/' \
- -e 's/\(SUBDIRS.*\) contrib inputs/\1/' \
- -e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile || die
-
- # Fix man pages
- sed -i -e 's@/usr/local@/usr@' doc/*.8 || die
-}
-
-src_install() {
- newinitd "${FILESDIR}"/cfservd.rc6 cfservd
- newinitd "${FILESDIR}"/cfenvd.rc6 cfenvd
- newinitd "${FILESDIR}"/cfexecd.rc6 cfexecd
-
- emake DESTDIR="${D}" install
-
- # Remove static library and libtool file as they are not needed
- rm "${ED}"/usr/$(get_libdir)/*.la || die
-
- dodoc AUTHORS ChangeLog README TODO INSTALL
-
- # Manually install doc and inputs
- doman doc/*.8
- doinfo doc/*.info*
- docinto examples
- dodoc inputs/*.example
-
- # Create cfengine working directory
- dodir /var/cfengine
- fperms 700 /var/cfengine
- keepdir /var/cfengine/bin
- keepdir /var/cfengine/inputs
- keepdir /var/cfengine/modules
-}
-
-pkg_postinst() {
- # Copy cfagent into the cfengine tree otherwise cfexecd won't
- # find it. Most hosts cache their copy of the cfengine
- # binaries here. This is the default search location for the
- # binaries.
-
- cp -f /usr/sbin/cf{agent,servd,execd} "${ROOT}"/var/cfengine/bin/
-
- einfo
- einfo "NOTE: The cfportage module has been deprecated in favor of the"
- einfo " upstream 'packages' action."
- einfo
- einfo "Init scripts for cfservd, cfenvd, and cfexecd are now provided."
- einfo
- einfo "To run cfengine out of cron every half hour modify your crontab:"
- einfo "0,30 * * * * /usr/sbin/cfexecd -F"
- einfo
-
- elog "You MUST generate the keys for cfengine by running:"
- elog "emerge --config ${CATEGORY}/${PN}"
-}
-
-pkg_config() {
- if [[ -z ${ROOT} ]]; then
- if [[ ! -f ${EPREFIX}/var/cfengine/ppkeys/localhost.priv ]]; then
- einfo "Generating keys for localhost."
- "${EPREFIX}"/usr/sbin/cfkey
- fi
- else
- die "cfengine cfkey does not support any value of ROOT other than /."
- fi
-}
diff --git a/net-misc/cfengine/cfengine-3.3.9.ebuild b/net-misc/cfengine/cfengine-3.3.9.ebuild
deleted file mode 100644
index a671fd89e08f..000000000000
--- a/net-misc/cfengine/cfengine-3.3.9.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-MY_PV="${PV//_beta/b}"
-MY_PV="${MY_PV/_p/p}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An automated suite of programs for configuring and maintaining
-Unix-like computers"
-HOMEPAGE="http://www.cfengine.org/"
-SRC_URI="http://cfengine.com/source-code/download?file=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="3"
-KEYWORDS="amd64 ~arm ~ppc ~s390 ~sparc x86"
-
-IUSE="examples html libvirt mysql postgres +qdbm selinux tests tokyocabinet vim-syntax"
-
-DEPEND=">=sys-libs/db-4
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql )
- selinux? ( sys-libs/libselinux )
- tokyocabinet? ( dev-db/tokyocabinet )
- qdbm? ( dev-db/qdbm )
- libvirt? ( app-emulation/libvirt )
- >=dev-libs/openssl-0.9.7
- dev-libs/libpcre
- net-libs/libnsl"
-RDEPEND="${DEPEND}"
-PDEPEND="vim-syntax? ( app-vim/cfengine-syntax )"
-
-REQUIRED_USE="^^ ( qdbm tokyocabinet )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_configure() {
- # Enforce /var/cfengine for historical compatibility
- econf \
- --enable-fhs \
- --docdir=/usr/share/doc/${PF} \
- --with-workdir=/var/cfengine \
- --with-pcre \
- $(use_with qdbm) \
- $(use_with tokyocabinet) \
- $(use_with postgres postgresql) \
- $(use_with mysql) \
- $(use_with libvirt) \
- $(use_enable selinux)
-
- # Fix Makefile to skip inputs, see below "examples"
- #sed -i -e 's/\(SUBDIRS.*\) inputs/\1/' Makefile || die
-
- # We install the documentation through portage
- sed -i -e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile || die
-}
-
-src_install() {
- newinitd "${FILESDIR}"/cf-serverd.rc6 cf-serverd
- newinitd "${FILESDIR}"/cf-monitord.rc6 cf-monitord
- newinitd "${FILESDIR}"/cf-execd.rc6 cf-execd
-
- emake DESTDIR="${D}" install
-
- # Evil workaround for now..
- mv "${D}"/usr/share/doc/${PN}/ "${D}"/usr/share/doc/${PF}
-
- dodoc AUTHORS
-
- if ! use examples; then
- rm -rf "${D}"/usr/share/doc/${PF}/example*
- fi
-
- # Create cfengine working directory
- dodir /var/cfengine/bin
- fperms 700 /var/cfengine
-
- # Copy cfagent into the cfengine tree otherwise cfexecd won't
- # find it. Most hosts cache their copy of the cfengine
- # binaries here. This is the default search location for the
- # binaries.
- for bin in know promises agent monitord serverd execd runagent key report; do
- dosym /usr/sbin/cf-$bin /var/cfengine/bin/cf-$bin
- done
-
- if use html; then
- docinto html
- dohtml -r docs/
- fi
-}
-
-pkg_postinst() {
- echo
- elog "NOTE: BDB (BerkelyDB) support has been removed as of ${PN}-3.3.0"
- echo
- einfo "Init scripts for cf-serverd, cf-monitord, and cf-execd are provided."
- einfo
- einfo "To run cfengine out of cron every half hour modify your crontab:"
- einfo "0,30 * * * * /usr/sbin/cf-execd -F"
- echo
-
- elog "If you run cfengine the very first time, you MUST generate the keys for cfengine by running:"
- elog "emerge --config ${CATEGORY}/${PN}"
-
- # Fix old cf-servd, remove it after some releases.
- local found=0
- for fname in $(find /etc/runlevels/ -type f -or -type l -name 'cf-servd'); do
- found=1
- rm $fname
- ln -s /etc/init.d/cf-serverd $(echo $fname | sed 's:cf-servd:cf-serverd:')
- done
-
- if [ "${found}" -eq 1 ]; then
- echo
- elog "/etc/init.d/cf-servd has been renamed to /etc/init.d/cf-serverd"
- fi
-}
-
-pkg_config() {
- if [ "${ROOT}" == "/" ]; then
- if [ ! -f "/var/cfengine/ppkeys/localhost.priv" ]; then
- einfo "Generating keys for localhost."
- /usr/sbin/cf-key
- fi
- else
- die "cfengine cfkey does not support any value of ROOT other than /."
- fi
-}
diff --git a/net-misc/cfengine/cfengine-3.4.5.ebuild b/net-misc/cfengine/cfengine-3.4.5.ebuild
deleted file mode 100644
index f3399734b57b..000000000000
--- a/net-misc/cfengine/cfengine-3.4.5.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils autotools
-
-MY_PV="${PV//_beta/b}"
-MY_PV="${MY_PV/_p/p}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An automated suite of programs for configuring and maintaining
-Unix-like computers"
-HOMEPAGE="http://www.cfengine.org/"
-SRC_URI="http://cfengine.com/source-code/download?file=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~ppc ~s390 ~sparc ~x86"
-
-IUSE="acl examples html libvirt mysql postgres +qdbm selinux tests tokyocabinet
-vim-syntax xml"
-
-DEPEND=">=sys-libs/db-4
- acl? ( virtual/acl )
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql )
- selinux? ( sys-libs/libselinux )
- tokyocabinet? ( dev-db/tokyocabinet )
- qdbm? ( dev-db/qdbm )
- libvirt? ( app-emulation/libvirt )
- xml? ( dev-libs/libxml2:2 ) \
- dev-libs/openssl
- dev-libs/libpcre
- net-libs/libnsl"
-RDEPEND="${DEPEND}"
-PDEPEND="vim-syntax? ( app-vim/cfengine-syntax )"
-
-REQUIRED_USE="^^ ( qdbm tokyocabinet )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
-
- epatch "${FILESDIR}/${P}-acl.patch"
- epatch "${FILESDIR}/${P}-ifconfig.patch"
-
- eautoreconf
-}
-
-src_configure() {
- # Enforce /var/cfengine for historical compatibility
- econf \
- --enable-fhs \
- --docdir=/usr/share/doc/${PF} \
- --with-workdir=/var/cfengine \
- --with-pcre \
- $(use_with acl libacl) \
- $(use_with qdbm) \
- $(use_with tokyocabinet) \
- $(use_with postgres postgresql) \
- $(use_with mysql) \
- $(use_with libvirt) \
- $(use_enable selinux)
-
- # Fix Makefile to skip inputs, see below "examples"
- #sed -i -e 's/\(SUBDIRS.*\) inputs/\1/' Makefile || die
-
- # We install the documentation through portage
- sed -i -e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile || die
-}
-
-src_install() {
- newinitd "${FILESDIR}"/cf-serverd.rc6 cf-serverd
- newinitd "${FILESDIR}"/cf-monitord.rc6 cf-monitord
- newinitd "${FILESDIR}"/cf-execd.rc6 cf-execd
-
- emake DESTDIR="${D}" install
-
- # Evil workaround for now..
- mv "${D}"/usr/share/doc/${PN}/ "${D}"/usr/share/doc/${PF}
-
- dodoc AUTHORS
-
- if ! use examples; then
- rm -rf "${D}"/usr/share/doc/${PF}/example*
- fi
-
- # Create cfengine working directory
- dodir /var/cfengine/bin
- fperms 700 /var/cfengine
-
- # Copy cfagent into the cfengine tree otherwise cfexecd won't
- # find it. Most hosts cache their copy of the cfengine
- # binaries here. This is the default search location for the
- # binaries.
- for bin in promises agent monitord serverd execd runagent key report; do
- dosym /usr/sbin/cf-$bin /var/cfengine/bin/cf-$bin
- done
-
- if use html; then
- docinto html
- dohtml -r docs/
- fi
-}
-
-pkg_postinst() {
- echo
- elog "NOTE: BDB (BerkelyDB) support has been removed as of ${PN}-3.3.0"
- echo
- einfo "Init scripts for cf-serverd, cf-monitord, and cf-execd are provided."
- einfo
- einfo "To run cfengine out of cron every half hour modify your crontab:"
- einfo "0,30 * * * * /usr/sbin/cf-execd -F"
- echo
-
- elog "If you run cfengine the very first time, you MUST generate the keys for cfengine by running:"
- elog "emerge --config ${CATEGORY}/${PN}"
-
- # Fix old cf-servd, remove it after some releases.
- local found=0
- for fname in $(find /etc/runlevels/ -type f -or -type l -name 'cf-servd'); do
- found=1
- rm $fname
- ln -s /etc/init.d/cf-serverd $(echo $fname | sed 's:cf-servd:cf-serverd:')
- done
-
- if [ "${found}" -eq 1 ]; then
- echo
- elog "/etc/init.d/cf-servd has been renamed to /etc/init.d/cf-serverd"
- fi
-}
-
-pkg_config() {
- if [ "${ROOT}" == "/" ]; then
- if [ ! -f "/var/cfengine/ppkeys/localhost.priv" ]; then
- einfo "Generating keys for localhost."
- /usr/sbin/cf-key
- fi
- else
- die "cfengine cfkey does not support any value of ROOT other than /."
- fi
-}
diff --git a/net-misc/cfengine/cfengine-3.5.3.ebuild b/net-misc/cfengine/cfengine-3.5.3.ebuild
deleted file mode 100644
index 911431636bda..000000000000
--- a/net-misc/cfengine/cfengine-3.5.3.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils autotools flag-o-matic
-
-MY_PV="${PV//_beta/b}"
-MY_PV="${MY_PV/_p/p}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="An automated suite of programs for configuring and maintaining
-Unix-like computers"
-HOMEPAGE="http://www.cfengine.org/"
-SRC_URI="http://cfengine.com/source-code/download?file=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="3"
-KEYWORDS="~amd64 ~arm ~ppc ~s390 ~sparc ~x86"
-
-IUSE="acl examples libvirt mysql postgres +qdbm selinux tokyocabinet vim-syntax xml"
-
-DEPEND="acl? ( virtual/acl )
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql )
- selinux? ( sys-libs/libselinux )
- tokyocabinet? ( dev-db/tokyocabinet )
- qdbm? ( dev-db/qdbm )
- libvirt? ( app-emulation/libvirt )
- xml? ( dev-libs/libxml2:2 ) \
- dev-libs/openssl
- dev-libs/libpcre
- net-libs/libnsl"
-RDEPEND="${DEPEND}"
-PDEPEND="vim-syntax? ( app-vim/cfengine-syntax )"
-
-REQUIRED_USE="^^ ( qdbm tokyocabinet )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
-
- epatch "${FILESDIR}/${PN}-3.4.5-acl.patch"
- epatch "${FILESDIR}/${P}-ifconfig.patch"
-
- eautoreconf
-}
-
-src_configure() {
- # Enforce /var/cfengine for historical compatibility
-
- econf \
- --enable-fhs \
- --docdir=/usr/share/doc/${PF} \
- --with-workdir=/var/cfengine \
- --with-pcre \
- $(use_with acl libacl) \
- $(use_with qdbm) \
- $(use_with tokyocabinet) \
- $(use_with postgres postgresql) \
- $(use_with mysql mysql check) \
- $(use_with libvirt) \
- $(use_enable selinux)
-
- # Fix Makefile to skip inputs, see below "examples"
- #sed -i -e 's/\(SUBDIRS.*\) inputs/\1/' Makefile || die
-
- # We install the documentation through portage
- sed -i -e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile || die
-}
-
-src_install() {
- newinitd "${FILESDIR}"/cf-serverd.rc6 cf-serverd
- newinitd "${FILESDIR}"/cf-monitord.rc6 cf-monitord
- newinitd "${FILESDIR}"/cf-execd.rc6 cf-execd
-
- emake DESTDIR="${D}" install
-
- # fix ifconfig path in provided promises
- find "${D}"/usr/share -name "*.cf" | xargs sed -i "s,/sbin/ifconfig,$(which ifconfig),g"
-
- # Evil workaround for now..
- mv "${D}"/usr/share/doc/${PN}/ "${D}"/usr/share/doc/${PF}
-
- dodoc AUTHORS
-
- if ! use examples; then
- rm -rf "${D}"/usr/share/doc/${PF}/example*
- fi
-
- # Create cfengine working directory
- dodir /var/cfengine/bin
- fperms 700 /var/cfengine
-
- # Copy cfagent into the cfengine tree otherwise cfexecd won't
- # find it. Most hosts cache their copy of the cfengine
- # binaries here. This is the default search location for the
- # binaries.
- for bin in promises agent monitord serverd execd runagent key; do
- dosym /usr/sbin/cf-$bin /var/cfengine/bin/cf-$bin
- done
-}
-
-pkg_postinst() {
- echo
- elog "NOTE: BDB (BerkelyDB) support has been removed as of ${PN}-3.3.0"
- echo
- einfo "Init scripts for cf-serverd, cf-monitord, and cf-execd are provided."
- einfo
- einfo "To run cfengine out of cron every half hour modify your crontab:"
- einfo "0,30 * * * * /usr/sbin/cf-execd -F"
- echo
-
- elog "If you run cfengine the very first time, you MUST generate the keys for cfengine by running:"
- elog "emerge --config ${CATEGORY}/${PN}"
-
- # Fix old cf-servd, remove it after some releases.
- local found=0
- for fname in $(find /etc/runlevels/ -type f -or -type l -name 'cf-servd'); do
- found=1
- rm $fname
- ln -s /etc/init.d/cf-serverd $(echo $fname | sed 's:cf-servd:cf-serverd:')
- done
-
- if [ "${found}" -eq 1 ]; then
- echo
- elog "/etc/init.d/cf-servd has been renamed to /etc/init.d/cf-serverd"
- fi
-}
-
-pkg_config() {
- if [ "${ROOT}" == "/" ]; then
- if [ ! -f "/var/cfengine/ppkeys/localhost.priv" ]; then
- einfo "Generating keys for localhost."
- /usr/sbin/cf-key
- fi
- else
- die "cfengine cfkey does not support any value of ROOT other than /."
- fi
-}
diff --git a/net-misc/cfengine/files/511666-segfault.patch b/net-misc/cfengine/files/511666-segfault.patch
deleted file mode 100644
index ea3ae9686254..000000000000
--- a/net-misc/cfengine/files/511666-segfault.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Fix a bug involving CheckFriendReliability (see bug #482439)
-
-Index: cfengine2-2.2.9/src/instrument.c
-===================================================================
---- cfengine2-2.2.9.orig/src/instrument.c 2009-03-06 21:25:59.000000000 +0000
-+++ cfengine2-2.2.9/src/instrument.c 2009-03-06 21:26:31.000000000 +0000
-@@ -716,11 +716,11 @@
- key.data = timekey;
- key.size = strlen(timekey)+1;
-
-- if ((errno = dbp->get(dbp,NULL,&key,&value,0)) != 0)
-+ if ((errno = dbpent->get(dbpent,NULL,&key,&value,0)) != 0)
- {
- if (errno != DB_NOTFOUND)
- {
-- dbp->err(dbp,errno,NULL);
-+ dbpent->err(dbpent,errno,NULL);
- exit(1);
- }
- }
diff --git a/net-misc/cfengine/files/admit-noclass-520696.patch b/net-misc/cfengine/files/admit-noclass-520696.patch
deleted file mode 100644
index 1e5d8594aaed..000000000000
--- a/net-misc/cfengine/files/admit-noclass-520696.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Fix a bug with admit/grant that let cfengine2 fails when the class
-of a cfengine fragment does not exist and more than a host or IP
-ranges are specified for a path (see #520696)
-
---- a/src/install.c
-+++ b/src/install.c
-@@ -6561,7 +6561,7 @@
- if (!IsDefinedClass(classes))
- {
- Debug1("Not installing Auth path, no match\n");
-- InitializeAction();
-+// InitializeAction();
- return;
- }
-
diff --git a/net-misc/cfengine/files/cfengine-2.2.10-lsbrelease.patch b/net-misc/cfengine/files/cfengine-2.2.10-lsbrelease.patch
deleted file mode 100644
index 6f8dfa04d8f2..000000000000
--- a/net-misc/cfengine/files/cfengine-2.2.10-lsbrelease.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Newer GCC mis-compiles the lsb_release reader function.
-
-Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-
---- cfengine-2.2.10/src/misc.c 2009-02-10 21:55:36.000000000 -0800
-+++ cfengine-2.2.10/src/misc.c 2020-01-06 17:58:07.049226386 -0800
-@@ -1187,6 +1187,7 @@ if ((fp = cfpopen(VBUFF, "r")) == NULL)
-
- if (ReadLine(VBUFF, CF_BUFSIZE, fp))
- {
-+ Debug4("(%s)",VBUFF);
- char * buffer = VBUFF;
- strsep(&buffer, ":");
-
-@@ -1198,7 +1199,8 @@ if (ReadLine(VBUFF, CF_BUFSIZE, fp))
- info = buffer;
- while((*buffer != '\0') && !isspace(*buffer))
- {
-- *buffer = tolower(*buffer++);
-+ *buffer = tolower(*buffer);
-+ buffer++;
- }
-
- *buffer = '\0';
diff --git a/net-misc/cfengine/files/cfengine-2.2.10-snprintf_buffer_overflow.patch b/net-misc/cfengine/files/cfengine-2.2.10-snprintf_buffer_overflow.patch
deleted file mode 100644
index 80a3a542974b..000000000000
--- a/net-misc/cfengine/files/cfengine-2.2.10-snprintf_buffer_overflow.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/instrument.c.old 2010-10-15 22:20:58.014091858 +0200
-+++ b/src/instrument.c 2010-10-15 22:21:34.132271440 +0200
-@@ -542,7 +542,7 @@ while (dbcp->c_get(dbcp, &key, &value, D
-
- tthen = (time_t)then;
-
-- snprintf(datebuf,CF_BUFSIZE-1,"%s",ctime(&tthen));
-+ snprintf(datebuf,CF_MAXVARSIZE-1,"%s",ctime(&tthen));
- datebuf[strlen(datebuf)-9] = '\0'; /* Chop off second and year */
-
- snprintf(addr,15,"%s",hostname+1);
diff --git a/net-misc/cfengine/files/cfengine-3.4.5-acl.patch b/net-misc/cfengine/files/cfengine-3.4.5-acl.patch
deleted file mode 100644
index 815f257c36fa..000000000000
--- a/net-misc/cfengine/files/cfengine-3.4.5-acl.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From a12b5b3b8cd4397545104923d1de3297fd971f9e Mon Sep 17 00:00:00 2001
-From: Christian Ruppert <idl0r@gentoo.org>
-Date: Fri, 29 Mar 2013 00:23:21 +0100
-Subject: [PATCH] Fix acl header detection
-
-
-Signed-off-by: Christian Ruppert <idl0r@gentoo.org>
----
- configure.ac | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 542d115..f3f0c04 100755
---- a/configure.ac
-+++ b/configure.ac
-@@ -335,7 +335,10 @@ AC_ARG_WITH([libacl],
- if test "x$with_libacl" != xno; then
- CF3_WITH_LIBRARY(libacl, [
- AC_CHECK_LIB(acl, acl_init, [], [if test "x$with_libacl" != xcheck; then AC_MSG_ERROR(Cannot find libacl library); fi])
-- AC_CHECK_HEADERS([acl.h sys/acl.h acl/libacl.h], [], [if test "x$with_libacl" != xcheck; then AC_MSG_ERROR(Cannot find libacl library headers); fi])
-+ AC_CHECK_HEADERS([acl.h sys/acl.h acl/libacl.h], [found_acl_h=yes], [])
-+ if test "x$found_acl_h" != xyes; then
-+ AC_MSG_ERROR(Cannot find libacl library headers)
-+ fi
- ])
- fi
-
---
-1.8.1.5
-
diff --git a/net-misc/cfengine/files/cfengine-3.4.5-ifconfig.patch b/net-misc/cfengine/files/cfengine-3.4.5-ifconfig.patch
deleted file mode 100644
index 47107784ce0f..000000000000
--- a/net-misc/cfengine/files/cfengine-3.4.5-ifconfig.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Patch by clabbe.montjoie@gmail.com
-https://bugs.gentoo.org/444532
-
---- src/conf.h.in.old 2012-12-28 16:18:23.000000000 +0100
-+++ src/conf.h.in 2012-12-28 16:19:08.000000000 +0100
-@@ -773,3 +773,6 @@
-
- /* Define to rpl_vsnprintf if the replacement function should be used. */
- #undef vsnprintf
-+
-+/* Define to the path for running ifconfig -a */
-+#undef IFCONFIG_RUN
---- src/unix.c.old 2012-12-28 16:05:28.000000000 +0100
-+++ src/unix.c 2012-12-28 16:13:15.000000000 +0100
-@@ -900,7 +900,7 @@
-
- default:
-
-- if ((pp = cf_popen("/sbin/ifconfig -a", "r")) == NULL)
-+ if ((pp = cf_popen(IFCONFIG_RUN, "r")) == NULL)
- {
- CfOut(cf_verbose, "", "Could not find interface info\n");
- return;
---- configure.ac.old 2012-12-29 11:38:20.000000000 +0100
-+++ configure.ac 2012-12-29 11:49:11.000000000 +0100
-@@ -882,6 +882,16 @@
-
-
- dnl ######################################################################
-+dnl Find the path to ifconfig
-+dnl ######################################################################
-+
-+AC_PATH_PROG(IFCONFIG_PATH,ifconfig)
-+if test x"$IFCONFIG_PATH" = x"" ; then
-+ AC_MSG_ERROR([Cannot found the ifconfig binary.])
-+fi
-+AC_DEFINE_UNQUOTED(IFCONFIG_RUN, "$IFCONFIG_PATH -a", [the path to run ifconfig -a])
-+
-+dnl ######################################################################
- dnl Summarize
- dnl ######################################################################
-
diff --git a/net-misc/cfengine/files/cfengine-3.5.3-ifconfig.patch b/net-misc/cfengine/files/cfengine-3.5.3-ifconfig.patch
deleted file mode 100644
index dc982c6801f7..000000000000
--- a/net-misc/cfengine/files/cfengine-3.5.3-ifconfig.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -ur cfengine-3.5.3.orig/configure.ac cfengine-3.5.3/configure.ac
---- cfengine-3.5.3.orig/configure.ac 2013-12-09 13:13:14.000000000 +0100
-+++ cfengine-3.5.3/configure.ac 2014-02-27 12:36:55.179893570 +0100
-@@ -1047,6 +1047,16 @@
- AM_SUBST_NOTMAKE(post_macros)
-
- dnl ######################################################################
-+dnl Find the path to ifconfig
-+dnl ######################################################################
-+
-+AC_PATH_PROG(IFCONFIG_PATH,ifconfig)
-+if test x"$IFCONFIG_PATH" = x"" ; then
-+ AC_MSG_ERROR([Cannot found the ifconfig binary.])
-+fi
-+AC_DEFINE_UNQUOTED(IFCONFIG_RUN, "$IFCONFIG_PATH -a", [the path to run ifconfig -a])
-+
-+dnl ######################################################################
- dnl Summarize
- dnl ######################################################################
-
-diff -ur cfengine-3.5.3.orig/libpromises/unix.c cfengine-3.5.3/libpromises/unix.c
---- cfengine-3.5.3.orig/libpromises/unix.c 2013-12-09 13:13:14.000000000 +0100
-+++ cfengine-3.5.3/libpromises/unix.c 2014-02-27 12:38:35.036608105 +0100
-@@ -767,7 +767,7 @@
- return;
- }
- #else
-- if ((pp = cf_popen("/sbin/ifconfig -a", "r", true)) == NULL)
-+ if ((pp = cf_popen(IFCONFIG_RUN, "r", true)) == NULL)
- {
- Log(LOG_LEVEL_VERBOSE, "Could not find interface info");
- return;
-diff -ur cfengine-3.5.3.orig/libutils/config.h.in cfengine-3.5.3/libutils/config.h.in
---- cfengine-3.5.3.orig/libutils/config.h.in 2013-12-09 13:55:25.000000000 +0100
-+++ cfengine-3.5.3/libutils/config.h.in 2014-02-27 12:39:41.537416111 +0100
-@@ -914,3 +914,6 @@
-
- /* Define to rpl_vsnprintf if the replacement function should be used. */
- #undef vsnprintf
-+
-+/* Define to the path for running ifconfig -a */
-+#undef IFCONFIG_RUN
diff --git a/net-misc/cfengine/files/cfenvd.rc6 b/net-misc/cfengine/files/cfenvd.rc6
deleted file mode 100644
index 638ae993dcf5..000000000000
--- a/net-misc/cfengine/files/cfenvd.rc6
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting cfenvd"
- start-stop-daemon --start --quiet --exec /usr/sbin/cfenvd
- eend $?
-}
-
-stop() {
- ebegin "Stopping cfenvd"
- start-stop-daemon --stop --quiet --exec /usr/sbin/cfenvd
- eend $?
-}
diff --git a/net-misc/cfengine/files/cfexecd.rc6 b/net-misc/cfengine/files/cfexecd.rc6
deleted file mode 100644
index 032a9c469b50..000000000000
--- a/net-misc/cfengine/files/cfexecd.rc6
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting cfexecd"
- start-stop-daemon --start --quiet --exec /usr/sbin/cfexecd
- eend $?
-}
-
-stop() {
- ebegin "Stopping cfexecd"
- start-stop-daemon --stop --quiet --exec /usr/sbin/cfexecd
- eend $?
-}
diff --git a/net-misc/cfengine/files/cfservd.rc6 b/net-misc/cfengine/files/cfservd.rc6
deleted file mode 100644
index 034b25c72000..000000000000
--- a/net-misc/cfengine/files/cfservd.rc6
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting cfservd"
- start-stop-daemon --start --quiet --exec /usr/sbin/cfservd
- eend $?
-}
-
-stop() {
- ebegin "Stopping cfservd"
- start-stop-daemon --stop --quiet --exec /usr/sbin/cfservd
- eend $?
-}
diff --git a/net-misc/cfengine/metadata.xml b/net-misc/cfengine/metadata.xml
index 3c6b17c9adcc..e0c37fb6131c 100644
--- a/net-misc/cfengine/metadata.xml
+++ b/net-misc/cfengine/metadata.xml
@@ -6,11 +6,9 @@
<name>Gentoo Sysadmin Project</name>
</maintainer>
<use>
- <flag name="html">Install HTML documentation</flag>
<flag name="libvirt">Enable support for virtual machine management through <pkg>app-emulation/libvirt</pkg></flag>
<flag name="masterfiles">Install the Masterfiles Policy Framework</flag>
<flag name="qdbm">Use <pkg>dev-db/qdbm</pkg> as database backend</flag>
- <flag name="tests">Install test files</flag>
<flag name="tokyocabinet">Use <pkg>dev-db/tokyocabinet</pkg> as database backend</flag>
</use>
<longdescription>