diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-25 19:18:29 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-25 19:18:29 +0800 |
commit | 2881c8bd6c980d4d01d7e81125d490397453c788 (patch) | |
tree | 79c16868883b09d4e4aae5e2940bd16f8dfc2653 /net | |
parent | 04f3e8cbfa33c9159535249584b5bd34f44479f8 (diff) | |
download | freebsd-ports-gnome-2881c8bd6c980d4d01d7e81125d490397453c788.tar.gz freebsd-ports-gnome-2881c8bd6c980d4d01d7e81125d490397453c788.tar.zst freebsd-ports-gnome-2881c8bd6c980d4d01d7e81125d490397453c788.zip |
isc-dhcp3 port package creates dhcp.leases in wrong directory
When installing a package created from net/isc-dhcp3 port
it creates dhcpd.leases and dhclient.leases in /var/run
directory. However, the dhcpd program expects these files
to be in /var/db.
(it's funny it's the same problem I ran in last weekend on a real machine :-)
PR: ports/51918
Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/isc-dhcp3-server/pkg-plist | 8 | ||||
-rw-r--r-- | net/isc-dhcp3/pkg-plist | 8 | ||||
-rw-r--r-- | net/isc-dhcp30-server/pkg-plist | 8 | ||||
-rw-r--r-- | net/isc-dhcp31-server/pkg-plist | 8 | ||||
-rw-r--r-- | net/isc-dhcp40-server/pkg-plist | 8 |
5 files changed, 20 insertions, 20 deletions
diff --git a/net/isc-dhcp3-server/pkg-plist b/net/isc-dhcp3-server/pkg-plist index 417b684ada49..f60b752e35d9 100644 --- a/net/isc-dhcp3-server/pkg-plist +++ b/net/isc-dhcp3-server/pkg-plist @@ -39,7 +39,7 @@ sbin/dhcrelay %%PORTDOCS%%@dirrm share/doc/isc-dhcp3 @dirrm include/omapip @dirrm include/isc-dhcp -@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases -@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases -@exec [ -f /var/run/dhcpd.leases ] || touch /var/run/dhcpd.leases -@unexec [ -s /var/run/dhcpd.leases ] || rm -f /var/run/dhcpd.leases +@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases +@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases +@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases +@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases diff --git a/net/isc-dhcp3/pkg-plist b/net/isc-dhcp3/pkg-plist index 417b684ada49..f60b752e35d9 100644 --- a/net/isc-dhcp3/pkg-plist +++ b/net/isc-dhcp3/pkg-plist @@ -39,7 +39,7 @@ sbin/dhcrelay %%PORTDOCS%%@dirrm share/doc/isc-dhcp3 @dirrm include/omapip @dirrm include/isc-dhcp -@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases -@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases -@exec [ -f /var/run/dhcpd.leases ] || touch /var/run/dhcpd.leases -@unexec [ -s /var/run/dhcpd.leases ] || rm -f /var/run/dhcpd.leases +@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases +@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases +@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases +@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases diff --git a/net/isc-dhcp30-server/pkg-plist b/net/isc-dhcp30-server/pkg-plist index 417b684ada49..f60b752e35d9 100644 --- a/net/isc-dhcp30-server/pkg-plist +++ b/net/isc-dhcp30-server/pkg-plist @@ -39,7 +39,7 @@ sbin/dhcrelay %%PORTDOCS%%@dirrm share/doc/isc-dhcp3 @dirrm include/omapip @dirrm include/isc-dhcp -@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases -@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases -@exec [ -f /var/run/dhcpd.leases ] || touch /var/run/dhcpd.leases -@unexec [ -s /var/run/dhcpd.leases ] || rm -f /var/run/dhcpd.leases +@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases +@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases +@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases +@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases diff --git a/net/isc-dhcp31-server/pkg-plist b/net/isc-dhcp31-server/pkg-plist index 417b684ada49..f60b752e35d9 100644 --- a/net/isc-dhcp31-server/pkg-plist +++ b/net/isc-dhcp31-server/pkg-plist @@ -39,7 +39,7 @@ sbin/dhcrelay %%PORTDOCS%%@dirrm share/doc/isc-dhcp3 @dirrm include/omapip @dirrm include/isc-dhcp -@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases -@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases -@exec [ -f /var/run/dhcpd.leases ] || touch /var/run/dhcpd.leases -@unexec [ -s /var/run/dhcpd.leases ] || rm -f /var/run/dhcpd.leases +@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases +@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases +@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases +@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases diff --git a/net/isc-dhcp40-server/pkg-plist b/net/isc-dhcp40-server/pkg-plist index 417b684ada49..f60b752e35d9 100644 --- a/net/isc-dhcp40-server/pkg-plist +++ b/net/isc-dhcp40-server/pkg-plist @@ -39,7 +39,7 @@ sbin/dhcrelay %%PORTDOCS%%@dirrm share/doc/isc-dhcp3 @dirrm include/omapip @dirrm include/isc-dhcp -@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases -@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases -@exec [ -f /var/run/dhcpd.leases ] || touch /var/run/dhcpd.leases -@unexec [ -s /var/run/dhcpd.leases ] || rm -f /var/run/dhcpd.leases +@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases +@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases +@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases +@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases |