From 7a328658a4d6eb484971821503383ddf310ca6d6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 22 Sep 2014 10:39:59 +0200 Subject: [PATCH] Removed some chroot-* pkgs now that base-chroot-0.56 does not need them. --- srcpkgs/chroot-diffutils/template | 23 ---------------- srcpkgs/chroot-file/template | 44 ------------------------------- srcpkgs/chroot-findutils/template | 39 --------------------------- srcpkgs/chroot-gzip/template | 33 ----------------------- srcpkgs/chroot-make/template | 21 --------------- srcpkgs/chroot-patch/template | 23 ---------------- srcpkgs/chroot-sed/template | 23 ---------------- srcpkgs/chroot-tar/template | 23 ---------------- 8 files changed, 229 deletions(-) delete mode 100644 srcpkgs/chroot-diffutils/template delete mode 100644 srcpkgs/chroot-file/template delete mode 100644 srcpkgs/chroot-findutils/template delete mode 100644 srcpkgs/chroot-gzip/template delete mode 100644 srcpkgs/chroot-make/template delete mode 100644 srcpkgs/chroot-patch/template delete mode 100644 srcpkgs/chroot-sed/template delete mode 100644 srcpkgs/chroot-tar/template diff --git a/srcpkgs/chroot-diffutils/template b/srcpkgs/chroot-diffutils/template deleted file mode 100644 index d36837f165f..00000000000 --- a/srcpkgs/chroot-diffutils/template +++ /dev/null @@ -1,23 +0,0 @@ -# Template file for 'chroot-diffutils' -pkgname=chroot-diffutils -version=3.3 -revision=1 -wrksrc="diffutils-${version}" -bootstrap=yes -conflicts="diffutils>=0" -provides="diffutils-${version}_${revision}" -build_style=gnu-configure -configure_args="--disable-nls ac_cv_libsigsegv=/bin/false" -short_desc="The GNU diff utilities -- for xbps-src use" -maintainer="Juan RP " -homepage="http://www.gnu.org/software/diffutils" -license="GPL-3" -distfiles="${GNU_SITE}/diffutils/diffutils-$version.tar.xz" -checksum=a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c - -post_install() { - rm -rf ${DESTDIR}/usr/share - if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then - rm -f ${DESTDIR}/usr/lib/charset.alias - fi -} diff --git a/srcpkgs/chroot-file/template b/srcpkgs/chroot-file/template deleted file mode 100644 index 0070d5b1e99..00000000000 --- a/srcpkgs/chroot-file/template +++ /dev/null @@ -1,44 +0,0 @@ -# Template file for 'chroot-file' -pkgname=chroot-file -version=5.19 -revision=1 -wrksrc="file-${version}" -build_style=gnu-configure -hostmakedepends="zlib-devel" -makedepends="zlib-devel" -short_desc="File type identification utility -- for xbps-src use" -maintainer="Juan RP " -homepage="http://www.darwinsys.com/file/" -license="BSD" -distfiles="ftp://ftp.astron.com/pub/file/file-$version.tar.gz" -checksum=9484b3bbda1acc7b13a4f71031a85ce10c77bd0ffec7226741a219ef587e3a7c - -lib32disabled=yes -bootstrap=yes -noverifyrdeps=yes - -for f in file file-devel libmagic; do - conflicts+="${f}>=0 " - provides+="${f}-${version}_${revision} " -done - -pre_configure() { - if [ "$CROSS_BUILD" ]; then - # Build host file first. - [ ! -d host-build ] && mkdir host-build - cd host-build - CC= CFLAGS= LDFLAGS= AR= RANLIB= ../configure - make ${makejobs} - install -m755 src/file ${wrksrc}/host-build/ - fi -} - -pre_build() { - if [ "$CROSS_BUILD" ]; then - sed "s,file --version | sed -e s/file-// -e q,${wrksrc}/host-build/file --version | sed -e s/file-// -e s/lt-// -e q,g" -i magic/Makefile - fi -} - -post_install() { - rm -rf ${DESTDIR}/usr/share/man -} diff --git a/srcpkgs/chroot-findutils/template b/srcpkgs/chroot-findutils/template deleted file mode 100644 index 947905d7a27..00000000000 --- a/srcpkgs/chroot-findutils/template +++ /dev/null @@ -1,39 +0,0 @@ -# Template file for 'chroot-findutils' -pkgname=chroot-findutils -version=4.4.2 -revision=4 -wrksrc="findutils-${version}" -bootstrap=yes -conflicts="findutils>=0" -provides="findutils-${version}_${revision}" -build_style=gnu-configure -configure_args="--disable-nls gl_cv_func_wcwidth_works=yes - gl_cv_header_working_fcntl_h=yes am_cv_func_working_getline=yes - gl_cv_func_gettimeofday_clobber=no ac_cv_func_working_mktime=yes" -short_desc="The GNU Find Utilities -- for xbps-src use" -maintainer="Juan RP " -license="GPL-3" -homepage="http://www.gnu.org/software/findutils" -distfiles="http://ftp.gnu.org/gnu/findutils/findutils-$version.tar.gz" -checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a - -pre_configure() { - case "$XBPS_TARGET_MACHINE" in - *-musl) - # Special case for musl libc; "fix" issues with gnulib. - : > gnulib/lib/freadahead.c - : > gnulib/lib/fseeko.c - echo "void close_stdin(void) {}" > gnulib/lib/closein.c - ;; - esac -} - -post_install() { - for f in locate oldfind updatedb; do - rm -f ${DESTDIR}/usr/bin/${f} - done - rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/libexec - if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then - rm -f ${DESTDIR}/usr/lib/charset.alias - fi -} diff --git a/srcpkgs/chroot-gzip/template b/srcpkgs/chroot-gzip/template deleted file mode 100644 index 08d48c4c9c8..00000000000 --- a/srcpkgs/chroot-gzip/template +++ /dev/null @@ -1,33 +0,0 @@ -# Template file for 'chroot-gzip' -pkgname=chroot-gzip -version=1.6 -revision=3 -wrksrc="gzip-${version}" -bootstrap=yes -conflicts="gzip>=0" -provides="gzip-${version}_${revision}" -build_style=gnu-configure -configure_args="gl_cv_func_fprintf_posix=yes gl_cv_func_fflush_stdin=yes" -homepage="http://www.gnu.org/software/gzip/" -license="GPL-3" -short_desc="GNU compression utility -- for xbps-src use" -maintainer="Juan RP " -distfiles="http://ftp.gnu.org/gnu/gzip/gzip-$version.tar.gz" -checksum=97eb83b763d9e5ad35f351fe5517e6b71521d7aac7acf3e3cacdb6b1496d8f7e - -pre_configure() { - case "$XBPS_TARGET_MACHINE" in - *-musl) - # Special case for musl libc; "fix" issues with gnulib. - : > lib/fseeko.c - echo "void close_stdin(void) {}" > lib/closein.c - ;; - esac -} - -post_install() { - rm -rf ${DESTDIR}/usr/share - if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then - rm -f ${DESTDIR}/usr/lib/charset.alias - fi -} diff --git a/srcpkgs/chroot-make/template b/srcpkgs/chroot-make/template deleted file mode 100644 index b2df4a38417..00000000000 --- a/srcpkgs/chroot-make/template +++ /dev/null @@ -1,21 +0,0 @@ -# Template build file for 'chroot-make' -pkgname=chroot-make -version=4.0 -revision=3 -bootstrap=yes -wrksrc="make-${version}" -conflicts="make>=0" -provides="make-${version}_${revision}" -build_style=gnu-configure -configure_args="--disable-nls --without-guile" -short_desc="The GNU make system -- for xbps-src use" -maintainer="Juan RP " -homepage="http://www.gnu.org/software/make/" -license="GPL-3" -distfiles="http://ftp.gnu.org/pub/gnu/make/make-$version.tar.bz2" -checksum=e60686c7afede62cc8c86ad3012cf081ea4887daf9d223ce7115703b2bb2dbdb - -post_install() { - rm -rf ${DESTDIR}/usr/share - rm -rf ${DESTDIR}/usr/include -} diff --git a/srcpkgs/chroot-patch/template b/srcpkgs/chroot-patch/template deleted file mode 100644 index 04c0efbae90..00000000000 --- a/srcpkgs/chroot-patch/template +++ /dev/null @@ -1,23 +0,0 @@ -# Template file for 'chroot-patch' -pkgname=chroot-patch -version=2.7.1 -revision=4 -wrksrc="patch-${version}" -bootstrap=yes -build_style=gnu-configure -configure_args="--disable-xattr" -conflicts="patch>=0" -provides="patch-${version}_${revision}" -short_desc="Patch files using diff output -- for xbps-src use" -maintainer="Juan RP " -homepage="http://savannah.gnu.org/projects/patch/" -license="GPL-3" -distfiles="http://ftp.gnu.org/gnu/patch/patch-$version.tar.bz2" -checksum=aae676de9e95051f425af4507fcc9a019941a2a1f78405e7dbd40bccf786aa11 - -post_install() { - rm -rf ${DESTDIR}/usr/share - if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then - rm -f ${DESTDIR}/usr/lib/charset.alias - fi -} diff --git a/srcpkgs/chroot-sed/template b/srcpkgs/chroot-sed/template deleted file mode 100644 index a555b874812..00000000000 --- a/srcpkgs/chroot-sed/template +++ /dev/null @@ -1,23 +0,0 @@ -# Template file for 'chroot-sed' -pkgname=chroot-sed -version=4.2.2 -revision=3 -wrksrc="sed-${version}" -bootstrap=yes -conflicts="sed>=0" -provides="sed-${version}_${revision}" -build_style=gnu-configure -configure_args="--disable-acl --disable-nls --disable-i18n" -short_desc="The GNU stream editor -- for xbps-src use" -maintainer="Juan RP " -homepage="http://www.gnu.org/software/sed/" -license="GPL-3" -distfiles="http://ftp.gnu.org/gnu/sed/sed-$version.tar.gz" -checksum=fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff - -post_install() { - rm -rf ${DESTDIR}/usr/share - if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then - rm -f ${DESTDIR}/usr/lib/charset.alias - fi -} diff --git a/srcpkgs/chroot-tar/template b/srcpkgs/chroot-tar/template deleted file mode 100644 index 6acace441a1..00000000000 --- a/srcpkgs/chroot-tar/template +++ /dev/null @@ -1,23 +0,0 @@ -# Template build file for 'chroot-tar'. -pkgname=chroot-tar -version=1.27.1 -revision=2 -wrksrc="tar-${version}" -bootstrap=yes -conflicts="tar>=0" -provides="tar-${version}_${revision}" -build_style=gnu-configure -configure_args="--disable-acl" -homepage="http://www.gnu.org/software/tar/" -license="GPL-3" -short_desc="The GNU tape archiver -- for xbps-src use" -maintainer="Juan RP " -distfiles="http://ftp.gnu.org/gnu/tar/tar-$version.tar.xz" -checksum=574210bccbcf9eec889f73234a63ad6863f5b8644ac1f3d7f13871372295b7c7 - -post_install() { - rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/libexec - if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then - rm -f ${DESTDIR}/usr/lib/charset.alias - fi -}