summaryrefslogtreecommitdiff
path: root/package/socat
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/socat
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/socat')
-rw-r--r--package/socat/Makefile8
-rw-r--r--package/socat/ipkg/socat.control11
2 files changed, 6 insertions, 13 deletions
diff --git a/package/socat/Makefile b/package/socat/Makefile
index 3e41d869c..d0e18af7c 100644
--- a/package/socat/Makefile
+++ b/package/socat/Makefile
@@ -9,11 +9,15 @@ PKG_NAME:= socat
PKG_VERSION:= 1.7.0.0
PKG_RELEASE:= 1
PKG_MD5SUM:= 82967132b5a8ca4d07e54370fdcb2662
-MASTER_SITES:= http://www.dest-unreach.org/socat/download/
+PKG_DESCR:= A multipurpose relay (SOcket CAT)
+PKG_SECTION:= net
+PKG_DEPENDS:= libpthread libopenssl
+PKG_URL:= http://www.dest-unreach.org/socat
+PKG_SITES:= http://www.dest-unreach.org/socat/download/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,SOCAT,socat,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,SOCAT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ENV+= sc_cv_termios_ispeed="no" \
diff --git a/package/socat/ipkg/socat.control b/package/socat/ipkg/socat.control
deleted file mode 100644
index 7c079a920..000000000
--- a/package/socat/ipkg/socat.control
+++ /dev/null
@@ -1,11 +0,0 @@
-Package: socat
-Priority: optional
-Section: net
-Depends: libpthread, libopenssl
-Description: A multipurpose relay (SOcket CAT).
- SoCat (for SOcket CAT) establishes two bidirectional byte streams and
- transfers data between them.
- Data channels may be files, pipes, devices (terminal or modem, etc.), or
- sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides forking,
- logging and tracing, different modes for interprocess communication and
- many more options.