File: rules

package info (click to toggle)
openvpn-auth-radius 2.1-7
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,516 kB
  • sloc: cpp: 8,479; perl: 323; makefile: 48
file content (21 lines) | stat: -rwxr-xr-x 555 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_clean:
	dh_clean -XUserAcct.cpp.orig

override_dh_auto_install:
	install -m755 radiusplugin.so $(CURDIR)/debian/openvpn-auth-radius/usr/lib/openvpn/radiusplugin.so

override_dh_fixperms:
	dh_fixperms
	chmod a-x $(CURDIR)/debian/openvpn-auth-radius/usr/share/doc/openvpn-auth-radius/examples/radiusplugin.cnf

override_dh_strip:
	dh_strip --ddeb-migration='openvpn-auth-radius-dbg (<< 2.1-7~)'