Skip to content

Commit

Permalink
Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi1693 committed Mar 13, 2017
1 parent 2545d4d commit c23c3b7
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 17 deletions.
6 changes: 3 additions & 3 deletions build-system/zlib/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ shopt -s -o pipefail
set -e # Exit on error

PKG_NAME="zlib"
PKG_VERSION="1.2.8"
PKG_VERSION="1.2.11"

TARBALL="${PKG_NAME}-${PKG_VERSION}.tar.xz"
SRC_DIR="${PKG_NAME}-${PKG_VERSION}"
Expand All @@ -28,7 +28,7 @@ function build() {
CC="gcc -isystem /usr/include" \
CXX="g++ -isystem /usr/include" \
LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
./configure --prefix=/usr
./configure --prefix=/usr --enable-static=no

make ${MAKE_PARALLEL}
}
Expand All @@ -53,4 +53,4 @@ time { showHelp;clean;prepare;unpack;pushd ${SRC_DIR};build;[[ ${MAKE_TESTS} = T
# Verify installation
if [ -f /usr/lib/libz.so ]; then
touch ${DONE_DIR_BUILD_SYSTEM}/$(basename $(pwd))
fi
fi
24 changes: 15 additions & 9 deletions finalize-system/dpkg/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ shopt -s -o pipefail
set -e

PKG_NAME="dpkg"
PKG_VERSION="1.18.7"
PKG_VERSION="1.18.18"

TARBALL="${PKG_NAME}_${PKG_VERSION}.tar.xz"
SRC_DIR="${PKG_NAME}-${PKG_VERSION}"
Expand All @@ -26,18 +26,24 @@ function unpack() {
}

function build() {
export USE_ARCH=64 &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
./configure --prefix=/usr \
--sysconfdir=/etc \
export USE_ARCH=64 &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
./configure --prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib \
--sbindir=/usr/bin \
--disable-start-stop-daemon \
--disable-install-info \
--localstatedir=/var &&
make ${MAKE_PARALLEL} PERL_LIBDIR=$(perl -V:sitelib | cut -d\' -f2)
make ${MAKE_PARALLEL} PERL_LIBDIR=$(perl -V:sitelib | cut -d\' -f2)
}

function instal() {
make ${MAKE_PARALLEL} PERL_LIBDIR=$(perl -V:sitelib | cut -d\' -f2) install &&
unset USE_ARCH
make ${MAKE_PARALLEL} PERL_LIBDIR=$(perl -V:sitelib | cut -d\' -f2) install &&
unset USE_ARCH

install -d "/var/${PKG_NAME}"/updates/ &&
touch "/var/lib/${PKG_NAME}/"{status,available}
}

function clean() {
Expand All @@ -49,4 +55,4 @@ time { showHelp;clean;prepare;unpack;pushd ${SRC_DIR};build;instal;popd;clean; }
# Verify installation
if [ -f /usr/bin/dpkg ]; then
touch ${DONE_DIR_FINALIZE_SYSTEM}/$(basename $(pwd))
fi
fi
6 changes: 3 additions & 3 deletions md5sums
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ec6895a4d5c0637b01f0d0e7689e2b36 sources/dbus-1.9.0.tar.gz
5bda2cdb1af51a80aecce58d6e42bd2f sources/dejagnu-1.5.3.tar.gz
c2c4972ea3f0118c01fc03a026fce641 sources/dhcpcd-6.6.0.tar.bz2
99180208ec2a82ce71f55b0d7389f1b3 sources/diffutils-3.3.tar.xz
073dbf2129a54b0fc627464bf8af4a1b sources/dpkg_1.18.7.tar.xz
f68cee943aa275a326c0d7e263ee4242 sources/dpkg_1.18.18.tar.xz
ce8e4821f5f53d4ebff4195038e38673 sources/e2fsprogs-1.42.13.tar.xz
80649a0350ff9620fc2da9562d9f2a6a sources/eudev-1.7.tar.gz
dd7dab7a5fea97d2a6a43f511449b7cd sources/expat-2.1.0.tar.gz
Expand All @@ -35,7 +35,7 @@ e51e02bf552a0a1fbbdc948fb2f5e83c sources/glibc-2.22.tar.xz
c1f1db32fb6598d6a93e6e88796a8632 sources/gperf-3.0.4.tar.gz
e1015e951a49a82b02e38891026ef5df sources/grep-2.22.tar.xz
cc825fa64bc7306a885f2fb2268d3ec5 sources/groff-1.22.3.tar.gz
a1043102fbc7bcedbf53e7ee3d17ab91 sources/grub-2.00.tar.xz
a1043102fbc7bcedbf53e7ee3d17ab91 sources/grub-2.02~beta2.tar.xz
be62932eade308a364ea4bbc91295930 sources/grub-2.02~beta2.tar.xz
da981f86677d58a106496e68de6f8995 sources/gzip-1.6.tar.xz
3ba3afb1d1b261383d247f46cb135ee8 sources/iana-etc-2.30.tar.bz2
Expand Down Expand Up @@ -80,4 +80,4 @@ cab3d7be354000f629bc601238b629b3 sources/util-linux-2.25.2.tar.xz
95be0501a466e515422cde4af46b2744 sources/which-2.20.tar.gz
af4813fe3952362451201ced6fbce379 sources/XML-Parser-2.44.tar.gz
e26772b69940085c0632589ab1d52e64 sources/xz-5.2.2.tar.xz
28f1205d8dd2001f26fec1e8c2cebe37 sources/zlib-1.2.8.tar.xz
1c9f62f0778697a09d36121ead88e08e sources/zlib-1.2.8.tar.xz
6 changes: 4 additions & 2 deletions wget-list
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ftp://alpha.gnu.org/gnu/bc/bc-1.06.95.tar.bz2
http://ftp.gnu.org/gnu/binutils/binutils-2.25.1.tar.bz2
http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.xz
http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
https://busybox.net/downloads/busybox-1.20.2.tar.bz2
http://sourceforge.net/projects/check/files/check/0.10.0/check-0.10.0.tar.gz
http://clfs.org/files/clfs-network-scripts-20140224.tar.xz
http://ftp.gnu.org/gnu/coreutils/coreutils-8.23.tar.xz
Expand All @@ -17,7 +18,7 @@ http://dbus.freedesktop.org/releases/dbus/dbus-1.9.0.tar.gz
http://ftp.gnu.org/gnu/dejagnu/dejagnu-1.5.3.tar.gz
http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.6.0.tar.bz2
http://ftp.gnu.org/gnu/diffutils/diffutils-3.3.tar.xz
http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.18.7.tar.xz
http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.18.18.tar.xz
http://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.42.13/e2fsprogs-1.42.13.tar.xz
http://dev.gentoo.org/~blueness/eudev/eudev-1.7.tar.gz
http://downloads.sourceforge.net/expat/expat-2.1.0.tar.gz
Expand Down Expand Up @@ -56,6 +57,7 @@ http://www.multiprecision.org/mpc/download/mpc-1.0.3.tar.gz
http://www.mpfr.org/mpfr-3.1.3/mpfr-3.1.3.tar.xz
http://ftp.gnu.org/gnu/nano/nano-2.3.6.tar.gz
http://ftp.gnu.org/gnu/ncurses/ncurses-6.0.tar.gz
https://www.openssl.org/source/old/1.0.1/openssl-1.0.1e.tar.gz
http://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz
http://www.cpan.org/src/5.0/perl-5.20.1.tar.bz2
http://sourceforge.net/projects/pkgconfiglite/files/0.28-1/pkg-config-lite-0.28-1.tar.gz
Expand All @@ -77,4 +79,4 @@ http://ftp.gnu.org/gnu/wget/wget-1.15.tar.xz
ftp://ftp.gnu.org/gnu/which/which-2.20.tar.gz
http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-2.44.tar.gz
http://tukaani.org/xz/xz-5.2.2.tar.xz
http://zlib.net/zlib-1.2.8.tar.xz
http://zlib.net/zlib-1.2.11.tar.gz

0 comments on commit c23c3b7

Please sign in to comment.