2019-05-25
This commit is contained in:
parent
e42cf13d67
commit
a9edab01f0
@ -1,16 +1,17 @@
|
||||
#TARBALL: http://ftp.rpm.org/releases/rpm-4.14.x/rpm-4.14.1.tar.bz2
|
||||
#TARBALL: ftp.rpm.org/releases/rpm-4.14.x/rpm-4.14.2.1.tar.bz2
|
||||
#TARBALL: http://download.oracle.com/berkeley-db/db-6.0.20.tar.gz
|
||||
#MD5SUM: 1058b1a8e96b42b4fc31afc6719c8239;SOURCES/rpm-4.14.1.tar.bz2
|
||||
#MD5SUM: fdb8b8857f103b087b6aed5b78dd9b4f;SOURCES/rpm-4.14.2.1.tar.bz2
|
||||
#MD5SUM: f73afcb308aefde7e6ece4caa87b22a9;SOURCES/db-6.0.20.tar.gz
|
||||
#-----------------------------------------------------------------------------
|
||||
Summary: Package manager
|
||||
Name: rpm
|
||||
Version: 4.14.1
|
||||
Release: 2
|
||||
Version: 4.14.2.1
|
||||
Release: 1
|
||||
License: GPLv2
|
||||
URL: http://rpm.org
|
||||
Group: LFS/BASE
|
||||
Vendor: Elizabeth
|
||||
|
||||
Source0: http://ftp.rpm.org/releases/rpm-4.14.x/%{name}-%{version}.tar.bz2
|
||||
Source1: http://download.oracle.com/berkeley-db/db-6.0.20.tar.gz
|
||||
Source2: macros
|
||||
@ -31,19 +32,14 @@ sed -i 's/--srcdir=$db_dist/--srcdir=$db_dist --with-pic/' db3/configure
|
||||
--with-crypto=openssl \
|
||||
--with-cap \
|
||||
--with-acl \
|
||||
--enable-python \
|
||||
--with-python=2.7 \
|
||||
--without-external-db \
|
||||
--without-archive \
|
||||
--without-lua \
|
||||
--disable-dependency-tracking \
|
||||
--disable-silent-rules \
|
||||
--disable-rpath \
|
||||
--with-python=2.7
|
||||
# --disable-plugins
|
||||
# --with-archive build rpm2archive - requires libarchive
|
||||
# --with-lua build with lua support
|
||||
# --with-python=<version>
|
||||
--disable-plugins \
|
||||
--disable-inhibit-plugin
|
||||
make %{?_smp_mflags}
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
72
TODO
72
TODO
@ -1,3 +1,75 @@
|
||||
Update rpm to 4.14.2.1:
|
||||
* update setup.sh, download 4.14.2.1 tarball
|
||||
* update tools.sh, build 4.14.2.1
|
||||
* update base.sh: not needed
|
||||
* update rpm.spec, see below
|
||||
* drop python dependency
|
||||
|
||||
#TARBALL: ftp.rpm.org/releases/rpm-4.14.x/rpm-4.14.2.1.tar.bz2
|
||||
#TARBALL: http://download.oracle.com/berkeley-db/db-6.0.20.tar.gz
|
||||
#MD5SUM: fdb8b8857f103b087b6aed5b78dd9b4f;rpm-4.14.2.1.tar.bz2
|
||||
#MD5SUM: f73afcb308aefde7e6ece4caa87b22a9;SOURCES/db-6.0.20.tar.gz
|
||||
#-----------------------------------------------------------------------------
|
||||
Summary: Package manager
|
||||
Name: rpm
|
||||
Version: 4.14.2.1
|
||||
Release: 1
|
||||
License: GPLv2
|
||||
URL: http://rpm.org
|
||||
Group: LFS/BASE
|
||||
Vendor: Elizabeth
|
||||
Source0: ftp.rpm.org/releases/rpm-4.14.x/%{name}-%{version}.tar.bz2
|
||||
Source1: http://download.oracle.com/berkeley-db/db-6.0.20.tar.gz
|
||||
Source2: macros
|
||||
Requires: filesystem
|
||||
%description
|
||||
Package manager
|
||||
#-----------------------------------------------------------------------------
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%setup -q -T -D -a 1 -n %{name}-%{version}
|
||||
sed -i 's/--srcdir=$db_dist/--srcdir=$db_dist --with-pic/' db3/configure
|
||||
%build
|
||||
ln -vs db-6.0.20 db
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--program-prefix= \
|
||||
--sysconfdir=/etc \
|
||||
--with-crypto=openssl \
|
||||
--with-cap \
|
||||
--with-acl \
|
||||
--without-external-db \
|
||||
--without-archive \
|
||||
--without-lua \
|
||||
--disable-dependency-tracking \
|
||||
--disable-silent-rules \
|
||||
--disable-rpath \
|
||||
--disable-plugins \
|
||||
--disable-inhibit-plugin
|
||||
|
||||
# --enable-python python bindings
|
||||
# --with-python=2.7 python bindings
|
||||
# --with-archive build rpm2archive - requires libarchive
|
||||
# --with-lua build with lua support
|
||||
|
||||
tools.sh:
|
||||
--prefix=/tools \
|
||||
--program-prefix= \
|
||||
--sysconfdir=/tools/etc \
|
||||
--with-crypto=openssl \
|
||||
--without-external-db
|
||||
--without-archive \
|
||||
--without-lua \
|
||||
--disable-dependency-tracking \
|
||||
--disable-silent-rules \
|
||||
--disable-rpath \
|
||||
--disable-plugins \
|
||||
--disable-inhibit-plugin
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
--enable-zstd=no \
|
||||
--enable-lmdb=no \
|
||||
|
||||
|
||||
Read base.spec to get list of packages to install
|
||||
|
||||
|
3
setup.sh
3
setup.sh
@ -122,8 +122,7 @@ function _chapter_3 {
|
||||
list+="${i} "
|
||||
done < "${TOPDIR}/BOOK/wget-list"
|
||||
list+="http://rpm5.org/files/popt/popt-1.16.tar.gz "
|
||||
list+="https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz "
|
||||
list+="http://ftp.rpm.org/releases/rpm-4.14.x/rpm-4.14.1.tar.bz2 "
|
||||
list+="http://ftp.rpm.org/releases/rpm-4.14.x/rpm-4.14.2.1.tar.bz2 "
|
||||
list+="http://download.oracle.com/berkeley-db/db-6.0.20.tar.gz "
|
||||
list+="https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.bz2 "
|
||||
list+="https://ftp.gnu.org/gnu/wget/wget-1.20.1.tar.gz "
|
||||
|
17
tools.sh
17
tools.sh
@ -1220,18 +1220,19 @@ function Rpm {
|
||||
--prefix=/tools \
|
||||
--program-prefix= \
|
||||
--sysconfdir=/tools/etc \
|
||||
--disable-dependency-tracking \
|
||||
--disable-shared \
|
||||
--disable-silent-rules \
|
||||
--with-crypto=openssl \
|
||||
--without-external-db \
|
||||
--without-archive \
|
||||
--without-lua \
|
||||
--without-plugins \
|
||||
--with-crypto=openssl \
|
||||
--disable-dependency-tracking \
|
||||
--disable-silent-rules \
|
||||
--disable-rpath \
|
||||
--disable-plugins \
|
||||
--disable-inhibit-plugin \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
--enable-zstd=no \
|
||||
--enable-lmdb=no \
|
||||
--disable-rpath \
|
||||
--without-external-db >> ${logfile} 2>&1
|
||||
--enable-lmdb=no >> ${logfile} 2>&1
|
||||
msg_success
|
||||
msg_line " Make: "
|
||||
make ${MKFLAGS} >> ${logfile} 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user