diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-24 02:11:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-24 02:11:45 +0100 |
commit | b49088575eb777ced2551f484da86317332d6087 (patch) | |
tree | bf9a151cf2d61956340d555659ffc098ee1da466 /net-irc/iroffer-dinoex/iroffer-dinoex-3.31-r1.ebuild | |
parent | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (diff) |
gentoo resync : 24.07.2021
Diffstat (limited to 'net-irc/iroffer-dinoex/iroffer-dinoex-3.31-r1.ebuild')
-rw-r--r-- | net-irc/iroffer-dinoex/iroffer-dinoex-3.31-r1.ebuild | 123 |
1 files changed, 0 insertions, 123 deletions
diff --git a/net-irc/iroffer-dinoex/iroffer-dinoex-3.31-r1.ebuild b/net-irc/iroffer-dinoex/iroffer-dinoex-3.31-r1.ebuild deleted file mode 100644 index 8d04b7572213..000000000000 --- a/net-irc/iroffer-dinoex/iroffer-dinoex-3.31-r1.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PLOCALES="de en fr it" -PLOCALE_BACKUP="en" - -inherit plocale toolchain-funcs user - -DESCRIPTION="IRC fileserver using DCC" -HOMEPAGE="http://iroffer.dinoex.net/" -SRC_URI="http://iroffer.dinoex.net/${P}.tar.gz - http://iroffer.dinoex.net/HISTORY/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+admin +blowfish +chroot curl debug geoip gnutls +http kqueue +memsave ruby ssl +telnet upnp" - -REQUIRED_USE=" - admin? ( http ) - gnutls? ( ssl ) -" - -RDEPEND="virtual/libcrypt:= - chroot? ( dev-libs/nss ) - curl? ( - net-misc/curl[ssl?] - gnutls? ( net-misc/curl[curl_ssl_gnutls] ) - !gnutls? ( ssl? ( net-misc/curl[curl_ssl_openssl] ) ) - ) - geoip? ( dev-libs/geoip ) - gnutls? ( net-libs/gnutls ) - ruby? ( dev-lang/ruby:* ) - ssl? ( !gnutls? ( dev-libs/openssl:0= ) )" - -DEPEND="${RDEPEND}" - -pkg_setup() { - enewgroup iroffer - enewuser iroffer -1 -1 -1 iroffer -} - -src_prepare() { - eapply "${FILESDIR}/${P}-config.patch" - eapply "${FILESDIR}/${PN}-Werror.patch" - - eapply_user - - plocale_find_changes "" 'help-admin-' '.txt' -} - -do_configure() { - echo ./Configure $* - ./Configure $* || die "configure phase failed" -} - -src_configure() { - do_configure \ - CC="$(tc-getCC)" - PREFIX="${EPREFIX}/usr"\ - $(usex debug '-profiling' '' '' '')\ - $(usex debug '-debug' '' '' '')\ - $(usex geoip '-geoip' '' '' '')\ - $(usex chroot '' '-no-chroot' '' '')\ - $(usex curl '-curl' '' '' '' )\ - $(usex gnutls '-tls' '' '' '' '')\ - $(usex upnp '-upnp' '' '' '')\ - $(usex ruby '-ruby' '' '' '')\ - $(usex kqueue '-kqueue' '' '' '')\ - $(usex blowfish '' '-no-blowfish' '' '')\ - $(usex ssl '' '-no-openssl' '' '')\ - $(usex http '' '-no-http' '' '')\ - $(usex admin '' '-no-admin' '' '')\ - $(usex telnet '' '-no-telnet' '' '')\ - $(usex memsave '' '-no-memsave' '' '') -} - -src_compile() { - # TODO: default compile targets always include chrooted target, which is not good - emake CC="$(tc-getCC)" $(plocale_get_locales) -} - -myloc() { - emake DESTDIR="${D}" install-${1} - - dodoc help-admin-${1}.txt - use http && dodoc doc/INSTALL-linux-${1}.html - - insinto /etc/${PN} - case ${1} in - "de") - doins beispiel.config;; - "fr") - doins exemple.config;; - *) - doins sample.config;; - esac -} - -src_install() { - plocale_for_each_locale myloc - - dodoc README* THANKS TODO - doman iroffer.1 xdcc.7 - - newinitd "${FILESDIR}/${PN}.init" ${PN} - newconfd "${FILESDIR}/${PN}.conf" ${PN} - - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}.logrotate" ${PN} - - if use ruby; then - insinto /usr/share/${PN} - doins ruby-sample.rb - fi - - if use http; then - insinto /usr/share/${PN}/htdocs - doins htdocs/* - fi -} |