summaryrefslogtreecommitdiff
path: root/package/vsftpd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/vsftpd
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
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
Diffstat (limited to 'package/vsftpd')
-rw-r--r--package/vsftpd/Makefile18
-rw-r--r--package/vsftpd/files/vsftpd.conffiles (renamed from package/vsftpd/ipkg/vsftpd.conffiles)0
-rw-r--r--package/vsftpd/files/vsftpd.init4
-rw-r--r--package/vsftpd/files/vsftpd.postinst (renamed from package/vsftpd/ipkg/vsftpd.postinst)0
-rw-r--r--package/vsftpd/ipkg/vsftpd.control5
5 files changed, 11 insertions, 16 deletions
diff --git a/package/vsftpd/Makefile b/package/vsftpd/Makefile
index 8f3e691ee..9cf34f1a7 100644
--- a/package/vsftpd/Makefile
+++ b/package/vsftpd/Makefile
@@ -6,15 +6,17 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= vsftpd
-PKG_VERSION:= 2.1.0
+PKG_VERSION:= 2.1.2
PKG_RELEASE:= 1
-PKG_MD5SUM:= 7890b54e7ffa6106ffbdfda53f47fa41
-
-MASTER_SITES:= ftp://vsftpd.beasts.org/users/cevans/
+PKG_MD5SUM:= 6a8c8579d50adf0d0fc07226c03bfb52
+PKG_DESCR:= a fast and secure FTP server
+PKG_SECTION:= net
+PKG_URL:= http://vsftpd.beasts.org
+PKG_SITES:= ftp://vsftpd.beasts.org/users/cevans/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,VSFTPD,vsftpd,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,VSFTPD,vsftpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
BUILD_STYLE:= auto
XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS}
@@ -22,12 +24,8 @@ ALL_TARGET:= vsftpd
INSTALL_STYLE:= auto
post-install:
- ${INSTALL_DIR} ${IDIR_VSFTPD}/etc/
+ ${INSTALL_DIR} ${IDIR_VSFTPD}/etc ${IDIR_VSFTPD}/usr/sbin
${INSTALL_DATA} ./files/vsftpd.conf ${IDIR_VSFTPD}/etc/vsftpd.conf
- ${INSTALL_DIR} ${IDIR_VSFTPD}/etc/init.d
- ${INSTALL_BIN} ./files/vsftpd.init \
- ${IDIR_VSFTPD}/etc/init.d/vsftpd
- ${INSTALL_DIR} ${IDIR_VSFTPD}/usr/sbin/
${INSTALL_BIN} ${WRKINST}/usr/sbin/vsftpd ${IDIR_VSFTPD}/usr/sbin/
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vsftpd/ipkg/vsftpd.conffiles b/package/vsftpd/files/vsftpd.conffiles
index 45632cf31..45632cf31 100644
--- a/package/vsftpd/ipkg/vsftpd.conffiles
+++ b/package/vsftpd/files/vsftpd.conffiles
diff --git a/package/vsftpd/files/vsftpd.init b/package/vsftpd/files/vsftpd.init
index 1215888ce..7d5e5cccb 100644
--- a/package/vsftpd/files/vsftpd.init
+++ b/package/vsftpd/files/vsftpd.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 70
+#PKG vsftpd
+#INIT 70
+
. /etc/rc.conf
case $1 in
diff --git a/package/vsftpd/ipkg/vsftpd.postinst b/package/vsftpd/files/vsftpd.postinst
index c64e98223..c64e98223 100644
--- a/package/vsftpd/ipkg/vsftpd.postinst
+++ b/package/vsftpd/files/vsftpd.postinst
diff --git a/package/vsftpd/ipkg/vsftpd.control b/package/vsftpd/ipkg/vsftpd.control
deleted file mode 100644
index 6fe53ecba..000000000
--- a/package/vsftpd/ipkg/vsftpd.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: vsftpd
-Priority: optional
-Section: net
-Description: a fast and secure FTP server
-Depends: