etc_dir=/etc/authbind
+INSTALL_FILE=install -o root -g root -m 644
+INSTALL_PROGRAM=install -o root -g root -m 755 -s
+INSTALL_DIR=install -o root -g root -m 755 -d
+
OPTIMISE= -O2
LDFLAGS= -g
CFLAGS= -g $(OPTIMISE) \
all: $(TARGETS)
install: $(TARGETS)
- install -o root -g root -m 755 -d $(lib_dir) $(man1_dir) $(man8_dir)
- install -o root -g root -m 755 -s authbind $(bin_dir)/.
- install -o root -g root -m 644 $(LIBTARGET) $(lib_dir)/.
+ $(INSTALL_DIR) $(lib_dir) $(man1_dir) $(man8_dir)
+ $(INSTALL_PROGRAM) authbind $(bin_dir)/.
+ $(INSTALL_FILE) $(LIBTARGET) $(lib_dir)/.
strip --strip-unneeded $(lib_dir)/$(LIBTARGET)
ln -sf $(LIBTARGET) $(lib_dir)/$(LIBCANON)
- install -o root -g root -m 4755 -s helper $(lib_dir)/.
- install -o root -g root -m 755 -d $(etc_dir) \
+ $(INSTALL_PROGRAM) helper $(lib_dir)/.
+ chmod u+s $(lib_dir)/helper
+ $(INSTALL_DIR) $(etc_dir) \
$(etc_dir)/byport $(etc_dir)/byaddr $(etc_dir)/byuid
install_man: $(MANPAGES_1) $(MANPAGES_8)
- install -o root -g root -m 644 $(MANPAGES_1) $(man1_dir)/.
- install -o root -g root -m 644 $(MANPAGES_8) $(man8_dir)/.
+ $(INSTALL_FILE) $(MANPAGES_1) $(man1_dir)/.
+ $(INSTALL_FILE) $(MANPAGES_8) $(man8_dir)/.
libauthbind.o: libauthbind.c authbind.h
$(CC) -D_REENTRANT $(CFLAGS) $(CPPFLAGS) -c -o $@ -fPIC $<
--
+authbind (1.1.5.3) unstable; urgency=low
+
+ * Moved man pages to /usr/share/man and docs to
+ /usr/share/doc/authbind. Added a prerm and a postinst script to set
+ the /usr/doc/authbind link. (closes: #91112, #91376, #91387)
+ * Fixed the path to the common licenses in debian/copyright
+ * Added a section and priority field to the changelog
+ * Added support for the `nostrip' and `debug' options in
+ DEB_BUILD_OPTIONS.
+ * Boosted Standards-Version to 3.5.2
+
+ -- Bas Zoetekouw <bas@debian.org> Sun, 13 May 2001 18:00:52 +0200
+
authbind (1.1.5.2) frozen unstable; urgency=low
* Non-maintainer upload.
Section: utils
Priority: optional
Maintainer: Ian Jackson <ian@chiark.greenend.org.uk>
-Standards-Version: 2.1.1.0
+Standards-Version: 3.5.2
+Build-Depends: libc6-dev
Package: authbind
Architecture: any
General Public License for more details.
You should have received a copy of the GNU General Public License with
-your Debian GNU/Linux system, in /usr/doc/copyright/GPL, or with the
+your Debian GNU/Linux system, in /usr/share/common-licenses, or with the
Debian GNU/Linux userv source package as the file COPYING; if not,
email me at one of the addresses above or write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
--- /dev/null
+#!/bin/sh
+if [ "$1" = "configure" ]; then
+ if [ -d /usr/doc -a ! -e /usr/doc/authbind -a -d /usr/share/doc/authbind ];
+ then
+ ln -sf ../share/doc/authbind /usr/doc/authbind
+ fi
+fi
+
--- /dev/null
+#!/bin/sh
+
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/authbind ];
+then
+ rm -f /usr/doc/authbind
+fi
+
arch = $(shell dpkg --print-architecture)
+INSTALL = install
+INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644
+INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
+INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755
+INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755
+
+CFLAGS = -O2 -Wall
+LDFLAGS =
+
+
+CFLAGS += -g
+LDFLAGS += -g
+
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+INSTALL_PROGRAM += -s
+endif
+
+export CFLAGS
+export LDFLAGS
+export INSTALL
+export INSTALL_FILE
+export INSTALL_PROGRAM
+export INSTALL_SCRIPT
+export INSTALL_DIR
+
+
build:
$(MAKE) prefix=/usr
# made here.
lab=libauthbind.so.$(major).$(minor)
-udp=debian/tmp/usr/doc/$(package)
+udp=debian/tmp/usr/share/doc/$(package)
binary-arch: checkroot build
rm -rf debian/tmp
install -d -g root -m 755 -o root debian/tmp/DEBIAN $(udp) \
- debian/tmp/usr/{bin,lib/$(package),man}
+ debian/tmp/usr/{bin,lib/$(package),share/man}
$(MAKE) prefix=debian/tmp/usr etc_dir=debian/tmp/etc/authbind \
- man_dir=debian/tmp/usr/man install install_man
- install -g root -o root -m 644 debian/changelog $(udp)/changelog.Debian
- gzip -9 debian/tmp/usr/man/man*/* $(udp)/*
- install -g root -o root -m 644 debian/copyright $(udp)/.
- install -g root -o root -m 755 debian/postrm debian/tmp/DEBIAN
+ man_dir=debian/tmp/usr/share/man install install_man
+ $(INSTALL_FILE) debian/changelog $(udp)/changelog
+ gzip -9 debian/tmp/usr/share/man/man*/* $(udp)/*
+ $(INSTALL_FILE) debian/copyright $(udp)/.
+ $(INSTALL_SCRIPT) debian/{postrm,prerm,postinst} debian/tmp/DEBIAN
ifneq ($(arch),alpha)
- install -g root -o root -m 644 debian/shlibs debian/tmp/DEBIAN
+ $(INSTALL_FILE) debian/shlibs debian/tmp/DEBIAN
else
- install -g root -o root -m 644 debian/shlibs.alpha debian/tmp/DEBIAN/shlibs
+ $(INSTALL_FILE) debian/shlibs.alpha debian/tmp/DEBIAN/shlibs
endif
dpkg-shlibdeps ./authbind
- dpkg-gencontrol
+ dpkg-gencontrol -isp
chown -R root.root debian/tmp
chmod -R g-ws debian/tmp
dpkg --build debian/tmp ..