Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

383 Commits   1 Branch   1 Tag
Index: 4.2.8p15/Makefile
===================================================================
--- 4.2.8p15/Makefile	(nonexistent)
+++ 4.2.8p15/Makefile	(revision 5)
@@ -0,0 +1,300 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES    = sources/packages/n/ntp
+
+REQUIRES           = secure/libcap/2.48
+REQUIRES          += net/openssl/1.1.1r
+REQUIRES          += libs/libevent/2.1.12
+REQUIRES          += libs/libedit/20191231-3.1
+REQUIRES          += libs/ncurses/6.3
+REQUIRES          += net/net-snmp/5.9
+REQUIRES          += dev/perl/5.36.0
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version            = 4.2.8p15
+tar_gz_archive     = $(SRC_PACKAGE_PATH)/packages/n/ntp/ntp-$(version).tar.gz
+SRC_ARCHIVE        = $(tar_gz_archive)
+SRC_DIR            = $(TARGET_BUILD_DIR)/ntp-$(version)
+src_dir_name       = ntp-$(version)
+src_done           = $(TARGET_BUILD_DIR)/.source_done
+
+conf_dir           = $(CURDIR)/conf
+
+
+PATCHES = PATCHES
+
+build_target       = $(TARGET_BUILD_DIR)/.build_done
+install_target     = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = net
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+NTP_PKG_NAME                = ntp
+NTP_PKG_VERSION             = 4.2.8p15
+NTP_PKG_ARCH                = $(PKGARCH)
+NTP_PKG_DISTRO_NAME         = $(DISTRO_NAME)
+NTP_PKG_DISTRO_VERSION      = $(DISTRO_VERSION)
+NTP_PKG_GROUP               = $(PKG_GROUP)
+###                          |---handy-ruler-------------------------------|
+NTP_PKG_SHORT_DESCRIPTION   = Network Time Protocol daemon
+NTP_PKG_URL                 = $(BUG_URL)
+NTP_PKG_LICENSE             = custom
+NTP_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(NTP_PKG_NAME)-pkg-description
+NTP_PKG_DESCRIPTION_FILE_IN = $(NTP_PKG_NAME)-pkg-description.in
+NTP_PKG_INSTALL_SCRIPT      = $(NTP_PKG_NAME)-pkg-install.sh
+
+NTP_PKG          = $(CURDIR)/$(TARGET_BUILD_DIR)/$(NTP_PKG_NAME)-package
+
+pkg_basename     = $(NTP_PKG_NAME)-$(NTP_PKG_VERSION)-$(NTP_PKG_ARCH)-$(NTP_PKG_DISTRO_NAME)-$(NTP_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate  = $(call cert-name,$(pkg_archive))
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot  = DESTDIR=$(NTP_PKG)
+
+
+extra_configure_switches  = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --htmldir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+
+extra_configure_switches += --sysconfdir=/etc
+extra_configure_switches += --localstatedir=/var
+
+extra_configure_switches += --bindir=/usr/sbin
+extra_configure_switches += --sbindir=/usr/sbin
+
+extra_configure_switches += --enable-linuxcaps
+extra_configure_switches += --enable-ntp-signd
+
+extra_configure_switches += --with-yielding-select=yes
+
+extra_configure_switches += --enable-ipv6
+extra_configure_switches += --with-crypto
+
+extra_configure_switches += --with-net-snmp-config=$(TARGET_DEST_DIR)/usr/bin/net-snmp-config
+
+extra_configure_switches += --program-prefix=
+extra_configure_switches += --program-suffix=
+
+
+CFLAGS += -Wno-strict-overflow -Wno-unused-result -Wno-stringop-truncation -Wno-maybe-uninitialized
+CFLAGS += -Wno-restrict -Wno-array-bounds -Wno-unused-variable -Wno-unused-function
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@cp -a $(CONFIG_GUESS) $(CONFIG_SUB) $(SRC_DIR)/sntp/libevent/build-aux
+	@touch $@
+
+$(build_target): $(src_done)
+	@cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) ./configure \
+	  --prefix=/usr               \
+	  --build=$(BUILD)            \
+	  --host=$(TARGET)            \
+	  $(extra_configure_switches)
+	@cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(MAKE)
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(NTP_PKG)
+	@cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+	# ======= remove empty && unneeded dirs =======
+	@rm -rf $(NTP_PKG)/usr/share/man/man8
+	@rm -rf $(NTP_PKG)/usr/libexec
+	# ======= symbolic link for ntpdate =======
+	@mkdir -p $(NTP_PKG)/usr/bin
+	@( cd $(NTP_PKG)/usr/bin ; \
+	   ln -sf ../sbin/ntpdate . ; \
+	 )
+	# ======= Install the initial ntpd config files and scripts =======
+	@mkdir -p $(NTP_PKG)/etc/{logrotate,rc}.d
+	@cp -a $(conf_dir)/ntp.conf  $(NTP_PKG)/etc/ntp.conf.new
+	@cp -a $(conf_dir)/ntp.keys  $(NTP_PKG)/etc/ntp.keys.new
+	@chmod 640 $(NTP_PKG)/etc/ntp.keys.new
+	@cat $(conf_dir)/rc.ntpd > $(NTP_PKG)/etc/rc.d/rc.ntpd.new
+	@chmod 644 $(NTP_PKG)/etc/rc.d/rc.ntpd.new
+	@cat $(conf_dir)/ntp.logrotate > $(NTP_PKG)/etc/logrotate.d/ntp.new
+	@mkdir -p $(NTP_PKG)/var/lib/ntp
+	@chmod 0775 $(NTP_PKG)/var/lib/ntp
+	# ======= Install Documentation =======
+	@if [ -d $(NTP_PKG)/usr/share/man ]; then \
+	  ( cd $(NTP_PKG)/usr/share/man ; \
+	    for manpagedir in `find . -type d -name "man*"` ; do \
+	      ( cd $$manpagedir ; \
+	        for eachpage in `find . -type l -maxdepth 1` ; do \
+	          ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+	          rm $$eachpage ; \
+	        done ; \
+	        gzip -9 *.? ; \
+	      ) \
+	    done \
+	  ) \
+	 fi
+	@mkdir -p $(NTP_PKG)/usr/doc/$(src_dir_name)
+	@cp -a $(SRC_DIR)/COPYRIGHT \
+	       $(NTP_PKG)/usr/doc/$(src_dir_name)
+	@mkdir -p $(NTP_PKG)/usr/share/doc/$(src_dir_name)/{util,ntpdate}
+	@( cd $(SRC_DIR) ; \
+	   cp -a COPYRIGHT README* TODO WHERE-TO-START *.y2kfixes \
+	         $(NTP_PKG)/usr/share/doc/$(src_dir_name) ; \
+	   cp -a util/README    $(NTP_PKG)/usr/share/doc/$(src_dir_name)/util    ; \
+	   cp -a ntpdate/README $(NTP_PKG)/usr/share/doc/$(src_dir_name)/ntpdate ; \
+	 )
+	@mkdir -p $(NTP_PKG)/usr/share/doc/$(src_dir_name)/{clockstuff,scripts}
+	@( cd $(SRC_DIR) ; \
+	   cp -a clockstuff/README clockstuff/propdelay \
+	         $(NTP_PKG)/usr/share/doc/$(src_dir_name)/clockstuff ; \
+	   cp -a conf \
+	         $(NTP_PKG)/usr/share/doc/$(src_dir_name) ; \
+	 )
+	@( cd $(SRC_DIR)/scripts ; \
+	   cp -a stats rc monitoring \
+	         $(NTP_PKG)/usr/share/doc/$(src_dir_name)/scripts ; \
+	 )
+	@mkdir -p $(NTP_PKG)/usr/share/doc/$(src_dir_name)/scripts/ntpsweep
+	@( cd $(SRC_DIR)/scripts/ntpsweep ; \
+	   sed -i 's,$(BUILDSYSTEM),,g' ntpsweep ; \
+	   cp -a ntpsweep ntpsweep.{1,html} \
+	         $(NTP_PKG)/usr/share/doc/$(src_dir_name)/scripts/ntpsweep ; \
+	 )
+	@( cd $(SRC_DIR) ; \
+	   if [ -r ChangeLog ]; then \
+	     DOCSDIR=`echo $(NTP_PKG)/usr/share/doc/$(src_dir_name)` ; \
+	     cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+	     touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+	   fi \
+	 )
+	@( cd $(SRC_DIR) ; \
+	   if [ -r NEWS ]; then \
+	     DOCSDIR=`echo $(NTP_PKG)/usr/share/doc/$(src_dir_name)` ; \
+	     cat NEWS | head -n 1000 > $$DOCSDIR/NEWS ; \
+	     touch -r NEWS $$DOCSDIR/NEWS ; \
+	   fi \
+	 )
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	$(call install-into-devenv, $(NTP_PKG))
+	# ======= Remove BS path from target scripts =======
+	@( cd $(NTP_PKG)/usr/sbin ; \
+	   sed -i 's,$(BUILDSYSTEM),,g' calc_tickadj ntp-wait ntptrace update-leap ; \
+	 )
+	# ======= Strip binaries =======
+	@( cd $(NTP_PKG) ; \
+	   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+	 )
+ifneq ($(PATCHELF),)
+	# ======= Set RPATH/RUNPATH for target binaries =======
+	@( cd $(NTP_PKG)/usr/sbin ; \
+	   for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+	     rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null | cut -f2 -d'='` ; \
+	     if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+	       rpath=`echo $$rpath | sed "s,$(TARGET_DEST_DIR),,g"` ; \
+	       $(PATCHELF) --set-rpath $$rpath $$file 1> /dev/null 2> /dev/null ; \
+	     fi ; \
+	   done ; \
+	 )
+endif
+	@touch $@
+
+$(NTP_PKG_DESCRIPTION_FILE): $(NTP_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(NTP_PKG_DESCRIPTION_FILE) $(NTP_PKG_INSTALL_SCRIPT)
+	@cp $(NTP_PKG_DESCRIPTION_FILE) $(NTP_PKG)/.DESCRIPTION
+	@cp $(NTP_PKG_INSTALL_SCRIPT) $(NTP_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(NTP_PKG)/.REQUIRES
+	@echo "pkgname=$(NTP_PKG_NAME)"                            >  $(NTP_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(NTP_PKG_VERSION)"                          >> $(NTP_PKG)/.PKGINFO ; \
+	 echo "arch=$(NTP_PKG_ARCH)"                               >> $(NTP_PKG)/.PKGINFO ; \
+	 echo "distroname=$(NTP_PKG_DISTRO_NAME)"                  >> $(NTP_PKG)/.PKGINFO ; \
+	 echo "distrover=$(NTP_PKG_DISTRO_VERSION)"                >> $(NTP_PKG)/.PKGINFO ; \
+	 echo "group=$(NTP_PKG_GROUP)"                             >> $(NTP_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(NTP_PKG_SHORT_DESCRIPTION)\"" >> $(NTP_PKG)/.PKGINFO ; \
+	 echo "url=$(NTP_PKG_URL)"                                 >> $(NTP_PKG)/.PKGINFO ; \
+	 echo "license=$(NTP_PKG_LICENSE)"                         >> $(NTP_PKG)/.PKGINFO
+	@$(PSEUDO) sh -c "cd $(NTP_PKG) && \
+	                  chown -R root:root . && \
+	                  chown -R 0:44 var/lib/ntp && \
+	                  $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: 4.2.8p15/PATCHES
===================================================================
--- 4.2.8p15/PATCHES	(nonexistent)
+++ 4.2.8p15/PATCHES	(revision 5)
@@ -0,0 +1,3 @@
+
+../../../sources/packages/n/ntp/patches/ntp-4.2.8p15-nano.patch    -p0
+../../../sources/packages/n/ntp/patches/ntp-4.2.8p15-pthread.patch -p0
Index: 4.2.8p15/conf/ntp.conf
===================================================================
--- 4.2.8p15/conf/ntp.conf	(nonexistent)
+++ 4.2.8p15/conf/ntp.conf	(revision 5)
@@ -0,0 +1,72 @@
+# Sample /etc/ntp.conf:  Configuration file for ntpd.
+#
+# Undisciplined Local Clock. This is a fake driver intended for backup
+# and when no outside source of synchronized time is available. The
+# default stratum is usually 3, but in this case we elect to use stratum
+# 0. Since the server line does not have the prefer keyword, this driver
+# is never used for synchronization, unless no other other
+# synchronization source is available. In case the local host is
+# controlled by some external source, such as an external oscillator or
+# another protocol, the prefer keyword would cause the local host to
+# disregard all other synchronization sources, unless the kernel
+# modifications are in use and declare an unsynchronized condition.
+#
+server	127.127.1.0	# local clock
+fudge	127.127.1.0 stratum 10	
+
+#
+# NTP server (list one or more) to synchronize with:
+#server 0.pool.ntp.org iburst
+#server 1.pool.ntp.org iburst
+#server 2.pool.ntp.org iburst
+#server 3.pool.ntp.org iburst
+
+#
+# Drift file.  Put this in a directory which the daemon can write to.
+# No symbolic links allowed, either, since the daemon updates the file
+# by creating a temporary in the same directory and then rename()'ing
+# it to the file.
+#
+driftfile /etc/ntp/drift
+
+#
+# Uncomment to use a multicast NTP server on the local subnet:
+#multicastclient 224.0.1.1		# listen on default 224.0.1.1
+# Set an optional compensation for broadcast packet delay:
+#broadcastdelay	0.008
+
+#
+# Keys file.  If you want to diddle your server at run time, make a
+# keys file (mode 600 for sure) and define the key number to be
+# used for making requests.
+# PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote
+# systems might be able to reset your clock at will.
+#
+#keys		/etc/ntp/keys
+#trustedkey	65535
+#requestkey	65535
+#controlkey	65535
+
+#
+# Don't serve time or stats to anyone else by default (more secure)
+restrict default limited kod nomodify notrap nopeer noquery
+restrict -6 default limited kod nomodify notrap nopeer noquery
+
+#
+# Use these lines instead if you do want to serve time and stats to
+# other machines on the network:
+#restrict default limited kod nomodify notrap nopeer
+#restrict -6 default limited kod nomodify notrap nopeer
+
+#
+# Disable the ntpdc -c monlist command, which is insecure and can be used
+# to cause a denial of service attack (CVE-2013-5211). Future versions of
+# NTP will remove this command.
+# (this feature was disabled by default with ntpd 4.2.7p230)
+disable monitor
+
+#
+# Trust ourselves.  :-)
+restrict 127.0.0.1
+restrict ::1
+
Index: 4.2.8p15/conf/ntp.keys
===================================================================
--- 4.2.8p15/conf/ntp.keys	(nonexistent)
+++ 4.2.8p15/conf/ntp.keys	(revision 5)
@@ -0,0 +1,2 @@
+65535	M	akey
+1	M	pass
Index: 4.2.8p15/conf/ntp.logrotate
===================================================================
--- 4.2.8p15/conf/ntp.logrotate	(nonexistent)
+++ 4.2.8p15/conf/ntp.logrotate	(revision 5)
@@ -0,0 +1,8 @@
+/var/log/ntp {
+    notifempty
+    missingok
+    rotate 4
+    postrotate
+    [ -x /etc/rc.d/rc.ntpd ] && /etc/rc.d/rc.ntpd restart
+    endscript
+}
Index: 4.2.8p15/conf/rc.ntpd
===================================================================
--- 4.2.8p15/conf/rc.ntpd	(nonexistent)
+++ 4.2.8p15/conf/rc.ntpd	(revision 5)
@@ -0,0 +1,56 @@
+#!/bin/sh
+# Start/stop/restart ntpd.
+
+# Start ntpd:
+ntpd_start() {
+  CMDLINE="/usr/sbin/ntpd -g"
+  echo -n "Starting NTP daemon:  $CMDLINE"
+  $CMDLINE -p /var/run/ntpd.pid
+  echo
+}
+
+# Stop ntpd:
+ntpd_stop() {
+  echo -n "Stopping NTP daemon..."
+  if [ -r /var/run/ntpd.pid ]; then
+    kill -HUP $(cat /var/run/ntpd.pid)
+    rm -f /var/run/ntpd.pid
+  else
+    killall -HUP -q ntpd
+  fi
+  echo
+}
+
+# Restart ntpd:
+ntpd_restart() {
+  ntpd_stop
+  sleep 1
+  ntpd_start
+}
+
+# Check if ntpd is running
+ntpd_status() {
+  if [ -e /var/run/ntpd.pid ]; then
+    echo "ntpd is running."
+  else 
+    echo "ntpd is stopped."
+    exit 1
+  fi
+}
+
+case "$1" in
+'start')
+  ntpd_start
+  ;;
+'stop')
+  ntpd_stop
+  ;;
+'restart')
+  ntpd_restart
+  ;;
+'status')
+  ntpd_status
+  ;;
+*)
+  echo "usage $0 start|stop|restart|status"
+esac
Index: 4.2.8p15/conf
===================================================================
--- 4.2.8p15/conf	(nonexistent)
+++ 4.2.8p15/conf	(revision 5)

Property changes on: 4.2.8p15/conf
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: 4.2.8p15/ntp-pkg-description.in
===================================================================
--- 4.2.8p15/ntp-pkg-description.in	(nonexistent)
+++ 4.2.8p15/ntp-pkg-description.in	(revision 5)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+   |-----handy-ruler------------------------------------------------------|
+ntp: ntp @VERSION@ (Network Time Protocol daemon)
+ntp:
+ntp: The Network Time Protocol (NTP) is used to synchronize the time
+ntp: of a computer client or server to another server or reference time
+ntp: source, such as a radio or satellite receiver or modem. It provides
+ntp: client accuracies typically within a millisecond on LANs and up to
+ntp: a few tens of milliseconds on WANs relative to a primary server
+ntp: synchronized to Coordinated Universal Time (UTC) via a Global
+ntp: Positioning Service (GPS) receiver, for example. 
+ntp:
+ntp:
Index: 4.2.8p15/ntp-pkg-install.sh
===================================================================
--- 4.2.8p15/ntp-pkg-install.sh	(nonexistent)
+++ 4.2.8p15/ntp-pkg-install.sh	(revision 5)
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+  NEW="$1"
+  OLD="$(dirname ${NEW})/$(basename ${NEW} .new)"
+  if [ -e ${OLD} ]; then
+    cp -a ${OLD} ${NEW}.incoming
+    cat ${NEW} > ${NEW}.incoming
+    mv ${NEW}.incoming ${NEW}
+  fi
+  install_file ${NEW}
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  preserve_perms etc/rc.d/rc.ntpd.new
+  install_file   etc/logrotate.d/ntp.new
+  install_file   etc/ntp.conf.new
+  install_file   etc/ntp.keys.new
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_update() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_update() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: 4.2.8p15/ntp-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: 4.2.8p15
===================================================================
--- 4.2.8p15	(nonexistent)
+++ 4.2.8p15	(revision 5)

Property changes on: 4.2.8p15
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: .
===================================================================
--- .	(nonexistent)
+++ .	(revision 5)

Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~