diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2005-04-27 09:36:01 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2005-04-27 09:36:01 +0000 |
commit | c58042910ed97dc1c9c76b4c4491640e6911a467 (patch) | |
tree | 449e3f28889cca891e865860a2c0d491ed3fed6a /rules/tcpwrapper.make | |
parent | af1eb3b0733abd216e2b7bd3e1058725830e4108 (diff) | |
download | ptxdist-c58042910ed97dc1c9c76b4c4491640e6911a467.tar.gz ptxdist-c58042910ed97dc1c9c76b4c4491640e6911a467.tar.xz |
ipkgized
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2535 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/tcpwrapper.make')
-rw-r--r-- | rules/tcpwrapper.make | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/rules/tcpwrapper.make b/rules/tcpwrapper.make index 1d1179020..fce2a544e 100644 --- a/rules/tcpwrapper.make +++ b/rules/tcpwrapper.make @@ -19,12 +19,13 @@ endif # # Paths and names # -TCPWRAPPER = tcp_wrappers_7.6 +TCPWRAPPER_VERSION = 7.6 +TCPWRAPPER = tcp_wrappers_$(TCPWRAPPER_VERSION) TCPWRAPPER_URL = ftp://ftp.porcupine.org/pub/security/$(TCPWRAPPER).tar.gz TCPWRAPPER_SOURCE = $(SRCDIR)/$(TCPWRAPPER).tar.gz TCPWRAPPER_DIR = $(BUILDDIR)/$(TCPWRAPPER) -TCPWRAPPER_PTXPATCH = tcp_wrappers_7.6-ptx1 +TCPWRAPPER_PTXPATCH = tcp_wrappers_$(TCPWRAPPER_VERSION)-ptx1 TCPWRAPPER_PTXPATCH_URL = http://www.pengutronix.de/software/ptxdist/temporary-src/$(TCPWRAPPER_PTXPATCH).diff TCPWRAPPER_PTXPATCH_SOURCE = $(SRCDIR)/$(TCPWRAPPER_PTXPATCH).diff @@ -56,6 +57,7 @@ $(STATEDIR)/tcpwrapper.extract: $(STATEDIR)/tcpwrapper.get @$(call targetinfo, $@) @$(call clean, $(TCPWRAPPER_DIR)) @$(call extract, $(TCPWRAPPER_SOURCE)) + # FIXME: patch repository! cd $(TCPWRAPPER_DIR) && patch -p1 < $(TCPWRAPPER_PTXPATCH_SOURCE) touch $@ @@ -104,11 +106,20 @@ tcpwrapper_targetinstall: $(STATEDIR)/tcpwrapper.targetinstall $(STATEDIR)/tcpwrapper.targetinstall: $(STATEDIR)/tcpwrapper.install @$(call targetinfo, $@) + + @$(call install_init,default) + @$(call install_fixup,PACKAGE,tcpwrapper) + @$(call install_fixup,PRIORITY,optional) + @$(call install_fixup,VERSION,$(TCPWRAPPER_VERSION)) + @$(call install_fixup,SECTION,base) + @$(call install_fixup,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup,DEPENDS,libc) + @$(call install_fixup,DESCRIPTION,missing) + ifdef PTXCONF_TCPWRAPPER_INSTALL_TCPD - mkdir -p $(ROOTDIR)/usr/sbin - install $(TCPWRAPPER_DIR)/tcpd $(ROOTDIR)/usr/sbin - $(CROSSSTRIP) -R .note -R .comment $(ROOTDIR)/usr/sbin/tcpd + @$(call install_copy, 0, 0, 0755, $(TCPWRAPPER_DIR)/tcpd, /usr/sbin/tcpd) endif + @$(call install_finish) touch $@ # ---------------------------------------------------------------------------- @@ -116,6 +127,8 @@ endif # ---------------------------------------------------------------------------- tcpwrapper_clean: - rm -rf $(STATEDIR)/tcpwrapper.* $(TCPWRAPPER_DIR) + rm -rf $(STATEDIR)/tcpwrapper.* + rm -rf $(IMAGEDIR)/tcpwrapper_* + rm -rf $(TCPWRAPPER_DIR) # vim: syntax=make |