Merge oe-devel@oe-devel.bkbits.net:packages
authorBruno Randolf <br1@subnet.at>
Thu, 2 Dec 2004 18:05:45 +0000 (18:05 +0000)
committerBruno Randolf <br1@subnet.at>
Thu, 2 Dec 2004 18:05:45 +0000 (18:05 +0000)
into null.(none):/data/mtx/oe/packages

2004/12/02 19:05:10+01:00 (none)!br1
added some more licenses to SRC_DISTRIBUTE_LICENSES. replaced as-is licenses with packagename. made packagname licenses lowercase

2004/12/02 18:30:48+01:00 (none)!br1
little nylon updates

2004/12/02 18:29:36+01:00 (none)!br1
added CONFFILES for nylon. once CONFFILES should be used in all oe, the "_nylon" part can be removed

2004/12/02 17:19:19+01:00 (none)!br1
src_distribute: better output when LICENSE is not valid

BKrev: 41af59791fZQQgIzG_GWbh0227Ar0w

28 files changed:
base-files/base-files_3.0.14.oe
bzip2/bzip2_1.0.2.oe
chillispot/chillispot_0.98.oe
classes/src_distribute.oeclass
conf/distro/nylon.conf
conf/licenses.conf
cron/cron_3.0pl1.oe
ddclient/ddclient_3.6.3.oe
dhcp-forwarder/dhcp-forwarder_0.6.oe
dhcp/dhcp_3.0.1.oe
dnsmasq/dnsmasq_2.15.oe
ifplugd/ifplugd_0.25.oe
kismet/kismet_2004-04-R1.oe
libpng/libpng_1.2.7.oe
maradns/maradns_1.0.23.oe
meta/nylon-feed.oe
mobilemesh/mobilemesh_1.2.oe
net-snmp/net-snmp_5.1.2.oe
netbase/netbase_4.19.oe
openssh/openssh_3.8p1.oe
openswan/openswan_2.2.0.oe
ppp-dsl/ppp-dsl_0.1.oe
ppp/ppp_2.4.1.oe
shorewall/shorewall_2.0.9.oe
unik-olsrd/files/olsrd.conf [new file with mode: 0644]
unik-olsrd/unik-olsrd_cvs.oe
vtun/vtun_2.6.oe
zlib/zlib_1.2.2.oe

index 6f4bef6..a48d743 100644 (file)
@@ -159,3 +159,6 @@ RDEPENDS_${PN}-unslung = "nslu2-linksys-ramdisk"
 RPROVIDES_${PN}-unslung = "${PN}"
 
 FILES_${PN}-unslung = ""
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/resolv.conf ${sysconfdir}/fstab ${sysconfdir}/hostname"
+
index 9bb6ea9..cdbba08 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Very high-quality data compression program."
 SECTION = "console/utils"
 
-LICENSE = "BZIP2"
+LICENSE = "bzip2"
 SRC_URI = "ftp://sources.redhat.com/pub/bzip2/v102/bzip2-${PV}.tar.gz \
           file://installpaths.patch;patch=1"
 
index 31783d6..3e52abd 100644 (file)
@@ -13,3 +13,5 @@ do_install_append() {
        install ${S}/doc/chilli.conf ${D}/${sysconfdir}
        install -m 755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/chillispot
 }
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/chilli.conf"
index 8fe329c..9b10cd6 100644 (file)
@@ -26,7 +26,7 @@ python do_distribute_sources () {
                if lvalid != 1:
                        valid = 0
        if valid == 0:
-               oe.note("Licenses in LICENSE are not all listed in SRC_DISTRIBUTE_LICENSES, skipping source distribution")
+               oe.note("Licenses (%s) are not all listed in SRC_DISTRIBUTE_LICENSES, skipping source distribution" % licenses)
                return
        import re
        for s in (oe.data.getVar('A', d, 1) or "").split():
index a72e639..89c3b33 100644 (file)
@@ -30,9 +30,6 @@ PREFERRED_VERSION_binutils-cross = "2.14.90.0.7"
 PREFERRED_VERSION_binutils-cross-sdk = "2.14.90.0.7"
 PREFERRED_VERSION_binutils = "2.14.90.0.7"
 
-#PREFERRED_VERSION_prism54-module = "1.2"
-PREFERRED_VERSION_unik-olsrd = "0.4.7"
-
 # use meshcub.org mirrors
 CVS_TARBALL_STASH = "http://meshcube.org/nylon/unstable/sources/"
 INHERIT += "nylon-mirrors"
index 247c668..db3f78e 100644 (file)
@@ -1,2 +1,4 @@
-SRC_DISTRIBUTE_LICENSES = "GPL GPLv2 BSD LGPL Apache-2.0 BZIP2 QPL AFL"
-SRC_DISTRIBUTE_LICENSES += "NTP MIT Sleepycat Classpath"
+SRC_DISTRIBUTE_LICENSES = "GPL GPLv2 BSD LGPL Apache-2.0 QPL AFL"
+SRC_DISTRIBUTE_LICENSES += "MIT Sleepycat Classpath Perl PSF PD Artistic"
+SRC_DISTRIBUTE_LICENSES += "bzip2 zlib ntp cron libpng netperf"
+
index 9212871..46f2da8 100644 (file)
@@ -1,6 +1,6 @@
 SECTION = "base"
 DESCRIPTION = "Vixie cron."
-LICENSE = "as-is"
+LICENSE = "cron"
 
 SRC_URI = "http://ibiblio.org/pub/Linux/system/daemons/cron/cron${PV}.tar.gz \
           file://nonrootinstall.patch;patch=1 \
index a038dc5..159b110 100644 (file)
@@ -18,3 +18,5 @@ do_install() {
        install ${S}/COPY* ${D}/${docdir}/ddclient
        install ${S}/sample* ${D}/${docdir}/ddclient
 }
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/ddclient.conf"
index a6a46e5..56af0cc 100644 (file)
@@ -21,5 +21,7 @@ INITSCRIPT_PARAMS="defaults"
 do_install_append() {
        install -d ${D}/${sysconfdir}/init.d
        install -m 0755 ${WORKDIR}/init ${D}/etc/init.d/dhcp-forwarder
-       install -m 0644 ${WORKDIR}/dhcp-fwd.cfg ${D}/etc/
+       install -m 0644 ${WORKDIR}/dhcp-fwd.cfg ${D}/${sysconfdir}
 }
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/dhcp-fwd.cfg"
index 921c5c1..4711649 100644 (file)
@@ -38,3 +38,7 @@ FILES_dhcp-server = "/usr/sbin/dhcpd /etc/init.d/dhcp-server /etc/default/dhcp-s
 FILES_dhcp-relay = "/usr/sbin/dhcrelay /etc/init.d/dhcp-relay /etc/default/dhcp-relay"
 FILES_dhcp-client = "/sbin/ /etc/dhcp/dhclient.conf"
 FILES_dhcp-omshell = "/usr/bin/omshell"
+
+CONFFILES_dhcp-server_nylon = "/etc/dhcp/dhcpd.conf"
+CONFFILES_dhcp-relay_nylon = "/etc/default/dhcp-relay"
+CONFFILES_dhcp-client_nylon = "/etc/dhcp/dhclient.conf"
index e911f4d..bdeff40 100644 (file)
@@ -9,6 +9,11 @@ SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz \
        file://init"
 S = "${WORKDIR}/dnsmasq-${PV}"
 
+inherit update-rc.d
+
+INITSCRIPT_NAME = "dnsmasq"
+INITSCRIPT_PARAMS = "defaults"
+
 do_install () {
        oe_runmake "PREFIX=${D}/${prefix}" \
                   "BINDIR=${D}/${bindir}" \
@@ -18,3 +23,5 @@ do_install () {
        install -m 0755 ${S}/dnsmasq.conf.example ${D}/${sysconfdir}/dnsmasq.conf
        install -m 755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/dnsmasq
 }
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/dnsmasq.conf"
index ed6274d..1925208 100644 (file)
@@ -11,4 +11,6 @@ inherit autotools update-rc.d pkgconfig
 EXTRA_OECONF = "--disable-lynx"
 
 INITSCRIPT_NAME = "ifplugd"
-INITSCRIPT_PARAMS = "defaults"
\ No newline at end of file
+INITSCRIPT_PARAMS = "defaults"
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/ifplugd/ifplugd.conf"
index c851121..75ef7f4 100644 (file)
@@ -30,3 +30,5 @@ do_install_append() {
 
 PACKAGES =+ "kismet-sounds"
 FILES_kismet-sounds = "/usr/share/kismet/wav"
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/kismet.conf"
index 2da15b6..06c69df 100644 (file)
@@ -1,6 +1,6 @@
 DESCRIPTION = "PNG Library"
 HOMEPAGE = "http://www.libpng.org/"
-LICENSE = "as-is"
+LICENSE = "libpng"
 SECTION = "libs"
 PRIORITY = "required"
 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
index d977bcf..cf87aa0 100644 (file)
@@ -32,7 +32,7 @@ do_install() {
                 MAN8=${D}/usr/share/man/man8 \
                 install
        
-       mv ${D}/${sysconfdir}/mararc/example_mararc ${D}/${sysconfdir}/maradns
+       mv ${D}/${sysconfdir}/mararc/example_mararc ${D}/${sysconfdir}/maradns/mararc
        rm -r ${D}/${sysconfdir}/mararc/
        install -m 755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/maradns
 }
@@ -40,3 +40,5 @@ do_install() {
 PACKAGES = "maradns-zone maradns-ask maradns maradns-doc"
 FILES_maradns-zone = "${sbindir}/zoneserver ${bindir}/getzone"
 FILES_maradns-ask = "${bindir}/askmara"
+
+CONFFILES_${PN}_nylon = "/etc/maradns/mararc"
index b9d6375..5e61cc0 100644 (file)
@@ -55,6 +55,7 @@ openvpn \
 openswan \
 perl \
 ppp \
+ppp-dsl \
 rp-pppoe \
 rrdtool \
 prism2-firmware-update \
index 36e1164..b0f57bb 100644 (file)
@@ -33,3 +33,5 @@ do_install() {
        install ${S}/doc/README ${D}/${docdir}
        install ${S}/mobilemesh.init ${D}/${sysconfdir}/init.d/mobilemesh
 }
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/mobilemesh/mmrp.conf ${sysconfdir}/mobilemesh/mmdiscover.conf"
index 0a17e4b..1ee66ed 100644 (file)
@@ -51,4 +51,6 @@ else
        /etc/init.d/snmpd stop
 fi
 update-rc.d $D snmpd remove
-}
\ No newline at end of file
+}
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/snmp/snmpd.conf ${sysconfdir}/snmp/snmptrapd.conf"
index b13138e..622f9a5 100644 (file)
@@ -33,3 +33,5 @@ do_install () {
        install -m 0644 update-inetd.8 ${D}/${mandir}/man8/
        install -m 0644 ${WORKDIR}/interfaces ${D}/${sysconfdir}/network/interfaces
 }
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/network/options ${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
index 31d990b..3c9bc8c 100644 (file)
@@ -79,3 +79,6 @@ else
        update-rc.d -f sshd remove
 fi
 }
+
+CONFFILES_openssh-sshd_nylon = "${sysconfdir}/ssh/sshd_config"
+CONFFILES_openssh-ssh_nylon = "${sysconfdir}/ssh/ssh_config"
index 03b8f6b..63c3903 100644 (file)
@@ -26,3 +26,5 @@ do_install () {
 }
 
 FILES_${PN} += "/usr/lib/ipsec/"
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/ipsec/ipsec.conf"
index e69de29..938b9ec 100644 (file)
@@ -0,0 +1,28 @@
+SECTION = "console/network"
+DESCRIPTION = "Enables PPP dial-in through a DSL connection"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+LICENSE = "PD"
+DEPENDS = "ppp rp-pppoe"
+RDEPENDS = "ppp rp-pppoe kernel-module-ppp-async kernel-module-ppp-generic kernel-module-slhc"
+PR = "r1"
+
+SRC_URI = "file://dsl-provider \
+       file://ppp_on_boot.dsl"
+
+do_install() {
+       install -d ${D}/${sysconfdir}/ppp/peers
+       install -m 0644 ${WORKDIR}/dsl-provider ${D}/${sysconfdir}/ppp/peers/
+       install -m 0755 ${WORKDIR}/ppp_on_boot.dsl ${D}/${sysconfdir}/ppp/
+}
+
+pkg_postinst() {
+if test "x$D" != "x"; then
+       exit 1
+else
+       if ! test -e ${sysconfdir}/ppp/ppp_on_boot; then
+               ln -s ppp_on_boot.dsl ${sysconfdir}/ppp/ppp_on_boot
+       fi
+fi
+}
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/ppp/peers/dsl-provider"
index ece8c8c..002e56b 100644 (file)
@@ -28,3 +28,5 @@ do_install_append () {
        install -d ${D}${sysconfdir}/ppp/ip-up.d/
        install -d ${D}${sysconfdir}/ppp/ip-down.d/
 }
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets"
index 0edc5ce..1767e93 100644 (file)
@@ -15,3 +15,31 @@ do_install() {
        export PREFIX=${D}
        ${S}/install.sh
 }
+
+CONFFILES_${PN}_nylon = "\
+${sysconfdir}/shorewall/accounting \
+${sysconfdir}/shorewall/actions \
+${sysconfdir}/shorewall/blacklist \
+${sysconfdir}/shorewall/ecn \
+${sysconfdir}/shorewall/hosts \
+${sysconfdir}/shorewall/init \
+${sysconfdir}/shorewall/initdone \
+${sysconfdir}/shorewall/interfaces \
+${sysconfdir}/shorewall/maclist \
+${sysconfdir}/shorewall/masq \
+${sysconfdir}/shorewall/modules \
+${sysconfdir}/shorewall/nat \
+${sysconfdir}/shorewall/netmap \
+${sysconfdir}/shorewall/params \
+${sysconfdir}/shorewall/policy \
+${sysconfdir}/shorewall/proxyarp \
+${sysconfdir}/shorewall/routestopped \
+${sysconfdir}/shorewall/rules \
+${sysconfdir}/shorewall/shorewall.conf \
+${sysconfdir}/shorewall/start \
+${sysconfdir}/shorewall/stop \
+${sysconfdir}/shorewall/stopped \
+${sysconfdir}/shorewall/tcrules \
+${sysconfdir}/shorewall/tos \
+${sysconfdir}/shorewall/tunnels \
+${sysconfdir}/shorewall/zones"
diff --git a/unik-olsrd/files/olsrd.conf b/unik-olsrd/files/olsrd.conf
new file mode 100644 (file)
index 0000000..e69de29
index d799aa8..bbe9300 100644 (file)
@@ -8,21 +8,28 @@ LICENSE = "BSD"
 PV = "cvs${CVSDATE}"
 
 SRC_URI="cvs://anonymous@cvs.sourceforge.net/cvsroot/olsrd;module=olsrd-current \
-       file://unik-olsrd"
+       file://unik-olsrd \
+       file://olsrd.conf"
 
 PACKAGES =+ "unik-olsrd-libs"
 FILES_unik-olsrd-libs = "${libdir}"
 
 S = "${WORKDIR}/olsrd-current"
 
+inherit update-rc.d
+
+INITSCRIPT_NAME = "unik-olsrd"
+INITSCRIPT_PARAMS = "defaults"
+
 do_compile() {
        oe_runmake OS=linux clean all libs
 }
 
 do_install () {
        oe_runmake INSTALL_PREFIX=${D} install install_libs
-       install -d ${D}/etc/init.d
+       install -d ${D}/${sysconfdir}/init.d
        install -m 0755 ${WORKDIR}/unik-olsrd ${D}/${sysconfdir}/init.d
+       install -m 644 ${WORKDIR}/olsrd.conf ${D}/${sysconfdir}
 }
 
-CONFFILES_${PN} = "/etc/olsrd.conf"
+CONFFILES_${PN} = "${sysconfdir}/olsrd.conf"
index 7a8d5f0..f464e51 100644 (file)
@@ -25,3 +25,5 @@ do_install() {
        install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/vtund
        install ${S}/scripts/vtund-start.conf ${D}${sysconfdir}
 }
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/vtund-start.conf"
index 3c63a22..03ec866 100644 (file)
@@ -3,7 +3,7 @@ SECTION = "libs"
 PRIORITY = "required"
 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
 HOMEPAGE = "http://www.gzip.org/zlib/"
-LICENSE = "ZLIB"
+LICENSE = "zlib"
 
 SRC_URI = "http://www.libpng.org/pub/png/src/zlib-${PV}.tar.gz"
 S = "${WORKDIR}/zlib-${PV}"