diff options
author | Aaron Bauman <bman@gentoo.org> | 2020-09-16 19:29:44 -0400 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2020-09-16 19:29:44 -0400 |
commit | 7d23e823cd321f7acbf3184a71e423e77c6b5364 (patch) | |
tree | 429761a06b87f0fffa7a42d69c0d05ac1ace502c /net-misc/cfengine | |
parent | app-misc/glastree: drop eutils in 1.04 (diff) | |
download | gentoo-7d23e823cd321f7acbf3184a71e423e77c6b5364.tar.gz gentoo-7d23e823cd321f7acbf3184a71e423e77c6b5364.tar.bz2 gentoo-7d23e823cd321f7acbf3184a71e423e77c6b5364.zip |
net-misc/cfengine: drop older versions
Closes: https://bugs.gentoo.org/690916
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'net-misc/cfengine')
-rw-r--r-- | net-misc/cfengine/Manifest | 2 | ||||
-rw-r--r-- | net-misc/cfengine/cfengine-3.4.5.ebuild | 144 | ||||
-rw-r--r-- | net-misc/cfengine/cfengine-3.5.3.ebuild | 141 |
3 files changed, 0 insertions, 287 deletions
diff --git a/net-misc/cfengine/Manifest b/net-misc/cfengine/Manifest index 7144124d690a..3f55527d4bf4 100644 --- a/net-misc/cfengine/Manifest +++ b/net-misc/cfengine/Manifest @@ -1,6 +1,4 @@ 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 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 -} |