From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: optimize ipkg package management - generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig --- package/pptp/Makefile | 7 +++++-- package/pptp/files/pptp.conffiles | 1 + package/pptp/ipkg/pptp.conffiles | 1 - package/pptp/ipkg/pptp.control | 5 ----- 4 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 package/pptp/files/pptp.conffiles delete mode 100644 package/pptp/ipkg/pptp.conffiles delete mode 100644 package/pptp/ipkg/pptp.control (limited to 'package/pptp') diff --git a/package/pptp/Makefile b/package/pptp/Makefile index 41ac8243d..8c892d1d8 100644 --- a/package/pptp/Makefile +++ b/package/pptp/Makefile @@ -9,11 +9,14 @@ PKG_NAME:= pptp PKG_VERSION:= 1.6.0 PKG_RELEASE:= 3 PKG_MD5SUM:= 9a706327fb9827541d7c86d48ceb9631 -MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=pptpclient/} +PKG_DESCR:= a Point-to-Point Tunneling Protocol (PPTP) client +PKG_SECTION:= net +PKG_DEPENDS:= ppp kmod-gre +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pptpclient/} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,PPTP,pptp,${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,PPTP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) BUILD_STYLE:= auto MAKE_FLAGS+= CC="${TARGET_CC}" \ diff --git a/package/pptp/files/pptp.conffiles b/package/pptp/files/pptp.conffiles new file mode 100644 index 000000000..136db31f1 --- /dev/null +++ b/package/pptp/files/pptp.conffiles @@ -0,0 +1 @@ +/etc/ppp/options.pptp \ No newline at end of file diff --git a/package/pptp/ipkg/pptp.conffiles b/package/pptp/ipkg/pptp.conffiles deleted file mode 100644 index 136db31f1..000000000 --- a/package/pptp/ipkg/pptp.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/ppp/options.pptp \ No newline at end of file diff --git a/package/pptp/ipkg/pptp.control b/package/pptp/ipkg/pptp.control deleted file mode 100644 index e582c6221..000000000 --- a/package/pptp/ipkg/pptp.control +++ /dev/null @@ -1,5 +0,0 @@ -Package: pptp -Priority: optional -Section: net -Description: a Point-to-Point Tunneling Protocol (PPTP) client -Depends: ppp, kmod-gre -- cgit v1.2.3