]> Frank Brehm's Git Trees - portage.git/commitdiff
Added dev-ruby/zonecheck/zonecheck-3.0.5.ebuild
authorFrank Brehm <frank.brehm@profitbricks.com>
Tue, 1 Apr 2014 20:01:24 +0000 (22:01 +0200)
committerFrank Brehm <frank.brehm@profitbricks.com>
Tue, 1 Apr 2014 20:01:24 +0000 (22:01 +0200)
dev-ruby/zonecheck/Manifest
dev-ruby/zonecheck/zonecheck-3.0.5.ebuild [new file with mode: 0644]

index 533b36c3bd3542cf1832833add09944bfc66a1a0..c56e091da21d9b367a9387e91f9f1a025b80e022 100644 (file)
@@ -1,3 +1,5 @@
-DIST zonecheck-3.0.4.tgz 238884 RMD160 e0531d18557e02a017cb2677bfd81f417899b158 SHA1 e80c16199d7641b271e9c2587033c8f552a6f543 SHA256 5842fca0afe3e6301101ff4a8376d2c0f89ec284f7eb3e0e75a519d008aacf99
-EBUILD zonecheck-3.0.4.ebuild 1697 RMD160 02dd74382819f16d25a4f979ac9ea0840ac2cb9b SHA1 c2ecebc45e3a75e1a53cfc2b1d1a013dffbe5957 SHA256 444d01f9caf698d1dbaab7901e70f44f022f6ba764809e462ec3a8b4e7f1534a
-MISC metadata.xml 440 RMD160 a4aad78b4a4d2c252f3c43dd56a25e595f8ee3b2 SHA1 8bd5ed57cf926d1c2ed541fc605a374f2855bb54 SHA256 2e2b007eea4b19fd0bd2b9115abc883e1b3de8bb119d1747c459360dc007552f
+DIST zonecheck-3.0.4.tgz 238884 SHA256 5842fca0afe3e6301101ff4a8376d2c0f89ec284f7eb3e0e75a519d008aacf99 SHA512 5d5987ed182af5d4473db6f7756fe4da1eccfbb2c1a7ea1121295b6d33c6d86b1a1585a9ca854a95eed716b1a4e53ae8c041f027fa97a4d2ea73feccb2813d0e WHIRLPOOL 757a85af56522321b1a63be191a52faa4a1c3300d365c18a6623e3825b9de514982bc15be69b1c5a7fad42c1d402aad983ec0af70d9594660b7b1721d53b4acc
+DIST zonecheck-3.0.5.tgz 238695 SHA256 887ea8f355f84ee41f8093551ea29bdf0b467397e53db046d5f79e18e59d881f SHA512 1cc03093a890884e330d5cfd4f933bd352a4b0bb0259cc9492105a3294a47e32b5053695054529ba0645a069c97e6cdd41ec17358e84242abea6e6790f3af1a9 WHIRLPOOL 0fab1d18fdaa3d73e2b17c7c4796c4667e9585f9e25df615284b3f725d9c4daf1b5fc19398ae8822f009293562db78d549ca3d3bf61cd124c994a75c9ae99615
+EBUILD zonecheck-3.0.4.ebuild 1697 SHA256 444d01f9caf698d1dbaab7901e70f44f022f6ba764809e462ec3a8b4e7f1534a SHA512 807f4ccc3aeb72f55f212fb9a7cb84da4dbabffdf2975752f360b62865ba5763e6788f9b04c4e9018ce067d6247570e536aa68c7eac811c47e93984408d773d8 WHIRLPOOL 456bdc4cefda0a98c563bc68777239885feced6aba2cf4ba55c405356fdd5484293857c0a072de2823850aa94046677d4cf369ea7f2b2b50daf676f2678f84c6
+EBUILD zonecheck-3.0.5.ebuild 1722 SHA256 26fc13152a0792bd01dc9615a5d09a017ffeeaeeca518b425527cd9b5f1aaf16 SHA512 3f793d276667228d5219fdeb062d550b6113ba263842912ce1f73582b7ccc26b8cfcfeadb86033a2137b79f75691e162ab5007e18af62370d5abcbaabe18fd12 WHIRLPOOL 091ab78c724004e8c21f735fe94a021c92cecd11d4ac1b8baa061395c69414af09048972f91083c337125f0d6e51080909922648dc70f7189761219678c647f3
+MISC metadata.xml 440 SHA256 2e2b007eea4b19fd0bd2b9115abc883e1b3de8bb119d1747c459360dc007552f SHA512 12bfc6989ab96f7929e47cf26d7f83444ea5aabdf069450f3cf0de5133e58514765cef95d56e84b329905c0017c6caf18ef4d86f13e13292ff4283f18544b1f1 WHIRLPOOL 1b82d9b9295a424d15a9f95e7ccb05262243d623f7965457fabdcb719dca4f4dc38474d69d3cbaa1c797dae338e97ff3764393f2d0af2e52d1d1d16714162bf5
diff --git a/dev-ruby/zonecheck/zonecheck-3.0.5.ebuild b/dev-ruby/zonecheck/zonecheck-3.0.5.ebuild
new file mode 100644 (file)
index 0000000..f9528d3
--- /dev/null
@@ -0,0 +1,71 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gcalctool/gcalctool-5.28.2.ebuild,v 1.2 2010/01/07 21:37:49 fauli Exp $
+
+EAPI="5"
+
+USE_RUBY="ruby18 ruby19 ruby20"
+
+inherit eutils
+
+DESCRIPTION="DNS configuration checker"
+HOMEPAGE="http://www.zonecheck.fr"
+SRC_URI="http://www.zonecheck.fr/download/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86"
+IUSE="cgi doc"
+
+S="${WORKDIR}/${PN}"
+
+RUBY="/usr/bin/ruby"
+
+RDEPEND="dev-lang/ruby[ssl]
+       net-misc/iputils
+       >=dev-ruby/dnsruby-1.5
+       cgi? ( virtual/httpd-cgi )
+"
+
+DEPEND="
+       $RDEPEND
+       dev-lang/perl
+"
+
+DOCS="BUGS ChangeLog COPYING CREDITS FAQ GPL HISTORY INSTALL README TODO"
+if use doc; then
+       DOCS="${DOCS} doc"
+fi
+
+src_configure() {
+       elog "No configure necessary"
+}
+
+src_compile() {
+       elog "No compiling necessary"
+}
+
+src_test() {
+       #LD_LIBRARY_PATH="${WORKDIR}"/${PN}_build/common cmake-utils_src_test
+       einfo "No test available"
+}
+
+src_install() {
+       INST_OPTS="-DCHROOT=${D} -DPREFIX=/usr -DETCDIR=/etc -DETCDIST= "
+       INST_OPTS="${INST_OPTS} -DLIBEXEC=/usr/share -DMANDIR=/usr/share/man -DRUBY=${RUBY}"
+       TARGETS="common cli"
+       if use cgi; then
+               INST_OPTS="${INST_OPTS} -DCGIDIR=/var/www/localhost/cgi-bin/ -DWWWDIR=/usr/share/zonecheck-cgi -DWWWCGIDIR=/cgi-bin"
+               TARGETS="${TARGETS} cgi"
+       fi
+       ruby installer.rb ${INST_OPTS} ${TARGETS}
+
+       # Patch the configuration file for Linux netkit ping
+       perl -pi -e '
+               s/(<const\s+name\s*=\s*"ping4"\s+value\s*=\s*")[^\"]*("\s*\/>)/$1ping  -n -q -w 5 -c 5 %s >\/dev\/null$2/;
+               s/(<const\s+name\s*=\s*"ping6"\s+value\s*=\s*")[^\"]*("\s*\/>)/$1ping6 -n -q -w 5 -c 5 %s >\/dev\/null$2/;
+       ' ${D}/etc/zonecheck/zc.conf
+
+}
+
+