summaryrefslogtreecommitdiff
path: root/net-irc/iroffer-dinoex
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/iroffer-dinoex')
-rw-r--r--net-irc/iroffer-dinoex/Manifest6
-rw-r--r--net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r3.ebuild (renamed from net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r2.ebuild)6
-rw-r--r--net-irc/iroffer-dinoex/iroffer-dinoex-3.33.ebuild118
-rw-r--r--net-irc/iroffer-dinoex/metadata.xml3
4 files changed, 128 insertions, 5 deletions
diff --git a/net-irc/iroffer-dinoex/Manifest b/net-irc/iroffer-dinoex/Manifest
index c2fcae84449b..987a0a246384 100644
--- a/net-irc/iroffer-dinoex/Manifest
+++ b/net-irc/iroffer-dinoex/Manifest
@@ -4,5 +4,7 @@ AUX iroffer-dinoex.conf 378 BLAKE2B 802cb152669d41a081d3400bad38da39fc73f083dc0e
AUX iroffer-dinoex.init 1130 BLAKE2B ccd6615cd7c5c61532ccad49f5b69d5d6049d01af958b76a1c2e4f0588939d59b24fec040a6f74f961fb1f7d2b8c4a4adf5898fcb2137f741bfb9c27c1d7cfc7 SHA512 5fdae78dac704cfc8594fff417e0d223069d2a3f33536043550aef4f7143a3cdb69e6ae102d21cd14b97e3ccf61c6d1c11fbb3a87c3e1a1096fa40e36a1c772a
AUX iroffer-dinoex.logrotate 173 BLAKE2B 855d14769a53f81135a2de494b90eeadbe487a9f9f29d45fe948b88b9798baf81a5832e8a89cc477826c6c51d7dde0459ab3d97249eb91d434f5b4c0686c0720 SHA512 6eb9a7f1949720a7d1544b90a22a190ad868b77d3ed604c5ec3acdc62e5711353d84a8e10dbfa332c4ceab13fedc3fa06d1679ce95d4612443a055f04f310015
DIST iroffer-dinoex-3.32.tar.gz 1321125 BLAKE2B 3a124d16911d97d0ec937b86c9e0ad513ebdcea5e09e4cb1a53753c03d5e13347d0bf1116bf9abe0137fb7a05bbc7a8e31c2c0da5c15cc4e0b55e067d62b1461 SHA512 03d662cf7eb3093b1f050eda8777011d6e7a833dc2fcf65d29ef0294a0d6ce4e2cea273e2d4e6ee6ba2364c088890ac6338a3aa8e6477d5e2a1a990a6e4e9603
-EBUILD iroffer-dinoex-3.32-r2.ebuild 2570 BLAKE2B f7d87e382e3137e4a9987cf2971623702a190584006ce4d2c0c6344f7a0112ce1381a4db9e3e3ddbf0444cab7fc6e46d2dab16ba0b35369511a977a9cf900ad1 SHA512 64bc3f5d69f1b7f892aa49c3eab9c3f82d3322db495856e6ddbcc3d4b48f88c5a1e1f68c73cfa50650935a69d965cac591b4b177cab97066b5f4b9876c443a19
-MISC metadata.xml 549 BLAKE2B 5ceba28cd1dc13a92dae1bb1a9a9d8935f0416ef1572675505b0e82560a8c4ac935a2942ee584b795c2bade7ec7c8e09470ec28127e184c379dc7ec903d52bbd SHA512 be5e0057a37a3ad5fc33b2441a2ab495eee639c03f7d09f400dc32948e02e148744df0cf5b8916f4c6a8826d8a5e888d094d3ce8a9bfb140f1061ac8e1d421d6
+DIST iroffer-dinoex-3.33.tar.gz 540521 BLAKE2B abdf64dca8f9f8da76a15061c2eb26ad4c4c223f78a608725b61497efd514575e90c159790681e9ad3dd68c72a3cd27fcc0fa023eb6a57f31aa2f3464afa8704 SHA512 7d2a8417ee02d0462aee07013cd7d2ae196ea588d1f7e852b280d5f7cc19c91902d5ad81d32ce3041f7d21dea7ebbd7ac396209a455334d1b66d33349e725b44
+EBUILD iroffer-dinoex-3.32-r3.ebuild 2589 BLAKE2B 78ff726172050e1847e8b29108ecac4148e1cfd4c5f93e58b34e34d20dd6ae04ab28d137e48755d535b1811f35738f0790cff43fe77daf35052db9ca282da705 SHA512 dd2505901a1e9d822b4e08a63b8c1575da7fcc739354027445fce027601960b122a66219f1b6215ffd878d227b3d0842d73381515c10d9511b8f065f824f6421
+EBUILD iroffer-dinoex-3.33.ebuild 2591 BLAKE2B be12b2ecc468c83c698347ce6322b98dd33d9f71ac16d1c4fc8b208473b1b1fe2d97e6a13d8022d178207032f51906eab740f095f6b1f5658756fcc95adedd5d SHA512 5655ce924700116bebc0c7520cf3f08f20df0b46a3ea005842b2101e3d467b14a9fb132f89c6bb000db14739be20b477a4083f8b0da24ae8bc28d8f9180acfbf
+MISC metadata.xml 635 BLAKE2B ed67887d80a6dd161c06c02ac6791274e816ccf77c5f423ab68e2abbd768bab5e6500b89328279e31b5d87fde63fbe3143a2200ab4663b275896846013b94b6c SHA512 76687c881d9cf3bff880f7e239f9ef74d538f9d6525795d283111a30936c199253b3306065f2b516234e0844a07923e02ac586339ec1890b31656bc139cb8841
diff --git a/net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r2.ebuild b/net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r3.ebuild
index 2c9940d22b0b..8a901ee156d1 100644
--- a/net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r2.ebuild
+++ b/net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PLOCALES="de en fr it"
PLOCALE_BACKUP="en"
@@ -56,7 +56,7 @@ src_configure() {
do_configure \
PREFIX="${EPREFIX}/usr" \
CC="$(tc-getCC)" \
- $(usex debug '-profiling' '' '' '')\
+ $(!use elibc_musl && usex debug '-profiling' '' '' '')\
$(usex debug '-debug' '' '' '')\
$(usex geoip '-geoip' '' '' '')\
$(usex chroot '' '-no-chroot' '' '')\
diff --git a/net-irc/iroffer-dinoex/iroffer-dinoex-3.33.ebuild b/net-irc/iroffer-dinoex/iroffer-dinoex-3.33.ebuild
new file mode 100644
index 000000000000..505d235584b0
--- /dev/null
+++ b/net-irc/iroffer-dinoex/iroffer-dinoex-3.33.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PLOCALES="de en fr it"
+PLOCALE_BACKUP="en"
+
+inherit plocale toolchain-funcs
+
+DESCRIPTION="IRC fileserver using DCC"
+HOMEPAGE="https://iroffer.net/"
+SRC_URI="https://iroffer.net/${P}.tar.gz
+ https://iroffer.net/HISTORY/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+admin +blowfish +chroot curl debug geoip gnutls +http +memsave ruby ssl +telnet upnp"
+
+REQUIRED_USE="
+ admin? ( http )
+ gnutls? ( ssl )
+"
+
+RDEPEND="virtual/libcrypt:=
+ acct-user/iroffer
+ 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}"
+
+src_prepare() {
+ eapply "${FILESDIR}/${PN}-3.31-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 \
+ PREFIX="${EPREFIX}/usr" \
+ CC="$(tc-getCC)" \
+ $(!use elibc_musl && 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 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
+}
diff --git a/net-irc/iroffer-dinoex/metadata.xml b/net-irc/iroffer-dinoex/metadata.xml
index 99fb03dc3bd0..40f360bc2560 100644
--- a/net-irc/iroffer-dinoex/metadata.xml
+++ b/net-irc/iroffer-dinoex/metadata.xml
@@ -10,4 +10,7 @@
<flag name="memsave">Compile with memory protection</flag>
<flag name="telnet">Compile with Telnet server support</flag>
</use>
+ <upstream>
+ <remote-id type="github">dinoex/iroffer-dinoex</remote-id>
+ </upstream>
</pkgmetadata>