Commit c5a1ce7c authored by Marco d'Itri's avatar Marco d'Itri

Debian release 0.20091229-2

parent e7210adc
openbsd-inetd (0.20091229-2) unstable; urgency=medium
* Fix hardening support by using dpkg-buildpackage. (Closes: #670886)
-- Marco d'Itri <md@linux.it> Mon, 21 May 2012 00:17:37 +0200
openbsd-inetd (0.20091229-1) unstable; urgency=medium
* New CVS snapshot.
......
......@@ -2,17 +2,15 @@ Source: openbsd-inetd
Section: net
Priority: optional
Maintainer: Marco d'Itri <md@linux.it>
Build-Depends: debhelper (>= 5.0), hardening-includes, libwrap0-dev
Standards-Version: 3.9.2
Build-Depends: debhelper (>= 5.0), libwrap0-dev
Standards-Version: 3.9.3.1
Package: openbsd-inetd
Architecture: any
Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.2-13), update-inetd, tcpd
Conflicts: netkit-inetd
Replaces: netkit-inetd
Provides: inet-superserver, netkit-inetd
Description: The OpenBSD Internet Superserver
Provides: inet-superserver
Description: OpenBSD Internet Superserver
The inetd server is a network daemon program that specializes in managing
incoming network connections. Its configuration file tells it what
program needs to be run when an incoming connection is received. Any
......
--- /dev/null
+++ b/Makefile.debian
@@ -0,0 +1,16 @@
@@ -0,0 +1,20 @@
+CFLAGS ?= -g -O2
+
+DEFS := -DLIBWRAP
+LIBS := -lwrap
+
+CPPFLAGS += $(DEFS)
+
+inetd_OBJECTS := inetd.o setproctitle.o strlcpy.o bsd-closefrom.o
+
+all: inetd
+
+.c.o:
+ $(CC) $(DEFS) $(CFLAGS) -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
+
+inetd: $(inetd_OBJECTS)
+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
+
+clean:
+ rm -f inetd inetd.o setproctitle.o strlcpy.o
......
#!/usr/bin/make -f
SHELL+= -e
include /usr/share/hardening-includes/hardening.make
CFLAGS += $(HARDENING_CFLAGS)
LDFLAGS += $(HARDENING_LDFLAGS)
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
D := $(CURDIR)/debian/openbsd-inetd
......@@ -32,7 +31,7 @@ binary-arch: checkroot build
dh_link usr/share/man/man8/inetd.8.gz \
usr/share/man/man5/inetd.conf.5.gz
install --mode=755 inetd $D/usr/sbin/
dh_installinit --update-rcd-params="defaults 20" #--name=inetd
dh_installinit --update-rcd-params="defaults 20"
dh_strip
dh_compress
dh_fixperms
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment