Package: libpam-radius-auth Version: 1.3.16-4.1 Severity: important Tags: patch
Hey, The NMU diff file for libpam-radius-auth 1.3.16-4.1 is attached here. Thanks! -- A. Christine Spang http://frisia.middle-earth.us/
diff -u /home/christine/libpam-radius-auth-1.3.16/debian/changelog
debian/changelog
--- /home/christine/libpam-radius-auth-1.3.16/debian/changelog 2006-08-23
05:36:34.000000000 -0400
+++ debian/changelog 2006-08-23 07:15:06.000000000 -0400
@@ -1,3 +1,10 @@
+libpam-radius-auth (1.3.16-4.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Remove bashisms in debian/rules. (Closes: #379498)
+
+ -- Christine Spang <[EMAIL PROTECTED]> Wed, 23 Aug 2006 07:14:29 -0400
+
libpam-radius-auth (1.3.16-4) unstable; urgency=low
* Add alternate Depends to unblock debconf-2.0 transition.
Common subdirectories: /home/christine/libpam-radius-auth-1.3.16/debian/patches
and debian/patches
Common subdirectories: /home/christine/libpam-radius-auth-1.3.16/debian/po and
debian/po
diff -u /home/christine/libpam-radius-auth-1.3.16/debian/rules debian/rules
--- /home/christine/libpam-radius-auth-1.3.16/debian/rules 2006-08-23
05:36:34.000000000 -0400
+++ debian/rules 2006-08-23 06:46:39.000000000 -0400
@@ -3,26 +3,35 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
+export DH_COMPAT=4
+
+# Build options.
+CC=gcc
+CFLAGS= -g -Wall -fPIC -DCONF_FILE=\"/etc/pam_radius_auth.conf\"
+LDFLAGS=
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+ifeq ($(DEB_HOST_GNU_CPU),(hppa|m68k|mips|powerpc|s390|sparc|sparc64|sheb))
+ CFLAGS += -DHIGHFIRST
+endif
+
+export CFLAGS
+export LDFLAGS
+export CC
+
build: patch build-stamp
build-stamp:
dh_testdir
# Add here commands to compile the package.
- (\
- echo -E 'CC=gcc';\
- echo -E 'CFLAGS="-g -Wall -fPIC
-DCONF_FILE=\\\"/etc/pam_radius_auth.conf\\\""';\
- echo -E 'LDFLAGS=';\
- echo -E 'if [ "$${DEB_BUILD_OPTIONS#*noopt}" != "$$DEB_BUILD_OPTIONS"
]; then';\
- echo -E ' CFLAGS="$$CFLAGS -O0"';\
- echo -E 'else';\
- echo -E ' CFLAGS="$$CFLAGS -O2"';\
- echo -E 'fi';\
- echo -E 'case "$$DEB_HOST_GNU_CPU" in';\
- echo -E ' hppa|m68k|mips|powerpc|s390|sparc|sparc64|sheb)';\
- echo -E ' CFLAGS="$$CFLAGS -DHIGHFIRST" ;;';\
- echo -E 'esac';\
- echo -E 'make CFLAGS="$$CFLAGS" LDFLAGS="$$LDFLAGS" CC="$$CC"') |
/bin/sh
+ $(MAKE) -e
+
touch build-stamp
patch:
@@ -56,10 +65,10 @@
dh_clean -k
dh_installdirs /lib /lib/security /etc
/usr/share/doc/libpam-radius-auth/html
- install -p pam_radius_auth.so debian/tmp/lib/security/pam_radius_auth.so
- install -p pam_radius_auth.conf debian/tmp/etc/pam_radius_auth.conf
- install -p index.html
debian/tmp/usr/share/doc/libpam-radius-auth/html/index.html
- install -p debian/index.html
debian/tmp/usr/share/doc/libpam-radius-auth/html/index.debian.html
+ install -p pam_radius_auth.so
debian/libpam-radius-auth/lib/security/pam_radius_auth.so
+ install -p pam_radius_auth.conf
debian/libpam-radius-auth/etc/pam_radius_auth.conf
+ install -p index.html
debian/libpam-radius-auth/usr/share/doc/libpam-radius-auth/html/index.html
+ install -p debian/index.html
debian/libpam-radius-auth/usr/share/doc/libpam-radius-auth/html/index.debian.html
# Build architecture-independent
binary-indep: build install
@@ -79,7 +88,7 @@
usr/share/doc/libpam-radius-auth/USAGE\
usr/share/doc/libpam-radius-auth/examples/INSTALL
dh_fixperms
- chmod 600 debian/tmp/etc/pam_radius_auth.conf
+ chmod 600 debian/libpam-radius-auth/etc/pam_radius_auth.conf
dh_makeshlibs
dh_installdeb
dh_shlibdeps
signature.asc
Description: Digital signature

