diff options
author | David Seifert <soap@gentoo.org> | 2020-02-22 22:07:26 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-02-22 22:07:26 +0100 |
commit | 3b8cba93fab70dd0fa89cebdd4b37c732580e9ac (patch) | |
tree | cbcb946c9c0769acaec3648b63979c24ec30a5c2 /net-analyzer | |
parent | x11-libs/libxcb: Version bump to 1.14 (diff) | |
download | gentoo-3b8cba93fab70dd0fa89cebdd4b37c732580e9ac.tar.gz gentoo-3b8cba93fab70dd0fa89cebdd4b37c732580e9ac.tar.bz2 gentoo-3b8cba93fab70dd0fa89cebdd4b37c732580e9ac.zip |
*/*: [QA] Use consistent function definition formatting
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-analyzer')
46 files changed, 74 insertions, 74 deletions
diff --git a/net-analyzer/argus/argus-3.0.8.2-r1.ebuild b/net-analyzer/argus/argus-3.0.8.2-r1.ebuild index f77fe6f2fe10..2e662864e3e6 100644 --- a/net-analyzer/argus/argus-3.0.8.2-r1.ebuild +++ b/net-analyzer/argus/argus-3.0.8.2-r1.ebuild @@ -62,7 +62,7 @@ src_compile() { emake CCOPT="${CFLAGS} ${LDFLAGS}" } -src_install () { +src_install() { doman man/man5/*.5 man/man8/*.8 dosbin bin/argus{,bug} diff --git a/net-analyzer/argus/argus-3.0.8.2-r2.ebuild b/net-analyzer/argus/argus-3.0.8.2-r2.ebuild index 73a6fd17e88f..807aab798e06 100644 --- a/net-analyzer/argus/argus-3.0.8.2-r2.ebuild +++ b/net-analyzer/argus/argus-3.0.8.2-r2.ebuild @@ -68,7 +68,7 @@ src_compile() { emake CCOPT="${CFLAGS} ${LDFLAGS}" } -src_install () { +src_install() { doman man/man5/*.5 man/man8/*.8 dosbin bin/argus{,bug} diff --git a/net-analyzer/arpwatch/arpwatch-2.1.15-r11.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.15-r11.ebuild index fa78f4e10fa9..d30e87c6a301 100644 --- a/net-analyzer/arpwatch/arpwatch-2.1.15-r11.ebuild +++ b/net-analyzer/arpwatch/arpwatch-2.1.15-r11.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -50,7 +50,7 @@ src_prepare() { cp "${patchdir}"/*.8 ./ || die "failed to copy man pages from ${patchdir}" } -src_install () { +src_install() { dosbin arpwatch arpsnmp arp2ethers massagevendor arpfetch bihourly.sh doman arpwatch.8 arpsnmp.8 arp2ethers.8 massagevendor.8 arpfetch.8 bihourly.8 diff --git a/net-analyzer/arpwatch/arpwatch-2.1.15-r8.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.15-r8.ebuild index e8a073a8aae2..cc30e77d1ac7 100644 --- a/net-analyzer/arpwatch/arpwatch-2.1.15-r8.ebuild +++ b/net-analyzer/arpwatch/arpwatch-2.1.15-r8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -40,7 +40,7 @@ src_prepare() { cp "${WORKDIR}"/arpwatch-patchset/*.8 . || die } -src_install () { +src_install() { dosbin arpwatch arpsnmp arp2ethers massagevendor arpfetch bihourly.sh doman arpwatch.8 arpsnmp.8 arp2ethers.8 massagevendor.8 arpfetch.8 bihourly.8 diff --git a/net-analyzer/arpwatch/arpwatch-2.1.15-r9.ebuild b/net-analyzer/arpwatch/arpwatch-2.1.15-r9.ebuild index c592f5b50ab4..bd5f1d4704ce 100644 --- a/net-analyzer/arpwatch/arpwatch-2.1.15-r9.ebuild +++ b/net-analyzer/arpwatch/arpwatch-2.1.15-r9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -41,7 +41,7 @@ src_prepare() { cp "${WORKDIR}"/arpwatch-patchset/*.8 . || die } -src_install () { +src_install() { dosbin arpwatch arpsnmp arp2ethers massagevendor arpfetch bihourly.sh doman arpwatch.8 arpsnmp.8 arp2ethers.8 massagevendor.8 arpfetch.8 bihourly.8 diff --git a/net-analyzer/barnyard/barnyard-0.2.0-r5.ebuild b/net-analyzer/barnyard/barnyard-0.2.0-r5.ebuild index 5d369ae6705d..3bdf7cdd9cb9 100644 --- a/net-analyzer/barnyard/barnyard-0.2.0-r5.ebuild +++ b/net-analyzer/barnyard/barnyard-0.2.0-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -54,7 +54,7 @@ src_configure() { $(use_enable mysql) } -src_install () { +src_install() { default keepdir /var/log/snort diff --git a/net-analyzer/barnyard2/barnyard2-1.13.ebuild b/net-analyzer/barnyard2/barnyard2-1.13.ebuild index 64f00cbb8a96..b5215fde7f42 100644 --- a/net-analyzer/barnyard2/barnyard2-1.13.ebuild +++ b/net-analyzer/barnyard2/barnyard2-1.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -61,7 +61,7 @@ src_configure() { --without-oracle } -src_install () { +src_install() { default newconfd "${FILESDIR}/barnyard2.confd" barnyard2 diff --git a/net-analyzer/barnyard2/barnyard2-1.9-r2.ebuild b/net-analyzer/barnyard2/barnyard2-1.9-r2.ebuild index e936e8d53c18..7a9d865754c7 100644 --- a/net-analyzer/barnyard2/barnyard2-1.9-r2.ebuild +++ b/net-analyzer/barnyard2/barnyard2-1.9-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -52,7 +52,7 @@ src_configure() { --without-oracle } -src_install () { +src_install() { default newconfd "${FILESDIR}/barnyard2.confd" barnyard2 diff --git a/net-analyzer/bwmon/bwmon-1.3-r2.ebuild b/net-analyzer/bwmon/bwmon-1.3-r2.ebuild index 3b4912656104..6b247db307f2 100644 --- a/net-analyzer/bwmon/bwmon-1.3-r2.ebuild +++ b/net-analyzer/bwmon/bwmon-1.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -30,7 +30,7 @@ src_compile() { emake -C src CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" } -src_install () { +src_install() { dobin ${PN} dodoc README } diff --git a/net-analyzer/calamaris/calamaris-2.59.ebuild b/net-analyzer/calamaris/calamaris-2.59.ebuild index 5829b5a2276d..852e4b508c92 100644 --- a/net-analyzer/calamaris/calamaris-2.59.ebuild +++ b/net-analyzer/calamaris/calamaris-2.59.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -13,7 +13,7 @@ KEYWORDS="amd64 ppc x86" DEPEND="dev-lang/perl" -src_install () { +src_install() { dobin calamaris doman calamaris.1 dodoc CHANGES EXAMPLES README diff --git a/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild b/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild index ef15429658e2..f846b315d95e 100644 --- a/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild +++ b/net-analyzer/dhcpdump/dhcpdump-1.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -28,7 +28,7 @@ src_compile() { emake CC=$(tc-getCC) } -src_install () { +src_install() { dobin ${PN} doman ${PN}.8 dodoc CHANGES CONTACT diff --git a/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild b/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild index 22cf099f37a2..9de58dda9d5f 100644 --- a/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild +++ b/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -48,7 +48,7 @@ src_compile() { emake } -src_install () { +src_install() { dosbin driftnet doman driftnet.1 diff --git a/net-analyzer/fping/fping-2.4_beta2_p161-r2.ebuild b/net-analyzer/fping/fping-2.4_beta2_p161-r2.ebuild index ad06eea4b316..e26b3ddcc421 100644 --- a/net-analyzer/fping/fping-2.4_beta2_p161-r2.ebuild +++ b/net-analyzer/fping/fping-2.4_beta2_p161-r2.ebuild @@ -48,7 +48,7 @@ src_compile() { fi } -src_install () { +src_install() { dosbin "${S}"/${PN} if use ipv6; then newsbin "${S}"-6/fping fping6 diff --git a/net-analyzer/hping/hping-3_pre20051105-r6.ebuild b/net-analyzer/hping/hping-3_pre20051105-r6.ebuild index 48310b956eee..5cc5d5cf2588 100644 --- a/net-analyzer/hping/hping-3_pre20051105-r6.ebuild +++ b/net-analyzer/hping/hping-3_pre20051105-r6.ebuild @@ -69,7 +69,7 @@ src_compile() { "LIBDIR=$(get_libdir)" } -src_install () { +src_install() { dosbin hping3 dosym /usr/sbin/hping3 /usr/sbin/hping dosym /usr/sbin/hping3 /usr/sbin/hping2 diff --git a/net-analyzer/hping/hping-3_pre20141226.ebuild b/net-analyzer/hping/hping-3_pre20141226.ebuild index 3c3a3f166ea6..d58de2c0ec2a 100644 --- a/net-analyzer/hping/hping-3_pre20141226.ebuild +++ b/net-analyzer/hping/hping-3_pre20141226.ebuild @@ -52,7 +52,7 @@ src_compile() { "LIBDIR=$(get_libdir)" } -src_install () { +src_install() { dosbin hping3 dosym hping3 /usr/sbin/hping dosym hping3 /usr/sbin/hping2 diff --git a/net-analyzer/jffnms/jffnms-0.9.4-r1.ebuild b/net-analyzer/jffnms/jffnms-0.9.4-r1.ebuild index ddbea9ec4ebb..c0957c2f5e85 100644 --- a/net-analyzer/jffnms/jffnms-0.9.4-r1.ebuild +++ b/net-analyzer/jffnms/jffnms-0.9.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -30,7 +30,7 @@ pkg_setup() { enewuser jffnms -1 /bin/bash -1 jffnms,apache } -src_install(){ +src_install() { local INSTALL_DIR="/opt/${PN}" local IMAGE_DIR="${D}${INSTALL_DIR}" diff --git a/net-analyzer/masscan/masscan-1.0.4.ebuild b/net-analyzer/masscan/masscan-1.0.4.ebuild index a24963afe763..fda9eec41325 100644 --- a/net-analyzer/masscan/masscan-1.0.4.ebuild +++ b/net-analyzer/masscan/masscan-1.0.4.ebuild @@ -14,7 +14,7 @@ KEYWORDS="~amd64 ~x86" RDEPEND="net-libs/libpcap" -src_prepare(){ +src_prepare() { default sed -i \ diff --git a/net-analyzer/masscan/masscan-1.0.5.ebuild b/net-analyzer/masscan/masscan-1.0.5.ebuild index fe850f770c51..96cf9afa0476 100644 --- a/net-analyzer/masscan/masscan-1.0.5.ebuild +++ b/net-analyzer/masscan/masscan-1.0.5.ebuild @@ -14,7 +14,7 @@ KEYWORDS="~amd64 ~x86" RDEPEND="net-libs/libpcap" -src_prepare(){ +src_prepare() { default sed -i \ diff --git a/net-analyzer/mrtg-ping-probe/mrtg-ping-probe-2.2.0.ebuild b/net-analyzer/mrtg-ping-probe/mrtg-ping-probe-2.2.0.ebuild index 9ccb0a69e267..98d1db01c9ce 100644 --- a/net-analyzer/mrtg-ping-probe/mrtg-ping-probe-2.2.0.ebuild +++ b/net-analyzer/mrtg-ping-probe/mrtg-ping-probe-2.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -26,7 +26,7 @@ src_prepare() { || die } -src_install () { +src_install() { dodoc ChangeLog NEWS README TODO mrtg.cfg-ping doman mrtg-ping-probe.1 dobin check-ping-fmt mrtg-ping-probe "${FILESDIR}"/mrtg-ping-cfg diff --git a/net-analyzer/mrtg/mrtg-2.17.7.ebuild b/net-analyzer/mrtg/mrtg-2.17.7.ebuild index d1c922a90e17..b7136c69d4d7 100644 --- a/net-analyzer/mrtg/mrtg-2.17.7.ebuild +++ b/net-analyzer/mrtg/mrtg-2.17.7.ebuild @@ -37,7 +37,7 @@ src_prepare() { default } -src_install () { +src_install() { keepdir /var/lib/mrtg default diff --git a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2.ebuild b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2.ebuild index c1ded10ef9f3..94445a4c903e 100644 --- a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2.ebuild +++ b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2.ebuild @@ -26,7 +26,7 @@ RDEPEND="dev-perl/DBD-mysql S="${WORKDIR}/${MY_P}" -src_configure(){ +src_configure() { # Should match net-analyzer/{monitoring,nagios}-plugins. econf --libexecdir="/usr/$(get_libdir)/nagios/plugins" } diff --git a/net-analyzer/nbtscan/nbtscan-1.5.1-r3.ebuild b/net-analyzer/nbtscan/nbtscan-1.5.1-r3.ebuild index a44802134398..a7ad294434ed 100644 --- a/net-analyzer/nbtscan/nbtscan-1.5.1-r3.ebuild +++ b/net-analyzer/nbtscan/nbtscan-1.5.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -23,7 +23,7 @@ src_prepare() { "${FILESDIR}"/${P}-script-whitespace.patch } -src_install () { +src_install() { dobin ${PN} dodoc ChangeLog README } diff --git a/net-analyzer/nbtscan/nbtscan-1.6.ebuild b/net-analyzer/nbtscan/nbtscan-1.6.ebuild index 9241d68431a2..b1b5e1ef9c21 100644 --- a/net-analyzer/nbtscan/nbtscan-1.6.ebuild +++ b/net-analyzer/nbtscan/nbtscan-1.6.ebuild @@ -27,6 +27,6 @@ src_prepare() { eautoreconf } -src_install () { +src_install() { default } diff --git a/net-analyzer/net-snmp/net-snmp-5.8-r3.ebuild b/net-analyzer/net-snmp/net-snmp-5.8-r3.ebuild index 5ffc1455c318..ac6797d27dc5 100644 --- a/net-analyzer/net-snmp/net-snmp-5.8-r3.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.8-r3.ebuild @@ -138,7 +138,7 @@ src_compile() { use doc && emake docsdox } -src_install () { +src_install() { # bug #317965 emake -j1 DESTDIR="${D}" install diff --git a/net-analyzer/net-snmp/net-snmp-5.8-r4.ebuild b/net-analyzer/net-snmp/net-snmp-5.8-r4.ebuild index af24fa8d5e87..ced28fac187f 100644 --- a/net-analyzer/net-snmp/net-snmp-5.8-r4.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.8-r4.ebuild @@ -139,7 +139,7 @@ src_compile() { use doc && emake docsdox } -src_install () { +src_install() { # bug #317965 emake -j1 DESTDIR="${D}" install diff --git a/net-analyzer/net-snmp/net-snmp-5.8-r5.ebuild b/net-analyzer/net-snmp/net-snmp-5.8-r5.ebuild index 53090888876c..fd31b84d6b69 100644 --- a/net-analyzer/net-snmp/net-snmp-5.8-r5.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.8-r5.ebuild @@ -146,7 +146,7 @@ src_compile() { use doc && emake docsdox } -src_install () { +src_install() { # bug #317965 emake -j1 DESTDIR="${D}" install diff --git a/net-analyzer/net-snmp/net-snmp-5.8.1_pre1-r1.ebuild b/net-analyzer/net-snmp/net-snmp-5.8.1_pre1-r1.ebuild index d853e1f035cd..3f60c5340f9e 100644 --- a/net-analyzer/net-snmp/net-snmp-5.8.1_pre1-r1.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.8.1_pre1-r1.ebuild @@ -145,7 +145,7 @@ src_compile() { use doc && emake docsdox } -src_install () { +src_install() { # bug #317965 emake -j1 DESTDIR="${D}" install diff --git a/net-analyzer/net-snmp/net-snmp-99999999.ebuild b/net-analyzer/net-snmp/net-snmp-99999999.ebuild index 12ca0cc534b3..dded84ec7341 100644 --- a/net-analyzer/net-snmp/net-snmp-99999999.ebuild +++ b/net-analyzer/net-snmp/net-snmp-99999999.ebuild @@ -149,7 +149,7 @@ src_compile() { use doc && emake docsdox } -src_install () { +src_install() { # bug #317965 emake -j1 DESTDIR="${D}" install diff --git a/net-analyzer/netperf/netperf-2.7.0-r2.ebuild b/net-analyzer/netperf/netperf-2.7.0-r2.ebuild index 86849c8d0dd7..dbeb9077af87 100644 --- a/net-analyzer/netperf/netperf-2.7.0-r2.ebuild +++ b/net-analyzer/netperf/netperf-2.7.0-r2.ebuild @@ -54,7 +54,7 @@ src_configure() { $(use_enable sctp) } -src_install () { +src_install() { default # move netserver into sbin as we had it before 2.4 was released with its diff --git a/net-analyzer/netselect/netselect-0.4-r1.ebuild b/net-analyzer/netselect/netselect-0.4-r1.ebuild index 5b718ae9995e..00f427e799d0 100644 --- a/net-analyzer/netselect/netselect-0.4-r1.ebuild +++ b/net-analyzer/netselect/netselect-0.4-r1.ebuild @@ -32,7 +32,7 @@ src_compile() { emake CC="$(tc-getCC)" LDFLAGS="${CFLAGS} ${LDFLAGS}" } -src_install () { +src_install() { dobin netselect if ! use prefix ; then diff --git a/net-analyzer/netselect/netselect-9999.ebuild b/net-analyzer/netselect/netselect-9999.ebuild index de08fdebbdfa..c41a3b0d656e 100644 --- a/net-analyzer/netselect/netselect-9999.ebuild +++ b/net-analyzer/netselect/netselect-9999.ebuild @@ -38,7 +38,7 @@ src_compile() { emake CC="$(tc-getCC)" LDFLAGS="${CFLAGS} ${LDFLAGS}" } -src_install () { +src_install() { dobin netselect if ! use prefix ; then diff --git a/net-analyzer/nrpe/nrpe-3.2.1-r1.ebuild b/net-analyzer/nrpe/nrpe-3.2.1-r1.ebuild index a40bedffbd07..e6bbf0ba41bb 100644 --- a/net-analyzer/nrpe/nrpe-3.2.1-r1.ebuild +++ b/net-analyzer/nrpe/nrpe-3.2.1-r1.ebuild @@ -74,7 +74,7 @@ src_install() { rm "${D}/usr/bin/nrpe-uninstall" || die 'failed to remove uninstall tool' } -pkg_postinst(){ +pkg_postinst() { elog 'Some users have reported incompatibilities between nrpe-2.x and' elog 'nrpe-3.x. We recommend that you use the same major version for' elog 'both your server and clients.' diff --git a/net-analyzer/nrpe/nrpe-3.2.1-r3.ebuild b/net-analyzer/nrpe/nrpe-3.2.1-r3.ebuild index 0dad49acfdf5..6e332b90dd45 100644 --- a/net-analyzer/nrpe/nrpe-3.2.1-r3.ebuild +++ b/net-analyzer/nrpe/nrpe-3.2.1-r3.ebuild @@ -78,7 +78,7 @@ src_install() { rm "${D}/usr/bin/nrpe-uninstall" || die 'failed to remove uninstall tool' } -pkg_postinst(){ +pkg_postinst() { elog 'Some users have reported incompatibilities between nrpe-2.x and' elog 'nrpe-3.x. We recommend that you use the same major version for' elog 'both your server and clients.' diff --git a/net-analyzer/nrpe/nrpe-4.0.0.ebuild b/net-analyzer/nrpe/nrpe-4.0.0.ebuild index 0dad49acfdf5..6e332b90dd45 100644 --- a/net-analyzer/nrpe/nrpe-4.0.0.ebuild +++ b/net-analyzer/nrpe/nrpe-4.0.0.ebuild @@ -78,7 +78,7 @@ src_install() { rm "${D}/usr/bin/nrpe-uninstall" || die 'failed to remove uninstall tool' } -pkg_postinst(){ +pkg_postinst() { elog 'Some users have reported incompatibilities between nrpe-2.x and' elog 'nrpe-3.x. We recommend that you use the same major version for' elog 'both your server and clients.' diff --git a/net-analyzer/nsat/nsat-1.5-r5.ebuild b/net-analyzer/nsat/nsat-1.5-r5.ebuild index c2decc6abfc8..0b60e57866fa 100644 --- a/net-analyzer/nsat/nsat-1.5-r5.ebuild +++ b/net-analyzer/nsat/nsat-1.5-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -60,7 +60,7 @@ src_compile() { emake MIXOBJ=-lmix++ } -src_install () { +src_install() { dobin nsat smb-ns use X && dobin tools/xnsat diff --git a/net-analyzer/nstats/nstats-0.4-r2.ebuild b/net-analyzer/nstats/nstats-0.4-r2.ebuild index 7da846ede8c9..18e85bd81fe8 100644 --- a/net-analyzer/nstats/nstats-0.4-r2.ebuild +++ b/net-analyzer/nstats/nstats-0.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -24,7 +24,7 @@ DEPEND=" DOCS=( BUGS doc/TODO doc/ChangeLog ) -src_prepare(){ +src_prepare() { epatch \ "${FILESDIR}"/${P}-glibc24.patch \ "${FILESDIR}"/${P}-makefile.patch \ diff --git a/net-analyzer/nstats/nstats-0.4-r3.ebuild b/net-analyzer/nstats/nstats-0.4-r3.ebuild index 8a5efdfe1627..2fd06e90cf7c 100644 --- a/net-analyzer/nstats/nstats-0.4-r3.ebuild +++ b/net-analyzer/nstats/nstats-0.4-r3.ebuild @@ -27,7 +27,7 @@ PATCHES=( ) DOCS=( BUGS doc/TODO doc/ChangeLog ) -src_prepare(){ +src_prepare() { default eautoreconf } diff --git a/net-analyzer/ostinato/ostinato-0.9_p20180522.ebuild b/net-analyzer/ostinato/ostinato-0.9_p20180522.ebuild index 1beae2abfc9f..34b40de482cc 100644 --- a/net-analyzer/ostinato/ostinato-0.9_p20180522.ebuild +++ b/net-analyzer/ostinato/ostinato-0.9_p20180522.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -34,6 +34,6 @@ PATCHES=( "${FILESDIR}/${P}-no-modeltest.patch" ) -src_configure(){ +src_configure() { eqmake5 PREFIX="${ED}/usr" ost.pro } diff --git a/net-analyzer/sguil-server/sguil-server-0.8.0.ebuild b/net-analyzer/sguil-server/sguil-server-0.8.0.ebuild index f6727a2fe11c..916e85a177ae 100644 --- a/net-analyzer/sguil-server/sguil-server-0.8.0.ebuild +++ b/net-analyzer/sguil-server/sguil-server-0.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -33,7 +33,7 @@ pkg_setup() { enewuser sguil -1 -1 /var/lib/sguil sguil } -src_prepare(){ +src_prepare() { sed -i \ -e 's:DEBUG 2:DEBUG 1:' -e 's:DAEMON 0:DAEMON 1:' \ -e 's:SGUILD_LIB_PATH ./lib:SGUILD_LIB_PATH /usr/lib/sguild:g' \ @@ -43,7 +43,7 @@ src_prepare(){ server/sguild.conf || die } -src_install(){ +src_install() { dodoc server/sql_scripts/* dodoc doc/CHANGES doc/OPENSSL.README doc/USAGE doc/INSTALL \ doc/TODO doc/sguildb.dia @@ -70,7 +70,7 @@ src_install(){ } -pkg_postinst(){ +pkg_postinst() { if use ssl && ! [ -f "${ROOT}"/etc/sguil/sguild.key ]; then install_cert /etc/sguil/sguild fi diff --git a/net-analyzer/sguil-server/sguil-server-0.9.0.ebuild b/net-analyzer/sguil-server/sguil-server-0.9.0.ebuild index 22db45ec08fd..2e7c27e1fe29 100644 --- a/net-analyzer/sguil-server/sguil-server-0.9.0.ebuild +++ b/net-analyzer/sguil-server/sguil-server-0.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -33,7 +33,7 @@ pkg_setup() { enewuser sguil -1 -1 /var/lib/sguil sguil } -src_prepare(){ +src_prepare() { sed -i \ -e 's:DEBUG 2:DEBUG 1:' -e 's:DAEMON 0:DAEMON 1:' \ -e 's:SGUILD_LIB_PATH ./lib:SGUILD_LIB_PATH /usr/lib/sguild:g' \ @@ -43,7 +43,7 @@ src_prepare(){ server/sguild.conf || die } -src_install(){ +src_install() { dodoc server/sql_scripts/* dodoc doc/CHANGES doc/OPENSSL.README doc/USAGE doc/INSTALL \ doc/TODO doc/sguildb.dia @@ -70,7 +70,7 @@ src_install(){ } -pkg_postinst(){ +pkg_postinst() { if use ssl && ! [ -f "${ROOT}"/etc/sguil/sguild.key ]; then install_cert /etc/sguil/sguild fi diff --git a/net-analyzer/sguil-server/sguil-server-1.0.0.ebuild b/net-analyzer/sguil-server/sguil-server-1.0.0.ebuild index 98fc91963aac..08a35d0af331 100644 --- a/net-analyzer/sguil-server/sguil-server-1.0.0.ebuild +++ b/net-analyzer/sguil-server/sguil-server-1.0.0.ebuild @@ -35,7 +35,7 @@ pkg_setup() { enewuser sguil -1 -1 /var/lib/sguil sguil } -src_prepare(){ +src_prepare() { default sed -i \ -e 's:DEBUG 2:DEBUG 1:' -e 's:DAEMON 0:DAEMON 1:' \ @@ -45,7 +45,7 @@ src_prepare(){ server/sguild.conf || die } -src_install(){ +src_install() { dodoc server/sql_scripts/* dodoc doc/CHANGES doc/OPENSSL.README doc/USAGE doc/INSTALL \ doc/TODO doc/sguildb.dia @@ -72,7 +72,7 @@ src_install(){ } -pkg_postinst(){ +pkg_postinst() { if use ssl && ! [ -f "${ROOT}"/etc/sguil/sguild.key ]; then install_cert /etc/sguil/sguild fi diff --git a/net-analyzer/sniffit/sniffit-0.3.7-r4.ebuild b/net-analyzer/sniffit/sniffit-0.3.7-r4.ebuild index 404ae9f3cbc8..7429554093a7 100644 --- a/net-analyzer/sniffit/sniffit-0.3.7-r4.ebuild +++ b/net-analyzer/sniffit/sniffit-0.3.7-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -32,7 +32,7 @@ src_prepare() { tc-export CC } -src_install () { +src_install() { dosbin sniffit doman sniffit.5 sniffit.8 diff --git a/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild b/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild index 076c1310b734..18e2cd14b905 100644 --- a/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild +++ b/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild @@ -41,7 +41,7 @@ src_prepare() { snortalog.pl || die } -src_install () { +src_install() { dobin snortalog.pl insinto /etc/snortalog diff --git a/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild b/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild index e85466b632e4..a4283bd9f1ac 100644 --- a/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild +++ b/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -30,7 +30,7 @@ RDEPEND=" S="${WORKDIR}/${MY_P}" -src_install () { +src_install() { dodoc sqlninja-howto.html ChangeLog README if use doc; then diff --git a/net-analyzer/squid-graph/squid-graph-3.2-r1.ebuild b/net-analyzer/squid-graph/squid-graph-3.2-r1.ebuild index 2d14d8885f1b..4c5d34c145d1 100644 --- a/net-analyzer/squid-graph/squid-graph-3.2-r1.ebuild +++ b/net-analyzer/squid-graph/squid-graph-3.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -16,7 +16,7 @@ RDEPEND="dev-perl/GD[png]" S=${WORKDIR}/${PN} -src_install () { +src_install() { dobin apacheconv generate.cgi squid-graph timeconv dodoc README } diff --git a/net-analyzer/squidsites/squidsites-1.01-r2.ebuild b/net-analyzer/squidsites/squidsites-1.01-r2.ebuild index f6bd96865543..01f56bf30cc3 100644 --- a/net-analyzer/squidsites/squidsites-1.01-r2.ebuild +++ b/net-analyzer/squidsites/squidsites-1.01-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -26,7 +26,7 @@ src_compile() { emake CC="$(tc-getCC)" } -src_install () { +src_install() { cd "${WORKDIR}" || die dobin src/squidsites dodoc Authors Bugs ChangeLog GNU-Manifesto.html README |