diff options
author | 2005-06-08 09:06:21 +0000 | |
---|---|---|
committer | 2005-06-08 09:06:21 +0000 | |
commit | eb7957ad9ad2dd6553fedefbd50140495d491be6 (patch) | |
tree | 60f7301ab7a0a0c6efa63529d4087f591a1d69a1 /sys-apps/baselayout-vserver | |
parent | Added to ~ppc (diff) | |
download | gentoo-2-eb7957ad9ad2dd6553fedefbd50140495d491be6.tar.gz gentoo-2-eb7957ad9ad2dd6553fedefbd50140495d491be6.tar.bz2 gentoo-2-eb7957ad9ad2dd6553fedefbd50140495d491be6.zip |
added compatible versioning with sys-apps/baselayout; new, revised patch; 1.0 is obsolete
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/baselayout-vserver')
-rw-r--r-- | sys-apps/baselayout-vserver/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/baselayout-vserver/Manifest | 19 | ||||
-rw-r--r-- | sys-apps/baselayout-vserver/baselayout-vserver-1.11.12-r4.ebuild (renamed from sys-apps/baselayout-vserver/baselayout-vserver-1.0.ebuild) | 84 | ||||
-rw-r--r-- | sys-apps/baselayout-vserver/files/digest-baselayout-vserver-1.0 | 2 | ||||
-rw-r--r-- | sys-apps/baselayout-vserver/files/digest-baselayout-vserver-1.11.12-r4 | 1 |
5 files changed, 49 insertions, 66 deletions
diff --git a/sys-apps/baselayout-vserver/ChangeLog b/sys-apps/baselayout-vserver/ChangeLog index d6d1fed3e2b2..93e4bc24468d 100644 --- a/sys-apps/baselayout-vserver/ChangeLog +++ b/sys-apps/baselayout-vserver/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/baselayout-vserver # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-vserver/ChangeLog,v 1.5 2005/05/30 03:22:26 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-vserver/ChangeLog,v 1.6 2005/06/08 09:06:21 hollow Exp $ + +*baselayout-vserver-1.11.12-r4 (08 Jun 2005) + + 08 Jun 2005; Benedikt Boehm <hollow@gentoo.org> + -baselayout-vserver-1.0.ebuild, +baselayout-vserver-1.11.12-r4.ebuild: + added compatible versioning with sys-apps/baselayout; new, revised patch; + 1.0 is obsolete 29 May 2005; <solar@gentoo.org> baselayout-vserver-1.0.ebuild: - update baselayout-vserver to use libc expanded variable elibc_uclibc vs diff --git a/sys-apps/baselayout-vserver/Manifest b/sys-apps/baselayout-vserver/Manifest index 43656168618d..4b07f91f2434 100644 --- a/sys-apps/baselayout-vserver/Manifest +++ b/sys-apps/baselayout-vserver/Manifest @@ -1,18 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 25e8d23b3266e6ecf2f3c286b301b162 baselayout-vserver-1.0.ebuild 12847 -MD5 093aa39bb4b0414cc32701ab13a10c8a ChangeLog 982 MD5 74c5aadf8e3e9d642a20e64d1afefec8 metadata.xml 239 -MD5 76a9437d29bd77c416f76fbcf0cf2af2 files/vserver-changes 1642 +MD5 44312a93294939835362e0cd70a4d40d ChangeLog 1246 +MD5 89a3ebe44ad166410102541fa4f8a0de baselayout-vserver-1.11.12-r4.ebuild 12315 MD5 7c0cd50e4ac1dc062f5e6ab578e95659 files/copyright 2099 -MD5 8a0d41f3187138a032d55869caedf650 files/digest-baselayout-vserver-1.0 144 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iQCVAwUBQpqHDJ4WFLgrx1GWAQKAfAP/fIy4VU48P0j1fGkj8brtA/Sgq1ifwwU2 -p1N3hAV67ijzpUw6/j7L+Xv1+kdE9UuXnylrDMby9Xd1TRiQS2YdqV5iykBWbCgN -KG6vUc8LFq2nkP/3mK3FUOw98stUQAplHBVgxmtiUNZaOajwlhtfoKwo2jquMyub -sAAlJg3HPiw= -=k/Jl ------END PGP SIGNATURE----- +MD5 b0e4c08a36c9591bc8b87376afcd6d2d files/digest-baselayout-vserver-1.11.12-r4 78 diff --git a/sys-apps/baselayout-vserver/baselayout-vserver-1.0.ebuild b/sys-apps/baselayout-vserver/baselayout-vserver-1.11.12-r4.ebuild index 8ddf7295c453..418d41b9b933 100644 --- a/sys-apps/baselayout-vserver/baselayout-vserver-1.0.ebuild +++ b/sys-apps/baselayout-vserver/baselayout-vserver-1.11.12-r4.ebuild @@ -1,23 +1,21 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-vserver/baselayout-vserver-1.0.ebuild,v 1.5 2005/05/30 03:22:26 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-vserver/baselayout-vserver-1.11.12-r4.ebuild,v 1.1 2005/06/08 09:06:21 hollow Exp $ inherit flag-o-matic eutils toolchain-funcs multilib -SV=1.7.0 # rc-scripts version +SV=1.6.12 # rc-scripts version SVREV= # rc-scripts rev -S="${WORKDIR}/rc-scripts-${SV}${SVREV}" - -DESCRIPTION="Filesystem baselayout and init scripts for use in Linux-VServer" -HOMEPAGE="http://dev.gentoo.org/~hollow/vserver/baselayout" -SRC_URI="mirror://gentoo/rc-scripts-${SV}${SVREV}.tar.bz2 - mirror://gentoo/rc-scripts-${SV}${SVREV}-vserver.patch" +S="${WORKDIR}/rc-scripts-${SV}${SVREV}-vserver" +DESCRIPTION="Filesystem baselayout and init scripts for Linux-VServer" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="mirror://gentoo/rc-scripts-${SV}${SVREV}-vserver.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="bootstrap build static" +KEYWORDS="~x86" +IUSE="bootstrap build static unicode fakelog" # This version of baselayout needs gawk in /bin, but as we do not have # a c++ compiler during bootstrap, we cannot depend on it if "bootstrap" @@ -25,17 +23,25 @@ IUSE="bootstrap build static" RDEPEND=">=sys-apps/sysvinit-2.84 !build? ( !bootstrap? ( >=sys-libs/readline-5.0-r1 - >=app-shells/bash-3.0-r7 + >=app-shells/bash-3.0-r10 + >=sys-apps/coreutils-5.2.1 ) ) - !sys-apps/baselayout" + !sys-apps/baselayout + !sys-apps/baselayout-lite" DEPEND="virtual/os-headers" PROVIDE="virtual/baselayout" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" + + # Remove bashisms from /etc/profile + epatch "${FILESDIR}"/${P}-profile.patch - epatch ${DISTDIR}/rc-scripts-1.7.0-vserver.patch + # setup unicode defaults for silly unicode users + if use unicode ; then + sed -i -e '/^UNICODE=/s:no:yes:' etc/rc.conf + fi # Fix Sparc specific stuff if [[ $(tc-arch) == "sparc" ]] ; then @@ -50,13 +56,6 @@ src_compile() { CFLAGS="${CFLAGS}" || die } -# ${PATH} should include where to get MAKEDEV when calling this -# function -create_dev_nodes() { - einfo "Using generic-vserver to make ${ARCH} device nodes..." - MAKEDEV generic-vserver -} - # This is a temporary workaround until bug 9849 is completely solved # in portage. We need to create the directories so they're available # during src_install, but when src_install is finished, call unkdir @@ -116,7 +115,7 @@ src_install() { : ${libdirs:=lib} # it isn't that we don't trust multilib.eclass... # This should be /lib/rcscripts, but we have to support old profiles too. - if [ "${SYMLINK_LIB}" = "yes" ]; then + if [[ ${SYMLINK_LIB} == "yes" ]]; then rcscripts_dir="/$(get_abi_LIBDIR ${DEFAULT_ABI})/rcscripts" else rcscripts_dir="/lib/rcscripts" @@ -125,10 +124,8 @@ src_install() { einfo "Creating directories..." kdir /usr kdir /usr/local - kdir /boot kdir /dev kdir /dev/pts - kdir /dev/shm kdir /etc/conf.d kdir /etc/cron.daily kdir /etc/cron.hourly @@ -142,7 +139,7 @@ src_install() { kdir ${rcscripts_dir}/awk kdir ${rcscripts_dir}/sh kdir /opt - kdir -o root -g uucp -m0755 /var/lock + kdir -o root -g uucp -m0775 /var/lock kdir /proc kdir -m 0700 /root kdir /sbin @@ -158,7 +155,7 @@ src_install() { kdir /usr/local/share/doc kdir /usr/local/share/man kdir /usr/local/src - kdir /usr/portage + kdir ${PORTDIR} kdir /usr/sbin kdir /usr/share/doc kdir /usr/share/info @@ -201,7 +198,7 @@ src_install() { # insopts -m0644 insinto /etc - find ${S}/etc -maxdepth 1 -type f -print0 | xargs --null doins + doins -r "${S}"/etc/* # Install some files to /usr/share/baselayout instead of /etc to keep from # (1) overwriting the user's settings, (2) screwing things up when @@ -211,13 +208,14 @@ src_install() { mv ${D}/etc/{passwd,shadow,group,hosts,issue.devfix} ${D}/usr/share/baselayout cp -P ${S}/init.d/* ${D}/etc/init.d + if use fakelog; then + cp ${FILESDIR}/fakelog.initd ${D}/etc/init.d + fi chmod a+x ${D}/etc/init.d/* insinto /etc/conf.d doins ${S}/etc/conf.d/* insinto /etc/env.d doins ${S}/etc/env.d/* - insinto /etc/skel - find ${S}/etc/skel -maxdepth 1 -type f -print0 | xargs --null doins # Special-case uglyness... For people updating from lib32 -> lib amd64 # profiles, keep lib32 in the search path while it's around @@ -233,15 +231,11 @@ src_install() { # As of baselayout-1.10-1-r1, sysvinit is its own package again, and # provides the inittab itself - ## We provide our own inittab for vserver - #rm -f "${D}"/etc/inittab + rm -f "${D}"/etc/inittab # Stash the rc-lists for use during pkg_postinst cp -r "${S}"/rc-lists "${D}"/usr/share/baselayout - # uclibc doesn't need nsswitch.conf... added by solar - use elibc_uclibc && rm -f ${D}/etc/nsswitch.conf - # rc-scripts version for testing of features that *should* be present echo "Gentoo Base System version ${SV}" > ${D}/etc/gentoo-release @@ -307,7 +301,6 @@ src_install() { docinto / dodoc ${FILESDIR}/copyright dodoc ${S}/ChangeLog - dodoc ${FILESDIR}/vserver-changes fi # @@ -356,7 +349,7 @@ pkg_postinst() { # Touching /etc/passwd and /etc/shadow after install can be fatal, as many # new users do not update them properly... see src_install() for why they # are in /usr/share/baselayout/ - for x in passwd shadow group fstab ; do + for x in passwd shadow group; do if [[ -e ${ROOT}/etc/${x} ]] ; then touch "${ROOT}/etc/${x}" else @@ -366,14 +359,14 @@ pkg_postinst() { # Under what circumstances would mtab be a symlink? It would be # nice if there were an explanatory comment here - #if [[ -L ${ROOT}/etc/mtab ]]; then - # rm -f "${ROOT}/etc/mtab" - # if [[ ${ROOT} == / ]]; then - # cp /proc/mounts "${ROOT}/etc/mtab" - # else - # touch "${ROOT}/etc/mtab" - # fi - #fi + if [[ -L ${ROOT}/etc/mtab ]]; then + rm -f "${ROOT}/etc/mtab" + if [[ ${ROOT} == / ]]; then + cp /proc/mounts "${ROOT}/etc/mtab" + else + touch "${ROOT}/etc/mtab" + fi + fi # We should only install empty files if these files don't already exist. [[ -e ${ROOT}/var/log/lastlog ]] || \ @@ -419,7 +412,4 @@ pkg_postinst() { einfo einfo " # etc-update" echo - einfo "This release of baselayout-vserver supports experimental" - einfo "plain init style, gentoo init style will work as expected" - echo } diff --git a/sys-apps/baselayout-vserver/files/digest-baselayout-vserver-1.0 b/sys-apps/baselayout-vserver/files/digest-baselayout-vserver-1.0 deleted file mode 100644 index 768ff4ef6930..000000000000 --- a/sys-apps/baselayout-vserver/files/digest-baselayout-vserver-1.0 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 afa07a4242fab5d085813c8e97a43345 rc-scripts-1.7.0.tar.bz2 162694 -MD5 0b1e8979419aff03e1c44671b1f2a8bd rc-scripts-1.7.0-vserver.patch 333240 diff --git a/sys-apps/baselayout-vserver/files/digest-baselayout-vserver-1.11.12-r4 b/sys-apps/baselayout-vserver/files/digest-baselayout-vserver-1.11.12-r4 new file mode 100644 index 000000000000..501c68083c89 --- /dev/null +++ b/sys-apps/baselayout-vserver/files/digest-baselayout-vserver-1.11.12-r4 @@ -0,0 +1 @@ +MD5 98072769efc3daec3edcf60d89b62c42 rc-scripts-1.6.12-vserver.tar.bz2 105693 |