14MB compressed(bz2), 36MB uncompressed
Extras:
toybox: new package
docker-image: uses toybox for core utils
filesystem: provides and owns /var/run symlink
Change-Id: Ic6e51b8e29c26f47a016cdd95a81e1ecd6d450b6
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2500
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Vinay Kulkarni <kulkarniv@vmware.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: Default file system |
| 2 | 2 |
Name: filesystem |
| 3 | 3 |
Version: 1.0 |
| 4 |
-Release: 12%{?dist}
|
|
| 4 |
+Release: 13%{?dist}
|
|
| 5 | 5 |
License: GPLv3 |
| 6 | 6 |
Group: System Environment/Base |
| 7 | 7 |
Vendor: VMware, Inc. |
| ... | ... |
@@ -543,8 +543,8 @@ EOF |
| 543 | 543 |
%attr(664,root,utmp) /var/log/lastlog |
| 544 | 544 |
%attr(600,root,root) /var/log/btmp |
| 545 | 545 |
/var/lock |
| 546 |
-%ghost /var/run |
|
| 547 |
-/var/run/lock |
|
| 546 |
+/var/run |
|
| 547 |
+ |
|
| 548 | 548 |
# Symlinks for AMD64 |
| 549 | 549 |
%ifarch x86_64 |
| 550 | 550 |
/lib64 |
| ... | ... |
@@ -554,6 +554,8 @@ EOF |
| 554 | 554 |
/usr/lib/debug/usr/lib64 |
| 555 | 555 |
%endif |
| 556 | 556 |
%changelog |
| 557 |
+* Fri Apr 21 2017 Alexey Makhalov <amakhalov@vmware.com> 1.0-13 |
|
| 558 |
+- make /var/run symlink to /run and keep it in rpm |
|
| 557 | 559 |
* Thu Apr 20 2017 Bo Gan <ganb@vmware.com> 1.0-12 |
| 558 | 560 |
- Fix /usr/local/lib64 symlink |
| 559 | 561 |
* Wed Mar 08 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.0-11 |
| ... | ... |
@@ -4,7 +4,7 @@ |
| 4 | 4 |
Summary: Main C library |
| 5 | 5 |
Name: glibc |
| 6 | 6 |
Version: 2.25 |
| 7 |
-Release: 1%{?dist}
|
|
| 7 |
+Release: 2%{?dist}
|
|
| 8 | 8 |
License: LGPLv2+ |
| 9 | 9 |
URL: http://www.gnu.org/software/libc |
| 10 | 10 |
Group: Applications/System |
| ... | ... |
@@ -45,6 +45,27 @@ Requires: %{name} = %{version}-%{release}
|
| 45 | 45 |
%description i18n |
| 46 | 46 |
These are the additional internationalization files of glibc. |
| 47 | 47 |
|
| 48 |
+%package iconv |
|
| 49 |
+Summary: gconv modules for glibc |
|
| 50 |
+Group: Applications/System |
|
| 51 |
+Requires: %{name} = %{version}-%{release}
|
|
| 52 |
+%description iconv |
|
| 53 |
+These is gconv modules for iconv() and iconv tools. |
|
| 54 |
+ |
|
| 55 |
+%package tools |
|
| 56 |
+Summary: tools for glibc |
|
| 57 |
+Group: Applications/System |
|
| 58 |
+Requires: %{name} = %{version}-%{release}
|
|
| 59 |
+%description tools |
|
| 60 |
+Extra tools for glibc. |
|
| 61 |
+ |
|
| 62 |
+%package nscd |
|
| 63 |
+Summary: Name Service Cache Daemon |
|
| 64 |
+Group: Applications/System |
|
| 65 |
+Requires: %{name} = %{version}-%{release}
|
|
| 66 |
+%description nscd |
|
| 67 |
+Name Service Cache Daemon |
|
| 68 |
+ |
|
| 48 | 69 |
%prep |
| 49 | 70 |
%setup -q |
| 50 | 71 |
sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile |
| ... | ... |
@@ -140,17 +161,19 @@ mkdir -p %{buildroot}/usr/lib/locale
|
| 140 | 140 |
I18NPATH=. GCONV_PATH=../../glibc-build/iconvdata LC_ALL=C ../../glibc-build/locale/localedef --no-archive --prefix=%{buildroot} -A ../intl/locale.alias -i locales/en_US -c -f charmaps/UTF-8 en_US.UTF-8
|
| 141 | 141 |
mv %{buildroot}/usr/lib/locale/en_US.utf8 %{buildroot}/usr/lib/locale/en_US.UTF-8
|
| 142 | 142 |
popd |
| 143 |
+# to do not depend on /bin/bash |
|
| 144 |
+sed -i 's@#! /bin/bash@#! /bin/sh@' %{buildroot}/usr/bin/ldd
|
|
| 145 |
+sed -i 's@#!/bin/bash@#!/bin/sh@' %{buildroot}/usr/bin/tzselect
|
|
| 143 | 146 |
|
| 144 | 147 |
|
| 145 | 148 |
%post |
| 146 |
-printf "Creating ldconfig cache\n";/sbin/ldconfig |
|
| 149 |
+/sbin/ldconfig |
|
| 147 | 150 |
|
| 148 | 151 |
%postun |
| 149 | 152 |
/sbin/ldconfig |
| 150 | 153 |
|
| 151 | 154 |
%files |
| 152 | 155 |
%defattr(-,root,root) |
| 153 |
-%dir %{_localstatedir}/cache/nscd
|
|
| 154 | 156 |
%{_libdir}/locale/*
|
| 155 | 157 |
%dir %{_sysconfdir}/ld.so.conf.d
|
| 156 | 158 |
%config(noreplace) %{_sysconfdir}/nsswitch.conf
|
| ... | ... |
@@ -158,25 +181,55 @@ printf "Creating ldconfig cache\n";/sbin/ldconfig |
| 158 | 158 |
%config(noreplace) %{_sysconfdir}/rpc
|
| 159 | 159 |
%config(missingok,noreplace) %{_sysconfdir}/ld.so.cache
|
| 160 | 160 |
%config %{_sysconfdir}/locale-gen.conf
|
| 161 |
-%config(noreplace) %{_sysconfdir}/nscd.conf
|
|
| 162 |
-%ifarch x86_64 |
|
| 163 | 161 |
/lib64/* |
| 164 |
-%{_lib64dir}/gconv/*
|
|
| 165 |
-%{_lib64dir}/audit/*
|
|
| 162 |
+%exclude /lib64/libpcprofile.so |
|
| 166 | 163 |
%{_lib64dir}/*.so
|
| 167 |
-%else |
|
| 168 |
-%{_lib}/*
|
|
| 169 |
-%endif |
|
| 170 |
-/sbin/* |
|
| 164 |
+/sbin/ldconfig |
|
| 165 |
+/sbin/locale-gen.sh |
|
| 171 | 166 |
%{_bindir}/*
|
| 172 | 167 |
%{_libexecdir}/*
|
| 173 |
-%{_sbindir}/*
|
|
| 174 | 168 |
%{_datadir}/i18n/charmaps/UTF-8.gz
|
| 175 | 169 |
%{_datadir}/i18n/charmaps/ISO-8859-1.gz
|
| 176 | 170 |
%{_datadir}/i18n/locales/en_US
|
| 177 | 171 |
%{_datarootdir}/locale/locale.alias
|
| 178 |
-%{_localstatedir}/lib/nss_db/Makefile
|
|
| 172 |
+%exclude %{_localstatedir}/lib/nss_db/Makefile
|
|
| 173 |
+%exclude /usr/bin/catchsegv |
|
| 174 |
+%exclude /usr/bin/iconv |
|
| 179 | 175 |
%exclude /usr/bin/mtrace |
| 176 |
+%exclude /usr/bin/pcprofiledump |
|
| 177 |
+%exclude /usr/bin/pldd |
|
| 178 |
+%exclude /usr/bin/rpcgen |
|
| 179 |
+%exclude /usr/bin/sotruss |
|
| 180 |
+%exclude /usr/bin/sprof |
|
| 181 |
+%exclude /usr/bin/xtrace |
|
| 182 |
+ |
|
| 183 |
+%files iconv |
|
| 184 |
+%defattr(-,root,root) |
|
| 185 |
+%{_lib64dir}/gconv/*
|
|
| 186 |
+/usr/bin/iconv |
|
| 187 |
+/usr/sbin/iconvconfig |
|
| 188 |
+ |
|
| 189 |
+%files tools |
|
| 190 |
+%defattr(-,root,root) |
|
| 191 |
+/usr/bin/catchsegv |
|
| 192 |
+/usr/bin/mtrace |
|
| 193 |
+/usr/bin/pcprofiledump |
|
| 194 |
+/usr/bin/pldd |
|
| 195 |
+/usr/bin/rpcgen |
|
| 196 |
+/usr/bin/sotruss |
|
| 197 |
+/usr/bin/sprof |
|
| 198 |
+/usr/bin/xtrace |
|
| 199 |
+/usr/sbin/zdump |
|
| 200 |
+/usr/sbin/zic |
|
| 201 |
+/sbin/sln |
|
| 202 |
+%{_lib64dir}/audit/*
|
|
| 203 |
+/lib64/libpcprofile.so |
|
| 204 |
+ |
|
| 205 |
+%files nscd |
|
| 206 |
+%defattr(-,root,root) |
|
| 207 |
+%config(noreplace) %{_sysconfdir}/nscd.conf
|
|
| 208 |
+/usr/sbin/nscd |
|
| 209 |
+%dir %{_localstatedir}/cache/nscd
|
|
| 180 | 210 |
|
| 181 | 211 |
%files i18n |
| 182 | 212 |
%defattr(-,root,root) |
| ... | ... |
@@ -202,6 +255,8 @@ printf "Creating ldconfig cache\n";/sbin/ldconfig |
| 202 | 202 |
|
| 203 | 203 |
|
| 204 | 204 |
%changelog |
| 205 |
+* Fri Apr 21 2017 Alexey Makhalov <amakhalov@vmware.com> 2.25-2 |
|
| 206 |
+- Added -iconv -tools and -nscd subpackages |
|
| 205 | 207 |
* Wed Mar 22 2017 Alexey Makhalov <amakhalov@vmware.com> 2.25-1 |
| 206 | 208 |
- Version update |
| 207 | 209 |
* Wed Dec 14 2016 Alexey Makhalov <amakhalov@vmware.com> 2.24-1 |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: High-Level Crypto API |
| 2 | 2 |
Name: gpgme |
| 3 | 3 |
Version: 1.9.0 |
| 4 |
-Release: 1%{?dist}
|
|
| 4 |
+Release: 2%{?dist}
|
|
| 5 | 5 |
License: GPLv2+ |
| 6 | 6 |
URL: https://www.gnupg.org/(it)/related_software/gpgme/index.html |
| 7 | 7 |
Group: System Environment/Security |
| ... | ... |
@@ -33,6 +33,8 @@ Static libraries and header files from GPGME, GnuPG Made Easy. |
| 33 | 33 |
./configure \ |
| 34 | 34 |
--prefix=%{_prefix} \
|
| 35 | 35 |
--disable-fd-passing \ |
| 36 |
+ --disable-static \ |
|
| 37 |
+ --enable-languages=cl \ |
|
| 36 | 38 |
--disable-gpgsm-test |
| 37 | 39 |
make %{?_smp_mflags}
|
| 38 | 40 |
|
| ... | ... |
@@ -51,21 +53,18 @@ cd tests && make check-TESTS |
| 51 | 51 |
%files |
| 52 | 52 |
%defattr(-,root,root) |
| 53 | 53 |
%{_libdir}/*.so.*
|
| 54 |
-%{_datadir}/common-lisp/source/gpgme/*.lisp
|
|
| 55 |
-%{_datadir}/common-lisp/source/gpgme/gpgme.asd
|
|
| 56 | 54 |
|
| 57 | 55 |
%files devel |
| 58 | 56 |
%defattr(-,root,root) |
| 59 | 57 |
%{_bindir}/*
|
| 60 | 58 |
%{_includedir}/*.h
|
| 61 |
-%{_includedir}/gpgme++/*.h
|
|
| 62 |
-%{_includedir}/gpgme++/interfaces/*.h
|
|
| 63 | 59 |
%{_libdir}/*.so*
|
| 64 |
-%{_libdir}/cmake/Gpgmepp/*
|
|
| 65 | 60 |
%{_datadir}/aclocal/*
|
| 66 | 61 |
%{_datadir}/common-lisp/source/gpgme/*
|
| 67 | 62 |
|
| 68 | 63 |
%changelog |
| 64 |
+* Thu Apr 20 2017 Alexey Makhalov <amakhalov@vmware.com> 1.9.0-2 |
|
| 65 |
+- Disabe C++ bindings |
|
| 69 | 66 |
* Thu Apr 13 2017 Danut Moraru <dmoraru@vmware.com> 1.9.0-1 |
| 70 | 67 |
- Update to version 1.9.0 |
| 71 | 68 |
* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.6.0-3 |
| 72 | 69 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,356 @@ |
| 0 |
+# |
|
| 1 |
+# Automatically generated make config: don't edit |
|
| 2 |
+# ToyBox version: KCONFIG_VERSION |
|
| 3 |
+# Sat Apr 22 01:21:21 2017 |
|
| 4 |
+# |
|
| 5 |
+# CONFIG_TOYBOX_CONTAINER is not set |
|
| 6 |
+CONFIG_TOYBOX_FIFREEZE=y |
|
| 7 |
+CONFIG_TOYBOX_ICONV=y |
|
| 8 |
+CONFIG_TOYBOX_FALLOCATE=y |
|
| 9 |
+CONFIG_TOYBOX_UTMPX=y |
|
| 10 |
+CONFIG_TOYBOX_SHADOW=y |
|
| 11 |
+# CONFIG_TOYBOX_ON_ANDROID is not set |
|
| 12 |
+CONFIG_TOYBOX_FORK=y |
|
| 13 |
+# CONFIG_TOYBOX_PRLIMIT is not set |
|
| 14 |
+ |
|
| 15 |
+# |
|
| 16 |
+# Posix commands |
|
| 17 |
+# |
|
| 18 |
+CONFIG_BASENAME=y |
|
| 19 |
+CONFIG_CAL=y |
|
| 20 |
+CONFIG_CAT=y |
|
| 21 |
+# CONFIG_CAT_V is not set |
|
| 22 |
+CONFIG_CATV=y |
|
| 23 |
+CONFIG_CHGRP=y |
|
| 24 |
+CONFIG_CHOWN=y |
|
| 25 |
+CONFIG_CHMOD=y |
|
| 26 |
+CONFIG_CKSUM=y |
|
| 27 |
+CONFIG_CMP=y |
|
| 28 |
+CONFIG_COMM=y |
|
| 29 |
+CONFIG_CP=y |
|
| 30 |
+CONFIG_CP_PRESERVE=y |
|
| 31 |
+CONFIG_MV=y |
|
| 32 |
+CONFIG_INSTALL=y |
|
| 33 |
+CONFIG_CPIO=y |
|
| 34 |
+CONFIG_CUT=y |
|
| 35 |
+CONFIG_DATE=y |
|
| 36 |
+CONFIG_DF=y |
|
| 37 |
+CONFIG_DIRNAME=y |
|
| 38 |
+CONFIG_DU=y |
|
| 39 |
+CONFIG_ECHO=y |
|
| 40 |
+CONFIG_ENV=y |
|
| 41 |
+CONFIG_EXPAND=y |
|
| 42 |
+CONFIG_FALSE=y |
|
| 43 |
+CONFIG_FILE=y |
|
| 44 |
+CONFIG_FIND=y |
|
| 45 |
+CONFIG_GREP=y |
|
| 46 |
+CONFIG_EGREP=y |
|
| 47 |
+CONFIG_FGREP=y |
|
| 48 |
+CONFIG_HEAD=y |
|
| 49 |
+CONFIG_ID=y |
|
| 50 |
+# CONFIG_ID_Z is not set |
|
| 51 |
+CONFIG_GROUPS=y |
|
| 52 |
+CONFIG_LOGNAME=y |
|
| 53 |
+CONFIG_WHOAMI=y |
|
| 54 |
+CONFIG_KILL=y |
|
| 55 |
+CONFIG_KILLALL5=y |
|
| 56 |
+CONFIG_LINK=y |
|
| 57 |
+CONFIG_LN=y |
|
| 58 |
+CONFIG_LS=y |
|
| 59 |
+CONFIG_LS_COLOR=y |
|
| 60 |
+CONFIG_MKDIR=y |
|
| 61 |
+# CONFIG_MKDIR_Z is not set |
|
| 62 |
+CONFIG_MKFIFO=y |
|
| 63 |
+# CONFIG_MKFIFO_Z is not set |
|
| 64 |
+CONFIG_NICE=y |
|
| 65 |
+CONFIG_NL=y |
|
| 66 |
+CONFIG_NOHUP=y |
|
| 67 |
+CONFIG_OD=y |
|
| 68 |
+CONFIG_PASTE=y |
|
| 69 |
+CONFIG_PATCH=y |
|
| 70 |
+CONFIG_PRINTF=y |
|
| 71 |
+CONFIG_PS=y |
|
| 72 |
+CONFIG_TOP=y |
|
| 73 |
+CONFIG_IOTOP=y |
|
| 74 |
+CONFIG_TOP_COMMON=y |
|
| 75 |
+CONFIG_PGREP=y |
|
| 76 |
+CONFIG_PKILL=y |
|
| 77 |
+CONFIG_PGKILL_COMMON=y |
|
| 78 |
+CONFIG_PWD=y |
|
| 79 |
+CONFIG_RENICE=y |
|
| 80 |
+CONFIG_RM=y |
|
| 81 |
+CONFIG_RMDIR=y |
|
| 82 |
+CONFIG_SED=y |
|
| 83 |
+CONFIG_SLEEP=y |
|
| 84 |
+CONFIG_SLEEP_FLOAT=y |
|
| 85 |
+CONFIG_SORT=y |
|
| 86 |
+CONFIG_SORT_BIG=y |
|
| 87 |
+CONFIG_SORT_FLOAT=y |
|
| 88 |
+CONFIG_SPLIT=y |
|
| 89 |
+CONFIG_STRINGS=y |
|
| 90 |
+CONFIG_TAIL=y |
|
| 91 |
+CONFIG_TAIL_SEEK=y |
|
| 92 |
+CONFIG_TEE=y |
|
| 93 |
+CONFIG_TIME=y |
|
| 94 |
+CONFIG_TOUCH=y |
|
| 95 |
+CONFIG_TRUE=y |
|
| 96 |
+CONFIG_TTY=y |
|
| 97 |
+# CONFIG_ULIMIT is not set |
|
| 98 |
+CONFIG_UNAME=y |
|
| 99 |
+CONFIG_UNIQ=y |
|
| 100 |
+CONFIG_UNLINK=y |
|
| 101 |
+CONFIG_UUDECODE=y |
|
| 102 |
+CONFIG_UUENCODE=y |
|
| 103 |
+CONFIG_WC=y |
|
| 104 |
+CONFIG_WHO=y |
|
| 105 |
+CONFIG_XARGS=y |
|
| 106 |
+# CONFIG_XARGS_PEDANTIC is not set |
|
| 107 |
+ |
|
| 108 |
+# |
|
| 109 |
+# pending (see toys/pending/README) |
|
| 110 |
+# |
|
| 111 |
+# CONFIG_ARP is not set |
|
| 112 |
+# CONFIG_ARPING is not set |
|
| 113 |
+# CONFIG_BOOTCHARTD is not set |
|
| 114 |
+# CONFIG_BRCTL is not set |
|
| 115 |
+# CONFIG_CHRT is not set |
|
| 116 |
+# CONFIG_COMPRESS is not set |
|
| 117 |
+# CONFIG_GZIP is not set |
|
| 118 |
+# CONFIG_GZIP_D is not set |
|
| 119 |
+# CONFIG_DECOMPRESS is not set |
|
| 120 |
+# CONFIG_ZCAT is not set |
|
| 121 |
+# CONFIG_GUNZIP is not set |
|
| 122 |
+# CONFIG_CROND is not set |
|
| 123 |
+# CONFIG_CRONTAB is not set |
|
| 124 |
+# CONFIG_DD is not set |
|
| 125 |
+# CONFIG_DHCP6 is not set |
|
| 126 |
+# CONFIG_DHCP is not set |
|
| 127 |
+# CONFIG_DHCPD is not set |
|
| 128 |
+# CONFIG_DEBUG_DHCP is not set |
|
| 129 |
+# CONFIG_DIFF is not set |
|
| 130 |
+# CONFIG_DMESG is not set |
|
| 131 |
+# CONFIG_DUMPLEASES is not set |
|
| 132 |
+# CONFIG_EXPR is not set |
|
| 133 |
+# CONFIG_FDISK is not set |
|
| 134 |
+# CONFIG_FOLD is not set |
|
| 135 |
+# CONFIG_FSCK is not set |
|
| 136 |
+# CONFIG_GETFATTR is not set |
|
| 137 |
+# CONFIG_GETTY is not set |
|
| 138 |
+# CONFIG_GROUPADD is not set |
|
| 139 |
+# CONFIG_GROUPDEL is not set |
|
| 140 |
+# CONFIG_HOST is not set |
|
| 141 |
+# CONFIG_ICONV is not set |
|
| 142 |
+# CONFIG_INIT is not set |
|
| 143 |
+# CONFIG_IP is not set |
|
| 144 |
+# CONFIG_IPCRM is not set |
|
| 145 |
+# CONFIG_IPCS is not set |
|
| 146 |
+# CONFIG_KLOGD is not set |
|
| 147 |
+# CONFIG_KLOGD_SOURCE_RING_BUFFER is not set |
|
| 148 |
+# CONFIG_LAST is not set |
|
| 149 |
+# CONFIG_LOGGER is not set |
|
| 150 |
+# CONFIG_LSOF is not set |
|
| 151 |
+# CONFIG_MDEV is not set |
|
| 152 |
+# CONFIG_MDEV_CONF is not set |
|
| 153 |
+# CONFIG_MKE2FS is not set |
|
| 154 |
+# CONFIG_MKE2FS_JOURNAL is not set |
|
| 155 |
+# CONFIG_MKE2FS_GEN is not set |
|
| 156 |
+# CONFIG_MKE2FS_LABEL is not set |
|
| 157 |
+# CONFIG_MKE2FS_EXTENDED is not set |
|
| 158 |
+# CONFIG_MODPROBE is not set |
|
| 159 |
+# CONFIG_MORE is not set |
|
| 160 |
+# CONFIG_OPENVT is not set |
|
| 161 |
+# CONFIG_DEALLOCVT is not set |
|
| 162 |
+# CONFIG_PING is not set |
|
| 163 |
+# CONFIG_ROUTE is not set |
|
| 164 |
+# CONFIG_SETFATTR is not set |
|
| 165 |
+# CONFIG_SH is not set |
|
| 166 |
+# CONFIG_CD is not set |
|
| 167 |
+# CONFIG_EXIT is not set |
|
| 168 |
+# CONFIG_SULOGIN is not set |
|
| 169 |
+# CONFIG_SYSLOGD is not set |
|
| 170 |
+# CONFIG_TAR is not set |
|
| 171 |
+# CONFIG_TCPSVD is not set |
|
| 172 |
+# CONFIG_TELNET is not set |
|
| 173 |
+# CONFIG_TELNETD is not set |
|
| 174 |
+# CONFIG_TEST is not set |
|
| 175 |
+# CONFIG_TFTP is not set |
|
| 176 |
+# CONFIG_TFTPD is not set |
|
| 177 |
+# CONFIG_TRACEROUTE is not set |
|
| 178 |
+# CONFIG_TR is not set |
|
| 179 |
+# CONFIG_USERADD is not set |
|
| 180 |
+# CONFIG_USERDEL is not set |
|
| 181 |
+# CONFIG_VI is not set |
|
| 182 |
+# CONFIG_WATCH is not set |
|
| 183 |
+# CONFIG_WGET is not set |
|
| 184 |
+# CONFIG_XZCAT is not set |
|
| 185 |
+ |
|
| 186 |
+# |
|
| 187 |
+# Other commands |
|
| 188 |
+# |
|
| 189 |
+CONFIG_ACPI=y |
|
| 190 |
+# CONFIG_ASCII is not set |
|
| 191 |
+CONFIG_BASE64=y |
|
| 192 |
+CONFIG_BLKID=y |
|
| 193 |
+CONFIG_FSTYPE=y |
|
| 194 |
+CONFIG_BLOCKDEV=y |
|
| 195 |
+CONFIG_BUNZIP2=y |
|
| 196 |
+CONFIG_BZCAT=y |
|
| 197 |
+# CONFIG_CHCON is not set |
|
| 198 |
+CONFIG_CHROOT=y |
|
| 199 |
+CONFIG_CHVT=y |
|
| 200 |
+# CONFIG_CLEAR is not set |
|
| 201 |
+CONFIG_COUNT=y |
|
| 202 |
+CONFIG_DOS2UNIX=y |
|
| 203 |
+CONFIG_UNIX2DOS=y |
|
| 204 |
+CONFIG_EJECT=y |
|
| 205 |
+CONFIG_FACTOR=y |
|
| 206 |
+CONFIG_FALLOCATE=y |
|
| 207 |
+CONFIG_FLOCK=y |
|
| 208 |
+CONFIG_FREE=y |
|
| 209 |
+CONFIG_FREERAMDISK=y |
|
| 210 |
+CONFIG_FSFREEZE=y |
|
| 211 |
+CONFIG_FSYNC=y |
|
| 212 |
+CONFIG_HELP=y |
|
| 213 |
+CONFIG_HELP_EXTRAS=y |
|
| 214 |
+CONFIG_HEXEDIT=y |
|
| 215 |
+CONFIG_HWCLOCK=y |
|
| 216 |
+CONFIG_INOTIFYD=y |
|
| 217 |
+CONFIG_INSMOD=y |
|
| 218 |
+CONFIG_IONICE=y |
|
| 219 |
+CONFIG_IORENICE=y |
|
| 220 |
+CONFIG_LOGIN=y |
|
| 221 |
+CONFIG_LOSETUP=y |
|
| 222 |
+CONFIG_LSATTR=y |
|
| 223 |
+CONFIG_CHATTR=y |
|
| 224 |
+CONFIG_LSMOD=y |
|
| 225 |
+CONFIG_LSPCI=y |
|
| 226 |
+CONFIG_LSPCI_TEXT=y |
|
| 227 |
+CONFIG_LSUSB=y |
|
| 228 |
+CONFIG_MAKEDEVS=y |
|
| 229 |
+CONFIG_MIX=y |
|
| 230 |
+CONFIG_MKPASSWD=y |
|
| 231 |
+CONFIG_MKSWAP=y |
|
| 232 |
+CONFIG_MODINFO=y |
|
| 233 |
+CONFIG_MOUNTPOINT=y |
|
| 234 |
+CONFIG_NBD_CLIENT=y |
|
| 235 |
+# CONFIG_UNSHARE is not set |
|
| 236 |
+# CONFIG_NSENTER is not set |
|
| 237 |
+CONFIG_ONEIT=y |
|
| 238 |
+CONFIG_PARTPROBE=y |
|
| 239 |
+CONFIG_PIVOT_ROOT=y |
|
| 240 |
+CONFIG_PMAP=y |
|
| 241 |
+CONFIG_PRINTENV=y |
|
| 242 |
+CONFIG_PWDX=y |
|
| 243 |
+CONFIG_READAHEAD=y |
|
| 244 |
+CONFIG_READLINK=y |
|
| 245 |
+CONFIG_REALPATH=y |
|
| 246 |
+CONFIG_REBOOT=y |
|
| 247 |
+# CONFIG_RESET is not set |
|
| 248 |
+CONFIG_REV=y |
|
| 249 |
+CONFIG_RMMOD=y |
|
| 250 |
+CONFIG_SETSID=y |
|
| 251 |
+CONFIG_SHRED=y |
|
| 252 |
+CONFIG_STAT=y |
|
| 253 |
+CONFIG_SWAPOFF=y |
|
| 254 |
+CONFIG_SWAPON=y |
|
| 255 |
+CONFIG_SWITCH_ROOT=y |
|
| 256 |
+CONFIG_SYSCTL=y |
|
| 257 |
+CONFIG_TAC=y |
|
| 258 |
+CONFIG_NPROC=y |
|
| 259 |
+CONFIG_TASKSET=y |
|
| 260 |
+CONFIG_TIMEOUT=y |
|
| 261 |
+CONFIG_TRUNCATE=y |
|
| 262 |
+CONFIG_UPTIME=y |
|
| 263 |
+CONFIG_USLEEP=y |
|
| 264 |
+CONFIG_VCONFIG=y |
|
| 265 |
+CONFIG_VMSTAT=y |
|
| 266 |
+CONFIG_W=y |
|
| 267 |
+CONFIG_WHICH=y |
|
| 268 |
+CONFIG_XXD=y |
|
| 269 |
+CONFIG_YES=y |
|
| 270 |
+ |
|
| 271 |
+# |
|
| 272 |
+# Networking |
|
| 273 |
+# |
|
| 274 |
+CONFIG_FTPGET=y |
|
| 275 |
+CONFIG_FTPPUT=y |
|
| 276 |
+CONFIG_IFCONFIG=y |
|
| 277 |
+CONFIG_MICROCOM=y |
|
| 278 |
+CONFIG_NETCAT=y |
|
| 279 |
+CONFIG_NETCAT_LISTEN=y |
|
| 280 |
+CONFIG_NETSTAT=y |
|
| 281 |
+CONFIG_RFKILL=y |
|
| 282 |
+CONFIG_TUNCTL=y |
|
| 283 |
+ |
|
| 284 |
+# |
|
| 285 |
+# Linux Standard Base commands |
|
| 286 |
+# |
|
| 287 |
+CONFIG_HOSTNAME=y |
|
| 288 |
+CONFIG_KILLALL=y |
|
| 289 |
+CONFIG_MD5SUM=y |
|
| 290 |
+CONFIG_SHA1SUM=y |
|
| 291 |
+# CONFIG_SHA224SUM is not set |
|
| 292 |
+# CONFIG_SHA256SUM is not set |
|
| 293 |
+# CONFIG_SHA384SUM is not set |
|
| 294 |
+# CONFIG_SHA512SUM is not set |
|
| 295 |
+CONFIG_MKNOD=y |
|
| 296 |
+# CONFIG_MKNOD_Z is not set |
|
| 297 |
+CONFIG_MKTEMP=y |
|
| 298 |
+CONFIG_MOUNT=y |
|
| 299 |
+CONFIG_PASSWD=y |
|
| 300 |
+# CONFIG_PASSWD_SAD is not set |
|
| 301 |
+CONFIG_PIDOF=y |
|
| 302 |
+CONFIG_SEQ=y |
|
| 303 |
+CONFIG_SU=y |
|
| 304 |
+CONFIG_SYNC=y |
|
| 305 |
+CONFIG_UMOUNT=y |
|
| 306 |
+ |
|
| 307 |
+# |
|
| 308 |
+# Example commands |
|
| 309 |
+# |
|
| 310 |
+# CONFIG_HELLO is not set |
|
| 311 |
+# CONFIG_HOSTID is not set |
|
| 312 |
+# CONFIG_SKELETON is not set |
|
| 313 |
+# CONFIG_SKELETON_ALIAS is not set |
|
| 314 |
+# CONFIG_TEST_HUMAN_READABLE is not set |
|
| 315 |
+# CONFIG_TEST_MANY_OPTIONS is not set |
|
| 316 |
+# CONFIG_TEST_SCANKEY is not set |
|
| 317 |
+ |
|
| 318 |
+# |
|
| 319 |
+# Android |
|
| 320 |
+# |
|
| 321 |
+# CONFIG_GETENFORCE is not set |
|
| 322 |
+# CONFIG_GETPROP is not set |
|
| 323 |
+# CONFIG_LOAD_POLICY is not set |
|
| 324 |
+# CONFIG_LOG is not set |
|
| 325 |
+# CONFIG_RESTORECON is not set |
|
| 326 |
+# CONFIG_RUNCON is not set |
|
| 327 |
+# CONFIG_SENDEVENT is not set |
|
| 328 |
+# CONFIG_SETENFORCE is not set |
|
| 329 |
+# CONFIG_SETPROP is not set |
|
| 330 |
+# CONFIG_START is not set |
|
| 331 |
+# CONFIG_STOP is not set |
|
| 332 |
+ |
|
| 333 |
+# |
|
| 334 |
+# |
|
| 335 |
+# |
|
| 336 |
+ |
|
| 337 |
+# |
|
| 338 |
+# Toybox global settings |
|
| 339 |
+# |
|
| 340 |
+CONFIG_TOYBOX=y |
|
| 341 |
+CONFIG_TOYBOX_SUID=y |
|
| 342 |
+CONFIG_TOYBOX_LSM_NONE=y |
|
| 343 |
+# CONFIG_TOYBOX_SELINUX is not set |
|
| 344 |
+# CONFIG_TOYBOX_SMACK is not set |
|
| 345 |
+# CONFIG_TOYBOX_LIBCRYPTO is not set |
|
| 346 |
+CONFIG_TOYBOX_FLOAT=y |
|
| 347 |
+CONFIG_TOYBOX_HELP=y |
|
| 348 |
+CONFIG_TOYBOX_HELP_DASHDASH=y |
|
| 349 |
+# CONFIG_TOYBOX_I18N is not set |
|
| 350 |
+# CONFIG_TOYBOX_FREE is not set |
|
| 351 |
+# CONFIG_TOYBOX_NORECURSE is not set |
|
| 352 |
+# CONFIG_TOYBOX_DEBUG is not set |
|
| 353 |
+CONFIG_TOYBOX_UID_SYS=100 |
|
| 354 |
+CONFIG_TOYBOX_UID_USR=500 |
|
| 355 |
+# CONFIG_TOYBOX_MUSL_NOMMU_IS_BROKEN is not set |
| 0 | 356 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,49 @@ |
| 0 |
+Name: toybox |
|
| 1 |
+Version: 0.7.3 |
|
| 2 |
+Release: 1%{?dist}
|
|
| 3 |
+License: BSD |
|
| 4 |
+Summary: Common Linux command line utilities in a single executable |
|
| 5 |
+Url: http://landley.net/toybox/ |
|
| 6 |
+Group: Applications/System |
|
| 7 |
+Vendor: VMware, Inc. |
|
| 8 |
+Distribution: Photon |
|
| 9 |
+Source0: http://landley.net/toybox/downloads/%{name}-%{version}.tar.gz
|
|
| 10 |
+%define sha1 toybox=f3d9f5396a210fb2ad7d6309acb237751c50812f |
|
| 11 |
+Source1: config-%{version}
|
|
| 12 |
+%description |
|
| 13 |
+Toybox combines common Linux command line utilities together into a single |
|
| 14 |
+BSD-licensed executable that's simple, small, fast, reasonably |
|
| 15 |
+standards-compliant, and powerful enough to turn Android into a development |
|
| 16 |
+environment. |
|
| 17 |
+ |
|
| 18 |
+%prep |
|
| 19 |
+%setup -q -n toybox-%{version}
|
|
| 20 |
+ |
|
| 21 |
+%build |
|
| 22 |
+cp %{SOURCE1} .config
|
|
| 23 |
+make |
|
| 24 |
+ |
|
| 25 |
+%install |
|
| 26 |
+PREFIX=%{buildroot} make install
|
|
| 27 |
+chmod 755 %{buildroot}/bin/toybox
|
|
| 28 |
+ |
|
| 29 |
+%check |
|
| 30 |
+# Do not run all tests, skip losetup |
|
| 31 |
+# make tests |
|
| 32 |
+sed -i "s/^ if \[ \$# -ne 0 \]/ if false; /" scripts/test.sh |
|
| 33 |
+pushd tests |
|
| 34 |
+tests_to_run=`ls *.test | sed 's/.test//;/losetup/d'` |
|
| 35 |
+popd |
|
| 36 |
+./scripts/test.sh $tests_to_run |
|
| 37 |
+ |
|
| 38 |
+%files |
|
| 39 |
+%defattr(-,root,root) |
|
| 40 |
+%doc README LICENSE |
|
| 41 |
+/bin/* |
|
| 42 |
+/sbin/* |
|
| 43 |
+%{_bindir}/*
|
|
| 44 |
+%{_sbindir}/*
|
|
| 45 |
+ |
|
| 46 |
+%changelog |
|
| 47 |
+* Thu Apr 20 2017 Fabio Rapposelli <fabio@vmware.com> 0.7.3-1 |
|
| 48 |
+- Initial build. First version |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: Utilities for file systems, consoles, partitions, and messages |
| 2 | 2 |
Name: util-linux |
| 3 | 3 |
Version: 2.29.2 |
| 4 |
-Release: 1%{?dist}
|
|
| 4 |
+Release: 2%{?dist}
|
|
| 5 | 5 |
URL: http://www.kernel.org/pub/linux/utils/util-linux |
| 6 | 6 |
License: GPLv2+ |
| 7 | 7 |
Group: Applications/System |
| ... | ... |
@@ -10,6 +10,7 @@ Distribution: Photon |
| 10 | 10 |
Source0: %{name}-%{version}.tar.xz
|
| 11 | 11 |
%define sha1 util-linux=b488f185e74187a63b55baef9d3f48d5b1780118 |
| 12 | 12 |
BuildRequires: ncurses-devel |
| 13 |
+Requires: %{name}-libs = %{version}-%{release}
|
|
| 13 | 14 |
%description |
| 14 | 15 |
Utilities for handling file systems, consoles, partitions, |
| 15 | 16 |
and messages. |
| ... | ... |
@@ -17,17 +18,23 @@ and messages. |
| 17 | 17 |
%package lang |
| 18 | 18 |
Summary: Additional language files for util-linux |
| 19 | 19 |
Group: Applications/System |
| 20 |
-Requires: util-linux >= 2.24.1 |
|
| 20 |
+Requires: %{name} = %{version}-%{release}
|
|
| 21 | 21 |
%description lang |
| 22 | 22 |
These are the additional language files of util-linux. |
| 23 | 23 |
|
| 24 | 24 |
%package devel |
| 25 | 25 |
Summary: Header and library files for util-linux |
| 26 | 26 |
Group: Development/Libraries |
| 27 |
-Requires: util-linux >= 2.24.1 |
|
| 27 |
+Requires: %{name} = %{version}-%{release}
|
|
| 28 | 28 |
%description devel |
| 29 | 29 |
These are the header and library files of util-linux. |
| 30 | 30 |
|
| 31 |
+%package libs |
|
| 32 |
+Summary: library files for util-linux |
|
| 33 |
+Group: Development/Libraries |
|
| 34 |
+%description libs |
|
| 35 |
+These are library files of util-linux. |
|
| 36 |
+ |
|
| 31 | 37 |
%prep |
| 32 | 38 |
%setup -q |
| 33 | 39 |
sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' $(grep -rl '/etc/adjtime' .) |
| ... | ... |
@@ -56,7 +63,8 @@ sudo -u nobody -s /bin/bash -c "PATH=$PATH make -k check" |
| 56 | 56 |
%defattr(-,root,root) |
| 57 | 57 |
%dir %{_sharedstatedir}/hwclock
|
| 58 | 58 |
/bin/* |
| 59 |
-/lib/*.so.* |
|
| 59 |
+/lib/libfdisk.so.* |
|
| 60 |
+/lib/libsmartcols.so.* |
|
| 60 | 61 |
/sbin/* |
| 61 | 62 |
%{_bindir}/*
|
| 62 | 63 |
%{_sbindir}/*
|
| ... | ... |
@@ -66,6 +74,12 @@ sudo -u nobody -s /bin/bash -c "PATH=$PATH make -k check" |
| 66 | 66 |
%{_datadir}/bash-completion/completions/*
|
| 67 | 67 |
%{_datadir}/doc/util-linux/getopt/*
|
| 68 | 68 |
|
| 69 |
+%files libs |
|
| 70 |
+%defattr(-,root,root) |
|
| 71 |
+/lib/libblkid.so.* |
|
| 72 |
+/lib/libmount.so.* |
|
| 73 |
+/lib/libuuid.so.* |
|
| 74 |
+ |
|
| 69 | 75 |
%files lang -f %{name}.lang
|
| 70 | 76 |
%defattr(-,root,root) |
| 71 | 77 |
|
| ... | ... |
@@ -77,6 +91,8 @@ sudo -u nobody -s /bin/bash -c "PATH=$PATH make -k check" |
| 77 | 77 |
%{_mandir}/man3/*
|
| 78 | 78 |
|
| 79 | 79 |
%changelog |
| 80 |
+* Thu Apr 20 2017 Alexey Makhalov <amakhalov@vmware.com> 2.29.2-2 |
|
| 81 |
+- Added -libs subpackage to strip docker image. |
|
| 80 | 82 |
* Wed Apr 05 2017 Xiaolin Li <xiaolinl@vmware.com> 2.29.2-1 |
| 81 | 83 |
- Updated to version 2.29.2. |
| 82 | 84 |
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 2.27.1-5 |
| ... | ... |
@@ -36,7 +36,7 @@ mkdir $TEMP_CHROOT |
| 36 | 36 |
|
| 37 | 37 |
rpm --root $TEMP_CHROOT/ --initdb |
| 38 | 38 |
|
| 39 |
-tdnf --installroot $TEMP_CHROOT/ install -y filesystem bash coreutils photon-release photon-repos tdnf |
|
| 39 |
+tdnf --installroot $TEMP_CHROOT/ --rpmverbosity 10 install -y filesystem bash toybox tdnf photon-release photon-repos |
|
| 40 | 40 |
|
| 41 | 41 |
rpm --root $TEMP_CHROOT/ --import $TEMP_CHROOT/etc/pki/rpm-gpg/* |
| 42 | 42 |
|
| ... | ... |
@@ -104,6 +104,8 @@ class constants(object): |
| 104 | 104 |
"linux-api-headers", |
| 105 | 105 |
"glibc", |
| 106 | 106 |
"glibc-devel", |
| 107 |
+ "glibc-iconv", |
|
| 108 |
+ "glibc-tools", |
|
| 107 | 109 |
"zlib", |
| 108 | 110 |
"zlib-devel", |
| 109 | 111 |
"file", |
| ... | ... |
@@ -142,6 +144,7 @@ class constants(object): |
| 142 | 142 |
"make", |
| 143 | 143 |
"patch", |
| 144 | 144 |
"util-linux", |
| 145 |
+ "util-linux-libs", |
|
| 145 | 146 |
"util-linux-devel", |
| 146 | 147 |
"tar", |
| 147 | 148 |
"xz", |
| ... | ... |
@@ -196,8 +199,11 @@ class constants(object): |
| 196 | 196 |
"util-linux-devel", |
| 197 | 197 |
"flex-devel", |
| 198 | 198 |
"nspr-devel", |
| 199 |
+ "glibc-iconv", |
|
| 200 |
+ "glibc-tools", |
|
| 199 | 201 |
"bzip2-libs", |
| 200 | 202 |
"expat-libs", |
| 203 |
+ "util-linux-libs", |
|
| 201 | 204 |
"nss-libs", |
| 202 | 205 |
"xz-libs", |
| 203 | 206 |
"sqlite", |