From a9770ead426e861ab5db9a4eb4df65296a00212a Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Sun, 14 Aug 2005 21:38:54 +0000 Subject: Fix sudoers permission --- packages/sudo/sudo.inc | 4 ++++ packages/sudo/sudo_1.6.8p8.bb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/sudo/sudo.inc b/packages/sudo/sudo.inc index 279d1e61ee..7251bcdb4a 100644 --- a/packages/sudo/sudo.inc +++ b/packages/sudo/sudo.inc @@ -18,3 +18,7 @@ do_configure_prepend () { cat aclocal.m4 > acinclude.m4 fi } + +pkg_postinst() { + chmod 0440 ${sysconfdir}/sudoers +} diff --git a/packages/sudo/sudo_1.6.8p8.bb b/packages/sudo/sudo_1.6.8p8.bb index 087bcee541..cc8ae4081c 100644 --- a/packages/sudo/sudo_1.6.8p8.bb +++ b/packages/sudo/sudo_1.6.8p8.bb @@ -5,4 +5,4 @@ SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ file://noexec-link.patch;patch=1" include sudo.inc -PR = "r3" +PR = "r4" -- cgit v1.2.3 From d852dbb60699411b9970409f77cc9f6c9b6a017e Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 14 Aug 2005 21:59:39 +0000 Subject: Add libgpewidget 0.103, matches cairo 0.5 API and fixes the dateselector widget --- packages/libgpewidget/libgpewidget_0.103.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/libgpewidget/libgpewidget_0.103.bb diff --git a/packages/libgpewidget/libgpewidget_0.103.bb b/packages/libgpewidget/libgpewidget_0.103.bb new file mode 100644 index 0000000000..0d8dcf23cf --- /dev/null +++ b/packages/libgpewidget/libgpewidget_0.103.bb @@ -0,0 +1,19 @@ +LICENSE = "LGPL" +PR = "r2" +DESCRIPTION = "libgpewidget contains a collection of widgets and other common code shared by many GPE applications." +SECTION = "gpe/libs" +PRIORITY = "optional" +MAINTAINER = "Philip Blundell " +DEPENDS = "gtk+ cairo libxrender gtk-doc intltool-native" + +SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.bz2" + +inherit pkgconfig autotools + +EXTRA_OECONF = "--enable-cairo" + +do_stage () { + oe_libinstall -C .libs -so libgpewidget ${STAGING_LIBDIR} + autotools_stage_includes +} + -- cgit v1.2.3 From 067836a2f3f4199f55727ae9ba8ff9f33e063766 Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Sun, 14 Aug 2005 22:20:29 +0000 Subject: Fix hardcoded paths mess. Create localstatedir/shared/empty if not exists --- packages/vsftpd/vsftpd_2.0.3.bb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/vsftpd/vsftpd_2.0.3.bb b/packages/vsftpd/vsftpd_2.0.3.bb index 52be1d6285..ac54a96ed9 100644 --- a/packages/vsftpd/vsftpd_2.0.3.bb +++ b/packages/vsftpd/vsftpd_2.0.3.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Secure ftp daemon" SECTION = "console/network" DEPENDS = "openssl" -PR = "r2" +PR = "r3" LICENSE = "GPL" SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \ file://makefile.patch;patch=1 \ @@ -9,6 +9,13 @@ SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \ file://init \ file://vsftpd.conf" +do_configure() { + # Fix hardcoded /usr, /etc, /var mess. + cat tunables.c|sed s:\"/usr:\"${prefix}:g|sed s:\"/var:\"${localstatedir}:g \ + |sed s:\"${prefix}/share/empty:\"${localstatedir}/share/empty:g |sed s:\"/etc:\"${sysconfdir}:g > tunables.c.new + mv tunables.c.new tunables.c +} + do_compile() { oe_runmake "LIBS=-lssl -lcrypto -lcrypt -L${STAGING_LIBDIR}" } @@ -32,4 +39,5 @@ INITSCRIPT_PARAMS = "defaults" pkg_postinst() { addgroup ftp adduser --system --home /var/tmp/ftp --no-create-home --ingroup ftp --disabled-password -s /bin/false ftp -} \ No newline at end of file + mkdir -p ${localstatedir}/share/empty +} -- cgit v1.2.3 From e8b4d617bce9a8609a56be5f46cea4b96e2e4f0a Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Sun, 14 Aug 2005 22:25:39 +0000 Subject: Add vsftpd to feed --- conf/distro/openslug-packages.conf | 1 + packages/meta/openslug-packages.bb | 1 + 2 files changed, 2 insertions(+) diff --git a/conf/distro/openslug-packages.conf b/conf/distro/openslug-packages.conf index 28523f52b7..4df804800b 100644 --- a/conf/distro/openslug-packages.conf +++ b/conf/distro/openslug-packages.conf @@ -172,6 +172,7 @@ ${PKGDIR}/packages/upslug/*.bb \ ${PKGDIR}/packages/usbutils/*.bb \ ${PKGDIR}/packages/util-linux/*.bb \ ${PKGDIR}/packages/vlan/*.bb \ +${PKGDIR}/packages/vsftpd/*.bb \ ${PKGDIR}/packages/wakelan/*.bb \ ${PKGDIR}/packages/watchdog/*.bb \ ${PKGDIR}/packages/wireless-tools/*.bb \ diff --git a/packages/meta/openslug-packages.bb b/packages/meta/openslug-packages.bb index 36a7836683..0a209fce0a 100644 --- a/packages/meta/openslug-packages.bb +++ b/packages/meta/openslug-packages.bb @@ -111,6 +111,7 @@ OPENSLUG_PACKAGES = "\ usbutils \ util-linux \ vlan \ + vsftpd \ wakelan \ watchdog \ wireless-tools \ -- cgit v1.2.3 From 148c1c9638f6f873e32c02277629a9dda5b90b9a Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 14 Aug 2005 22:39:47 +0000 Subject: Add iptables 1.3.3 --- packages/iptables/iptables_1.3.3.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 packages/iptables/iptables_1.3.3.bb diff --git a/packages/iptables/iptables_1.3.3.bb b/packages/iptables/iptables_1.3.3.bb new file mode 100644 index 0000000000..0d6d8ccadf --- /dev/null +++ b/packages/iptables/iptables_1.3.3.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "iptables network filtering tools" +HOMEPAGE = "http://www.netfilter.org/" +SECTION = "console/utils" +LICENSE = "GPL" +PR = "r1" + +PACKAGES =+ "${PN}-utils" +FILES_${PN}-utils = "${bindir}/iptables-save ${bindir}/iptables-restore" + +SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2" + +S = "${WORKDIR}/iptables-${PV}" + +PARALLEL_MAKE="" + +export COPT_FLAGS = "${CFLAGS}" +export KERNEL_DIR = "${STAGING_INCDIR}" + +do_compile () { + unset CFLAGS + oe_runmake BINDIR=${D}${bindir} LIBDIR=${D}${libdir} MANDIR=${D}${mandir} NO_SHARED_LIBS=1 +} + +do_install () { + oe_runmake BINDIR=${D}${bindir} LIBDIR=${D}${libdir} MANDIR=${D}${mandir} install NO_SHARED_LIBS=1 +} + +FILES_${PN}-doc += "${mandir}" + -- cgit v1.2.3 From c53b1f2eb3cc1b0fc98d0d18234d580c6b051766 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 14 Aug 2005 22:41:41 +0000 Subject: Install iptables in sbindir instead of bindir --- packages/iptables/iptables_1.3.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/iptables/iptables_1.3.3.bb b/packages/iptables/iptables_1.3.3.bb index 0d6d8ccadf..a67df35806 100644 --- a/packages/iptables/iptables_1.3.3.bb +++ b/packages/iptables/iptables_1.3.3.bb @@ -18,7 +18,7 @@ export KERNEL_DIR = "${STAGING_INCDIR}" do_compile () { unset CFLAGS - oe_runmake BINDIR=${D}${bindir} LIBDIR=${D}${libdir} MANDIR=${D}${mandir} NO_SHARED_LIBS=1 + oe_runmake BINDIR=${D}${sbindir} LIBDIR=${D}${libdir} MANDIR=${D}${mandir} NO_SHARED_LIBS=1 } do_install () { -- cgit v1.2.3