Ravenports generated: 08 Feb 2023 00:14
[ravenports.git] / bucket_BE / findutils
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               findutils
4 VERSION=                4.9.0
5 KEYWORDS=               misc
6 VARIANTS=               standard noprefix ravensys
7 SDESC[ravensys]=        GNU find utilities for raven sysroot (no nls)
8 SDESC[noprefix]=        GNU find utilities (standard names)
9 SDESC[standard]=        GNU find utilities (prefixed with g)
10 HOMEPAGE=               http://www.gnu.org/software/findutils/
11 CONTACT=                nobody
12
13 DOWNLOAD_GROUPS=        main
14 SITES[main]=            GNU/findutils
15 DISTFILE[1]=            findutils-4.9.0.tar.xz:main
16 DF_INDEX=               1
17 SPKGS[ravensys]=        primary
18 SPKGS[noprefix]=        complete
19                         primary
20                         nls
21 SPKGS[standard]=        complete
22                         primary
23                         nls
24
25 OPTIONS_AVAILABLE=      NOTSTD RAVENSYS
26 OPTIONS_STANDARD=       none
27 VOPTS[ravensys]=        NOTSTD=ON RAVENSYS=ON
28 VOPTS[noprefix]=        NOTSTD=ON RAVENSYS=OFF
29
30 USES=                   charsetfix cpe gmake
31
32 LICENSE=                GPLv3+:primary
33 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
34 LICENSE_FILE=           GPLv3+:{{WRKSRC}}/COPYING
35 LICENSE_AWK=            TERMS:"^\*"
36 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/find/defs.h
37 LICENSE_SCHEME=         solo
38
39 INFO=                   primary:find
40                         primary:find-maint
41 CPE_VENDOR=             gnu
42 FPC_EQUIVALENT=         misc/findutils
43 INFO_SUBDIR=            .
44
45 MUST_CONFIGURE=         gnu
46 CONFIGURE_ARGS=         --localstatedir="/var/db"
47
48 MAKE_ARGS=              INSTALL_SCRIPT="{{INSTALL_SCRIPT}}"
49
50 [NOTSTD].DESCRIPTION=                   Not the standard variant
51 [NOTSTD].CONFIGURE_ARGS_OFF=            --program-prefix=g
52
53 [RAVENSYS].DESCRIPTION=                 For ravensys-root - built without NLS
54 [RAVENSYS].CONFIGURE_ARGS_OFF=          --enable-nls
55 [RAVENSYS].CONFIGURE_ARGS_ON=           --disable-nls
56 [RAVENSYS].USES_OFF=                    gettext
57
58 post-patch-darwin:
59         ${REINPLACE_CMD} -e "s|'cr'|'Scr'|" ${WRKSRC}/configure
60
61 post-install:
62         ${RM} -r ${STAGEDIR}/var
63
64 [FILE:399:descriptions/desc.primary]
65 The Free Software Foundation's "find" utilities, including "find",
66 "locate", and "xargs".
67
68 These utilities exist in the FreeBSD base collection, but the GNU
69 versions have added functionality that is sometimes useful.
70
71 Note that this port will install these utilities with a `g' prefix,
72 eg., glocate, gfind, gxargs, but the texinfo documentation will refer to
73 these utilities without the `g' prefix.
74
75
76 [FILE:101:distinfo]
77 a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe      2046252 findutils-4.9.0.tar.xz
78
79
80 [FILE:157:manifests/plist.primary.standard]
81 bin/
82  gfind
83  glocate
84  gupdatedb
85  gxargs
86 libexec/gfrcode
87 share/man/man1/
88  gfind.1.gz
89  glocate.1.gz
90  gupdatedb.1.gz
91  gxargs.1.gz
92 share/man/man5/glocatedb.5.gz
93
94
95 [FILE:1608:manifests/plist.nls]
96 share/locale/be/LC_MESSAGES/findutils.mo
97 share/locale/bg/LC_MESSAGES/findutils.mo
98 share/locale/ca/LC_MESSAGES/findutils.mo
99 share/locale/cs/LC_MESSAGES/findutils.mo
100 share/locale/da/LC_MESSAGES/findutils.mo
101 share/locale/de/LC_MESSAGES/findutils.mo
102 share/locale/el/LC_MESSAGES/findutils.mo
103 share/locale/eo/LC_MESSAGES/findutils.mo
104 share/locale/es/LC_MESSAGES/findutils.mo
105 share/locale/et/LC_MESSAGES/findutils.mo
106 share/locale/fi/LC_MESSAGES/findutils.mo
107 share/locale/fr/LC_MESSAGES/findutils.mo
108 share/locale/ga/LC_MESSAGES/findutils.mo
109 share/locale/gl/LC_MESSAGES/findutils.mo
110 share/locale/hr/LC_MESSAGES/findutils.mo
111 share/locale/hu/LC_MESSAGES/findutils.mo
112 share/locale/id/LC_MESSAGES/findutils.mo
113 share/locale/it/LC_MESSAGES/findutils.mo
114 share/locale/ja/LC_MESSAGES/findutils.mo
115 share/locale/ko/LC_MESSAGES/findutils.mo
116 share/locale/lg/LC_MESSAGES/findutils.mo
117 share/locale/lt/LC_MESSAGES/findutils.mo
118 share/locale/ms/LC_MESSAGES/findutils.mo
119 share/locale/nb/LC_MESSAGES/findutils.mo
120 share/locale/nl/LC_MESSAGES/findutils.mo
121 share/locale/pl/LC_MESSAGES/findutils.mo
122 share/locale/pt/LC_MESSAGES/findutils.mo
123 share/locale/pt_BR/LC_MESSAGES/findutils.mo
124 share/locale/ro/LC_MESSAGES/findutils.mo
125 share/locale/ru/LC_MESSAGES/findutils.mo
126 share/locale/sk/LC_MESSAGES/findutils.mo
127 share/locale/sl/LC_MESSAGES/findutils.mo
128 share/locale/sr/LC_MESSAGES/findutils.mo
129 share/locale/sv/LC_MESSAGES/findutils.mo
130 share/locale/tr/LC_MESSAGES/findutils.mo
131 share/locale/uk/LC_MESSAGES/findutils.mo
132 share/locale/vi/LC_MESSAGES/findutils.mo
133 share/locale/zh_CN/LC_MESSAGES/findutils.mo
134 share/locale/zh_TW/LC_MESSAGES/findutils.mo
135
136
137 [FILE:147:manifests/plist.primary]
138 bin/
139  find
140  locate
141  updatedb
142  xargs
143 libexec/frcode
144 share/man/man1/
145  find.1.gz
146  locate.1.gz
147  updatedb.1.gz
148  xargs.1.gz
149 share/man/man5/locatedb.5.gz
150
151
152 [FILE:405:patches/patch-configure]
153 --- configure.orig      2022-02-02 00:17:29 UTC
154 +++ configure
155 @@ -62154,6 +62154,15 @@ $as_echo "$gl_cv_solaris_64bit" >&6; }
156  
157  
158  
159 +  if test $ac_use_included_regex = yes; then
160 +    case $LIBOBJS in
161 +    "regex.$ac_objext"   | \
162 +  *" regex.$ac_objext"   | \
163 +    "regex.$ac_objext "* | \
164 +  *" regex.$ac_objext "* ) ;;
165 +  *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
166 +    esac
167 +  fi
168  
169  
170      use_additional=yes
171
172
173 [FILE:338:patches/patch-gnulib-lib-fdopendir.c]
174 --- gl/lib/fdopendir.c.orig     2022-01-03 23:22:27 UTC
175 +++ gl/lib/fdopendir.c
176 @@ -227,9 +227,11 @@ fd_clone_opendir (int fd, struct saved_c
177  
178  # include <errno.h>
179  # include <sys/stat.h>
180 +# include <dirent.h>
181  
182  # undef fdopendir
183  
184 +extern DIR *fdopendir(int);
185  /* Like fdopendir, but work around GNU/Hurd bug by validating FD.  */
186  
187  DIR *
188
189
190 [FILE:693:patches/patch-locate__updatedb.sh]
191 --- locate/updatedb.sh.orig     2022-01-02 23:34:22 UTC
192 +++ locate/updatedb.sh
193 @@ -293,7 +293,7 @@ cd "$changeto"
194  if test -n "$SEARCHPATHS"; then
195    if [ "$LOCALUSER" != "" ]; then
196      # : A1
197 -    su $LOCALUSER `select_shell $LOCALUSER` -c \
198 +    su -m $LOCALUSER -c \
199      "$find $SEARCHPATHS $FINDOPTIONS \
200       \\( $prunefs_exp \
201       -type d -regex '$PRUNEREGEX' \\) -prune -o $print_option"
202 @@ -309,7 +309,7 @@ if test -n "$NETPATHS"; then
203  myuid=`getuid`
204  if [ "$myuid" = 0 ]; then
205      # : A3
206 -    su $NETUSER `select_shell $NETUSER` -c \
207 +    su -m $NETUSER -c \
208       "$find $NETPATHS $FINDOPTIONS \\( -type d -regex '$PRUNEREGEX' -prune \\) -o $print_option" ||
209      exit $?
210    else
211