[oe-commits] Roman I Khimov : poptop: don't expose open port by default, listen on 127.0 .0.1

git version control git at git.openembedded.org
Tue Mar 30 18:19:01 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 46ce809681e4c98d5a288a20500c376b5cd78441
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=46ce809681e4c98d5a288a20500c376b5cd78441

Author: Roman I Khimov <khimov at altell.ru>
Date:   Wed Mar 10 12:59:16 2010 +0300

poptop: don't expose open port by default, listen on 127.0.0.1

Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

 recipes/poptop/poptop_1.3.4.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/poptop/poptop_1.3.4.bb b/recipes/poptop/poptop_1.3.4.bb
index be1379a..8d9b60d 100644
--- a/recipes/poptop/poptop_1.3.4.bb
+++ b/recipes/poptop/poptop_1.3.4.bb
@@ -8,7 +8,7 @@ SECTION = "network"
 LICENSE = "GPL"
 RDEPENDS_${PN} = "ppp"
 RDEPENDS_${PN}-logwtmp-plugin = "${PN}"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/poptop/pptpd-${PV}.tar.gz \
            file://fix-plugins-install.patch;patch=1 \
@@ -32,6 +32,8 @@ do_install_append() {
         rm -f ${D}${libdir}/pptpd/pptpd-logwtmp.so
 	# Use mppe option in OE style
 	sed -ri "s,^[[:space:]]*require-mppe-128[[:space:]]*$,mppe required,no40,no56," ${D}/${sysconfdir}/ppp/options.pptpd
+	echo "# don't expose open port by default" >> ${D}/${sysconfdir}/pptpd.conf
+	echo "listen  127.0.0.1" >> ${D}/${sysconfdir}/pptpd.conf
 }
 
 PACKAGES = "${PN}-dbg ${PN}-bcrelay ${PN} ${PN}-doc"





More information about the Openembedded-commits mailing list