I'll list some changes for FreeBSD 10.0
No change freebsd-cddl-10.0_beta1.ebuild Removed freebsd-contrib libodialog: removed. sort and patch: These are provided by freebsd-ubin-10.0_beta1.
Created attachment 361004 [details, diff] patch for boot0-10.0_beta1 Fixed a problem that can not build userboot/libstand. <snip> --- _inffast.o --- x86_64-gentoo-freebsd10.0-gcc -O2 -pipe -mtune=generic -fno-strict-aliasing -I/var/tmp/portage/sys-freebsd/boot0-10.0_beta1/work/lib/libstand -ffreestanding -Wformat -fPIC -I/var/tmp/portage/sys-freebsd/boot0-10.0_beta1/work/sys/boot/userboot/libstand/../../../../lib/libstand -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -I/var/tmp/portage/sys-freebsd/boot0-10.0_beta1/work/sys/boot/userboot/libstand/../../../../lib/libz -std=gnu99 -Wno-pointer-sign -c _inffast.c -o /var/tmp/portage/sys-freebsd/boot0-10.0_beta1/work/sys/boot/userboot/libstand/../../../../lib/libstand/_inffast.o --- libstand.a --- building static stand library nm: '__main.o': No such file nm: 'assert.o': No such file <snip> nm: 'ext2fs.o': No such file nm: 'splitfs.o': No such file ar: splitfs.o: No such file or directory *** [libstand.a] Error code 1 make[2]: stopped in /var/tmp/portage/sys-freebsd/boot0-10.0_beta1/work/sys/boot/userboot/libstand 1 error
Created attachment 361006 [details, diff] patch for freebsd-bin-10.0_beta1 remove new command, freebsd-version
Created attachment 361008 [details, diff] patch for freebsd-lib-10.0_beta1 remove WITHOUT_BIND.*= BIND has been removed from FreeBSD 10.0. added WITHOUT_LDNS= WITHOUT_UNBOUND= WITHOUT_ICONV= remove unbound and iconv related files. please use net-dns/unbound and dev-libs/libiconv instead. added (R)DEPEND="!dev-libs/libexecinfo" libexecinfo was merged into lib-10.0. added CXXFLAGS="${CXXFLAGS} -isystem ... it's requires to build atf. note, freebsd-lib-10.0-libproc-libcxx.patch is a patch for clang + libcxx environment. http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=blob_plain;f=sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libproc-libcxx.patch;hb=HEAD
Created attachment 361010 [details, diff] patch for freebsd-libexec-10.0_beta1 added patch for atf.
Created attachment 361012 [details, diff] patch for freebsd-mk-defs-10.0_beta1 patch update.
Created attachment 361014 [details, diff] patch for freebsd-pam-modules-10.0_beta1 change from NO_ to WITHOUT_
Created attachment 361016 [details, diff] patch for freebsd-pf-10.0_beta1 patch update. when SVN live ebuild, I have changed not to create a symbolic link /usr/sys.
Created attachment 361018 [details, diff] patch for freebsd-rescue-10.0_beta1 patch update.
(In reply to Yuta SATOH from comment #4) > added WITHOUT_LDNS= WITHOUT_UNBOUND= WITHOUT_ICONV= > remove unbound and iconv related files. > please use net-dns/unbound and dev-libs/libiconv instead. is the included iconv really gnu iconv or the bsd kiconv has been merged ? in the former case you're absolutely right; in the latter I'd rather keep the bsd kiconv and block libiconv
(In reply to Alexis Ballier from comment #10) > (In reply to Yuta SATOH from comment #4) > > added WITHOUT_LDNS= WITHOUT_UNBOUND= WITHOUT_ICONV= > > remove unbound and iconv related files. > > please use net-dns/unbound and dev-libs/libiconv instead. > > is the included iconv really gnu iconv or the bsd kiconv has been merged ? BSD's kiconv merged 10.0. FYI, http://svnweb.freebsd.org/base/stable/10/lib/libiconv/ http://svnweb.freebsd.org/ports/head/UPDATING?view=patch&r1=325786&r2=326307&pathrev=326309 # ls -1 /usr/lib/*iconv* (Run on vanilla FreeBSD 10.0-ALPHA1) /usr/lib/libkiconv.a /usr/lib/libkiconv.so /usr/lib/libkiconv_p.a > in the former case you're absolutely right; in the latter I'd rather keep > the bsd kiconv and block libiconv I agree that keep bsd's kiconv. However, I think need for a test if it works properly on G/FBSD... Give me some time please.
Created attachment 361022 [details, diff] patch for freebsd-sbin-10.0_beta1 patch update. when SVN live ebuild, I have changed not to create a symbolic link /usr/sys.
Created attachment 361024 [details, diff] patch for freebsd-share-10.0_beta1 added WITHOUT_ICONV= when SVN live ebuild, I have changed not to create a symbolic link /usr/sys. update GROFF_TMAC_PATH=
Created attachment 361030 [details, diff] patch for freebsd-sources-10.0_beta1 patch update. added IUSE="+clang" aesni module can not be compiled with gcc. if set USE=clang, force set CC=clang. added RDEPEND="!sys-fs/fuse4bsd" 10.0 have fuse module. update __FreeBSD_cc_version. fix bug #487982
Created attachment 361032 [details] log that failed to build aesni using gcc
Created attachment 361034 [details, diff] patch for freebsd-ubin-10.0_beta1 patch update. added WITHOUT_LZMA_SUPPORT= instead freebsd-ubin-9.1-grep.patch WITHOUT_ICONV= i'll test later. WITHOUT_SVN= WITHOUT_SVNLITE= svnlite disable. WITHOUT_OPENSSH= fix file collisions fixed the problem of fails to build the mandoc and xlint. fixed fails to compile dtc when using gcc-4.6.4 (see ${PN}-10.0-dtc-gcc46.patch). remove bind stuff from REMOVE_SUBDIRS.
Created attachment 361036 [details, diff] patch for freebsd-usbin-10.0_beta1 patch update. RDEPEND -=sys-freebsd/freebsd-contrib-${RV}* contrib removed. -acpi? ( sys-power/iasl ) fix bug 477376. remove WITHOUT_BIND.*= added WITHOUT_UNBOUND= remove bind stuff amd sysinstall from REMOVE_SUBDIRS. added pc-sysinstall to REMOVE_SUBDIRS (This command also exist in 9.x). added iscsid initd script. fix bug #486652 (added nfsuserd.{initd,confd}) when SVN live ebuild, I have changed not to create a symbolic link /usr/sys.
ebuild and patches are available from gentoo-bsd overlay. http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git Feedback, better patches, ideas are all welcome.
(In reply to Yuta SATOH from comment #11) > (In reply to Alexis Ballier from comment #10) > > (In reply to Yuta SATOH from comment #4) > > > added WITHOUT_LDNS= WITHOUT_UNBOUND= WITHOUT_ICONV= > > > remove unbound and iconv related files. > > > please use net-dns/unbound and dev-libs/libiconv instead. > > > > is the included iconv really gnu iconv or the bsd kiconv has been merged ? > > BSD's kiconv merged 10.0. my mistake. BSD-licensed libiconv in base system is correct. BSD-licensed libiconv is the default on vanilla FreeBSD 10.0. sorry to confuse you. https://wiki.freebsd.org/G%C3%A1borSoC2009 > > in the former case you're absolutely right; in the latter I'd rather keep > > the bsd kiconv and block libiconv > > I agree that keep bsd's kiconv. > However, I think need for a test if it works properly on G/FBSD... > Give me some time please. anyway, I'll test BSD-licensed libiconv...
Created attachment 361226 [details, diff] sample patch for virtual/libiconv-0-r1.ebuild (In reply to Alexis Ballier from comment #10) > is the included iconv really gnu iconv or the bsd kiconv has been merged ? > > in the former case you're absolutely right; in the latter I'd rather keep > the bsd kiconv and block libiconv I've enabled BSD-licensed libiconv just now. In addition, I've added WITH_LIBICONV_COMPAT=yes option to create libiconv.so. -liconv is hard-coded in dev-vcs/git. In order to successfully compile git, run configure or libiconv.so is required. There may be packages that is hard-coded in the other. However, I don't have the time to test. Instead of test, I choose to create libiconv.so. http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=patch;h=d39c2e956873e483638e20160c677bad01a871ea
profile.bashrc and packages must have a profile of 10.0. profile.bashrc: please see bug #483156. packages: echo "-*sys-freebsd/freebsd-contrib" >> 10.0/packages
Created attachment 361784 [details] How to test G/FBSD 10.0-BETA1 I've confirmed that it can be upgraded from 9.2 on amd64-fbsd.
Created attachment 362296 [details, diff] sample patch for freebsd.eclass freebsd.eclass: Changed to use to force /usr/share/mk on FreeBSD 10.0.
Created attachment 362370 [details, diff] sample patch for freebsd.eclass I found new issue. update patch. freebsd.eclass: Changed to use to force /usr/share/mk on FreeBSD 10.0. + Fixed a problem of numerical comparison in 10.0. sample code) if [[ 10.0 > 9.1 ]] ; then echo "true" else echo "false" fi results) false
(In reply to Yuta SATOH from comment #20) > I've enabled BSD-licensed libiconv just now. > In addition, I've added WITH_LIBICONV_COMPAT=yes option to create > libiconv.so. WITH_LIBICONV_COMPAT has been removed. libiconv.so is no longer exists on FreeBSD 10.0... http://svnweb.freebsd.org/base?view=revision&revision=258230
Created attachment 364654 [details] packages for profile
Created attachment 364656 [details] packages.build for profile FYI, Fix of 10.0_beta1 or later available from gentoo-bsd overlay. Please check the differences by using diff. diff -I '\$Header:' -u 9.2.ebuild 10.0.ebuild
I pushed 10.0 profiles to gentoo-bsd overlay. I tested these profiles by to create stages. You can see the changes from 9.2. $ git diff ed203e32bb103679c1372b6992ef7b1b59c613e6 profiles
When using the tar.xz, file size of the source archive is small. I think we should use tar.xz is better. I bumped to EAPI=3 or newer. In addition, I have changed from tar.bz2 to tar.xz in SRC_URI. If you want to continue to use tar.bz2, please use ebuild in the past. http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=tree;h=ffc6bd917843dcb48d733c5a08fae780f6e3745c;hb=716cf834f56b3999d78e0540d5f620e712f1ef10 Note, EAPI=3 or later is required to use .tar.xz. http://devmanual.gentoo.org/ebuild-writing/eapi/#eapi=3 FYI, The size of the source archive of 10.0. # du -h tar.xz 105M tar.xz # du -h tar.bz2 127M tar.bz2
10.1 merged into the main tree.