dhcpcd-dbus: remove since nothing uses it.

https://roy.marples.name/fossil/dhcpcd-dbus/index:
... to the end user, dhcpcd-dbus by itself is useless. Luckily, dhcpcd-ui has a nice GTK+ and Qt front-ends for monitoring dhcpcd.

THIS IS NOW A DEAD PROJECT
Because dhcpcd-ui (with the GTK+ and Qt interfaces) now use libdhcpcd which talks directly to dhcpcd and wpa_supplicant. This project is only of any use if the user wants DBus bindings to dhcpcd.
This commit is contained in:
travankor 2018-07-19 16:42:00 -07:00 committed by maxice8
parent 9a9f2afd40
commit bc14349212
3 changed files with 0 additions and 115 deletions

View File

@ -1,88 +0,0 @@
The type ssize_t is required in the header, thus move
the include statements for system headers into dchpcd.h
Both glibc and musl libc have strverscmp(3) and the
static version would conflict with the musl libc one.
--- dhcpcd.h 2014-07-14 22:56:47.000000000 +0200
+++ dhcpcd.h 2015-10-11 09:57:47.605604457 +0200
@@ -28,6 +28,22 @@
#ifndef DHCPCD_H
#define DHCPCD_H
+// For strverscmp(3)
+#define _GNU_SOURCE
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/un.h>
+
+#include <errno.h>
+#include <fcntl.h>
+#include <stdbool.h>
+#include <syslog.h>
+#include <unistd.h>
+
extern char *dhcpcd_version;
extern const char *dhcpcd_status;
--- dhcpcd.c 2014-07-14 22:56:47.000000000 +0200
+++ dhcpcd.c 2015-10-11 09:57:11.545607270 +0200
@@ -24,22 +24,6 @@
* SUCH DAMAGE.
*/
-// For strverscmp(3)
-#define _GNU_SOURCE
-
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/un.h>
-
-#include <errno.h>
-#include <fcntl.h>
-#include <stdbool.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <syslog.h>
-#include <unistd.h>
-
#include "defs.h"
#include "dhcpcd.h"
#include "dhcpcd-dbus.h"
@@ -648,31 +648,6 @@
return list;
}
-#ifndef __GLIBC__
-/* Good enough for our needs */
-static int
-strverscmp(const char *s1, const char *s2)
-{
- int s1maj, s1min, s1part;
- int s2maj, s2min, s2part;
- int r;
-
- s1min = s1part = 0;
- if (sscanf(s1, "%d.%d.%d", &s1maj, &s1min, &s1part) < 1)
- return -1;
- s2min = s2part = 0;
- if (sscanf(s2, "%d.%d.%d", &s2maj, &s2min, &s2part) < 1)
- return -1;
- r = s1maj - s2maj;
- if (r != 0)
- return r;
- r = s1min - s2min;
- if (r != 0)
- return r;
- return s1part - s2part;
-}
-#endif
-
void
dhcpcd_init(_unused void *data)
{

View File

@ -1,12 +0,0 @@
The struct timeval is defined in sys/time.h
--- eloop.h 2014-07-14 22:56:47.000000000 +0200
+++ eloop.h 2015-10-11 09:49:29.563643314 +0200
@@ -29,6 +29,7 @@
#define ELOOP_H
#include <time.h>
+#include <sys/time.h>
int add_event(int, void (*)(void *), void *);
int add_event_flags(int, short, void (*)(int, void *), void *);

View File

@ -1,15 +0,0 @@
# Template file for 'dhcpcd-dbus'
pkgname=dhcpcd-dbus
version=0.6.1
revision=2
build_style=configure
configure_args="--prefix=/usr --sysconfdir=/etc --rundir=/run"
hostmakedepends="pkg-config"
makedepends="dbus-devel"
depends="dhcpcd dbus"
short_desc="dhcpcd D-Bus interface"
homepage="http://roy.marples.name/projects/dhcpcd-dbus"
license="BSD"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-dbus-$version.tar.bz2"
checksum=cdb03f21fa2d37be8804d3aba80012ad0735131e263f05bc44c36f5f13d70a06