~ubuntu-branches/ubuntu/saucy/openvpn/saucy-proposed

« back to all changes in this revision

Viewing changes to .pc/use-dpkg-buildflags.patch/plugin/down-root/Makefile

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-03-30 13:19:09 UTC
  • mfrom: (10.2.20 sid)
  • Revision ID: package-import@ubuntu.com-20120330131909-f9c2sqz2qhy0m2b6
Tags: 2.2.1-8ubuntu1
* Merge at Simon Deziel's request to build with PIE.
* Merge from Debian unstable. Remaining changes:
  + debian/openvpn.init.d:
    - Do not use start-stop-daemon and </dev/null to avoid blocking boot.
    - Show per-VPN result messages.
    - Add "--script-security 2" by default for backwards compatabliity.
  + debian/control: Add lsb-base >= 3.2-14 to allow status_of_proc()

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Build the OpenVPN down-root plugin module.
 
3
#
 
4
 
 
5
# This directory is where we will look for openvpn-plugin.h
 
6
INCLUDE=-I../..
 
7
 
 
8
CC_FLAGS=-O2 -Wall
 
9
 
 
10
down-root.so : down-root.o
 
11
        gcc ${CC_FLAGS} -fPIC -shared -Wl,-soname,openvpn-down-root.so -o openvpn-down-root.so down-root.o -lc
 
12
 
 
13
down-root.o : down-root.c
 
14
        gcc ${CC_FLAGS} -fPIC -c ${INCLUDE} down-root.c
 
15
 
 
16
clean :
 
17
        rm -f *.o *.so