summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Pientsov <andrii.pientsov@globallogic.com>2020-05-21 08:17:34 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-05-21 13:05:31 +0300
commit1b92cb4c4b8c66f98f0f0c8551ea2be9fc423767 (patch)
treec4408d562a88bee2664965d547d026edb7931c5b
parent1075148e1dfb701d43349af07f35a5ce36eb1195 (diff)
downloadmeta-mlinux-atmel-1b92cb4c4b8c66f98f0f0c8551ea2be9fc423767.tar.gz
meta-mlinux-atmel-1b92cb4c4b8c66f98f0f0c8551ea2be9fc423767.tar.bz2
meta-mlinux-atmel-1b92cb4c4b8c66f98f0f0c8551ea2be9fc423767.zip
Remove duplicate recipes-support
-rw-r--r--recipes-support/dnsmasq/dnsmasq.inc86
-rw-r--r--recipes-support/dnsmasq/dnsmasq_2.78.bb5
-rw-r--r--recipes-support/dnsmasq/files/99_dnsmasq1
-rw-r--r--recipes-support/dnsmasq/files/default6
-rw-r--r--recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service15
-rw-r--r--recipes-support/dnsmasq/files/dnsmasq-resolvconf-helper62
-rw-r--r--recipes-support/dnsmasq/files/dnsmasq-resolvconf.service17
-rwxr-xr-xrecipes-support/dnsmasq/files/dnsmasq.conf293
-rwxr-xr-xrecipes-support/dnsmasq/files/dnsmasq.resolvconf84
-rw-r--r--recipes-support/dnsmasq/files/init119
-rw-r--r--recipes-support/jsoncpp/jsoncpp-1.6.0/Makefile49
-rw-r--r--recipes-support/jsoncpp/jsoncpp_1.6.0.bb33
-rw-r--r--recipes-support/libesmtp/libesmtp_1.0.6.bxb25
-rw-r--r--recipes-support/libftdi/libftdi_1.1.bb29
-rw-r--r--recipes-support/libmpsse/libmpsse_1.3.bb27
-rw-r--r--recipes-support/libpwquality/files/pam.configure13
-rw-r--r--recipes-support/libpwquality/files/pwquality_conf.patch65
-rw-r--r--recipes-support/libpwquality/libpwquality_1.3.0.bb111
-rw-r--r--recipes-support/libpwquality/libpwquality_1.4.0.bb.new45
-rw-r--r--recipes-support/lxfp/lxfp-src_23a2843.bb33
-rw-r--r--recipes-support/lxfp/lxfp_23a2843.bb17
-rwxr-xr-xrecipes-support/multitech/jsparser/jspp9
-rw-r--r--recipes-support/multitech/jsparser_0.3.bb22
-rw-r--r--recipes-support/multitech/libmts-io_1.0.19.bb30
-rw-r--r--recipes-support/multitech/libmts_0.5.bb30
-rw-r--r--recipes-support/multitech/radio-cmd_0.6.bb23
-rw-r--r--recipes-support/multitech/radio-query_0.8.bb22
-rw-r--r--recipes-support/ntp/files/logtime.patch73
-rw-r--r--recipes-support/ntp/files/ntp.conf.patch69
-rw-r--r--recipes-support/ntp/files/ntpd-default35
-rw-r--r--recipes-support/ntp/files/ntpd-init.patch113
-rw-r--r--recipes-support/ntp/ntp_%.bbappend37
-rw-r--r--recipes-support/pam-script/pam-script_1.1.9.bb27
-rw-r--r--recipes-support/pps-tools/pps-tools_git.bb17
34 files changed, 0 insertions, 1642 deletions
diff --git a/recipes-support/dnsmasq/dnsmasq.inc b/recipes-support/dnsmasq/dnsmasq.inc
deleted file mode 100644
index fdd7ab7..0000000
--- a/recipes-support/dnsmasq/dnsmasq.inc
+++ /dev/null
@@ -1,86 +0,0 @@
-SUMMARY = "Lightweight, easy to configure DNS forwarder and DHCP server"
-HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq/doc.html"
-SECTION = "net"
-# GPLv3 was added in version 2.41 as license option
-LICENSE = "GPLv2 | GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
- file://COPYING-v3;md5=d32239bcb673463ab874e80d47fae504"
-
-#at least versions 2.15 and prior are moved to the archive folder on the server
-SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getVar('PV',1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \
- file://init \
- file://default \
- file://dnsmasq.conf \
- file://dnsmasq-resolvconf.service \
- file://dnsmasq-noresolvconf.service \
-"
-
-inherit pkgconfig update-rc.d systemd
-
-INITSCRIPT_NAME = "dnsmasq"
-INITSCRIPT_PARAMS = "defaults"
-
-PACKAGECONFIG ?= ""
-PACKAGECONFIG[dbus] = ",,dbus"
-PACKAGECONFIG[idn] = ",,libidn"
-PACKAGECONFIG[conntrack] = ",,libnetfilter-conntrack"
-PACKAGECONFIG[lua] = ",,lua"
-PACKAGECONFIG[resolvconf] = ",,,resolvconf"
-EXTRA_OEMAKE = "\
- 'COPTS=${@bb.utils.contains('PACKAGECONFIG', 'dbus', '-DHAVE_DBUS', '', d)} \
- ${@bb.utils.contains('PACKAGECONFIG', 'idn', '-DHAVE_IDN', '', d)} \
- ${@bb.utils.contains('PACKAGECONFIG', 'conntrack', '-DHAVE_CONNTRACK', '', d)} \
- ${@bb.utils.contains('PACKAGECONFIG', 'lua', '-DHAVE_LUASCRIPT', '', d)}' \
- 'CFLAGS=${CFLAGS}' \
- 'LDFLAGS=${LDFLAGS}' \
-"
-
-SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'resolvconf', 'file://dnsmasq.resolvconf file://99_dnsmasq file://dnsmasq-resolvconf-helper', '', d)}"
-
-do_compile_append() {
- # build dhcp_release
- cd ${S}/contrib/lease-tools
- oe_runmake
-}
-
-do_install () {
- oe_runmake "PREFIX=${D}${prefix}" \
- "BINDIR=${D}${bindir}" \
- "MANDIR=${D}${mandir}" \
- install
- install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d ${D}${sysconfdir}/dnsmasq.d ${D}${sysconfdir}/default
- install -m 644 ${WORKDIR}/dnsmasq.conf ${D}${sysconfdir}/
- install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq
- install -m 755 ${WORKDIR}/default ${D}${sysconfdir}/default/dnsmasq
-
- install -d ${D}${systemd_unitdir}/system
-
- if [ "${@bb.utils.contains('PACKAGECONFIG', 'resolvconf', 'resolvconf', '', d)}" != "" ]; then
- install -m 0644 ${WORKDIR}/dnsmasq-resolvconf.service ${D}${systemd_unitdir}/system/dnsmasq.service
- else
- install -m 0644 ${WORKDIR}/dnsmasq-noresolvconf.service ${D}${systemd_unitdir}/system/dnsmasq.service
- fi
-
- install -m 0755 ${S}/contrib/lease-tools/dhcp_release ${D}${bindir}
-
- if [ "${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)}" != "" ]; then
- install -d ${D}${sysconfdir}/dbus-1/system.d
- install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/
- fi
- if [ "${@bb.utils.contains('PACKAGECONFIG', 'resolvconf', 'resolvconf', '', d)}" != "" ]; then
- install -d ${D}${sysconfdir}/resolvconf/update.d/
- install -m 0755 ${WORKDIR}/dnsmasq.resolvconf ${D}${sysconfdir}/resolvconf/update.d/dnsmasq
-
- install -d ${D}${sysconfdir}/default/volatiles
- install -m 0644 ${WORKDIR}/99_dnsmasq ${D}${sysconfdir}/default/volatiles
- install -m 0755 ${WORKDIR}/dnsmasq-resolvconf-helper ${D}${bindir}
- fi
-}
-
-# init.d/dnsmasq conflicts with AEP.
-CONFFILES_${PN} = "${sysconfdir}/dnsmasq.conf ${sysconfdir}/init.d/dnsmasq"
-
-RPROVIDES_${PN} += "${PN}-systemd"
-RREPLACES_${PN} += "${PN}-systemd"
-RCONFLICTS_${PN} += "${PN}-systemd"
-SYSTEMD_SERVICE_${PN} = "dnsmasq.service"
diff --git a/recipes-support/dnsmasq/dnsmasq_2.78.bb b/recipes-support/dnsmasq/dnsmasq_2.78.bb
deleted file mode 100644
index a2641f1..0000000
--- a/recipes-support/dnsmasq/dnsmasq_2.78.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require dnsmasq.inc
-
-SRC_URI[dnsmasq-2.78.md5sum] = "3bb97f264c73853f802bf70610150788"
-SRC_URI[dnsmasq-2.78.sha256sum] = "c92e5d78aa6353354d02aabf74590d08980bb1385d8a00b80ef9bc80430aa1dc"
-
diff --git a/recipes-support/dnsmasq/files/99_dnsmasq b/recipes-support/dnsmasq/files/99_dnsmasq
deleted file mode 100644
index f52ce4e..0000000
--- a/recipes-support/dnsmasq/files/99_dnsmasq
+++ /dev/null
@@ -1 +0,0 @@
-d root root 0755 /run/dnsmasq none
diff --git a/recipes-support/dnsmasq/files/default b/recipes-support/dnsmasq/files/default
deleted file mode 100644
index a389aff..0000000
--- a/recipes-support/dnsmasq/files/default
+++ /dev/null
@@ -1,6 +0,0 @@
-# See /etc/init.d/dnsmasq
-ENABLED="no"
-
-
-# Ignore the resolve.conf from the resolvconf package.
-IGNORE_RESOLVCONF="yes"
diff --git a/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service b/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service
deleted file mode 100644
index 0c64fab..0000000
--- a/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service
+++ /dev/null
@@ -1,15 +0,0 @@
-[Unit]
-Description=DNS forwarder and DHCP server
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/dnsmasq.pid
-ExecStartPre=/usr/bin/dnsmasq --test
-ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid -7 /etc/dnsmasq.d --local-service
-ExecStop=/bin/kill $MAINPID
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/recipes-support/dnsmasq/files/dnsmasq-resolvconf-helper b/recipes-support/dnsmasq/files/dnsmasq-resolvconf-helper
deleted file mode 100644
index db54d46..0000000
--- a/recipes-support/dnsmasq/files/dnsmasq-resolvconf-helper
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/bash
-#
-# Borrowing heavily from the dnsmasq initscript's version of support for
-# resolvconf, intended for use in systemd-only configurations.
-#
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/dnsmasq
-NAME=dnsmasq
-
-# Most configuration options in /etc/default/dnsmasq are deprecated
-# but still honoured.
-if [ -r /etc/default/$NAME ]; then
- . /etc/default/$NAME
-fi
-
-start_resolvconf()
-{
- # If interface "lo" is explicitly disabled in /etc/default/dnsmasq
- # Then dnsmasq won't be providing local DNS, so don't add it to
- # the resolvconf server set.
- for interface in $DNSMASQ_EXCEPT
- do
- [ $interface = lo ] && return
- done
-
- if [ -x /sbin/resolvconf ] ; then
- echo "nameserver 127.0.0.1" |
- /sbin/resolvconf -a lo.$NAME
- fi
- return 0
-}
-
-stop_resolvconf()
-{
- if [ -x /sbin/resolvconf ] ; then
- /sbin/resolvconf -d lo.$NAME
- fi
- return 0
-}
-
-case "$1" in
- start)
- start_resolvconf
- exit 0
- ;;
- stop)
- stop_resolvconf
- exit 0
- ;;
- restart)
- stop_resolvconf
- start_resolvconf
- exit 0
- ;;
- *)
- echo "Usage: /etc/init.d/$NAME {start|stop|restart}" >&2
- exit 3
- ;;
-esac
-
-exit 0
-
diff --git a/recipes-support/dnsmasq/files/dnsmasq-resolvconf.service b/recipes-support/dnsmasq/files/dnsmasq-resolvconf.service
deleted file mode 100644
index 2980f7d..0000000
--- a/recipes-support/dnsmasq/files/dnsmasq-resolvconf.service
+++ /dev/null
@@ -1,17 +0,0 @@
-[Unit]
-Description=DNS forwarder and DHCP server
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/dnsmasq.pid
-ExecStartPre=/usr/bin/dnsmasq --test
-ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid -7 /etc/dnsmasq.d --local-service
-ExecStartPost=/usr/bin/dnsmasq-resolvconf-helper start
-ExecStopPre=/usr/bin/dnsmasq-resolvconf-helper stop
-ExecStop=/bin/kill $MAINPID
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/recipes-support/dnsmasq/files/dnsmasq.conf b/recipes-support/dnsmasq/files/dnsmasq.conf
deleted file mode 100755
index 34d5135..0000000
--- a/recipes-support/dnsmasq/files/dnsmasq.conf
+++ /dev/null
@@ -1,293 +0,0 @@
-# Configuration file for dnsmasq.
-#
-# Format is one option per line, legal options are the same
-# as the long options legal on the command line. See
-# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.
-
-# Change these lines if you want dnsmasq to serve MX records.
-# Only one of mx-host and mx-target need be set, the other defaults
-# to the name of the host running dnsmasq.
-#mx-host=
-#mx-target=
-#selfmx
-#localmx
-
-# The following two options make you a better netizen, since they
-# tell dnsmasq to filter out queries which the public DNS cannot
-# answer, and which load the servers (especially the root servers)
-# uneccessarily. If you have a dial-on-demand link they also stop
-# these requests from bringing up the link uneccessarily.
-
-# Never forward plain names (with a dot or domain part)
-domain-needed
-# Never forward addresses in the non-routed address spaces.
-bogus-priv
-
-
-# Uncomment this to filter useless windows-originated DNS requests
-# which can trigger dial-on-demand links needlessly.
-# Note that (amongst other things) this blocks all SRV requests,
-# so don't use it if you use eg Kerberos.
-#filterwin2k
-
-# Change this line if you want dns to get its upstream servers from
-# somewhere other that /etc/resolv.conf
-#resolv-file=
-
-# By default, dnsmasq will send queries to any of the upstream
-# servers it knows about and tries to favour servers to are known
-# to be up. Uncommenting this forces dnsmasq to try each query
-# with each server strictly in the order they appear in
-# /etc/resolv.conf
-#strict-order
-
-# If you don't want dnsmasq to read /etc/resolv.conf or any other
-# file, getting its servers for this file instead (see below), then
-# uncomment this
-#no-resolv
-
-# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv
-# files for changes and re-read them then uncomment this.
-#no-poll
-
-# Add other name servers here, with domain specs if they are for
-# non-public domains.
-#server=/localnet/192.168.0.1
-
-# Add local-only domains here, queries in these domains are answered
-# from /etc/hosts or DHCP only.
-#local=/localnet/
-
-# Add domains which you want to force to an IP address here.
-# The example below send any host in doubleclick.net to a local
-# webserver.
-#address=/doubleclick.net/127.0.0.1
-
-# You no longer (as of version 1.7) need to set these to enable
-# dnsmasq to read /etc/ppp/resolv.conf since dnsmasq now uses the
-# "dip" group to achieve this.
-#user=
-#group=
-
-# If you want dnsmasq to listen for requests only on specified interfaces
-# (and the loopback) give the name of the interface (eg eth0) here.
-# Repeat the line for more than one interface.
-#interface=
-# Or you can specify which interface _not_ to listen on
-#except-interface=
-# Or which to listen on by address (remember to include 127.0.0.1 if
-# you use this.)
-#listen-address=127.0.0.1
-
-# On systems which support it, dnsmasq binds the wildcard address,
-# even when it is listening on only some interfaces. It then discards
-# requests that it shouldn't reply to. This has the advantage of
-# working even when interfaces come and go and change address. If you
-# want dnsmasq to really bind only the interfaces it is listening on,
-# uncomment this option. About the only time you may need this is when
-# running another nameserver on the same machine.
-#bind-interfaces
-
-# If you don't want dnsmasq to read /etc/hosts, uncomment the
-# following line.
-#no-hosts
-# or if you want it to read another file, as well as /etc/hosts, use
-# this.
-#addn-hosts=/etc/banner_add_hosts
-
-# Set this (and domain: see below) if you want to have a domain
-# automatically added to simple names in a hosts-file.
-#expand-hosts
-
-# Set the domain for dnsmasq. this is optional, but if it is set, it
-# does the following things.
-# 1) Allows DHCP hosts to have fully qualified domain names, as long
-# as the domain part matches this setting.
-# 2) Sets the "domain" DHCP option thereby potentially setting the
-# domain of all systems configured by DHCP
-# 3) Provides the domain part for "expand-hosts"
-#domain=thekelleys.org.uk
-
-# Uncomment this to enable the integrated DHCP server, you need
-# to supply the range of addresses available for lease and optionally
-# a lease time. If you have more than one network, you will need to
-# repeat this for each network on which you want to supply DHCP
-# service.
-#dhcp-range=192.168.0.50,192.168.0.150,12h
-#dhcp-range=10.0.0.10,10.0.0.200,2h
-
-# This is an example of a DHCP range where the netmask is given. This
-# is needed for networks we reach the dnsmasq DHCP server via a relay
-# agent. If you don't know what a DHCP relay agent is, you probably
-# don't need to worry about this.
-#dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h
-
-# This is an example of a DHCP range with a network-id, so that
-# some DHCP options may be set only for this network.
-#dhcp-range=red,192.168.0.50,192.168.0.150
-
-# Supply parameters for specified hosts using DHCP. There are lots
-# of valid alternatives, so we will give examples of each. Note that
-# IP addresses DO NOT have to be in the range given above, they just
-# need to be on the same network. The order of the parameters in these
-# do not matter, it's permissble to give name,adddress and MAC in any order
-
-# Always allocate the host with ethernet address 11:22:33:44:55:66
-# The IP address 192.168.0.60
-#dhcp-host=11:22:33:44:55:66,192.168.0.60
-
-# Always set the name of the host with hardware address
-# 11:22:33:44:55:66 to be "fred"
-#dhcp-host=11:22:33:44:55:66,fred
-
-# Always give the host with ethernet address 11:22:33:44:55:66
-# the name fred and IP address 192.168.0.60 and lease time 45 minutes
-#dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m
-
-# Give the machine which says it's name is "bert" IP address
-# 192.168.0.70 and an infinite lease
-#dhcp-host=bert,192.168.0.70,infinite
-
-# Always give the host with client identifier 01:02:02:04
-# the IP address 192.168.0.60
-#dhcp-host=id:01:02:02:04,192.168.0.60
-
-# Always give the host with client identifier "marjorie"
-# the IP address 192.168.0.60
-#dhcp-host=id:marjorie,192.168.0.60
-
-# Enable the address given for "judge" in /etc/hosts
-# to be given to a machine presenting the name "judge" when
-# it asks for a DHCP lease.
-#dhcp-host=judge
-
-# Never offer DHCP service to a machine whose ethernet
-# address is 11:22:33:44:55:66
-#dhcp-host=11:22:33:44:55:66,ignore
-
-# Ignore any client-id presented by the machine with ethernet
-# address 11:22:33:44:55:66. This is useful to prevent a machine
-# being treated differently when running under different OS's or
-# between PXE boot and OS boot.
-#dhcp-host=11:22:33:44:55:66,id:*
-
-# Send extra options which are tagged as "red" to
-# the machine with ethernet address 11:22:33:44:55:66
-#dhcp-host=11:22:33:44:55:66,net:red
-
-# Send extra options which are tagged as "red" to any machine whose
-# DHCP vendorclass string includes the substring "Linux"
-#dhcp-vendorclass=red,Linux
-
-# Send extra options which are tagged as "red" to any machine one
-# of whose DHCP userclass strings includes the substring "accounts"
-#dhcp-userclass=red,accounts
-
-# If this line is uncommented, dnsmasq will read /etc/ethers and act
-# on the ethernet-address/IP pairs found there just as if they had
-# been given as --dhcp-host options. Useful if you keep
-# MAC-address/host mappings there for other purposes.
-#read-ethers
-
-# Send options to hosts which ask for a DHCP lease.
-# See RFC 2132 for details of available options.
-# Note that all the common settings, such as netmask and
-# broadcast address, DNS server and default route, are given
-# sane defaults by dnsmasq. You very likely will not need any
-# any dhcp-options. If you use Windows clients and Samba, there
-# are some options which are recommended, they are detailed at the
-# end of this section.
-# For reference, the common options are:
-# subnet mask - 1
-# default router - 3
-# DNS server - 6
-# broadcast address - 28
-
-# Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5
-#dhcp-option=42,192.168.0.4,10.10.0.5
-
-# Set the NTP time server address to be the same machine as
-# is running dnsmasq
-#dhcp-option=42,0.0.0.0
-
-# Set the NIS domain name to "welly"
-#dhcp-option=40,welly
-
-# Set the default time-to-live to 50
-#dhcp-option=23,50
-
-# Set the "all subnets are local" flag
-#dhcp-option=27,1
-
-# Send the etherboot magic flag and then etherboot options (a string).
-#dhcp-option=128,e4:45:74:68:00:00
-#dhcp-option=129,NIC=eepro100
-
-# Specify an option which will only be sent to the "red" network
-# (see dhcp-range for the declaration of the "red" network)
-#dhcp-option=red,42,192.168.1.1
-
-# The following DHCP options set up dnsmasq in the same way as is specified
-# for the ISC dhcpcd in
-# http://www.samba.org/samba/ftp/docs/textdocs/DHCP-Server-Configuration.txt
-# adapted for a typical dnsmasq installation where the host running
-# dnsmasq is also the host running samba.
-# you may want to uncomment them if you use Windows clients and Samba.
-#dhcp-option=19,0 # option ip-forwarding off
-#dhcp-option=44,0.0.0.0 # set netbios-over-TCP/IP nameserver(s) aka WINS server(s)
-#dhcp-option=45,0.0.0.0 # netbios datagram distribution server
-#dhcp-option=46,8 # netbios node type
-#dhcp-option=47 # empty netbios scope.
-
-
-# Set the boot filename and tftpd server name and address
-# for BOOTP. You will only need this is you want to
-# boot machines over the network.
-#dhcp-boot=/var/ftpd/pxelinux.0,boothost,192.168.0.3
-
-# Set the limit on DHCP leases, the default is 150
-#dhcp-lease-max=150
-
-# The DHCP server needs somewhere on disk to keep its lease database.
-# This defaults to a sane location, but if you want to change it, use
-# the line below.
-#dhcp-leasefile=/var/lib/misc/dnsmasq.leases
-
-# Set the cachesize here.
-#cache-size=150
-
-# If you want to disable negative caching, uncomment this.
-#no-negcache
-
-# Normally responses which come form /etc/hosts and the DHCP lease
-# file have Time-To-Live set as zero, which conventionally means
-# do not cache further. If you are happy to trade lower load on the
-# server for potentially stale date, you can set a time-to-live (in
-# seconds) here.
-#local-ttl=
-
-# If you want dnsmasq to detect attempts by Verisign to send queries
-# to unregistered .com and .net hosts to its sitefinder service and
-# have dnsmasq instead return the correct NXDOMAIN response, uncomment
-# this line. You can add similar lines to do the same for other
-# registries which have implemented wildcard A records.
-#bogus-nxdomain=64.94.110.11
-
-# If you want to fix up DNS results from upstream servers, use the
-# alias option. This only works for IPv4.
-# This alias makes a result of 1.2.3.4 appear as 5.6.7.8
-#alias=1.2.3.4,5.6.7.8
-# and this maps 1.2.3.x to 5.6.7.x
-#alias=1.2.3.0,5.6.7.0,255.255.255.0
-
-# For debugging purposes, log each DNS query as it passes through
-# dnsmasq.
-#log-queries
-
-# Include a another lot of configuration options.
-#conf-file=/etc/dnsmasq.more.conf
-
-
-
-
-
diff --git a/recipes-support/dnsmasq/files/dnsmasq.resolvconf b/recipes-support/dnsmasq/files/dnsmasq.resolvconf
deleted file mode 100755
index 06cd25c..0000000
--- a/recipes-support/dnsmasq/files/dnsmasq.resolvconf
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-#
-# Script to update the resolver list for dnsmasq
-#
-# N.B. Resolvconf may run us even if dnsmasq is not (yet) running.
-# If dnsmasq is installed then we go ahead and update the resolver list
-# in case dnsmasq is started later.
-#
-# Assumption: On entry, PWD contains the resolv.conf-type files.
-#
-# This file is part of the dnsmasq package.
-#
-
-set -e
-
-RUN_DIR="/run/dnsmasq"
-RSLVRLIST_FILE="${RUN_DIR}/resolv.conf"
-TMP_FILE="${RSLVRLIST_FILE}_new.$$"
-MY_NAME_FOR_RESOLVCONF="dnsmasq"
-
-[ -x /usr/bin/dnsmasq ] || exit 0
-[ -x /lib/resolvconf/list-records ] || exit 1
-
-PATH=/bin:/sbin
-
-report_err() { echo "$0: Error: $*" >&2 ; }
-
-# Stores arguments (minus duplicates) in RSLT, separated by spaces
-# Doesn't work properly if an argument itself contains whitespace
-uniquify()
-{
- RSLT=""
- while [ "$1" ] ; do
- for E in $RSLT ; do
- [ "$1" = "$E" ] && { shift ; continue 2 ; }
- done
- RSLT="${RSLT:+$RSLT }$1"
- shift
- done
-}
-
-if [ ! -d "$RUN_DIR" ] && ! mkdir --parents --mode=0755 "$RUN_DIR" ; then
- report_err "Failed trying to create directory $RUN_DIR"
- exit 1
-fi
-
-RSLVCNFFILES=""
-for F in $(/lib/resolvconf/list-records --after "lo.$MY_NAME_FOR_RESOLVCONF") ; do
- case "$F" in
- "lo.$MY_NAME_FOR_RESOLVCONF")
- # Omit own record
- ;;
- lo.*)
- # Include no more records after one for a local nameserver
- RSLVCNFFILES="${RSLVCNFFILES:+$RSLVCNFFILES }$F"
- break
- ;;
- *)
- RSLVCNFFILES="${RSLVCNFFILES:+$RSLVCNFFILES }$F"
- ;;
- esac
-done
-
-NMSRVRS=""
-if [ "$RSLVCNFFILES" ] ; then
- uniquify $(sed -n -e 's/^[[:space:]]*nameserver[[:space:]]\+//p' $RSLVCNFFILES)
- NMSRVRS="$RSLT"
-fi
-
-# Dnsmasq uses the mtime of $RSLVRLIST_FILE, with a resolution of one second,
-# to detect changes in the file. This means that if a resolvconf update occurs
-# within one second of the previous one then dnsmasq may fail to notice the
-# more recent change. To work around this problem we sleep one second here
-# if necessary in order to ensure that the new mtime is different.
-if [ -f "$RSLVRLIST_FILE" ] && [ "$(stat -c %X "$RSLVRLIST_FILE")" = "$(date +%s)" ] ; then
- sleep 1
-fi
-
-clean_up() { rm -f "$TMP_FILE" ; }
-trap clean_up EXIT
-: >| "$TMP_FILE"
-for N in $NMSRVRS ; do echo "nameserver $N" >> "$TMP_FILE" ; done
-mv -f "$TMP_FILE" "$RSLVRLIST_FILE"
-
diff --git a/recipes-support/dnsmasq/files/init b/recipes-support/dnsmasq/files/init
deleted file mode 100644
index 5f457f8..0000000
--- a/recipes-support/dnsmasq/files/init
+++ /dev/null
@@ -1,119 +0,0 @@
-#!/bin/sh
-DAEMON=/usr/bin/dnsmasq
-NAME=dnsmasq
-DESC="DNS forwarder and DHCP server"
-ARGS="-7 /etc/dnsmasq.d"
-
-test -f $DAEMON || exit 0
-
-set -e
-
-if [ -r /etc/default/$NAME ]
-then
- . /etc/default/$NAME
-fi
-
-[[ "$ENABLED" = "yes" ]] || exit
-
-DNSMASQ_CONF="/etc/dnsmasq.conf"
-test "/etc/dnsmasq.d/*" != '/etc/dnsmasq.d/*' && DNSMASQ_CONF="${DNSMASQ_CONF} /etc/dnsmasq.d/*"
-
-test -z "${PIDFILE}" && PIFILE="/run/dnsmasq.pid"
-
-if [ -z "$IGNORE_RESOLVCONF" ]
-then
- egrep -h -q '^no-resolv' ${DNSMASQ_CONF} && IGNORE_RESOLVCONF="yes"
-fi
-
-# RESOLV_CONF:
-# If the resolvconf package is installed then use the resolv conf file
-# that it provides as the default. Otherwise use /etc/resolv.conf as
-# the default.
-#
-# If IGNORE_RESOLVCONF is set in /etc/default/dnsmasq or an explicit
-# filename is set there then this inhibits the use of the resolvconf-provided
-# information.
-#
-# Note that if the resolvconf package is installed it is not possible to
-# override it just by configuration in /etc/dnsmasq.conf, it is necessary
-# to set IGNORE_RESOLVCONF=yes in /etc/default/dnsmasq.
-
-test -z "$RESOLV_CONF" -a "$IGNORE_RESOLVCONF" != "yes" -a -x /sbin/resolvconf && \
- RESOLV_CONF=/run/dnsmasq/resolv.conf
-
-start_resolvconf()
-{
- if [ "$IGNORE_RESOLVCONF" != "yes" -a -x /sbin/resolvconf ]
- then
- echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo.$NAME
- fi
- :
-}
-
-stop_resolvconf()
-{
- if [ "$IGNORE_RESOLVCONF" != "yes" -a -x /sbin/resolvconf ]
- then
- /sbin/resolvconf -d lo.$NAME
- fi
- :
-}
-
-case "$1" in
- start)
- echo -n "starting $DESC: $NAME... "
- test -d /var/lib/misc/ || mkdir /var/lib/misc/
- start-stop-daemon -S -x $DAEMON -- $ARGS \
- ${RESOLV_CONF:+ -r $RESOLV_CONF} \
- ${PIDFILE:+ -x $PIDFILE}
- test $? -eq 0 && start_resolvconf
- echo "done."
- ;;
- stop)
- echo -n "stopping $DESC: $NAME... "
- stop_resolvconf
- start-stop-daemon -K -x $DAEMON
- echo "done."
- ;;
- status)
- echo -n "dnsmasq "
- start-stop-daemon -q -K -t -x $DAEMON
- RET=$?
- if [ "$RET" = "0" ]; then
- PID=`cat ${PIDFILE}`
- echo "($PID) is running"
- else
- echo "is not running"
- exit $RET
- fi
- ;;
- restart)
- echo "restarting $DESC: $NAME... "
- $0 stop
- $0 start
- echo "done."
- ;;
- reload)
- echo -n "reloading $DESC: $NAME... "
- killall -HUP $(basename ${DAEMON})
- echo "done."
- ;;
- systemd-start-resolvconf)
- start_resolvconf
- ;;
- systemd-stop-resolvconf)
- stop_resolvconf
- ;;
- systemd-exec)
- test -d /var/lib/misc/ || mkdir /var/lib/misc/
- exec $DAEMON --keep-in-foreground $ARGS \
- ${RESOLV_CONF:+ -r $RESOLV_CONF} \
- ${PIDFILE:+ -x $PIDFILE}
- ;;
- *)
- echo "Usage: $0 {start|stop|status|restart|reload}"
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/recipes-support/jsoncpp/jsoncpp-1.6.0/Makefile b/recipes-support/jsoncpp/jsoncpp-1.6.0/Makefile
deleted file mode 100644
index 7df3d63..0000000
--- a/recipes-support/jsoncpp/jsoncpp-1.6.0/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-includedir ?= /usr/include
-libdir ?= /usr/lib
-
-CPP_SRCS += \
-src/lib_json/json_reader.cpp \
-src/lib_json/json_value.cpp \
-src/lib_json/json_writer.cpp
-
-OBJS += \
-json_reader.o \
-json_value.o \
-json_writer.o
-
-CPP_DEPS += \
-json_reader.d \
-json_value.d \
-json_writer.d
-
-TARGET = libjsoncpp.so
-
-all: $(TARGET)
-
-libjsoncpp.so: $(OBJS)
- @echo 'Building target: $@'
- #$(AR) -r libjsoncpp.a $(OBJS)
- $(CXX) ${LDFLAGS} -shared -o $@ $^
- @echo 'Finished building target: $@'
- @echo ' '
-
-%.o: src/lib_json/%.cpp
- @echo 'Building file: $<'
- $(CXX) $(CFLAGS) -Iinclude -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -fPIC -o "$@" "$<"
- @echo 'Finished building: $<'
- @echo ' '
-
-install:
- install -d $(DESTDIR)/usr/include/json
- install -m 644 include/json/*.h $(DESTDIR)/usr/include/json
- mkdir -p $(DESTDIR)/usr/lib
- cp libjsoncpp.so $(DESTDIR)/usr/lib
-
-# Other Targets
-clean:
- -$(RM) $(OBJS)$(CPP_DEPS) libjsoncpp.so
- -@echo ' '
-
-.PHONY: all clean dependents
-.SECONDARY:
-
diff --git a/recipes-support/jsoncpp/jsoncpp_1.6.0.bb b/recipes-support/jsoncpp/jsoncpp_1.6.0.bb
deleted file mode 100644
index 8c8454d..0000000
--- a/recipes-support/jsoncpp/jsoncpp_1.6.0.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-DESCRIPTION = "Json C++ Library"
-HOMEPAGE = "https://github.com/open-source-parsers/jsoncpp"
-# Public Domain
-LICENSE = "PD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c56ee55c03a55f8105b969d8270632ce"
-DEPENDS = ""
-
-#tag 1.6.0
-SRCREV="cbe7e7c9cbd39d864588c5cf2436690634562d3f"
-
-SRC_URI = " git://github.com/open-source-parsers/jsoncpp.git;protocol=git \
- file://Makefile \
- "
-
-PR = "r6"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
- cp ${WORKDIR}/Makefile .
- oe_runmake
-}
-
-do_install () {
- install -d ${D}/usr/lib
- install -m 0755 ${S}/libjsoncpp.so ${D}/usr/lib
- install -d ${D}${includedir}/jsoncpp/json
- install -m 0755 ${S}/include/json/*.h ${D}${includedir}/jsoncpp/json
-}
-
-FILES_SOLIBSDEV = ""
-FILES_${PN} += "${libdir}/*.so"
-FILES_{PN}-dev += "${libdir}/*.so"
diff --git a/recipes-support/libesmtp/libesmtp_1.0.6.bxb b/recipes-support/libesmtp/libesmtp_1.0.6.bxb
deleted file mode 100644
index e421e63..0000000
--- a/recipes-support/libesmtp/libesmtp_1.0.6.bxb
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "LibESMTP is a library to manage posting \
-(or submission of) electronic mail using SMTP to a \
-preconfigured Mail Transport Agent (MTA) such as Exim or PostFix."
-LICENSE = "LGPLv2.1 GPLv2"
-LIC_FILES_CHKSUM= "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
- file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06 \
-"
-SECTION = "libs/network"
-DEPENDS = "openssl"
-PR = "r0"
-
-SRC_URI = "http://www.stafford.uklinux.net/libesmtp/libesmtp-${PV}.tar.bz2"
-
-inherit autotools binconfig
-
-EXTRA_OECONF = "--disable-isoc --with-openssl=${STAGING_LIBDIR}/.."
-
-FILES_${PN} = "${libdir}/lib*${SOLIBS} \
- ${libdir}/esmtp-plugins/*${SOLIBSDEV}"
-FILES_${PN}-dev += "${libdir}/esmtp-plugins/*.la"
-FILES_${PN}-staticdev += "${libdir}/esmtp-plugins/*.a"
-FILES_${PN}-dbg += "${libdir}/esmtp-plugins/.debug/"
-
-SRC_URI[md5sum] = "bf3915e627fd8f35524a8fdfeed979c8"
-SRC_URI[sha256sum] = "d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b"
diff --git a/recipes-support/libftdi/libftdi_1.1.bb b/recipes-support/libftdi/libftdi_1.1.bb
deleted file mode 100644
index d8b189b..0000000
--- a/recipes-support/libftdi/libftdi_1.1.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-DESCRIPTION = "libftdi is a library to talk to FTDI chips.\
-FT232BM/245BM, FT2232C/D and FT232/245R using libusb,\
-including the popular bitbang mode."
-HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi/"
-SECTION = "libs"
-
-LICENSE = "LGPLv2.1 & GPLv2"
-LIC_FILES_CHKSUM= "\
- file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \
- file://COPYING.LIB;md5=db979804f025cf55aabec7129cb671ed \
-"
-
-DEPENDS = "libusb1"
-
-SRC_URI = "http://www.intra2net.com/en/developer/${BPN}/download/${BPN}1-${PV}.tar.bz2"
-
-SRC_URI[md5sum] = "b79a6356978aa8e69f8eecc3a720ff79"
-SRC_URI[sha256sum] = "c0b1af1a13e2c6682a1d8041e5b164a1e0d90267cd378bb51e059bd62f821e21"
-
-S = "${WORKDIR}/${BPN}1-${PV}"
-
-PACKAGECONFIG ??= ""
-PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on,-DFTDI_BUILD_CPP=off,boost"
-
-inherit cmake binconfig pkgconfig
-
-FILES_${PN}-dev += "${libdir}/cmake"
-
-BBCLASSEXTEND = "native"
diff --git a/recipes-support/libmpsse/libmpsse_1.3.bb b/recipes-support/libmpsse/libmpsse_1.3.bb
deleted file mode 100644
index f1d9723..0000000
--- a/recipes-support/libmpsse/libmpsse_1.3.bb
+++ /dev/null
@@ -1,27 +0,0 @@
-DESCRIPTION = "FTDI Libmpsse Library"
-HOMEPAGE = "http://googlecode.com/"
-PRIORITY = "optional"
-SECTION = "console/utils"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-PR = "r1"
-
-DEPENDS = "libftdi"
-
-SRC_URI = "http://libmpsse.googlecode.com/files/libmpsse-1.3.tar.gz"
-
-SRC_URI[md5sum] = "628eb9a7d7250070f5841ed44a248f84"
-SRC_URI[sha256sum] = "08f2a0025074720d40e29430089b1ab78d764756cc5d2bcb3148d98131b4074b"
-
-S = "${WORKDIR}/libmpsse-${PV}/src"
-
-inherit autotools-brokensep
-
-EXTRA_OECONF += "--disable-python"
-CFLAGS += "-DLIBFTDI1=1"
-
-do_install_append() {
- mv ${D}${libdir}/libmpsse.so ${D}${libdir}/libmpsse.so.1
- ( cd ${D}${libdir}; ln -s libmpsse.so.1 libmpsse.so )
-}
diff --git a/recipes-support/libpwquality/files/pam.configure b/recipes-support/libpwquality/files/pam.configure
deleted file mode 100644
index 1506d4f..0000000
--- a/recipes-support/libpwquality/files/pam.configure
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Naru orig/etc/pam.d/common-password new/etc/pam.d/common-password
---- orig/etc/pam.d/common-password 2018-04-25 10:26:55.805688250 -0500
-+++ new/etc/pam.d/common-password 2018-04-25 10:27:48.041686704 -0500
-@@ -16,7 +16,8 @@
- # See the pam_unix manpage for other options.
-
- # here are the per-package modules (the "Primary" block)
--password [success=1 default=ignore] pam_unix.so obscure sha512
-+password requisite pam_pwquality.so retry=3
-+password [success=1 default=ignore] pam_unix.so obscure use_authok try_frist_pass sha512
- # here's the fallback if no module succeeds
- password requisite pam_deny.so
- # prime the stack with a positive return value if there isn't one already;
diff --git a/recipes-support/libpwquality/files/pwquality_conf.patch b/recipes-support/libpwquality/files/pwquality_conf.patch
deleted file mode 100644
index 12074ce..0000000
--- a/recipes-support/libpwquality/files/pwquality_conf.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-diff -Naru orig/src/pwquality.conf new/src/pwquality.conf
---- orig/src/pwquality.conf 2018-04-25 09:22:11.713803238 -0500
-+++ new/src/pwquality.conf 2018-04-25 09:37:00.997776911 -0500
-@@ -1,41 +1,51 @@
-+# Original values are commented out. Minimum password length can be six
-+# characters with this configuration if there is enough complexity.
-+#
- # Configuration for systemwide password quality limits
--# Defaults:
- #
- # Number of characters in the new password that must not be present in the
- # old password.
- # difok = 1
-+difok = 6
- #
- # Minimum acceptable size for the new password (plus one if
- # credits are not disabled which is the default). (See pam_cracklib manual.)
- # Cannot be set to lower value than 6.
- # minlen = 8
-+minlen = 10
- #
- # The maximum credit for having digits in the new password. If less than 0
- # it is the minimum number of digits in the new password.
- # dcredit = 0
-+dcredit = 1
- #
- # The maximum credit for having uppercase characters in the new password.
- # If less than 0 it is the minimum number of uppercase characters in the new
- # password.
- # ucredit = 0
-+ucredit = 1
- #
- # The maximum credit for having lowercase characters in the new password.
- # If less than 0 it is the minimum number of lowercase characters in the new
- # password.
- # lcredit = 0
-+lcredit = 1
- #
- # The maximum credit for having other characters in the new password.
- # If less than 0 it is the minimum number of other characters in the new
- # password.
--# ocredit = 0
-+# lcredit = 0
-+ocredit = 1
- #
- # The minimum number of required classes of characters for the new
- # password (digits, uppercase, lowercase, others).
- # minclass = 0
-+minclass = 3
- #
- # The maximum number of allowed consecutive same characters in the new password.
- # The check is disabled if the value is 0.
- # maxrepeat = 0
-+maxrepeat = 2
- #
- # The maximum number of allowed consecutive characters of the same class in the
- # new password.
-@@ -45,6 +55,7 @@
- # Whether to check for the words from the passwd entry GECOS string of the user.
- # The check is enabled if the value is not 0.
- # gecoscheck = 0
-+gecoscheck = 1
- #
- # Path to the cracklib dictionaries. Default is to use the cracklib default.
- # dictpath =
diff --git a/recipes-support/libpwquality/libpwquality_1.3.0.bb b/recipes-support/libpwquality/libpwquality_1.3.0.bb
deleted file mode 100644
index e5179c9..0000000
--- a/recipes-support/libpwquality/libpwquality_1.3.0.bb
+++ /dev/null
@@ -1,111 +0,0 @@
-SUMMARY = "Library for password quality checking and generating random passwords"
-HOMEPAGE = "https://launchpad.net/libpwquality"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=6bd2f1386df813a459a0c34fde676fc2"
-
-SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.bz2 \
- file://pwquality_conf.patch \
- file://pam.configure \
- "
-SRC_URI[md5sum] = "2a3d4ba1d11b52b4f6a7f39622ebf736"
-SRC_URI[sha256sum] = "74d2ea90e103323c1f2d6a6cc9617cdae6877573eddb31aaf31a40f354cc2d2a"
-
-inherit autotools-brokensep pkgconfig gettext pythonnative
-
-DEPENDS = "zlib cracklib libpam python"
-RDEPENDS_${PN} = "libpam-runtime"
-
-EXTRA_OECONF = " \
- --with-python-binary=${PYTHON} \
- --libdir=${base_libdir} \
-"
-
-do_compile() {
- # make distustils part for python bindings happy
- export STAGING_INCDIR=${STAGING_INCDIR}
- export STAGING_LIBDIR=${STAGING_LIBDIR}
- export BUILD_SYS=${BUILD_SYS}
- export HOST_SYS=${HOST_SYS}
- base_do_compile
-}
-
-do_install() {
- # make distustils part for python bindings happy
- export STAGING_INCDIR=${STAGING_INCDIR}
- export STAGING_LIBDIR=${STAGING_LIBDIR}
- export BUILD_SYS=${BUILD_SYS}
- export HOST_SYS=${HOST_SYS}
- autotools_do_install
- install -d -m755 ${D}/${datadir_native}/${PN}
- install ${WORKDIR}/pam.configure ${D}/${datadir_native}/${PN}
-}
-
-FILES_${PN} += " \
- ${base_libdir}/security/*.so \
- ${datadir_native}/ \
-"
-CONFFILES_${PN} += "${sysconfdir}"
-
-PACKAGE_BEFORE_PN += "${PN}-python"
-
-FILES_${PN}-python = " \
- ${PYTHON_SITEPACKAGES_DIR} \
-"
-
-FILES_${PN}-staticdev += " \
- ${PYTHON_SITEPACKAGES_DIR}/*.a \
- ${base_libdir}/security/*.a \
-"
-FILES_${PN}-dev += " \
- ${PYTHON_SITEPACKAGES_DIR}/*.la \
- ${base_libdir}/security/*.la \
- ${base_libdir}/pkgconfig/pwquality.pc \
-"
-
-FILES_${PN}-dbg += "\
- ${PYTHON_SITEPACKAGES_DIR}/.debug \
- ${base_libdir}/security/.debug \
-"
-
-# The postinstall installs libpwquality into PAM.
-# The prerm removes libpwquatlity from PAM.
-# The file we change is /etc/pam.d/common-password,
-# which is a configuration file for libpam-runtime.
-# We ignore failures in the post-install and pre-remove.
-# so if the patch does not apply, pam will not use us.
-pkg_postinst_${PN}() {
- PAM_CONFIGURE="/${datadir_native}/${PN}/pam.configure"
- if [[ -n $D ]] ; then
- LOG='printf %s\n'
- PAM_CONFIGURE="$D${PAM_CONFIGURE}"
- cd $D
- else
- LOG="logger -s -p user.info -t opkg\ libpwquality"
- cd /
- fi
- logsave=$(patch -p1 -N < "$PAM_CONFIGURE" 2>&1 || true)
- if [[ -n ${logsave} ]] ; then
- ${LOG} "In directory $(pwd)"
- ${LOG} "patch -p1 -N < $PAM_CONFIGURE"
- ${LOG} "${PN} patch: ${logsave}"
-
- fi
-}
-
-pkg_prerm_${PN}() {
- PAM_CONFIGURE="/${datadir_native}/${PN}/pam.configure"
- if [[ -n $D ]] ; then
- LOG='printf %s\n'
- PAM_CONFIGURE="$D${PAM_CONFIGURE}"
- cd $D
- else
- LOG="logger -s -p user.info -t opkg\ libpwquality"
- cd /
- fi
- logsave=$(patch -p1 -R < "$PAM_CONFIGURE" 2>&1 || true)
- if [[ -n ${logsave} ]] ; then
- ${LOG} "In directory $(pwd)"
- ${LOG} "patch -p1 -R < "$PAM_CONFIGURE""
- ${LOG} "${PN} remove patch: ${logsave}"
- fi
-}
diff --git a/recipes-support/libpwquality/libpwquality_1.4.0.bb.new b/recipes-support/libpwquality/libpwquality_1.4.0.bb.new
deleted file mode 100644
index 2c96063..0000000
--- a/recipes-support/libpwquality/libpwquality_1.4.0.bb.new
+++ /dev/null
@@ -1,45 +0,0 @@
-DESCRIPTION = "Library for password quality checking and generating random passwords"
-HOMEPAGE = "https://github.com/libpwquality/libpwquality"
-SECTION = "devel/lib"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=6bd2f1386df813a459a0c34fde676fc2"
-
-SRCNAME = "libpwquality"
-SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/${SRCNAME}-${PV}/${SRCNAME}-${PV}.tar.bz2 \
- file://add-missing-python-include-dir-for-cross.patch \
-"
-
-SRC_URI[md5sum] = "b8defcc7280a90e9400d6689c93a279c"
-SRC_URI[sha256sum] = "1de6ff046cf2172d265a2cb6f8da439d894f3e4e8157b056c515515232fade6b"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-DEPENDS = "cracklib virtual/gettext python3"
-RDEPENDS_python3-libpwquality = "${PN}"
-
-inherit autotools python3native gettext
-
-B = "${S}"
-
-export PYTHON_DIR
-export BUILD_SYS
-export HOST_SYS
-export STAGING_LIBDIR
-export STAGING_INCDIR
-
-EXTRA_OECONF += "--with-python-rev=${PYTHON_BASEVERSION} \
- --with-python-binary=${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} \
- --with-pythonsitedir=${PYTHON_SITEPACKAGES_DIR} \
- --libdir=${libdir} \
-"
-
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
-PACKAGECONFIG[pam] = "--enable-pam, --disable-pam, libpam"
-
-PACKAGES += "python3-libpwquality python3-libpwquality-dbg"
-FILES_${PN} += "${libdir}/security/pam_pwquality.so"
-FILES_${PN}-dbg += "${libdir}/security/.debug"
-FILES_${PN}-staticdev += "${libdir}/security/pam_pwquality.a"
-FILES_${PN}-dev += "${libdir}/security/pam_pwquality.la"
-FILES_python3-${PN} = "${PYTHON_SITEPACKAGES_DIR}/*"
-FILES_python3-${PN}-dbg = "${PYTHON_SITEPACKAGES_DIR}/.debug"
diff --git a/recipes-support/lxfp/lxfp-src_23a2843.bb b/recipes-support/lxfp/lxfp-src_23a2843.bb
deleted file mode 100644
index b2258b7..0000000
--- a/recipes-support/lxfp/lxfp-src_23a2843.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-# This recipe needs a manual download of
-# the proprietary Telit firmware flashing
-# program into build/downloads
-# Then it will be able to compile an
-# ipk. The current lxfp recipe requires
-# a tar file of bin/lxfp object module.
-# This is here is an example only.
-DESCRIPTION = "Telit LXFP modem flashing tools"
-LICENSE = ""
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
-
-PR = "r1"
-
-SRC_URI = " \
- file://lxfp-${PV}.tar.gz;md5=b4dc2f536658b3f82c91b68af1bf3dc3 \
-"
-
-S = "${WORKDIR}/lxfp-${PV}"
-
-do_compile() {
- CC="${CC} --sysroot=${STAGING_DIR_HOST}"
- LD="${LD} --sysroot=${STAGING_DIR_HOST}"
- CXX="${CXX} --sysroot=${STAGING_DIR_HOST}"
- echo "CXX is ${CXX}"
- oe_runmake CC="${CC}" LD="${LD}" CXX="${CXX}"
-}
-
-do_install() {
- install -d ${D}${sbindir}
- install -m 0755 bin/lxfp ${D}${sbindir}
-}
-
-FILES_${PN} = "${sbindir}/lxfp"
diff --git a/recipes-support/lxfp/lxfp_23a2843.bb b/recipes-support/lxfp/lxfp_23a2843.bb
deleted file mode 100644
index 2bf4958..0000000
--- a/recipes-support/lxfp/lxfp_23a2843.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-DESCRIPTION = "Telit LXFP modem flashing tool"
-LICENSE = "Proprietary"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
-
-PR = "r1"
-
-SRC_URI = "http://www.multitech.net/downloads/lxfp-arm926ejste-23a2843.tar.gz"
-SRC_URI[md5sum] = "4ef5d0907a880f9acdc345d57e08c53b"
-SRC_URI[sha256sum] = "09d3fd2d7102343d727fe36c818854183eaa7cdeced1af810786a9d1509541cf"
-
-do_install() {
- install -d ${D}${sbindir}
- echo "do_install: directory is $(pwd)"
- install -m 0755 ${WORKDIR}/bin/lxfp ${D}${sbindir}
-}
-
-FILES_${PN} = "${sbindir}/lxfp"
diff --git a/recipes-support/multitech/jsparser/jspp b/recipes-support/multitech/jsparser/jspp
deleted file mode 100755
index 16b60e1..0000000
--- a/recipes-support/multitech/jsparser/jspp
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-if [ $# -lt 1 ]; then
- echo "usage: $0 <filepath>"
- echo " prints json in readable format"
- exit 1
-fi
-
-cat $1 | jsparser --jsobj
diff --git a/recipes-support/multitech/jsparser_0.3.bb b/recipes-support/multitech/jsparser_0.3.bb
deleted file mode 100644
index cd419c6..0000000
--- a/recipes-support/multitech/jsparser_0.3.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-DESCRIPTION = "MultiTech Command Line JSON Parser"
-LICENSE = "GPL-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
-DEPENDS = "jsoncpp libmts"
-RDEPENDS_${PN} += "bash jsoncpp"
-
-PR = "r0"
-SRCREV="${PV}"
-
-SRC_URI = "git://git.multitech.net/jsparser;branch=master \
- file://jspp \
-"
-
-S = "${WORKDIR}/git"
-
-do_install_append() {
- oe_runmake install DESTDIR=${D}
- install -d ${D}/usr/bin
- install -m 755 ${WORKDIR}/jspp ${D}/usr/bin/jspp
-}
-
-
diff --git a/recipes-support/multitech/libmts-io_1.0.19.bb b/recipes-support/multitech/libmts-io_1.0.19.bb
deleted file mode 100644
index 34115be..0000000
--- a/recipes-support/multitech/libmts-io_1.0.19.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-DESCRIPTION = "MultiTech IO C++ Library"
-HOMEPAGE = "http://www.multitech.net/"
-LICENSE = "LGPL-2.1"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
-
-DEPENDS = "libmts jsoncpp cmake-native cppunit"
-BBCLASSEXTEND = "native"
-
-PR = "r0"
-SRCREV = "${PV}"
-SRC_URI = "git://git.multitech.net/libmts-io;branch=master"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
- oe_runmake
-}
-
-# build and run tests for native recipe
-do_compile_append_virtclass-native() {
- cd test
- cmake .
- oe_runmake
- ./TestRunnerClient
-}
-
-do_install() {
- oe_runmake install DESTDIR=${D}
-}
-
diff --git a/recipes-support/multitech/libmts_0.5.bb b/recipes-support/multitech/libmts_0.5.bb
deleted file mode 100644
index a5deb4b..0000000
--- a/recipes-support/multitech/libmts_0.5.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-DESCRIPTION = "MultiTech Core C++ Library"
-HOMEPAGE = "http://www.multitech.net/"
-LICENSE = "LGPL-2.1"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
-
-DEPENDS = "cmake-native cppunit"
-BBCLASSEXTEND = "native nativesdk"
-
-PR = "r1"
-SRCREV = "${PV}"
-SRC_URI = "git://git.multitech.net/libmts;branch=master"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
- oe_runmake
-}
-
-# build and run tests for native recipe
-do_compile_append_virtclass-native() {
- cd test
- cmake .
- oe_runmake
- ./TestRunnerClient
-}
-
-do_install() {
- oe_runmake install DESTDIR=${D}
-}
-
diff --git a/recipes-support/multitech/radio-cmd_0.6.bb b/recipes-support/multitech/radio-cmd_0.6.bb
deleted file mode 100644
index 77fe5dc..0000000
--- a/recipes-support/multitech/radio-cmd_0.6.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-DESCRIPTION = "MultiTech cellular radio command tool"
-HOMEPAGE = "http://www.multitech.net/"
-LICENSE = "GPL-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
-
-DEPENDS = "jsoncpp libmts libmts-io"
-RDEPENDS_radio-cmd = "jsoncpp"
-
-PR = "r1"
-SRCREV = "${PV}"
-
-SRC_URI = "git://git.multitech.net/radio-cmd;branch=master"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
- oe_runmake
-}
-
-do_install() {
- oe_runmake install DESTDIR=${D}
-}
-
diff --git a/recipes-support/multitech/radio-query_0.8.bb b/recipes-support/multitech/radio-query_0.8.bb
deleted file mode 100644
index 7ce0976..0000000
--- a/recipes-support/multitech/radio-query_0.8.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-DESCRIPTION = "MultiTech cellular radio query tool"
-HOMEPAGE = "http://www.multitech.net/"
-LICENSE = "GPL-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
-RDEPENDS_${PN} += "jsoncpp"
-DEPENDS = "jsoncpp libmts libmts-io"
-
-PR = "r0"
-SRCREV = "${PV}"
-
-SRC_URI = "git://git.multitech.net/radio-query;branch=master"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
- oe_runmake
-}
-
-do_install() {
- oe_runmake install DESTDIR=${D}
-}
-
diff --git a/recipes-support/ntp/files/logtime.patch b/recipes-support/ntp/files/logtime.patch
deleted file mode 100644
index bb253f4..0000000
--- a/recipes-support/ntp/files/logtime.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-# The logtime test is used to compare the kernel realtime
-# clock and the kernel monotonic clock, so that leap
-# second may be observed.
-diff -Naru old/tests/ntpd/logtime.c new/tests/ntpd/logtime.c
---- old/tests/ntpd/logtime.c 1969-12-31 18:00:00.000000000 -0600
-+++ new/tests/ntpd/logtime.c 2017-05-30 13:22:11.827179154 -0500
-@@ -0,0 +1,44 @@
-+#include <time.h>
-+#include <stdio.h>
-+#include <unistd.h>
-+#include <stdarg.h>
-+#include <syslog.h>
-+/*
-+ * Generate a log messages 4 times per second
-+ * to verify leap second. The CLOCK_MONOTONIC_RAW
-+ * is the time since boot unaffected by adjustments.
-+ *
-+ * CLOCK_REALTIME is the UTC clock, which is affected
-+ * by leap seconds.
-+ *
-+ * Program does not exit.
-+ *
-+ */
-+main()
-+{
-+ openlog("CTST",0,LOG_LOCAL2);
-+ while(1) {
-+ struct timespec ts,unused,ep;
-+ if (clock_gettime(CLOCK_MONOTONIC,&ts) == 0) {
-+
-+ if(ts.tv_nsec < 750000000)
-+ ts.tv_nsec += 250000000;
-+ else {
-+ ts.tv_nsec -= 750000000;
-+ ts.tv_sec += 1;
-+ }
-+ clock_nanosleep(CLOCK_MONOTONIC,TIMER_ABSTIME,&ts,&unused);
-+ clock_gettime(CLOCK_MONOTONIC_RAW,&ts);
-+ ts.tv_nsec /= 1000000;
-+ clock_gettime(CLOCK_REALTIME,&ep);
-+ ep.tv_nsec /= 1000000;
-+ syslog(LOG_NOTICE,"epoch: %lu.%3.3ld boot: %lu.%3.3ld",
-+ ep.tv_sec,ep.tv_nsec,
-+ ts.tv_sec,ts.tv_nsec);
-+
-+ }
-+
-+
-+ }
-+
-+}
-diff -Naru old/tests/ntpd/Makefile.am new/tests/ntpd/Makefile.am
---- old/tests/ntpd/Makefile.am 2017-05-30 13:31:45.124160267 -0500
-+++ new/tests/ntpd/Makefile.am 2017-05-30 16:53:59.784755988 -0500
-@@ -29,6 +29,7 @@
- test-ntp_restrict \
- test-ntp_scanner \
- test-ntp_signd \
-+ logtime \
- $(NULL)
-
-
-@@ -191,8 +192,8 @@
- ## check-libntp.mf - automake fragment
- ## slightly adapted for deeper directory
-
--BUILT_SOURCES += check-libntpd check-libntp check-libunity
--CLEANFILES += check-libntpd check-libntp check-libunity
-+BUILT_SOURCES += check-libntpd check-libntp check-libunity logtime
-+CLEANFILES += check-libntpd check-libntp check-libunity logtime
-
- check-libntpd: ../../ntpd/libntpd.a
- @echo stamp > $@
diff --git a/recipes-support/ntp/files/ntp.conf.patch b/recipes-support/ntp/files/ntp.conf.patch
deleted file mode 100644
index 3d7a652..0000000
--- a/recipes-support/ntp/files/ntp.conf.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-diff -Naru old/ntp.conf new/ntp.conf
---- old/ntp.conf 2017-07-18 17:48:59.436221921 -0500
-+++ new/ntp.conf 2017-07-18 18:00:54.392325489 -0500
-@@ -1,17 +1,59 @@
--# This is the most basic ntp configuration file
- # The driftfile must remain in a place specific to this
- # machine - it records the machine specific clock error
--driftfile /var/lib/ntp/drift
-+# Driftfile must be in a directory owned by ntp
-+driftfile /var/lib/ntp/ntp.drift
-+
-+# The following code is for evaluating the timeserver.
-+# Remove the # to activate the statistics
-+# statsdir must start in column 1 for the initscript to
-+# create the directory, in case it is volatile.
-+#
-+# statistics loopstats
-+# statistics peerstats
-+# statsdir /var/log/ntpstats
-+# filegen peerstats file peerstats type day link enable
-+# filegen loopstats file loopstats type day link enable
-+
-+# This is the US timeserver pool. You should use a pool
-+# close to your location.
-+#pool us.pool.ntp.org iburst
-+
- # This should be a server that is close (in IP terms)
- # to the machine. Add other servers as required.
--# Unless you un-comment the line below ntpd will sync
--# only against the local system clock.
- #
- # server time.server.example.com
- #
-+
-+restrict default kod nomodify notrap nopeer noquery
-+restrict -6 default kod nomodify notrap nopeer noquery
-+restrict 127.0.0.1 mask 255.255.255.0
-+restrict -6 ::1
-+
-+# GPS Serial data reference (NTP0)
-+# This sets the GPS 50 milliseconds slower than the PPS.
-+server 127.127.28.0 true
-+fudge 127.127.28.0 time1 0.050 refid GPS
-+
-+# GPS PPS reference (NTP2)
-+server 127.127.28.2 prefer true
-+fudge 127.127.28.2 time1 0.000 refid PPS
-+
-+# orphanwait says that after 30 seconds, we can't find a server, we
-+# will use the local clock. This means ntp will hang for 30 seconds
-+# during boot if we are not configured for an NTP server.
-+tos orphanwait 30
-+
- # Using local hardware clock as fallback
--# Disable this when using ntpd -q -g -x as ntpdate or it will sync to itself
--server 127.127.1.0
-+
-+# minpoll of 5 means 2^5 seconds or 32 seconds. So first we wait 30
-+# seconds if we can't get a response from another server, and then
-+# if we don't get the response, we will use the local clock after
-+# a 32 second poll interval. So the NTP will hold up the boot for
-+# 32 seconds if we don't have a good NTP server.
-+server 127.127.1.0 minpoll 5
-+# the local clock should always be set to a high stratum
-+# (low priority), since it
-+# is the system clock, which is not a good choice.
- fudge 127.127.1.0 stratum 14
- # Defining a default security setting
- restrict default
diff --git a/recipes-support/ntp/files/ntpd-default b/recipes-support/ntp/files/ntpd-default
deleted file mode 100644
index ed7a6ec..0000000
--- a/recipes-support/ntp/files/ntpd-default
+++ /dev/null
@@ -1,35 +0,0 @@
-ENABLED="yes"
-
-CONFIGFILE=/etc/ntp.conf
-
-# The GPSD_* parameters in this file are ignored
-# if the uBlox GPS is not present.
-
-# Require a GPS lock/fix before starting NTP
-# This is needed if we are not using NTP servers.
-# NTP will not work with the GPS if the GPS is not
-# locked before starting.
-# See /etc/default/gpsd for the states required.
-GPSD_REQUIRED=1
-
-# Number of seconds between testing for a GPS
-# lock prior to calling ntpd.
-GPSD_WAIT_TIME=120
-
-# Since the HW Clock could be off by a second or
-# so, our GPS might get marked as a false ticker
-# if we do not set the system clock to the GPS
-# first. The current correct way to do this
-# according to the ntp doc is ntpd -gq -c conffile
-# which must be done before ntpd is started.
-# conffile should exclude the local clock, so it is
-# ignored while doing the initial sync.
-# ntpd -gq apparently does not work with the GPS
-# when tested with the clock more than one day off
-# and no ntpd. The gps shared memory is never polled.
-#
-# If there is a uBlox GPS present, the time is
-# read from the GPS to initialize the system time
-# before NTP is started.
-SET_SYSTEM_CLOCK=1
-
diff --git a/recipes-support/ntp/files/ntpd-init.patch b/recipes-support/ntp/files/ntpd-init.patch
deleted file mode 100644
index 3f8129a..0000000
--- a/recipes-support/ntp/files/ntpd-init.patch
+++ /dev/null
@@ -1,113 +0,0 @@
-diff -Naru orig/ntpd new/ntpd
---- orig/ntpd 2019-12-20 15:28:43.002031942 -0600
-+++ new/ntpd 2019-12-20 15:32:59.138024359 -0600
-@@ -1,4 +1,4 @@
--#! /bin/sh
-+#! /bin/bash
-
- ### BEGIN INIT INFO
- # Provides: ntp
-@@ -9,7 +9,9 @@
- # Short-Description: Start NTP daemon
- ### END INIT INFO
-
-+. /etc/default/ntpd
- PATH=/sbin:/bin:/usr/bin:/usr/sbin
-+GNSSRST=/sys/devices/platform/mts-io/gnss-reset
-
- DAEMON=/usr/sbin/ntpd
- PIDFILE=/var/run/ntpd.pid
-@@ -22,6 +24,20 @@
-
- # Source function library.
- . /etc/init.d/functions
-+has_gps=0
-+if [[ -f /sys/devices/platform/mts-io/capability/gps ]] ; then
-+ has_gps=$(cat /sys/devices/platform/mts-io/capability/gps)
-+fi
-+
-+if (( has_gps == 0 )) ; then
-+ if [[ -n ${CONFIGFILE_sha256} ]] ; then
-+ NEWCONFIGFILE_sha256=$(sha256sum $CONFIGFILE)
-+ if [[ $NEWCONFIGFILE_sha256 =~ $CONFIGFILE_sha256 ]] ; then
-+ logger -p daemon.notice -s -t etc_ntpd "No GPS, need to configure /etc/ntp.conf"
-+ exit 0
-+ fi
-+ fi
-+fi
-
- # Functions to do individual actions
- settick(){
-@@ -34,13 +50,40 @@
- }
- }
- startdaemon(){
-- # The -g option allows ntpd to step the time to correct it just
-- # once. The daemon will exit if the clock drifts too much after
-- # this. If ntpd seems to disappear after a while assume TICKADJ
-- # above is set to a totally incorrect value.
-- echo -n "Starting ntpd: "
-- start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON -- -u ntp:ntp -p $PIDFILE "$@"
-- echo "done"
-+ /usr/sbin/start-stop-daemon -N -20 --start -x /usr/sbin/ntpd --test -- -u ntp:ntp -p /var/run/ntp.pid "$@" \
-+ || return 1
-+ if [[ -x /usr/sbin/gpsd_settime ]] && ((GPSD_REQUIRED == 1)) && (( has_gps == 1 )) && [[ -f "${GNSSRST}" ]]; then
-+ . /etc/default/gpsd
-+ [[ ${VERBOSE} != no ]] && logger -t 'etc_ntpd' -p daemon.info 'Have a GPS and it is required'
-+ if ((SET_SYSTEM_CLOCK == 1)) && /usr/sbin/gpsd_settime ; then
-+ [[ ${VERBOSE} != no ]] && logger -t 'etc_ntpd' -p daemon.info 'Need to set the time next with ntpd'
-+ # We just set the system time by the GPS. Should be within 2 seconds.
-+ # Now that we are close to the correct system time, we
-+ # use the ntpd one shot option to get to less than
-+ # 250mS error so that we don't waste time adjusting the clock.
-+ /usr/sbin/ntpd -gq
-+ echo -n "Starting ntpd: "
-+ start-stop-daemon -N -20 --start --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON -- -u ntp:ntp -p $PIDFILE "$@"
-+ echo "done"
-+ else
-+ [[ ${VERBOSE} != no ]] && logger -t 'etc_ntpd' -p daemon.info 'Clock not set, try later'
-+ # Need a GPS fix before startint ntp. Try again later.
-+ /usr/sbin/start-stop-daemon -b -n z1e9d3qb -N -20 --start -x /bin/bash -- -c "sleep $GPSD_WAIT_TIME;/etc/init.d/ntpd start"
-+ fi
-+ else
-+ # The -g option allows ntpd to step the time to correct it just
-+ # once. The daemon will exit if the clock drifts too much after
-+ # this. If ntpd seems to disappear after a while assume TICKADJ
-+ # above is set to a totally incorrect value.
-+ if ((SET_SYSTEM_CLOCK == 1)) ; then
-+ # Sets the clock and exits.
-+ ntpd -gq
-+ shift
-+ fi
-+ echo -n "Starting ntpd: "
-+ start-stop-daemon -N -20 --start --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON -- -u ntp:ntp -p $PIDFILE "$@"
-+ echo "done"
-+ fi
- }
- stopdaemon(){
- echo -n "Stopping ntpd: "
-@@ -50,8 +93,22 @@
-
- case "$1" in
- start)
-- settick
-- startdaemon -g
-+ if ! [[ $ENABLED =~ ^[yY][eE][sS]$ ]] ; then
-+ exit 0
-+ fi
-+ if [[ -n "$CONFIGFILE" ]] ; then
-+ CONFIGOPT="-c ${CONFIGFILE}"
-+ STATSDIR=$(grep "^statsdir" ${CONFIGFILE} | sed -r 's/[^[:space:]]+[[:space:]]//')
-+ if ((${#STATSDIR} > 0)) && ! [[ -d ${STATSDIR} ]] ; then
-+ echo Make ${STATSDIR}
-+ mkdir -m 0755 -p ${STATSDIR}
-+ fi
-+ if [[ -d ${STATSDIR} ]] ; then
-+ chown ntp:ntp ${STATSDIR} >/dev/null 2>&1
-+ fi
-+ fi
-+ settick
-+ startdaemon -g $CONFIGOPT
- ;;
- stop)
- stopdaemon
diff --git a/recipes-support/ntp/ntp_%.bbappend b/recipes-support/ntp/ntp_%.bbappend
deleted file mode 100644
index 436164a..0000000
--- a/recipes-support/ntp/ntp_%.bbappend
+++ /dev/null
@@ -1,37 +0,0 @@
-PR .= ".mlinux6"
-
-SRC_URI += " file://ntpd-default \
- file://ntp.conf.patch;patchdir=.. \
- file://ntpd-init.patch;patchdir=.. \
- file://logtime.patch \
- "
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-
-RDEPENDS_${PN} += "bash"
-
-python do_patch_prepend () {
- import os
-}
-
-do_install_append() {
- install -d ${D}${sysconfdir}/default
- install -m 0644 ${WORKDIR}/ntpd-default ${D}${sysconfdir}/default/ntpd.default
-
- drdir=${D}${localstatedir}/lib/ntp
- install -d -m 0755 -p ${drdir}
- drfile="${drdir}/ntp.drift"
- touch ${drfile}
- chmod 664 ${drfile}
- chown -R ntp:ntp ${drdir}
- tmp=$(sha256sum ${D}${sysconfdir}/ntp.conf | sed 's/ .*//')
- echo "CONFIGFILE_sha256=${tmp}" >> ${D}${sysconfdir}/default/ntpd.default
-}
-pkg_postinst_${PN}_append() {
- update-alternatives --install ${sysconfdir}/default/ntpd ntpd-defaults ${sysconfdir}/default/ntpd.default 10
-}
-
-pkg_postrm_${PN}_append() {
- update-alternatives --remove ntpd-defaults ${sysconfdir}/default/ntpd.default
-}
-FILES_${PN} += "${sysconfdir}/default/ntpd.default ${localstatedir}/lib/*"
-CONFFILES_${PN} += "${sysconfdir}/default/ntpd.default"
diff --git a/recipes-support/pam-script/pam-script_1.1.9.bb b/recipes-support/pam-script/pam-script_1.1.9.bb
deleted file mode 100644
index 3b9347c..0000000
--- a/recipes-support/pam-script/pam-script_1.1.9.bb
+++ /dev/null
@@ -1,27 +0,0 @@
-SUMMARY = "Library for hooking into pam authentication"
-HOMEPAGE = "https://github.com/jeroennijhof/pam_script"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
-
-inherit autotools-brokensep pkgconfig
-RDEPENDS_${PN} = "libpam-runtime perl"
-
-SRC_URI = "git://github.com/jeroennijhof/pam_script.git;protocol=git"
-SRCREV = "${PV}"
-S = "${WORKDIR}/git"
-PR="r2"
-
-EXTRA_OECONF = " \
- --sysconfdir=${sysconfdir}/pam-script \
- --libdir=${base_libdir}/security \
-"
-
-
-
-FILES_${PN} += "${base_libdir}"
-FILES_${PN}-doc += "${datadir_native}/man"
-
-do_install_append() {
- oe_runmake DESTDIR=${D} install-data-hook install-exec-hook install-examples install-logger install-tally
- install -m 0644 ${S}/etc/README.pam_script ${D}/${sysconfdir}/pam-script
-}
diff --git a/recipes-support/pps-tools/pps-tools_git.bb b/recipes-support/pps-tools/pps-tools_git.bb
deleted file mode 100644
index ddcfe67..0000000
--- a/recipes-support/pps-tools/pps-tools_git.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-SUMMARY = "User-space tools for LinuxPPS"
-PRIORITY = "optional"
-
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-
-PV = "0.0.0+git${SRCPV}"
-SRCREV = "0deb9c7e135e9380a6d09e9d2e938a146bb698c8"
-SRC_URI = "git://github.com/ago/pps-tools.git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
- install -d ${D}${bindir} ${D}${includedir} \
- ${D}${includedir}/sys
- oe_runmake 'DESTDIR=${D}' install
-}