9 Commits

Author SHA1 Message Date
Li Zhou
9d60767e32 ntp: fix CVE-2020-13817
Update ntp source package to:
ntp-4.2.6p5-29.el7.centos.2.src.rpm
In fact it is version ntp-4.2.6p5-29.el7_8.2.
(Refer to https://git.centos.org/rpms/ntp/c/
e9ba41e9edf8efad8f090aad24845b8f4db0668d?branch=c7)

Story: 2008532
Task: 41691
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Change-Id: If5db6b15b9c01a20a614bb160bba575c6b578d3e
2021-04-01 02:10:52 -04:00
Dongqi Chen
af359d4938 Add auto-versioning to starlingx/integ packages
This update makes use of the PKG_GITREVCOUNT variable
to auto-version the packages in this repo.

Story: 2007750
Task: 39951
Change-Id: I854419c922b9db4edbbf6f1e987a982ec2ec7b59
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
2020-06-24 09:48:28 +08:00
Jim Somerville
5d854355d8 Uprev ntp to version 4.2.6p5-29.el7
This solves:
ntp: Stack-based buffer overflow in ntpq and ntpdc allows
denial of service or code execution (CVE-2018-12327)

See the announcement link:

https://lists.centos.org/pipermail/centos-cr-announce/2019-August/006016.html

for more details.

Here we refresh the meta patches and correct the crime of
"name of patch file differs from git format-patch".  We
also clean up the commit short logs.

Change-Id: I263465d85f06096296fdd478a302eb110ab1259c
Closes-Bug: 1849197
Depends-On: https://review.opendev.org/#/c/695983
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
2019-11-25 16:07:17 -05:00
Kristine Bujold
588e39fe64 Add new ntp package to build
This is required to fix a bug with ntpq and IPV6 addresses. The ntpq
command truncates the remote addresses to 15 characters. This is not
long enough for IPV6 addresses. This has been fixed in version 4.2.8
which is not yet released by Centos. Patch
Fix-ntpq-truncates-IPV6-addresses.patch provides a subset of the fix.

aeb3ee65bc
https://bugs.ntp.org/show_bug.cgi?id=1128

Depends-On: https://review.opendev.org/680105
Partial-Bug: 1840687

Change-Id: If9d07acf913ebebead5505d44129f0644511b748
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-09-09 10:43:30 -04:00
slin14
644cb5ffa8 refactor ntp
Add ntp-config package to config the customized ntp.conf and ntpd.
With this change, ntp srpm is dropped to replaced by rpm.
ntp-config is configured to depend on ntp, so ntp will be included
in the ISO automatically.
ntp package will be installed in all type node, so no change to filter.

Test has been done:
build and deploy with multinode. confirm ntp.conf and ntpd is kept
the same as before.

Story: 2003768
Task: 27587

Change-Id: I795f0fd2b53c46c7302104a07c5d4cfe869d3c7b
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-11-07 18:32:28 +08:00
slin14
fefbdbdf1c remove un-used files in ntp
Story: 2004133
Task: 27579

Change-Id: I49a2fb2bca48715f577374e33c3e7a68cd670fd6
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-10-22 20:57:52 +08:00
slin14
868a2f2770 de-fuzz ntp patches
When do Centos 7.5 upgraded, some patches didn't resolve and cause
the fuzzy in the line numbers of the patches. And it may cause
.orig file is created when do patch. And this .orig file will lead
to rpm packaging failure due to the unexpected and unpackaged .orig
file.

Please visit below link to get more detail info:
https://bugs.launchpad.net/starlingx/+bug/1794611

Solution:
  Safest solution is to de-fuzz our patches.

Story: 2003389
Task: 26755

Change-Id: I45ebdfb791d7c0a83b2fc243f95d2a1fa2351682
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-28 08:11:37 +08:00
zhipengl
4166b4edcf upgrade ntp to CentOS 7.5 version
Story: 2003389
Task: 24497

Change-Id: I71a5ad0c51d61441a1d40ac27a5941b5fcc36441
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-08-22 23:13:55 +08:00
Scott Little
bab9bb6b69 Internal restructuring of stx-integ
Create new directories:
   ceph
   config
   config-files
   filesystem
   kernel
   kernel/kernel-modules
   ldap
   logging
   strorage-drivers
   tools
   utilities
   virt

Retire directories:
   connectivity
   core
   devtools
   support
   extended

Delete two packages:
   tgt
   irqbalance

Relocated packages:
   base/
      dhcp
      initscripts
      libevent
      lighttpd
      linuxptp
      memcached
      net-snmp
      novnc
      ntp
      openssh
      pam
      procps
      sanlock
      shadow
      sudo
      systemd
      util-linux
      vim
      watchdog

   ceph/
      python-cephclient

   config/
      facter
      puppet-4.8.2
      puppet-modules

   filesystem/
      e2fsprogs
      nfs-utils
      nfscheck

   kernel/
      kernel-std
      kernel-rt

   kernel/kernel-modules/
      mlnx-ofa_kernel

   ldap/
      nss-pam-ldapd
      openldap

   logging/
      syslog-ng
      logrotate

   networking/
      lldpd
      iproute
      mellanox
      python-ryu
      mlx4-config

   python/
      python-2.7.5
      python-django
      python-gunicorn
      python-setuptools
      python-smartpm
      python-voluptuous

   security/
      shim-signed
      shim-unsigned
      tboot

   strorage-drivers/
      python-3parclient
      python-lefthandclient

   virt/
      cloud-init
      libvirt
      libvirt-python
      qemu

   tools/
      storage-topology
      vm-topology

   utilities/
      tis-extensions
      namespace-utils
      nova-utils
      update-motd

Change-Id: I37ade764d873c701b35eac5881eb40412ba64a86
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 10:06:31 -04:00