mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix build on recent current after ascii2addr() removal
PR: ports/110028 Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de> (maintainer) Obtained from: bms
This commit is contained in:
parent
46c8388707
commit
01bd80af4a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187389
@ -19,7 +19,7 @@ DISTNAME= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}
|
||||
MAINTAINER= Joerg.Pulz@frm2.tum.de
|
||||
COMMENT?= The ISC Dynamic Host Configuration Protocol server
|
||||
|
||||
PORTREVISION_SERVER= 1
|
||||
PORTREVISION_SERVER= 2
|
||||
PORTREVISION_CLIENT= 0
|
||||
PORTREVISION_RELAY= 0
|
||||
PORTREVISION_DEVEL= 0
|
||||
|
@ -117,7 +117,7 @@
|
||||
+ set_jail = argv [i];
|
||||
+ if (++i == argc)
|
||||
+ usage ();
|
||||
+ if (ascii2addr (AF_INET, argv[i], &jail_ip_address) < 0)
|
||||
+ if (inet_pton (AF_INET, argv[i], &jail_ip_address) < 0)
|
||||
+ log_fatal ("invalid ip address: %s", argv[i]);
|
||||
+ jail_ip_address = ntohl (jail_ip_address);
|
||||
+ no_dhcpd_jail = 1;
|
||||
@ -146,7 +146,7 @@
|
||||
+ if (!no_dhcpd_jail && (s = getenv ("DHCPD_JAIL_HOSTNAME")) &&
|
||||
+ (s2 = getenv ("DHCPD_JAIL_IPADDRESS"))) {
|
||||
+ set_jail = s;
|
||||
+ if (ascii2addr (AF_INET, s2, &jail_ip_address) < 0)
|
||||
+ if (inet_pton (AF_INET, s2, &jail_ip_address) < 0)
|
||||
+ log_fatal ("invalid ip address: %s", s2);
|
||||
+ jail_ip_address = ntohl (jail_ip_address);
|
||||
+ }
|
||||
|
@ -19,7 +19,7 @@ DISTNAME= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}
|
||||
MAINTAINER= Joerg.Pulz@frm2.tum.de
|
||||
COMMENT?= The ISC Dynamic Host Configuration Protocol server
|
||||
|
||||
PORTREVISION_SERVER= 1
|
||||
PORTREVISION_SERVER= 2
|
||||
PORTREVISION_CLIENT= 0
|
||||
PORTREVISION_RELAY= 0
|
||||
PORTREVISION_DEVEL= 0
|
||||
|
@ -117,7 +117,7 @@
|
||||
+ set_jail = argv [i];
|
||||
+ if (++i == argc)
|
||||
+ usage ();
|
||||
+ if (ascii2addr (AF_INET, argv[i], &jail_ip_address) < 0)
|
||||
+ if (inet_pton (AF_INET, argv[i], &jail_ip_address) < 0)
|
||||
+ log_fatal ("invalid ip address: %s", argv[i]);
|
||||
+ jail_ip_address = ntohl (jail_ip_address);
|
||||
+ no_dhcpd_jail = 1;
|
||||
@ -146,7 +146,7 @@
|
||||
+ if (!no_dhcpd_jail && (s = getenv ("DHCPD_JAIL_HOSTNAME")) &&
|
||||
+ (s2 = getenv ("DHCPD_JAIL_IPADDRESS"))) {
|
||||
+ set_jail = s;
|
||||
+ if (ascii2addr (AF_INET, s2, &jail_ip_address) < 0)
|
||||
+ if (inet_pton (AF_INET, s2, &jail_ip_address) < 0)
|
||||
+ log_fatal ("invalid ip address: %s", s2);
|
||||
+ jail_ip_address = ntohl (jail_ip_address);
|
||||
+ }
|
||||
|
@ -19,7 +19,7 @@ DISTNAME= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}
|
||||
MAINTAINER= Joerg.Pulz@frm2.tum.de
|
||||
COMMENT?= The ISC Dynamic Host Configuration Protocol server
|
||||
|
||||
PORTREVISION_SERVER= 1
|
||||
PORTREVISION_SERVER= 2
|
||||
PORTREVISION_CLIENT= 0
|
||||
PORTREVISION_RELAY= 0
|
||||
PORTREVISION_DEVEL= 0
|
||||
|
@ -117,7 +117,7 @@
|
||||
+ set_jail = argv [i];
|
||||
+ if (++i == argc)
|
||||
+ usage ();
|
||||
+ if (ascii2addr (AF_INET, argv[i], &jail_ip_address) < 0)
|
||||
+ if (inet_pton (AF_INET, argv[i], &jail_ip_address) < 0)
|
||||
+ log_fatal ("invalid ip address: %s", argv[i]);
|
||||
+ jail_ip_address = ntohl (jail_ip_address);
|
||||
+ no_dhcpd_jail = 1;
|
||||
@ -146,7 +146,7 @@
|
||||
+ if (!no_dhcpd_jail && (s = getenv ("DHCPD_JAIL_HOSTNAME")) &&
|
||||
+ (s2 = getenv ("DHCPD_JAIL_IPADDRESS"))) {
|
||||
+ set_jail = s;
|
||||
+ if (ascii2addr (AF_INET, s2, &jail_ip_address) < 0)
|
||||
+ if (inet_pton (AF_INET, s2, &jail_ip_address) < 0)
|
||||
+ log_fatal ("invalid ip address: %s", s2);
|
||||
+ jail_ip_address = ntohl (jail_ip_address);
|
||||
+ }
|
||||
|
@ -19,7 +19,7 @@ DISTNAME= ${PORTNAME}-${RELEASE}${VERSION}${PATCHLEVEL}
|
||||
MAINTAINER= Joerg.Pulz@frm2.tum.de
|
||||
COMMENT?= The ISC Dynamic Host Configuration Protocol server
|
||||
|
||||
PORTREVISION_SERVER= 1
|
||||
PORTREVISION_SERVER= 2
|
||||
PORTREVISION_CLIENT= 0
|
||||
PORTREVISION_RELAY= 0
|
||||
PORTREVISION_DEVEL= 0
|
||||
|
@ -117,7 +117,7 @@
|
||||
+ set_jail = argv [i];
|
||||
+ if (++i == argc)
|
||||
+ usage ();
|
||||
+ if (ascii2addr (AF_INET, argv[i], &jail_ip_address) < 0)
|
||||
+ if (inet_pton (AF_INET, argv[i], &jail_ip_address) < 0)
|
||||
+ log_fatal ("invalid ip address: %s", argv[i]);
|
||||
+ jail_ip_address = ntohl (jail_ip_address);
|
||||
+ no_dhcpd_jail = 1;
|
||||
@ -146,7 +146,7 @@
|
||||
+ if (!no_dhcpd_jail && (s = getenv ("DHCPD_JAIL_HOSTNAME")) &&
|
||||
+ (s2 = getenv ("DHCPD_JAIL_IPADDRESS"))) {
|
||||
+ set_jail = s;
|
||||
+ if (ascii2addr (AF_INET, s2, &jail_ip_address) < 0)
|
||||
+ if (inet_pton (AF_INET, s2, &jail_ip_address) < 0)
|
||||
+ log_fatal ("invalid ip address: %s", s2);
|
||||
+ jail_ip_address = ntohl (jail_ip_address);
|
||||
+ }
|
||||
|
Loading…
Reference in New Issue
Block a user