summaryrefslogtreecommitdiff
path: root/package/ez-ipupdate
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/ez-ipupdate
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/ez-ipupdate')
-rw-r--r--package/ez-ipupdate/Makefile16
-rw-r--r--package/ez-ipupdate/files/ez-ipupdate.conffiles (renamed from package/ez-ipupdate/ipkg/ez-ipupdate.conffiles)0
-rw-r--r--package/ez-ipupdate/files/ez-ipupdate.init3
-rw-r--r--package/ez-ipupdate/files/ez-ipupdate.postinst (renamed from package/ez-ipupdate/ipkg/ez-ipupdate.postinst)0
-rw-r--r--package/ez-ipupdate/ipkg/ez-ipupdate.control4
5 files changed, 10 insertions, 13 deletions
diff --git a/package/ez-ipupdate/Makefile b/package/ez-ipupdate/Makefile
index 02cf17632..f0f46b79f 100644
--- a/package/ez-ipupdate/Makefile
+++ b/package/ez-ipupdate/Makefile
@@ -9,24 +9,24 @@ PKG_NAME:= ez-ipupdate
PKG_VERSION:= 3.0.11b8
PKG_RELEASE:= 10
PKG_MD5SUM:= 000211add4c4845ffa4211841bff4fb0
-DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
-MASTER_SITES:= http://ftp.debian.org/debian/pool/main/e/ez-ipupdate/ \
+PKG_DESCR:= a client for dynamic DNS services
+PKG_SECTION:= net
+PKG_URL:= http://ez-ipupdate.com
+PKG_SITES:= http://ftp.debian.org/debian/pool/main/e/ez-ipupdate/ \
http://ftp.de.debian.org/debian/pool/main/e/ez-ipupdate/
+DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
+
include ${TOPDIR}/mk/package.mk
-${eval ${call PKG_template,EZIPUPDATE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE}}}
+$(eval $(call PKG_template,EZIPUPDATE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE= gnu
BUILD_STYLE= auto
do-install:
- ${INSTALL_DIR} ${IDIR_EZIPUPDATE}/etc
+ ${INSTALL_DIR} ${IDIR_EZIPUPDATE}/etc ${IDIR_EZIPUPDATE}/usr/sbin
install -m0600 ./files/${PKG_NAME}.conf ${IDIR_EZIPUPDATE}/etc/
- ${INSTALL_DIR} ${IDIR_EZIPUPDATE}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_EZIPUPDATE}/usr/sbin/
- ${INSTALL_DIR} ${IDIR_EZIPUPDATE}/etc/init.d
- ${INSTALL_SCRIPT} ./files/ez-ipupdate.init \
- ${IDIR_EZIPUPDATE}/etc/init.d/ez-ipupdate
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ez-ipupdate/ipkg/ez-ipupdate.conffiles b/package/ez-ipupdate/files/ez-ipupdate.conffiles
index 3a9041e34..3a9041e34 100644
--- a/package/ez-ipupdate/ipkg/ez-ipupdate.conffiles
+++ b/package/ez-ipupdate/files/ez-ipupdate.conffiles
diff --git a/package/ez-ipupdate/files/ez-ipupdate.init b/package/ez-ipupdate/files/ez-ipupdate.init
index 36cfa7dd9..c6fbfc39e 100644
--- a/package/ez-ipupdate/files/ez-ipupdate.init
+++ b/package/ez-ipupdate/files/ez-ipupdate.init
@@ -1,5 +1,6 @@
#!/bin/sh
-#FWINIT 50
+#PKG ez-ipupdate
+#INIT 50
. /etc/rc.conf
case $1 in
diff --git a/package/ez-ipupdate/ipkg/ez-ipupdate.postinst b/package/ez-ipupdate/files/ez-ipupdate.postinst
index c8094c139..c8094c139 100644
--- a/package/ez-ipupdate/ipkg/ez-ipupdate.postinst
+++ b/package/ez-ipupdate/files/ez-ipupdate.postinst
diff --git a/package/ez-ipupdate/ipkg/ez-ipupdate.control b/package/ez-ipupdate/ipkg/ez-ipupdate.control
deleted file mode 100644
index 1b7dff825..000000000
--- a/package/ez-ipupdate/ipkg/ez-ipupdate.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: ez-ipupdate
-Priority: optional
-Section: net
-Description: a client for dynamic DNS services