Relocate dpkg to stx-integ/base/dpkg
Move content from stx-gplv2 into stx-integ
Packages will be relocated to
stx-integ:
base/
bash
cgcs-users
cluster-resource-agents
dpkg
haproxy
libfdt
netpbm
rpm
database/
mariadb
filesystem/
iscsi-initiator-utils
filesystem/drbd/
drbd-tools
kernel/kernel-modules/
drbd
integrity
intel-e1000e
intel-i40e
intel-i40evf
intel-ixgbe
intel-ixgbevf
qat17
tpmdd
ldap/
ldapscripts
networking/
iptables
net-tools
Change-Id: I8ca7a8506f3dc056da28f2fa696f9a5177283ed5
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
6
base/dpkg/.gitignore
vendored
Normal file
6
base/dpkg/.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
!.distro
|
||||
.distro/centos7/rpmbuild/RPMS
|
||||
.distro/centos7/rpmbuild/SRPMS
|
||||
.distro/centos7/rpmbuild/BUILD
|
||||
.distro/centos7/rpmbuild/BUILDROOT
|
||||
.distro/centos7/rpmbuild/SOURCES/dpkg*tar.gz
|
||||
4
base/dpkg/README
Normal file
4
base/dpkg/README
Normal file
@@ -0,0 +1,4 @@
|
||||
Many Titanium Cloud init services are using start-stop-daemon. It's not available under
|
||||
centos. Just pull it from dpkg but don't install everything.
|
||||
|
||||
Source: http://ftp.de.debian.org/debian/pool/main/d/dpkg/
|
||||
2
base/dpkg/centos/build_srpm.data
Normal file
2
base/dpkg/centos/build_srpm.data
Normal file
@@ -0,0 +1,2 @@
|
||||
COPY_LIST="$CGCS_BASE/downloads/dpkg_1.18.24.tar.xz"
|
||||
TIS_PATCH_VER=1
|
||||
43
base/dpkg/centos/dpkg.spec
Normal file
43
base/dpkg/centos/dpkg.spec
Normal file
@@ -0,0 +1,43 @@
|
||||
Summary: dpkg
|
||||
Name: dpkg
|
||||
Version: 1.18.24
|
||||
Release: 0%{?_tis_dist}.%{tis_patch_ver}
|
||||
License: GPLv2 and GPLv2+ and LGPLv2+ and Public Domain and BSD
|
||||
Group: base
|
||||
Packager: Wind River <info@windriver.com>
|
||||
URL: unknown
|
||||
Source0: %{name}_%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ncurses-static
|
||||
BuildRequires: perl-version
|
||||
|
||||
%description
|
||||
dpkg
|
||||
|
||||
%define local_bindir /usr/bin/
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
./configure --prefix=$RPM_BUILD_ROOT \
|
||||
--disable-dselect \
|
||||
--disable-update-alternatives \
|
||||
--without-liblzma
|
||||
make -j"%(nproc)"
|
||||
|
||||
%install
|
||||
# Don't install everything, it's too dangerous
|
||||
# make install
|
||||
|
||||
install -d -m 755 %{buildroot}%{local_bindir}
|
||||
install -p -D -m 700 utils/start-stop-daemon %{buildroot}%{local_bindir}/start-stop-daemon
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{local_bindir}/*
|
||||
@@ -126,3 +126,4 @@ kernel/kernel-modules/tpmdd
|
||||
kernel/kernel-modules/integrity
|
||||
kernel/kernel-modules/drbd
|
||||
base/rpm
|
||||
base/dpkg
|
||||
|
||||
Reference in New Issue
Block a user