pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


JNCG/QA V4: devfs ACL support
Posted by Anonymous on Tue 17th Dec 2019 14:44
raw | new post

  1. diff --git a/ptxdist/configs/ecu01/kernelconfig-3.10.108 b/ptxdist/configs/ecu01/kernelconfig-3.10.108
  2. index 4e51d76..5e88fe9 100644
  3. --- a/ptxdist/configs/ecu01/kernelconfig-3.10.108
  4. +++ b/ptxdist/configs/ecu01/kernelconfig-3.10.108
  5. @@ -2072,7 +2072,7 @@ CONFIG_IRQCHIP=y
  6.  # CONFIG_EXT3_FS is not set
  7.  CONFIG_EXT4_FS=y
  8.  # CONFIG_EXT4_USE_FOR_EXT23 is not set
  9. -# CONFIG_EXT4_FS_POSIX_ACL is not set
  10. +CONFIG_EXT4_FS_POSIX_ACL=y
  11.  # CONFIG_EXT4_FS_SECURITY is not set
  12.  # CONFIG_EXT4_DEBUG is not set
  13.  CONFIG_JBD2=y
  14. diff --git a/ptxdist/configs/ecu01/ptxconfig b/ptxdist/configs/ecu01/ptxconfig
  15. index 5369d86..068aca2 100644
  16. --- a/ptxdist/configs/ecu01/ptxconfig
  17. +++ b/ptxdist/configs/ecu01/ptxconfig
  18. @@ -579,8 +579,7 @@ PTXCONF_BUSYBOX_CHOWN=y
  19.  PTXCONF_BUSYBOX_CHROOT=y
  20.  PTXCONF_BUSYBOX_CKSUM=y
  21.  # PTXCONF_BUSYBOX_COMM is not set
  22. -PTXCONF_BUSYBOX_CP=y
  23. -# PTXCONF_BUSYBOX_FEATURE_CP_LONG_OPTIONS is not set
  24. +# PTXCONF_BUSYBOX_CP is not set
  25.  PTXCONF_BUSYBOX_CUT=y
  26.  PTXCONF_BUSYBOX_DD=y
  27.  PTXCONF_BUSYBOX_FEATURE_DD_SIGNAL_HANDLING=y
  28. @@ -607,22 +606,13 @@ PTXCONF_BUSYBOX_FEATURE_FANCY_HEAD=y
  29.  # PTXCONF_BUSYBOX_INSTALL is not set
  30.  PTXCONF_BUSYBOX_LN=y
  31.  PTXCONF_BUSYBOX_LOGNAME=y
  32. -PTXCONF_BUSYBOX_LS=y
  33. -PTXCONF_BUSYBOX_FEATURE_LS_FILETYPES=y
  34. -PTXCONF_BUSYBOX_FEATURE_LS_FOLLOWLINKS=y
  35. -PTXCONF_BUSYBOX_FEATURE_LS_RECURSIVE=y
  36. -PTXCONF_BUSYBOX_FEATURE_LS_SORTFILES=y
  37. -PTXCONF_BUSYBOX_FEATURE_LS_TIMESTAMPS=y
  38. -PTXCONF_BUSYBOX_FEATURE_LS_USERNAME=y
  39. -PTXCONF_BUSYBOX_FEATURE_LS_COLOR=y
  40. -PTXCONF_BUSYBOX_FEATURE_LS_COLOR_IS_DEFAULT=y
  41. +# PTXCONF_BUSYBOX_LS is not set
  42.  PTXCONF_BUSYBOX_MD5SUM=y
  43.  PTXCONF_BUSYBOX_MKDIR=y
  44.  # PTXCONF_BUSYBOX_FEATURE_MKDIR_LONG_OPTIONS is not set
  45.  PTXCONF_BUSYBOX_MKFIFO=y
  46.  PTXCONF_BUSYBOX_MKNOD=y
  47. -PTXCONF_BUSYBOX_MV=y
  48. -# PTXCONF_BUSYBOX_FEATURE_MV_LONG_OPTIONS is not set
  49. +# PTXCONF_BUSYBOX_MV is not set
  50.  PTXCONF_BUSYBOX_NICE=y
  51.  PTXCONF_BUSYBOX_NOHUP=y
  52.  PTXCONF_BUSYBOX_OD=y
  53. @@ -669,11 +659,6 @@ PTXCONF_BUSYBOX_WHOAMI=y
  54.  PTXCONF_BUSYBOX_YES=y
  55.  
  56.  #
  57. -# Common options for cp and mv
  58. -#
  59. -PTXCONF_BUSYBOX_FEATURE_PRESERVE_HARDLINKS=y
  60. -
  61. -#
  62.  # Common options for ls, more and telnet
  63.  #
  64.  PTXCONF_BUSYBOX_FEATURE_AUTOWIDTH=y
  65. @@ -1179,7 +1164,289 @@ PTXCONF_BUSYBOX_KLOGD=y
  66.  PTXCONF_BUSYBOX_LOGGER=y
  67.  # PTXCONF_BZIP2 is not set
  68.  # PTXCONF_CONSOLEKIT is not set
  69. -# PTXCONF_COREUTILS is not set
  70. +PTXCONF_COREUTILS=y
  71. +
  72. +#
  73. +# busybox' echo is selected!
  74. +#
  75. +
  76. +#
  77. +# busybox' stat is selected!
  78. +#
  79. +
  80. +#
  81. +# busybox' date is selected!
  82. +#
  83. +# PTXCONF_COREUTILS_HOSTID is not set
  84. +
  85. +#
  86. +# busybox' uname is selected!
  87. +#
  88. +# PTXCONF_COREUTILS_DIRCOLORS is not set
  89. +
  90. +#
  91. +# busybox' seq is selected!
  92. +#
  93. +
  94. +#
  95. +# busybox' nohup is selected!
  96. +#
  97. +
  98. +#
  99. +# busybox' groups is selected!
  100. +#
  101. +# PTXCONF_COREUTILS_SHA224SUM is not set
  102. +
  103. +#
  104. +# busybox' expr is selected!
  105. +#
  106. +# PTXCONF_COREUTILS_TRUNCATE is not set
  107. +# PTXCONF_COREUTILS_CHCON is not set
  108. +
  109. +#
  110. +# busybox' printf is selected!
  111. +#
  112. +
  113. +#
  114. +# busybox' rmdir is selected!
  115. +#
  116. +
  117. +#
  118. +# busybox' printenv is selected!
  119. +#
  120. +# PTXCONF_COREUTILS_EXPAND is not set
  121. +
  122. +#
  123. +# busybox' chmod is selected!
  124. +#
  125. +
  126. +#
  127. +# busybox' chown is selected!
  128. +#
  129. +# PTXCONF_COREUTILS_SHA512SUM is not set
  130. +
  131. +#
  132. +# busybox' uniq is selected!
  133. +#
  134. +# PTXCONF_COREUTILS_INSTALL is not set
  135. +
  136. +#
  137. +# busybox' tty is selected!
  138. +#
  139. +# PTXCONF_COREUTILS_SHA384SUM is not set
  140. +
  141. +#
  142. +# busybox' cut is selected!
  143. +#
  144. +# PTXCONF_COREUTILS_SHRED is not set
  145. +
  146. +#
  147. +# busybox' od is selected!
  148. +#
  149. +
  150. +#
  151. +# busybox' chgrp is selected!
  152. +#
  153. +# PTXCONF_COREUTILS_DIR is not set
  154. +
  155. +#
  156. +# busybox' mkfifo is selected!
  157. +#
  158. +
  159. +#
  160. +# busybox' chroot is selected!
  161. +#
  162. +
  163. +#
  164. +# busybox' ln is selected!
  165. +#
  166. +
  167. +#
  168. +# busybox' sum is selected!
  169. +#
  170. +
  171. +#
  172. +# busybox' users is selected!
  173. +#
  174. +
  175. +#
  176. +# busybox' touch is selected!
  177. +#
  178. +# PTXCONF_COREUTILS_PASTE is not set
  179. +
  180. +#
  181. +# busybox' mknod is selected!
  182. +#
  183. +# PTXCONF_COREUTILS_TSORT is not set
  184. +
  185. +#
  186. +# busybox' mktemp is selected!
  187. +#
  188. +# PTXCONF_COREUTILS_RUNCON is not set
  189. +
  190. +#
  191. +# busybox' readlink is selected!
  192. +#
  193. +
  194. +#
  195. +# busybox' realpath is selected!
  196. +#
  197. +# PTXCONF_COREUTILS_TAC is not set
  198. +
  199. +#
  200. +# busybox' md5sum is selected!
  201. +#
  202. +
  203. +#
  204. +# busybox' dd is selected!
  205. +#
  206. +
  207. +#
  208. +# busybox' df is selected!
  209. +#
  210. +
  211. +#
  212. +# busybox' yes is selected!
  213. +#
  214. +# PTXCONF_COREUTILS_FACTOR is not set
  215. +# PTXCONF_COREUTILS_JOIN is not set
  216. +
  217. +#
  218. +# busybox' pwd is selected!
  219. +#
  220. +# PTXCONF_COREUTILS_SHUF is not set
  221. +# PTXCONF_COREUTILS_SHA1SUM is not set
  222. +
  223. +#
  224. +# busybox' tr is selected!
  225. +#
  226. +# PTXCONF_COREUTILS_CSPLIT is not set
  227. +
  228. +#
  229. +# busybox' du is selected!
  230. +#
  231. +
  232. +#
  233. +# busybox' tail is selected!
  234. +#
  235. +# PTXCONF_COREUTILS_PTX is not set
  236. +# PTXCONF_COREUTILS_BASE64 is not set
  237. +# PTXCONF_COREUTILS_TIMEOUT is not set
  238. +
  239. +#
  240. +# busybox' sort is selected!
  241. +#
  242. +
  243. +#
  244. +# busybox' false is selected!
  245. +#
  246. +
  247. +#
  248. +# busybox' dirname is selected!
  249. +#
  250. +
  251. +#
  252. +# busybox' test is selected!
  253. +#
  254. +# PTXCONF_COREUTILS_FMT is not set
  255. +# PTXCONF_COREUTILS_STDBUF is not set
  256. +# PTXCONF_COREUTILS_PINKY is not set
  257. +
  258. +#
  259. +# busybox' basename is selected!
  260. +#
  261. +
  262. +#
  263. +# busybox' id is selected!
  264. +#
  265. +# PTXCONF_COREUTILS_LINK is not set
  266. +
  267. +#
  268. +# busybox' sleep is selected!
  269. +#
  270. +# PTXCONF_COREUTILS_SHA256SUM is not set
  271. +
  272. +#
  273. +# busybox' env is selected!
  274. +#
  275. +
  276. +#
  277. +# busybox' who is selected!
  278. +#
  279. +
  280. +#
  281. +# busybox' logname is selected!
  282. +#
  283. +
  284. +#
  285. +# busybox' whoami is selected!
  286. +#
  287. +
  288. +#
  289. +# busybox' stty is selected!
  290. +#
  291. +# PTXCONF_COREUTILS_PATHCHK is not set
  292. +# PTXCONF_COREUTILS_NL is not set
  293. +
  294. +#
  295. +# busybox' wc is selected!
  296. +#
  297. +# PTXCONF_COREUTILS_UNLINK is not set
  298. +# PTXCONF_COREUTILS_UNEXPAND is not set
  299. +# PTXCONF_COREUTILS_NPROC is not set
  300. +# PTXCONF_COREUTILS_NUMFMT is not set
  301. +# PTXCONF_COREUTILS_VDIR is not set
  302. +
  303. +#
  304. +# busybox' sync is selected!
  305. +#
  306. +
  307. +#
  308. +# busybox' rm is selected!
  309. +#
  310. +
  311. +#
  312. +# busybox' cksum is selected!
  313. +#
  314. +
  315. +#
  316. +# busybox' tee is selected!
  317. +#
  318. +
  319. +#
  320. +# busybox' mkdir is selected!
  321. +#
  322. +PTXCONF_COREUTILS_MV=y
  323. +PTXCONF_COREUTILS_LS=y
  324. +
  325. +#
  326. +# busybox' head is selected!
  327. +#
  328. +
  329. +#
  330. +# busybox' true is selected!
  331. +#
  332. +
  333. +#
  334. +# busybox' cat is selected!
  335. +#
  336. +
  337. +#
  338. +# busybox' kill is selected!
  339. +#
  340. +PTXCONF_COREUTILS_CP=y
  341. +# PTXCONF_COREUTILS_COMM is not set
  342. +# PTXCONF_COREUTILS_SPLIT is not set
  343. +# PTXCONF_COREUTILS_FOLD is not set
  344. +# PTXCONF_COREUTILS_PR is not set
  345. +
  346. +#
  347. +# busybox' uptime is selected!
  348. +#
  349. +
  350. +#
  351. +# busybox' nice is selected!
  352. +#
  353.  # PTXCONF_CPUFREQUTILS is not set
  354.  # PTXCONF_DAEMONIZE is not set
  355.  # PTXCONF_DASH is not set
  356. @@ -1799,8 +2066,13 @@ PTXCONF_WIRELESS_SHARED=y
  357.  #
  358.  # Disk and File Utilities      
  359.  #
  360. -# PTXCONF_ACL is not set
  361. -# PTXCONF_ATTR is not set
  362. +PTXCONF_ACL=y
  363. +PTXCONF_ACL_TOOLS=y
  364. +PTXCONF_ACL_GETTEXT=y
  365. +PTXCONF_ATTR=y
  366. +PTXCONF_ATTR_TOOLS=y
  367. +PTXCONF_ATTR_SHARED=y
  368. +PTXCONF_ATTR_GETTEXT=y
  369.  # PTXCONF_CIFS_UTILS is not set
  370.  # PTXCONF_DDRESCUE is not set
  371.  PTXCONF_DOSFSTOOLS=y
  372. diff --git a/ptxdist/rules/acl.in b/ptxdist/rules/acl.in
  373. new file mode 100644
  374. index 0000000..ca3f797
  375. --- /dev/null
  376. +++ b/ptxdist/rules/acl.in
  377. @@ -0,0 +1,24 @@
  378. +## SECTION=disk_and_file
  379. +
  380. +menuconfig ACL
  381. +       tristate
  382. +       select ATTR
  383. +       select HOST_GETTEXT if ACL_GETTEXT
  384. +       prompt "acl                           "
  385. +       help
  386. +         Access control list utilities
  387. +
  388. +         This package contains the getfacl and setfacl utilities
  389. +         needed for manipulating access control lists.
  390. +
  391. +if ACL
  392. +
  393. +config ACL_TOOLS
  394. +       bool
  395. +       prompt "install tools"
  396. +
  397. +config ACL_GETTEXT
  398. +       bool
  399. +       prompt "gettext support"
  400. +
  401. +endif
  402. diff --git a/ptxdist/rules/acl.make b/ptxdist/rules/acl.make
  403. new file mode 100644
  404. index 0000000..daa5837
  405. --- /dev/null
  406. +++ b/ptxdist/rules/acl.make
  407. @@ -0,0 +1,70 @@
  408. +# -*-makefile-*-
  409. +#
  410. +# Copyright (C) 2009 by Carsten Schlote <c.schlote@konzeptpark.de>
  411. +#
  412. +# For further information about the PTXdist project and license conditions
  413. +# see the README file.
  414. +#
  415. +
  416. +#
  417. +# We provide this package
  418. +#
  419. +PACKAGES-$(PTXCONF_ACL) += acl
  420. +
  421. +#
  422. +# Paths and names
  423. +#
  424. +ACL_VERSION    := 2.2.53
  425. +ACL_MD5                := 007aabf1dbb550bcddde52a244cd1070
  426. +ACL            := acl-$(ACL_VERSION)
  427. +ACL_SUFFIX     := tar.gz
  428. +ACL_URL                := http://download.savannah.gnu.org/releases/acl/$(ACL).$(ACL_SUFFIX)
  429. +ACL_SOURCE     := $(SRCDIR)/$(ACL).$(ACL_SUFFIX)
  430. +ACL_DIR                := $(BUILDDIR)/$(ACL)
  431. +ACL_LICENSE    := LGPL-2.1-or-later
  432. +ACL_LICENSE_FILES:= file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764
  433. +ifdef PTXCONF_ACL_TOOLS
  434. +ACL_LICENSE+= AND GPL-2.0.or-later
  435. +ACL_LICENSE_FILES+= file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249
  436. +endif
  437. +
  438. +# ----------------------------------------------------------------------------
  439. +# Prepare
  440. +# ----------------------------------------------------------------------------
  441. +
  442. +#
  443. +# autoconf
  444. +#
  445. +ACL_CONF_TOOL  := autoconf
  446. +ACL_CONF_OPT   := \
  447. +       $(CROSS_AUTOCONF_USR) \
  448. +       $(GLOBAL_LARGE_FILE_OPTION) \
  449. +       --disable-nls \
  450. +       --disable-rpath \
  451. +       --disable-debug
  452. +
  453. +# ----------------------------------------------------------------------------
  454. +# Target-Install
  455. +# ----------------------------------------------------------------------------
  456. +
  457. +$(STATEDIR)/acl.targetinstall:
  458. +       @$(call targetinfo)
  459. +
  460. +       @$(call install_init, acl)
  461. +       @$(call install_fixup, acl,PRIORITY,optional)
  462. +       @$(call install_fixup, acl,SECTION,base)
  463. +       @$(call install_fixup, acl,AUTHOR,"Carsten Schlote <c.schlote@konzeptpark.de>")
  464. +       @$(call install_fixup, acl,DESCRIPTION,missing)
  465. +
  466. +ifdef PTXCONF_ACL_TOOLS
  467. +       @$(call install_copy, acl, 0, 0, 0755, -, /usr/bin/chacl)
  468. +       @$(call install_copy, acl, 0, 0, 0755, -, /usr/bin/setfacl)
  469. +       @$(call install_copy, acl, 0, 0, 0755, -, /usr/bin/getfacl)
  470. +endif
  471. +       @$(call install_lib, acl, 0, 0, 0644, libacl)
  472. +
  473. +       @$(call install_finish, acl)
  474. +
  475. +       @$(call touch)
  476. +
  477. +# vim: syntax=make
  478. diff --git a/ptxdist/rules/coreutils.in b/ptxdist/rules/coreutils.in
  479. new file mode 100644
  480. index 0000000..19a9375
  481. --- /dev/null
  482. +++ b/ptxdist/rules/coreutils.in
  483. @@ -0,0 +1,780 @@
  484. +## SECTION=shell_and_console
  485. +
  486. +menuconfig COREUTILS
  487. +       tristate
  488. +       prompt "coreutils                     "
  489. +       select LIBC_M if COREUTILS_SORT
  490. +       select LIBC_RT
  491. +       select GCCLIBS_GCC_S
  492. +       select LIBSELINUX if GLOBAL_SELINUX
  493. +       help
  494. +         This package contains the essential basic system utilities.
  495. +
  496. +         Specifically, this package includes:
  497. +         basename cat chgrp chmod chown chroot cksum comm cp csplit
  498. +         cut date dd df dir dircolors dirname du echo env expand expr
  499. +         factor false fmt fold groups head hostid id install join
  500. +         link ln logname ls md5sum mkdir mkfifo mknod mv nice nl
  501. +         nohup od paste pathchk pinky pr printenv printf ptx pwd
  502. +         readlink rm rmdir sha1sum seq shred sleep sort split stat
  503. +         stty sum sync tac tail tee test touch tr true tsort tty
  504. +         uname unexpand uniq unlink users vdir wc who whoami yes
  505. +
  506. +if COREUTILS
  507. +
  508. +config COREUTILS_ECHO
  509. +       bool
  510. +       prompt "echo"
  511. +       depends on !BUSYBOX_ECHO || ALLYES
  512. +
  513. +comment "busybox' echo is selected!"
  514. +       depends on BUSYBOX_ECHO
  515. +
  516. +config COREUTILS_STAT
  517. +       bool
  518. +       prompt "stat"
  519. +       depends on !BUSYBOX_STAT || ALLYES
  520. +
  521. +comment "busybox' stat is selected!"
  522. +       depends on BUSYBOX_STAT
  523. +
  524. +config COREUTILS_DATE
  525. +       bool
  526. +       prompt "date"
  527. +       depends on !BUSYBOX_DATE || ALLYES
  528. +
  529. +comment "busybox' date is selected!"
  530. +       depends on BUSYBOX_DATE
  531. +
  532. +config COREUTILS_HOSTID
  533. +       bool
  534. +       prompt "hostid"
  535. +       depends on !BUSYBOX_HOSTID || ALLYES
  536. +
  537. +comment "busybox' hostid is selected!"
  538. +       depends on BUSYBOX_HOSTID
  539. +
  540. +config COREUTILS_UNAME
  541. +       bool
  542. +       prompt "uname"
  543. +       depends on !BUSYBOX_UNAME || ALLYES
  544. +
  545. +comment "busybox' uname is selected!"
  546. +       depends on BUSYBOX_UNAME
  547. +
  548. +config COREUTILS_DIRCOLORS
  549. +       bool
  550. +       prompt "dircolors"
  551. +
  552. +config COREUTILS_SEQ
  553. +       bool
  554. +       prompt "seq"
  555. +       depends on !BUSYBOX_SEQ || ALLYES
  556. +       help
  557. +         print a sequence of numbers
  558. +
  559. +comment "busybox' seq is selected!"
  560. +       depends on BUSYBOX_SEQ
  561. +
  562. +config COREUTILS_NOHUP
  563. +       bool
  564. +       prompt "nohup"
  565. +       depends on !BUSYBOX_NOHUP || ALLYES
  566. +
  567. +comment "busybox' nohup is selected!"
  568. +       depends on BUSYBOX_NOHUP
  569. +
  570. +config COREUTILS_GROUPS
  571. +       bool
  572. +       prompt "groups"
  573. +       depends on !BUSYBOX_GROUPS || ALLYES
  574. +
  575. +comment "busybox' groups is selected!"
  576. +       depends on BUSYBOX_GROUPS
  577. +
  578. +config COREUTILS_SHA224SUM
  579. +       bool
  580. +       prompt "sha224sum"
  581. +
  582. +config COREUTILS_EXPR
  583. +       bool
  584. +       prompt "expr"
  585. +       depends on !BUSYBOX_EXPR || ALLYES
  586. +
  587. +comment "busybox' expr is selected!"
  588. +       depends on BUSYBOX_EXPR
  589. +
  590. +config COREUTILS_TRUNCATE
  591. +       bool
  592. +       prompt "truncate"
  593. +
  594. +config COREUTILS_CHCON
  595. +       bool
  596. +       prompt "chcon"
  597. +       depends on !BUSYBOX_CHCON || ALLYES
  598. +
  599. +comment "busybox' chcon is selected!"
  600. +       depends on BUSYBOX_CHCON
  601. +
  602. +config COREUTILS_PRINTF
  603. +       bool
  604. +       prompt "printf"
  605. +       depends on !BUSYBOX_PRINTF || ALLYES
  606. +
  607. +comment "busybox' printf is selected!"
  608. +       depends on BUSYBOX_PRINTF
  609. +
  610. +config COREUTILS_RMDIR
  611. +       bool
  612. +       prompt "rmdir"
  613. +       depends on !BUSYBOX_RMDIR || ALLYES
  614. +
  615. +comment "busybox' rmdir is selected!"
  616. +       depends on BUSYBOX_RMDIR
  617. +
  618. +config COREUTILS_PRINTENV
  619. +       bool
  620. +       prompt "printenv"
  621. +       depends on !BUSYBOX_PRINTENV || ALLYES
  622. +
  623. +comment "busybox' printenv is selected!"
  624. +       depends on BUSYBOX_PRINTENV
  625. +
  626. +config COREUTILS_EXPAND
  627. +       bool
  628. +       prompt "expand"
  629. +       depends on !BUSYBOX_EXPAND || ALLYES
  630. +
  631. +comment "busybox' expand is selected!"
  632. +       depends on BUSYBOX_EXPAND
  633. +
  634. +config COREUTILS_CHMOD
  635. +       bool
  636. +       prompt "chmod"
  637. +       depends on !BUSYBOX_CHMOD || ALLYES
  638. +
  639. +comment "busybox' chmod is selected!"
  640. +       depends on BUSYBOX_CHMOD
  641. +
  642. +config COREUTILS_CHOWN
  643. +       bool
  644. +       prompt "chown"
  645. +       depends on !BUSYBOX_CHOWN || ALLYES
  646. +
  647. +comment "busybox' chown is selected!"
  648. +       depends on BUSYBOX_CHOWN
  649. +
  650. +config COREUTILS_SHA512SUM
  651. +       bool
  652. +       prompt "sha512sum"
  653. +       depends on !BUSYBOX_SHA512SUM || ALLYES
  654. +
  655. +comment "busybox' sha512sum is selected!"
  656. +       depends on BUSYBOX_SHA512SUM
  657. +
  658. +config COREUTILS_UNIQ
  659. +       bool
  660. +       prompt "uniq"
  661. +       depends on !BUSYBOX_UNIQ || ALLYES
  662. +
  663. +comment "busybox' uniq is selected!"
  664. +       depends on BUSYBOX_UNIQ
  665. +
  666. +config COREUTILS_INSTALL
  667. +       bool
  668. +       prompt "install"
  669. +       depends on !BUSYBOX_INSTALL || ALLYES
  670. +
  671. +comment "busybox' install is selected!"
  672. +       depends on BUSYBOX_INSTALL
  673. +
  674. +config COREUTILS_TTY
  675. +       bool
  676. +       prompt "tty"
  677. +       depends on !BUSYBOX_TTY || ALLYES
  678. +
  679. +comment "busybox' tty is selected!"
  680. +       depends on BUSYBOX_TTY
  681. +
  682. +config COREUTILS_SHA384SUM
  683. +       bool
  684. +       prompt "sha384sum"
  685. +
  686. +config COREUTILS_CUT
  687. +       bool
  688. +       prompt "cut"
  689. +       depends on !BUSYBOX_CUT || ALLYES
  690. +
  691. +comment "busybox' cut is selected!"
  692. +       depends on BUSYBOX_CUT
  693. +
  694. +config COREUTILS_SHRED
  695. +       bool
  696. +       prompt "shred"
  697. +       depends on !BUSYBOX_SHRED || ALLYES
  698. +
  699. +comment "busybox' shred is selected!"
  700. +       depends on BUSYBOX_SHRED
  701. +
  702. +config COREUTILS_OD
  703. +       bool
  704. +       prompt "od"
  705. +       depends on !BUSYBOX_OD || ALLYES
  706. +
  707. +comment "busybox' od is selected!"
  708. +       depends on BUSYBOX_OD
  709. +
  710. +config COREUTILS_CHGRP
  711. +       bool
  712. +       prompt "chgrp"
  713. +       depends on !BUSYBOX_CHGRP || ALLYES
  714. +
  715. +comment "busybox' chgrp is selected!"
  716. +       depends on BUSYBOX_CHGRP
  717. +
  718. +config COREUTILS_DIR
  719. +       bool
  720. +       prompt "dir"
  721. +
  722. +config COREUTILS_MKFIFO
  723. +       bool
  724. +       prompt "mkfifo"
  725. +       depends on !BUSYBOX_MKFIFO || ALLYES
  726. +
  727. +comment "busybox' mkfifo is selected!"
  728. +       depends on BUSYBOX_MKFIFO
  729. +
  730. +config COREUTILS_CHROOT
  731. +       bool
  732. +       prompt "chroot"
  733. +       depends on !BUSYBOX_CHROOT || ALLYES
  734. +
  735. +comment "busybox' chroot is selected!"
  736. +       depends on BUSYBOX_CHROOT
  737. +
  738. +config COREUTILS_LN
  739. +       bool
  740. +       prompt "ln"
  741. +       depends on !BUSYBOX_LN || ALLYES
  742. +
  743. +comment "busybox' ln is selected!"
  744. +       depends on BUSYBOX_LN
  745. +
  746. +config COREUTILS_SUM
  747. +       bool
  748. +       prompt "sum"
  749. +       depends on !BUSYBOX_SUM || ALLYES
  750. +
  751. +comment "busybox' sum is selected!"
  752. +       depends on BUSYBOX_SUM
  753. +
  754. +config COREUTILS_USERS
  755. +       bool
  756. +       prompt "users"
  757. +       depends on !BUSYBOX_USERS || ALLYES
  758. +
  759. +comment "busybox' users is selected!"
  760. +       depends on BUSYBOX_USERS
  761. +
  762. +config COREUTILS_TOUCH
  763. +       bool
  764. +       prompt "touch"
  765. +       depends on !BUSYBOX_TOUCH || ALLYES
  766. +
  767. +comment "busybox' touch is selected!"
  768. +       depends on BUSYBOX_TOUCH
  769. +
  770. +config COREUTILS_PASTE
  771. +       bool
  772. +       prompt "paste"
  773. +       depends on !BUSYBOX_PASTE || ALLYES
  774. +
  775. +comment "busybox' paste is selected!"
  776. +       depends on BUSYBOX_PASTE
  777. +
  778. +config COREUTILS_MKNOD
  779. +       bool
  780. +       prompt "mknod"
  781. +       depends on !BUSYBOX_MKNOD || ALLYES
  782. +
  783. +comment "busybox' mknod is selected!"
  784. +       depends on BUSYBOX_MKNOD
  785. +
  786. +config COREUTILS_TSORT
  787. +       bool
  788. +       prompt "tsort"
  789. +
  790. +config COREUTILS_MKTEMP
  791. +       bool
  792. +       prompt "mktemp"
  793. +       depends on !BUSYBOX_MKTEMP || ALLYES
  794. +
  795. +comment "busybox' mktemp is selected!"
  796. +       depends on BUSYBOX_MKTEMP
  797. +
  798. +config COREUTILS_RUNCON
  799. +       bool
  800. +       prompt "runcon"
  801. +       depends on !BUSYBOX_RUNCON || ALLYES
  802. +
  803. +comment "busybox' runcon is selected!"
  804. +       depends on BUSYBOX_RUNCON
  805. +
  806. +config COREUTILS_READLINK
  807. +       bool
  808. +       prompt "readlink"
  809. +       depends on !BUSYBOX_READLINK || ALLYES
  810. +       help
  811. +         the readlink tool
  812. +
  813. +comment "busybox' readlink is selected!"
  814. +       depends on BUSYBOX_READLINK
  815. +
  816. +config COREUTILS_REALPATH
  817. +       bool
  818. +       prompt "realpath"
  819. +       depends on !BUSYBOX_REALPATH || ALLYES
  820. +       help
  821. +         return the canonicalised absolute pathname
  822. +
  823. +comment "busybox' realpath is selected!"
  824. +       depends on BUSYBOX_REALPATH
  825. +
  826. +config COREUTILS_TAC
  827. +       bool
  828. +       prompt "tac"
  829. +       depends on !BUSYBOX_TAC || ALLYES
  830. +
  831. +comment "busybox' tac is selected!"
  832. +       depends on BUSYBOX_TAC
  833. +
  834. +config COREUTILS_MD5SUM
  835. +       bool
  836. +       prompt "md5sum"
  837. +       depends on !BUSYBOX_MD5SUM || ALLYES
  838. +       help
  839. +         compute and check MD5 message digest
  840. +
  841. +comment "busybox' md5sum is selected!"
  842. +       depends on BUSYBOX_MD5SUM
  843. +
  844. +config COREUTILS_DD
  845. +       bool
  846. +       prompt "dd"
  847. +       depends on !BUSYBOX_DD || ALLYES
  848. +       help
  849. +         convert and copy a file
  850. +
  851. +comment "busybox' dd is selected!"
  852. +       depends on BUSYBOX_DD
  853. +
  854. +config COREUTILS_DF
  855. +       bool
  856. +       prompt "df"
  857. +       depends on !BUSYBOX_DF || ALLYES
  858. +       help
  859. +         report file system disk space usage
  860. +
  861. +comment "busybox' df is selected!"
  862. +       depends on BUSYBOX_DF
  863. +
  864. +config COREUTILS_YES
  865. +       bool
  866. +       prompt "yes"
  867. +       depends on !BUSYBOX_YES || ALLYES
  868. +
  869. +comment "busybox' yes is selected!"
  870. +       depends on BUSYBOX_YES
  871. +
  872. +config COREUTILS_FACTOR
  873. +       bool
  874. +       prompt "factor"
  875. +       depends on !BUSYBOX_FACTOR || ALLYES
  876. +
  877. +comment "busybox' factor is selected!"
  878. +       depends on BUSYBOX_FACTOR
  879. +
  880. +config COREUTILS_JOIN
  881. +       bool
  882. +       prompt "join"
  883. +
  884. +config COREUTILS_PWD
  885. +       bool
  886. +       prompt "pwd"
  887. +       depends on !BUSYBOX_PWD || ALLYES
  888. +
  889. +comment "busybox' pwd is selected!"
  890. +       depends on BUSYBOX_PWD
  891. +
  892. +config COREUTILS_SHUF
  893. +       bool
  894. +       prompt "shuf"
  895. +
  896. +config COREUTILS_SHA1SUM
  897. +       bool
  898. +       prompt "sha1sum"
  899. +       depends on !BUSYBOX_SHA1SUM || ALLYES
  900. +
  901. +comment "busybox' sha1sum is selected!"
  902. +       depends on BUSYBOX_SHA1SUM
  903. +
  904. +config COREUTILS_TR
  905. +       bool
  906. +       prompt "tr"
  907. +       depends on !BUSYBOX_TR || ALLYES
  908. +
  909. +comment "busybox' tr is selected!"
  910. +       depends on BUSYBOX_TR
  911. +
  912. +config COREUTILS_CSPLIT
  913. +       bool
  914. +       prompt "csplit"
  915. +
  916. +config COREUTILS_DU
  917. +       bool
  918. +       prompt "du"
  919. +       depends on !BUSYBOX_DU || ALLYES
  920. +
  921. +comment "busybox' du is selected!"
  922. +       depends on BUSYBOX_DU
  923. +
  924. +config COREUTILS_TAIL
  925. +       bool
  926. +       prompt "tail"
  927. +       depends on !BUSYBOX_TAIL || ALLYES
  928. +
  929. +comment "busybox' tail is selected!"
  930. +       depends on BUSYBOX_TAIL
  931. +
  932. +config COREUTILS_PTX
  933. +       bool
  934. +       prompt "ptx"
  935. +
  936. +config COREUTILS_BASE64
  937. +       bool
  938. +       prompt "base64"
  939. +
  940. +config COREUTILS_TIMEOUT
  941. +       bool
  942. +       prompt "timeout"
  943. +       depends on !BUSYBOX_TIMEOUT || ALLYES
  944. +
  945. +comment "busybox' timeout is selected!"
  946. +       depends on BUSYBOX_TIMEOUT
  947. +
  948. +config COREUTILS_SORT
  949. +       bool
  950. +       prompt "sort"
  951. +       depends on !BUSYBOX_SORT || ALLYES
  952. +
  953. +comment "busybox' sort is selected!"
  954. +       depends on BUSYBOX_SORT
  955. +
  956. +config COREUTILS_FALSE
  957. +       bool
  958. +       prompt "false"
  959. +       depends on !BUSYBOX_FALSE || ALLYES
  960. +
  961. +comment "busybox' false is selected!"
  962. +       depends on BUSYBOX_FALSE
  963. +
  964. +config COREUTILS_DIRNAME
  965. +       bool
  966. +       prompt "dirname"
  967. +       depends on !BUSYBOX_DIRNAME || ALLYES
  968. +
  969. +comment "busybox' dirname is selected!"
  970. +       depends on BUSYBOX_DIRNAME
  971. +
  972. +config COREUTILS_TEST
  973. +       bool
  974. +       prompt "test"
  975. +       depends on !BUSYBOX_TEST || ALLYES
  976. +
  977. +comment "busybox' test is selected!"
  978. +       depends on BUSYBOX_TEST
  979. +
  980. +config COREUTILS_FMT
  981. +       bool
  982. +       prompt "fmt"
  983. +
  984. +config COREUTILS_STDBUF
  985. +       bool
  986. +       prompt "stdbuf"
  987. +
  988. +config COREUTILS_PINKY
  989. +       bool
  990. +       prompt "pinky"
  991. +
  992. +config COREUTILS_BASENAME
  993. +       bool
  994. +       prompt "basename"
  995. +       depends on !BUSYBOX_BASENAME || ALLYES
  996. +
  997. +comment "busybox' basename is selected!"
  998. +       depends on BUSYBOX_BASENAME
  999. +
  1000. +config COREUTILS_ID
  1001. +       bool
  1002. +       prompt "id"
  1003. +       depends on !BUSYBOX_ID || ALLYES
  1004. +
  1005. +comment "busybox' id is selected!"
  1006. +       depends on BUSYBOX_ID
  1007. +
  1008. +config COREUTILS_LINK
  1009. +       bool
  1010. +       prompt "link"
  1011. +       depends on !BUSYBOX_LINK || ALLYES
  1012. +
  1013. +comment "busybox' link is selected!"
  1014. +       depends on BUSYBOX_LINK
  1015. +
  1016. +config COREUTILS_SLEEP
  1017. +       bool
  1018. +       prompt "sleep"
  1019. +       depends on !BUSYBOX_SLEEP || ALLYES
  1020. +
  1021. +comment "busybox' sleep is selected!"
  1022. +       depends on BUSYBOX_SLEEP
  1023. +
  1024. +config COREUTILS_SHA256SUM
  1025. +       bool
  1026. +       prompt "sha256sum"
  1027. +       depends on !BUSYBOX_SHA256SUM || ALLYES
  1028. +
  1029. +comment "busybox' sha256sum is selected!"
  1030. +       depends on BUSYBOX_SHA256SUM
  1031. +
  1032. +config COREUTILS_ENV
  1033. +       bool
  1034. +       prompt "env"
  1035. +       depends on !BUSYBOX_ENV || ALLYES
  1036. +
  1037. +comment "busybox' env is selected!"
  1038. +       depends on BUSYBOX_ENV
  1039. +
  1040. +config COREUTILS_WHO
  1041. +       bool
  1042. +       prompt "who"
  1043. +       depends on !BUSYBOX_WHO || ALLYES
  1044. +
  1045. +comment "busybox' who is selected!"
  1046. +       depends on BUSYBOX_WHO
  1047. +
  1048. +config COREUTILS_LOGNAME
  1049. +       bool
  1050. +       prompt "logname"
  1051. +       depends on !BUSYBOX_LOGNAME || ALLYES
  1052. +
  1053. +comment "busybox' logname is selected!"
  1054. +       depends on BUSYBOX_LOGNAME
  1055. +
  1056. +config COREUTILS_WHOAMI
  1057. +       bool
  1058. +       prompt "whoami"
  1059. +       depends on !BUSYBOX_WHOAMI || ALLYES
  1060. +
  1061. +comment "busybox' whoami is selected!"
  1062. +       depends on BUSYBOX_WHOAMI
  1063. +
  1064. +config COREUTILS_STTY
  1065. +       bool
  1066. +       prompt "stty"
  1067. +       depends on !BUSYBOX_STTY || ALLYES
  1068. +
  1069. +comment "busybox' stty is selected!"
  1070. +       depends on BUSYBOX_STTY
  1071. +
  1072. +config COREUTILS_PATHCHK
  1073. +       bool
  1074. +       prompt "pathchk"
  1075. +
  1076. +config COREUTILS_NL
  1077. +       bool
  1078. +       prompt "nl"
  1079. +       depends on !BUSYBOX_NL || ALLYES
  1080. +
  1081. +comment "busybox' nl is selected!"
  1082. +       depends on BUSYBOX_NL
  1083. +
  1084. +config COREUTILS_WC
  1085. +       bool
  1086. +       prompt "wc"
  1087. +       depends on !BUSYBOX_WC || ALLYES
  1088. +
  1089. +comment "busybox' wc is selected!"
  1090. +       depends on BUSYBOX_WC
  1091. +
  1092. +config COREUTILS_UNLINK
  1093. +       bool
  1094. +       prompt "unlink"
  1095. +
  1096. +config COREUTILS_UNEXPAND
  1097. +       bool
  1098. +       prompt "unexpand"
  1099. +       depends on !BUSYBOX_UNEXPAND || ALLYES
  1100. +
  1101. +comment "busybox' unexpand is selected!"
  1102. +       depends on BUSYBOX_UNEXPAND
  1103. +
  1104. +config COREUTILS_NPROC
  1105. +       bool
  1106. +       prompt "nproc"
  1107. +       depends on !BUSYBOX_NPROC || ALLYES
  1108. +
  1109. +comment "busybox' nproc is selected!"
  1110. +       depends on BUSYBOX_NPROC
  1111. +
  1112. +config COREUTILS_NUMFMT
  1113. +       bool
  1114. +       prompt "numfmt"
  1115. +
  1116. +config COREUTILS_VDIR
  1117. +       bool
  1118. +       prompt "vdir"
  1119. +
  1120. +config COREUTILS_SYNC
  1121. +       bool
  1122. +       prompt "sync"
  1123. +       depends on !BUSYBOX_SYNC || ALLYES
  1124. +
  1125. +comment "busybox' sync is selected!"
  1126. +       depends on BUSYBOX_SYNC
  1127. +
  1128. +config COREUTILS_RM
  1129. +       bool
  1130. +       prompt "rm"
  1131. +       depends on !BUSYBOX_RM || ALLYES
  1132. +
  1133. +comment "busybox' rm is selected!"
  1134. +       depends on BUSYBOX_RM
  1135. +
  1136. +config COREUTILS_CKSUM
  1137. +       bool
  1138. +       prompt "cksum"
  1139. +       depends on !BUSYBOX_CKSUM || ALLYES
  1140. +
  1141. +comment "busybox' cksum is selected!"
  1142. +       depends on BUSYBOX_CKSUM
  1143. +
  1144. +config COREUTILS_TEE
  1145. +       bool
  1146. +       prompt "tee"
  1147. +       depends on !BUSYBOX_TEE || ALLYES
  1148. +
  1149. +comment "busybox' tee is selected!"
  1150. +       depends on BUSYBOX_TEE
  1151. +
  1152. +config COREUTILS_MKDIR
  1153. +       bool
  1154. +       prompt "mkdir"
  1155. +       depends on !BUSYBOX_MKDIR || ALLYES
  1156. +
  1157. +comment "busybox' mkdir is selected!"
  1158. +       depends on BUSYBOX_MKDIR
  1159. +
  1160. +config COREUTILS_MV
  1161. +       bool
  1162. +       prompt "mv"
  1163. +       depends on !BUSYBOX_MV || ALLYES
  1164. +
  1165. +comment "busybox' mv is selected!"
  1166. +       depends on BUSYBOX_MV
  1167. +
  1168. +config COREUTILS_LS
  1169. +       bool
  1170. +       prompt "ls"
  1171. +       depends on !BUSYBOX_LS || ALLYES
  1172. +
  1173. +comment "busybox' ls is selected!"
  1174. +       depends on BUSYBOX_LS
  1175. +
  1176. +config COREUTILS_HEAD
  1177. +       bool
  1178. +       prompt "head"
  1179. +       depends on !BUSYBOX_HEAD || ALLYES
  1180. +
  1181. +comment "busybox' head is selected!"
  1182. +       depends on BUSYBOX_HEAD
  1183. +
  1184. +config COREUTILS_TRUE
  1185. +       bool
  1186. +       prompt "true"
  1187. +       depends on !BUSYBOX_TRUE || ALLYES
  1188. +
  1189. +comment "busybox' true is selected!"
  1190. +       depends on BUSYBOX_TRUE
  1191. +
  1192. +config COREUTILS_CAT
  1193. +       bool
  1194. +       prompt "cat"
  1195. +       depends on !BUSYBOX_CAT || ALLYES
  1196. +
  1197. +comment "busybox' cat is selected!"
  1198. +       depends on BUSYBOX_CAT
  1199. +
  1200. +config COREUTILS_KILL
  1201. +       bool
  1202. +       prompt "kill"
  1203. +       depends on !BUSYBOX_KILL || ALLYES
  1204. +
  1205. +comment "busybox' kill is selected!"
  1206. +       depends on BUSYBOX_KILL
  1207. +
  1208. +config COREUTILS_CP
  1209. +       bool
  1210. +       prompt "cp"
  1211. +       depends on !BUSYBOX_CP || ALLYES
  1212. +       help
  1213. +         copy files and directories
  1214. +
  1215. +comment "busybox' cp is selected!"
  1216. +       depends on BUSYBOX_CP
  1217. +
  1218. +config COREUTILS_COMM
  1219. +       bool
  1220. +       prompt "comm"
  1221. +       depends on !BUSYBOX_COMM || ALLYES
  1222. +
  1223. +comment "busybox' comm is selected!"
  1224. +       depends on BUSYBOX_COMM
  1225. +
  1226. +config COREUTILS_SPLIT
  1227. +       bool
  1228. +       prompt "split"
  1229. +       depends on !BUSYBOX_SPLIT || ALLYES
  1230. +
  1231. +comment "busybox' split is selected!"
  1232. +       depends on BUSYBOX_SPLIT
  1233. +
  1234. +config COREUTILS_FOLD
  1235. +       bool
  1236. +       prompt "fold"
  1237. +       depends on !BUSYBOX_FOLD || ALLYES
  1238. +
  1239. +comment "busybox' fold is selected!"
  1240. +       depends on BUSYBOX_FOLD
  1241. +
  1242. +config COREUTILS_PR
  1243. +       bool
  1244. +       prompt "pr"
  1245. +
  1246. +config COREUTILS_UPTIME
  1247. +       bool
  1248. +       prompt "uptime"
  1249. +       depends on !BUSYBOX_UPTIME || ALLYES
  1250. +
  1251. +comment "busybox' uptime is selected!"
  1252. +       depends on BUSYBOX_UPTIME
  1253. +
  1254. +config COREUTILS_NICE
  1255. +       bool
  1256. +       prompt "nice"
  1257. +       depends on !BUSYBOX_NICE || ALLYES
  1258. +
  1259. +comment "busybox' nice is selected!"
  1260. +       depends on BUSYBOX_NICE
  1261. +
  1262. +endif
  1263. +
  1264. diff --git a/ptxdist/rules/coreutils.make b/ptxdist/rules/coreutils.make
  1265. new file mode 100644
  1266. index 0000000..4b39fcd
  1267. --- /dev/null
  1268. +++ b/ptxdist/rules/coreutils.make
  1269. @@ -0,0 +1,219 @@
  1270. +# -*-makefile-*-
  1271. +#
  1272. +# Copyright (C) 2003-2010 by Pengutronix e.K., Hildesheim, Germany
  1273. +#
  1274. +# For further information about the PTXdist project and license conditions
  1275. +# see the README file.
  1276. +#
  1277. +
  1278. +#
  1279. +# Modified by Roland Mainz <r.mainz@eckelmann.de> for ACI&XATTR
  1280. +# support.
  1281. +#
  1282. +
  1283. +#
  1284. +# We provide this package
  1285. +#
  1286. +PACKAGES-$(PTXCONF_COREUTILS) += coreutils
  1287. +
  1288. +#
  1289. +# Paths and names
  1290. +#
  1291. +COREUTILS_VERSION      := 8.31
  1292. +COREUTILS_MD5          := 0009a224d8e288e8ec406ef0161f9293
  1293. +COREUTILS              := coreutils-$(COREUTILS_VERSION)
  1294. +COREUTILS_SUFFIX       := tar.xz
  1295. +COREUTILS_URL          := $(call ptx/mirror, GNU, coreutils/$(COREUTILS).$(COREUTILS_SUFFIX))
  1296. +COREUTILS_SOURCE       := $(SRCDIR)/$(COREUTILS).$(COREUTILS_SUFFIX)
  1297. +COREUTILS_DIR          := $(BUILDDIR)/$(COREUTILS)
  1298. +COREUTILS_LICENSE      := GPL-3.0-or-later
  1299. +COREUTILS_LICENSE_FILES        := file://COPYING;md5=d32239bcb673463ab874e80d47fae504
  1300. +
  1301. +# ----------------------------------------------------------------------------
  1302. +# Prepare
  1303. +# ----------------------------------------------------------------------------
  1304. +
  1305. +#   --enable-install-program=PROG_LIST
  1306. +#                           install the programs in PROG_LIST (comma-separated,
  1307. +#                           default: none)
  1308. +#   --enable-no-install-program=PROG_LIST
  1309. +#                           do NOT install the programs in PROG_LIST
  1310. +#                           (comma-separated, default: arch,hostname,su)
  1311. +#   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
  1312. +#   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
  1313. +#   --with-libpth-prefix[=DIR]  search for libpth in DIR/include and DIR/lib
  1314. +#   --without-libpth-prefix     don't search for libpth in includedir and libdir
  1315. +#   --without-included-regex
  1316. +#                           don't compile regex; this is the default on systems
  1317. +#                           with recent-enough versions of the GNU C Library
  1318. +#                           (use with caution on other systems).
  1319. +#   --with-packager         String identifying the packager of this software
  1320. +#   --with-packager-version Packager-specific version information
  1321. +#   --with-packager-bug-reports
  1322. +#                           Packager info for bug reports (URL/e-mail/...)
  1323. +#   --without-gmp           do not use the GNU MP library for arbitrary
  1324. +#                           precision calculation (default: use it if available)
  1325. +#   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
  1326. +#   --without-libintl-prefix     don't search for libintl in includedir and libdir
  1327. +
  1328. +COREUTILS_INST- =
  1329. +COREUTILS_INST-y =
  1330. +COREUTILS_INST-$(PTXCONF_COREUTILS_BASE64)     += base64
  1331. +COREUTILS_INST-$(PTXCONF_COREUTILS_BASENAME)   += basename
  1332. +COREUTILS_INST-$(PTXCONF_COREUTILS_CAT)                += cat
  1333. +COREUTILS_INST-$(PTXCONF_COREUTILS_CHCON)      += chcon
  1334. +COREUTILS_INST-$(PTXCONF_COREUTILS_CHGRP)      += chgrp
  1335. +COREUTILS_INST-$(PTXCONF_COREUTILS_CHMOD)      += chmod
  1336. +COREUTILS_INST-$(PTXCONF_COREUTILS_CHOWN)      += chown
  1337. +COREUTILS_INST-$(PTXCONF_COREUTILS_CHROOT)     += chroot
  1338. +COREUTILS_INST-$(PTXCONF_COREUTILS_CKSUM)      += cksum
  1339. +COREUTILS_INST-$(PTXCONF_COREUTILS_COMM)       += comm
  1340. +COREUTILS_INST-$(PTXCONF_COREUTILS_CP)         += cp
  1341. +COREUTILS_INST-$(PTXCONF_COREUTILS_CSPLIT)     += csplit
  1342. +COREUTILS_INST-$(PTXCONF_COREUTILS_CUT)                += cut
  1343. +COREUTILS_INST-$(PTXCONF_COREUTILS_DATE)       += date
  1344. +COREUTILS_INST-$(PTXCONF_COREUTILS_DD)         += dd
  1345. +COREUTILS_INST-$(PTXCONF_COREUTILS_DF)         += df
  1346. +COREUTILS_INST-$(PTXCONF_COREUTILS_DIR)                += dir
  1347. +COREUTILS_INST-$(PTXCONF_COREUTILS_DIRCOLORS)  += dircolors
  1348. +COREUTILS_INST-$(PTXCONF_COREUTILS_DIRNAME)    += dirname
  1349. +COREUTILS_INST-$(PTXCONF_COREUTILS_DU)         += du
  1350. +COREUTILS_INST-$(PTXCONF_COREUTILS_ECHO)       += echo
  1351. +COREUTILS_INST-$(PTXCONF_COREUTILS_ENV)                += env
  1352. +COREUTILS_INST-$(PTXCONF_COREUTILS_EXPAND)     += expand
  1353. +COREUTILS_INST-$(PTXCONF_COREUTILS_EXPR)       += expr
  1354. +COREUTILS_INST-$(PTXCONF_COREUTILS_FACTOR)     += factor
  1355. +COREUTILS_INST-$(PTXCONF_COREUTILS_FALSE)      += false
  1356. +COREUTILS_INST-$(PTXCONF_COREUTILS_FMT)                += fmt
  1357. +COREUTILS_INST-$(PTXCONF_COREUTILS_FOLD)       += fold
  1358. +COREUTILS_INST-$(PTXCONF_COREUTILS_GROUPS)     += groups
  1359. +COREUTILS_INST-$(PTXCONF_COREUTILS_HEAD)       += head
  1360. +COREUTILS_INST-$(PTXCONF_COREUTILS_HOSTID)     += hostid
  1361. +COREUTILS_INST-$(PTXCONF_COREUTILS_ID)         += id
  1362. +COREUTILS_INST-$(PTXCONF_COREUTILS_INSTALL)    += install
  1363. +COREUTILS_INST-$(PTXCONF_COREUTILS_JOIN)       += join
  1364. +COREUTILS_INST-$(PTXCONF_COREUTILS_KILL)       += kill
  1365. +COREUTILS_INST-$(PTXCONF_COREUTILS_LINK)       += link
  1366. +COREUTILS_INST-$(PTXCONF_COREUTILS_LN)         += ln
  1367. +COREUTILS_INST-$(PTXCONF_COREUTILS_LOGNAME)    += logname
  1368. +COREUTILS_INST-$(PTXCONF_COREUTILS_LS)         += ls
  1369. +COREUTILS_INST-$(PTXCONF_COREUTILS_MD5SUM)     += md5sum
  1370. +COREUTILS_INST-$(PTXCONF_COREUTILS_MKDIR)      += mkdir
  1371. +COREUTILS_INST-$(PTXCONF_COREUTILS_MKFIFO)     += mkfifo
  1372. +COREUTILS_INST-$(PTXCONF_COREUTILS_MKNOD)      += mknod
  1373. +COREUTILS_INST-$(PTXCONF_COREUTILS_MKTEMP)     += mktemp
  1374. +COREUTILS_INST-$(PTXCONF_COREUTILS_MV)         += mv
  1375. +COREUTILS_INST-$(PTXCONF_COREUTILS_NICE)       += nice
  1376. +COREUTILS_INST-$(PTXCONF_COREUTILS_NL)         += nl
  1377. +COREUTILS_INST-$(PTXCONF_COREUTILS_NOHUP)      += nohup
  1378. +COREUTILS_INST-$(PTXCONF_COREUTILS_NPROC)      += nproc
  1379. +COREUTILS_INST-$(PTXCONF_COREUTILS_NUMFMT)     += numfmt
  1380. +COREUTILS_INST-$(PTXCONF_COREUTILS_OD)         += od
  1381. +COREUTILS_INST-$(PTXCONF_COREUTILS_PASTE)      += paste
  1382. +COREUTILS_INST-$(PTXCONF_COREUTILS_PATHCHK)    += pathchk
  1383. +COREUTILS_INST-$(PTXCONF_COREUTILS_PINKY)      += pinky
  1384. +COREUTILS_INST-$(PTXCONF_COREUTILS_PR)         += pr
  1385. +COREUTILS_INST-$(PTXCONF_COREUTILS_PRINTENV)   += printenv
  1386. +COREUTILS_INST-$(PTXCONF_COREUTILS_PRINTF)     += printf
  1387. +COREUTILS_INST-$(PTXCONF_COREUTILS_PTX)                += ptx
  1388. +COREUTILS_INST-$(PTXCONF_COREUTILS_PWD)                += pwd
  1389. +COREUTILS_INST-$(PTXCONF_COREUTILS_READLINK)   += readlink
  1390. +COREUTILS_INST-$(PTXCONF_COREUTILS_REALPATH)   += realpath
  1391. +COREUTILS_INST-$(PTXCONF_COREUTILS_RM)         += rm
  1392. +COREUTILS_INST-$(PTXCONF_COREUTILS_RMDIR)      += rmdir
  1393. +COREUTILS_INST-$(PTXCONF_COREUTILS_RUNCON)     += runcon
  1394. +COREUTILS_INST-$(PTXCONF_COREUTILS_SEQ)                += seq
  1395. +COREUTILS_INST-$(PTXCONF_COREUTILS_SHA1SUM)    += sha1sum
  1396. +COREUTILS_INST-$(PTXCONF_COREUTILS_SHA224SUM)  += sha224sum
  1397. +COREUTILS_INST-$(PTXCONF_COREUTILS_SHA256SUM)  += sha256sum
  1398. +COREUTILS_INST-$(PTXCONF_COREUTILS_SHA384SUM)  += sha384sum
  1399. +COREUTILS_INST-$(PTXCONF_COREUTILS_SHA512SUM)  += sha512sum
  1400. +COREUTILS_INST-$(PTXCONF_COREUTILS_SHRED)      += shred
  1401. +COREUTILS_INST-$(PTXCONF_COREUTILS_SHUF)       += shuf
  1402. +COREUTILS_INST-$(PTXCONF_COREUTILS_SLEEP)      += sleep
  1403. +COREUTILS_INST-$(PTXCONF_COREUTILS_SORT)       += sort
  1404. +COREUTILS_INST-$(PTXCONF_COREUTILS_SPLIT)      += split
  1405. +COREUTILS_INST-$(PTXCONF_COREUTILS_STAT)       += stat
  1406. +COREUTILS_INST-$(PTXCONF_COREUTILS_STDBUF)     += stdbuf
  1407. +COREUTILS_INST-$(PTXCONF_COREUTILS_STTY)       += stty
  1408. +COREUTILS_INST-$(PTXCONF_COREUTILS_SUM)                += sum
  1409. +COREUTILS_INST-$(PTXCONF_COREUTILS_SYNC)       += sync
  1410. +COREUTILS_INST-$(PTXCONF_COREUTILS_TAC)                += tac
  1411. +COREUTILS_INST-$(PTXCONF_COREUTILS_TAIL)       += tail
  1412. +COREUTILS_INST-$(PTXCONF_COREUTILS_TEE)                += tee
  1413. +COREUTILS_INST-$(PTXCONF_COREUTILS_TEST)       += test
  1414. +COREUTILS_INST-$(PTXCONF_COREUTILS_TEST)       += [
  1415. +COREUTILS_INST-$(PTXCONF_COREUTILS_TIMEOUT)    += timeout
  1416. +COREUTILS_INST-$(PTXCONF_COREUTILS_TOUCH)      += touch
  1417. +COREUTILS_INST-$(PTXCONF_COREUTILS_TR)         += tr
  1418. +COREUTILS_INST-$(PTXCONF_COREUTILS_TRUE)       += true
  1419. +COREUTILS_INST-$(PTXCONF_COREUTILS_TRUNCATE)   += truncate
  1420. +COREUTILS_INST-$(PTXCONF_COREUTILS_TSORT)      += tsort
  1421. +COREUTILS_INST-$(PTXCONF_COREUTILS_TTY)                += tty
  1422. +COREUTILS_INST-$(PTXCONF_COREUTILS_UNAME)      += uname
  1423. +COREUTILS_INST-$(PTXCONF_COREUTILS_UNEXPAND)   += unexpand
  1424. +COREUTILS_INST-$(PTXCONF_COREUTILS_UNIQ)       += uniq
  1425. +COREUTILS_INST-$(PTXCONF_COREUTILS_UNLINK)     += unlink
  1426. +COREUTILS_INST-$(PTXCONF_COREUTILS_UPTIME)     += uptime
  1427. +COREUTILS_INST-$(PTXCONF_COREUTILS_USERS)      += users
  1428. +COREUTILS_INST-$(PTXCONF_COREUTILS_VDIR)       += vdir
  1429. +COREUTILS_INST-$(PTXCONF_COREUTILS_WC)         += wc
  1430. +COREUTILS_INST-$(PTXCONF_COREUTILS_WHO)                += who
  1431. +COREUTILS_INST-$(PTXCONF_COREUTILS_WHOAMI)     += whoami
  1432. +COREUTILS_INST-$(PTXCONF_COREUTILS_YES)                += yes
  1433. +
  1434. +COREUTILS_CONF_TOOL    := autoconf
  1435. +COREUTILS_CONF_OPT     := \
  1436. +       $(CROSS_AUTOCONF_USR) \
  1437. +       $(GLOBAL_LARGE_FILE_OPTION) \
  1438. +       --enable-threads=posix \
  1439. +       --enable-acl \
  1440. +       --disable-assert \
  1441. +       --disable-rpath \
  1442. +       --disable-libsmack \
  1443. +       --enable-xattr \
  1444. +       --disable-libcap \
  1445. +       --disable-gcc-warnings \
  1446. +       --disable-single-binary \
  1447. +       --disable-single-binary-exceptions \
  1448. +       --enable-no-install-program=$(subst $(space),$(comma),$(strip $(COREUTILS_INST-))) \
  1449. +       --disable-nls \
  1450. +       --without-linux-crypto \
  1451. +       --without-openssl \
  1452. +       --$(call ptx/wwo, PTXCONF_GLOBAL_SELINUX)-selinux \
  1453. +       --with-tty-group=tty \
  1454. +       --without-gmp
  1455. +
  1456. +COREUTILS_MAKE_OPT     := \
  1457. +       man1_MANS=
  1458. +
  1459. +COREUTILS_INSTALL_OPT  := \
  1460. +       $(COREUTILS_MAKE_OPT) \
  1461. +       install
  1462. +
  1463. +# ----------------------------------------------------------------------------
  1464. +# Target-Install
  1465. +# ----------------------------------------------------------------------------
  1466. +
  1467. +$(STATEDIR)/coreutils.targetinstall:
  1468. +       @$(call targetinfo)
  1469. +
  1470. +       @$(call install_init, coreutils)
  1471. +       @$(call install_fixup, coreutils,PRIORITY,optional)
  1472. +       @$(call install_fixup, coreutils,SECTION,base)
  1473. +       @$(call install_fixup, coreutils,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
  1474. +       @$(call install_fixup, coreutils,DESCRIPTION,missing)
  1475. +
  1476. +ifdef PTXCONF_COREUTILS_STDBUF
  1477. +       @$(call install_copy, coreutils, 0, 0, 0644, -, /usr/libexec/coreutils/libstdbuf.so)
  1478. +endif
  1479. +
  1480. +       @for i in $(COREUTILS_INST-y); do \
  1481. +               $(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/$$i) \
  1482. +       done
  1483. +
  1484. +       @$(call install_finish, coreutils)
  1485. +
  1486. +       @$(call touch)
  1487. +
  1488. +# vim: syntax=make

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at