summaryrefslogtreecommitdiff
path: root/package/srelay
diff options
context:
space:
mode:
Diffstat (limited to 'package/srelay')
-rw-r--r--package/srelay/Makefile11
-rw-r--r--package/srelay/files/srelay.conffiles (renamed from package/srelay/ipkg/srelay.conffiles)0
-rw-r--r--package/srelay/files/srelay.init4
-rw-r--r--package/srelay/files/srelay.postinst (renamed from package/srelay/ipkg/srelay.postinst)0
-rw-r--r--package/srelay/ipkg/srelay.control4
5 files changed, 8 insertions, 11 deletions
diff --git a/package/srelay/Makefile b/package/srelay/Makefile
index db3d0134c..6106efb1f 100644
--- a/package/srelay/Makefile
+++ b/package/srelay/Makefile
@@ -9,22 +9,21 @@ PKG_NAME:= srelay
PKG_VERSION:= 0.4.6
PKG_RELEASE:= 9
PKG_MD5SUM:= 4a9f3298b38d8588f0ffde31b946a47f
-MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=socks-relay/}
+PKG_DESCR:= A socks 4/5 proxy server
+PKG_SECTION:= net
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=socks-relay/}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,SRELAY,srelay,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,SRELAY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --disable-thread
BUILD_STYLE:= auto
do-install:
- ${INSTALL_DIR} ${IDIR_SRELAY}/usr/bin
- ${INSTALL_DIR} ${IDIR_SRELAY}/etc/init.d
+ ${INSTALL_DIR} ${IDIR_SRELAY}/usr/bin ${IDIR_SRELAY}/etc
${INSTALL_BIN} ${WRKBUILD}/srelay ${IDIR_SRELAY}/usr/bin/
- ${INSTALL_BIN} ./files/srelay.init \
- ${IDIR_SRELAY}/etc/init.d/${PKG_NAME}
${INSTALL_DATA} ./files/srelay.conf ${IDIR_SRELAY}/etc
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/srelay/ipkg/srelay.conffiles b/package/srelay/files/srelay.conffiles
index d821cfd26..d821cfd26 100644
--- a/package/srelay/ipkg/srelay.conffiles
+++ b/package/srelay/files/srelay.conffiles
diff --git a/package/srelay/files/srelay.init b/package/srelay/files/srelay.init
index e12024cf3..5cae3c161 100644
--- a/package/srelay/files/srelay.init
+++ b/package/srelay/files/srelay.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 60
+#PKG srelay
+#INIT 60
+
. /etc/rc.conf
case $1 in
diff --git a/package/srelay/ipkg/srelay.postinst b/package/srelay/files/srelay.postinst
index a3322a763..a3322a763 100644
--- a/package/srelay/ipkg/srelay.postinst
+++ b/package/srelay/files/srelay.postinst
diff --git a/package/srelay/ipkg/srelay.control b/package/srelay/ipkg/srelay.control
deleted file mode 100644
index fdc21c864..000000000
--- a/package/srelay/ipkg/srelay.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: srelay
-Priority: optional
-Section: net
-Description: A socks 4/5 proxy server