summaryrefslogtreecommitdiff
path: root/sys-apps/ifplugd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
commitdeba8115d2c2af26df42966b91ef04ff4dd79cde (patch)
tree9a48f42594e1a9e6b2020d5535a784314434d7a7 /sys-apps/ifplugd
parent38423c67c8a23f6a1bc42038193182e2da3116eb (diff)
gentoo resync : 14.05.2020
Diffstat (limited to 'sys-apps/ifplugd')
-rw-r--r--sys-apps/ifplugd/Manifest5
-rw-r--r--sys-apps/ifplugd/files/ifplugd-0.28-gcc10-compatibility.patch13
-rw-r--r--sys-apps/ifplugd/ifplugd-0.28-r11.ebuild (renamed from sys-apps/ifplugd/ifplugd-0.28-r10.ebuild)8
-rw-r--r--sys-apps/ifplugd/metadata.xml6
4 files changed, 26 insertions, 6 deletions
diff --git a/sys-apps/ifplugd/Manifest b/sys-apps/ifplugd/Manifest
index 3cffbc802195..3ea33fae3d36 100644
--- a/sys-apps/ifplugd/Manifest
+++ b/sys-apps/ifplugd/Manifest
@@ -1,3 +1,4 @@
+AUX ifplugd-0.28-gcc10-compatibility.patch 337 BLAKE2B ab06cbb00e7116e314488f564eb98938e77422c94057bbc61fe229b7d11e1cd71a14693e21c99d6d045d8e7ed330a623849b7de18d0a505fb032264c596bded6 SHA512 d4561c4b10dfc6bbe0555863542420dde92cbb988c12acfa81ec66aba7c39470c370a55b1ce217522397f0450996e87b1ae16ded3821fe870904ec01bc6c23a0
AUX ifplugd-0.28-interface.patch 270 BLAKE2B 769102925759f7e61ec80650b1c1879665e7f9311d0838ece9e3703ebc201c2aee3701da000adc923ce8e85ca6538ad11b13fed32b454623884af28c8d8608bf SHA512 0b7ed905b3e3b6a10c4101e42caabbc3d875e22b55268a56eda4dff61db72a03ea444490d01d9ca89d699ef30a091717b0c8bc66079dce193f45990c86b489fb
AUX ifplugd-0.28-musl.patch 422 BLAKE2B 0f8a0bda6810b00a8d07ce04c7b6d3190740d32836e9491bfedb44cf0045881cfbea7f2c14da0fe8cbe79ae14927914efaf57e45d2c1a2fbaa90d79f184e6e82 SHA512 a73baf8022c25fc01adf4bdc0840abf35f8de7846ff3f44f7793b5c9bf7a5940ff1f789fdf522ddc3d3a14ecb56c178ab652a6a92e76ecae1a38af3e7e0121f7
AUX ifplugd-0.28-nlapi.diff 571 BLAKE2B 4c3e70b62882c2b72f1354bda4c15f10bd9f6c116baba1af313b378e78c947fcaaf08dc7a147458ac1337163db590655ff4fdfd51d6a15102945566160a6f21b SHA512 70e67e9abaaa360fed7ce2b195a5226a090245f06c6d8ebe4efadc71eb376a57fd64da1be1bfa483c92e538a5ef85a4756de9f1c8ef4075a7a6cc163766dca2d
@@ -5,5 +6,5 @@ AUX ifplugd-0.28-noip.patch 707 BLAKE2B 8c71d65b766ad163c0d32e74d5643a3ece4236df
AUX ifplugd-0.28-strictalias.patch 1585 BLAKE2B 78d096d5ce1edb60e8f2599d2cc2443486a9f667bdb9c8cd7ea81bbfb8193fb63f546ba5fee8aa7db734f3a784442f6d355d57dd0ffb4ecc5a2c314e91354373 SHA512 c25d397b27b115741eb531ee6a990ced98e48cb9c0ea6d098104a4d1972bf1d9c2ff805c2522ea90a4af7d70d016af05b757750c1a06b010979d76d845707f29
AUX ifplugd.action 891 BLAKE2B 47f664abda4ba6453178f81adfe4dcc9516e75a88bce02bdc03d6ac509457adb342fad71afe7f71a8c1ea5ca4b623d53248571d6ae5094bc05188611082b28dc SHA512 749f503a8e7acc3114af0b795d23e03108040b8df12bae475aa96127d0b135c30382cec6abd0a03147d1f69b545a2c5d2bd8a18c9a9ebe0613e8888ae305f949
DIST ifplugd-0.28.tar.gz 142677 BLAKE2B 78a9d69d30c6f46f2ee2dc96298c6409f274d9b8e5d1e754051ead48c87ea88c4f68329ba1101d825f601c1ecc2ba0ce69753dea75cf006b9c26d33af38ffa04 SHA512 c606e456f81f224eba9f8912e11fb76b759c160313d1db3c9035775b8c1ca57ca10c88dfb33318ba02f5c025218a377ca78ee160fc3d9a31ac6e95b92f340d4f
-EBUILD ifplugd-0.28-r10.ebuild 1202 BLAKE2B 659325913908ce22987cf6f8181e0942a6a98343a4ff6dc25768aa5c46ede200418d236f73f3cdff101505fa012b40156ee3f891cc8e82003d9e77b4034bcc07 SHA512 7bdc40cb58fb8f6b50450a6f036bbebf6c3fadb9cdd205daded66ea96a4134de5e7385f2f5de7c3de0d74b292ee54929596b7189910dd0e895babb1cf074a7f1
-MISC metadata.xml 366 BLAKE2B 0479c465ea03321b635b24e72ca5e6298418a13dfd09ece7550e9baeb3699a80f219596e046d0711d5cecbe482dba3b848f15e2872ee1cf9a9e6ceb181e85d0b SHA512 2c4b526e804b08e6e971e0413b60c0b0684104d2cd2ac810495a6c6b9ec6a2d8ad846beb929b45639f77a707b08edaabb525af8b9ebfab411ad02214ac4bd60f
+EBUILD ifplugd-0.28-r11.ebuild 1250 BLAKE2B dc192f7c55a9babca36bd4f32eed55878889ce472c5a4c5649775d307a5ac04df0631baf0dde03b150ff10656ed0a3ac9e3b575924e3c91064376d2476e808bb SHA512 0428e65d9e81f2f10e03924e852fb6f9984e18aa231a5ced542f3e2fec19e778b20fc2de805db756c00c86534ef2778cd716be89f810d0866557993507e6960a
+MISC metadata.xml 605 BLAKE2B d518bdc4b1cac8fa7c2a4d9a4955f6f747d774fb09345234b0d8098b611e73f10482d8a1230b13dcb511d381f5387d86b5920044e0c054414e3e67cd6afcb735 SHA512 af9eb0cc752d76e5153690463dca9b738e1a6f11971da4881017bea5d3f7cbe9197be634e68c2e94a826d690479ade65af30bf71ead35b493a8a089ec64b0336
diff --git a/sys-apps/ifplugd/files/ifplugd-0.28-gcc10-compatibility.patch b/sys-apps/ifplugd/files/ifplugd-0.28-gcc10-compatibility.patch
new file mode 100644
index 000000000000..c87419e5a545
--- /dev/null
+++ b/sys-apps/ifplugd/files/ifplugd-0.28-gcc10-compatibility.patch
@@ -0,0 +1,13 @@
+--- a/./src/interface.h
++++ b/./src/interface.h
+@@ -21,8 +21,8 @@
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+-int interface_auto_up;
+-int interface_do_message;
++extern int interface_auto_up;
++extern int interface_do_message;
+
+ typedef enum { IFSTATUS_UP, IFSTATUS_DOWN, IFSTATUS_ERR } interface_status_t;
+
diff --git a/sys-apps/ifplugd/ifplugd-0.28-r10.ebuild b/sys-apps/ifplugd/ifplugd-0.28-r11.ebuild
index 9854033e3258..560ccc4ef8f4 100644
--- a/sys-apps/ifplugd/ifplugd-0.28-r10.ebuild
+++ b/sys-apps/ifplugd/ifplugd-0.28-r11.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI="7"
DESCRIPTION="Brings up/down ethernet ports automatically with cable detection"
HOMEPAGE="http://0pointer.de/lennart/projects/ifplugd/"
@@ -25,7 +25,9 @@ PATCHES=(
"${FILESDIR}/${P}-strictalias.patch"
"${FILESDIR}/${P}-noip.patch"
"${FILESDIR}/${P}-musl.patch"
- )
+ "${FILESDIR}/${P}-gcc10-compatibility.patch"
+)
+
DOCS=( doc/README doc/SUPPORTED_DRIVERS )
HTML_DOCS=( doc/README.html doc/style.css )
diff --git a/sys-apps/ifplugd/metadata.xml b/sys-apps/ifplugd/metadata.xml
index bb67101bd413..0065a0bccee6 100644
--- a/sys-apps/ifplugd/metadata.xml
+++ b/sys-apps/ifplugd/metadata.xml
@@ -6,6 +6,10 @@
<name>Gentoo Base System</name>
</maintainer>
<longdescription lang="en">
- Brings up/down ethernet ports automatically with cable detection
+ ifplugd is a Linux daemon which will automatically configure your
+ ethernet device when a cable is plugged in and automatically
+ unconfigure it if the cable is pulled. This is useful on laptops
+ with onboard network adapters, since it will only configure the
+ interface when a cable is really connected.
</longdescription>
</pkgmetadata>