2:e0d4ea3f3f65 | 3:69cb8db8425c |
---|---|
20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
21 ## SUCH DAMAGE. | 21 ## SUCH DAMAGE. |
22 ## | 22 ## |
23 | 23 |
24 # package version | 24 # package version |
25 %define V_opkg 4.2.1 | 25 %define V_opkg 4.2.2 |
26 %define V_dist 4.2.1 | 26 %define V_dist 4.2.2 |
27 | 27 |
28 # package information | 28 # package information |
29 Name: dhcpd | 29 Name: dhcpd |
30 Summary: DHCP Daemon | 30 Summary: DHCP Daemon |
31 URL: http://www.isc.org/products/DHCP/ | 31 URL: http://www.isc.org/products/DHCP/ |
34 Distribution: OpenPKG Community | 34 Distribution: OpenPKG Community |
35 Class: BASE | 35 Class: BASE |
36 Group: DHCP | 36 Group: DHCP |
37 License: ISC/BSD | 37 License: ISC/BSD |
38 Version: %{V_opkg} | 38 Version: %{V_opkg} |
39 Release: 20110424 | 39 Release: 20110914 |
40 | 40 |
41 # package options | 41 # package options |
42 %option with_fsl yes | 42 %option with_fsl yes |
43 | 43 |
44 # list of sources | 44 # list of sources |
72 regex = dhcp-(\d+\.\d+\.\d+)\.tar\.gz | 72 regex = dhcp-(\d+\.\d+\.\d+)\.tar\.gz |
73 } | 73 } |
74 | 74 |
75 %prep | 75 %prep |
76 %setup -q -n dhcp-%{V_dist} | 76 %setup -q -n dhcp-%{V_dist} |
77 ( echo "/* Placeholder to remove conflicting symbol 'struct option' */" | |
78 echo "/* which is sometimes present in both getopt.h and tree.h */" | |
79 ) >includes/getopt.h | |
77 %patch -p0 | 80 %patch -p0 |
78 | 81 |
79 %build | 82 %build |
80 # configure program | 83 # configure program |
81 %{l_shtool} subst \ | 84 %{l_shtool} subst \ |