Magellan Linux

Annotation of /smage/trunk/extras/keepalived/keepalived-2.0.13-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13048 - (hide annotations) (download)
Mon Mar 18 15:40:03 2019 UTC (5 years, 1 month ago) by niro
File size: 1276 byte(s)
-fixed patchwork
1 niro 13046 # $Id$
2    
3     PNAME="keepalived"
4     PVER="2.0.13"
5     PBUILD="r2"
6    
7     PCAT="net-misc"
8    
9     DESCRIPTION="A strong and robust keepalive facility to the Linux Virtual Server project."
10     HOMEPAGE="http://www.keepalived.org/"
11    
12     DEPEND=">= dev-libs/libnl3-3.2
13     >= dev-libs/openssl-1
14     >= dev-libs/popt-1.16
15     >= net-misc/iptables-1.6
16     >= sys-apps/dbus-1.12"
17    
18     SDEPEND=">= dev-libs/libnl3-dev-3.2
19     >= dev-libs/openssl-dev-1
20     >= dev-libs/popt-dev-1.16
21     >= net-misc/iptables-dev-1.6
22     >= sys-apps/dbus-dev-1.12"
23    
24     SRCFILE="${PNAME}-${PVER}.tar.gz"
25     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
26    
27     ALX_PKG_KEEP="etc
28     usr/bin
29     usr/share/snmp
30     usr/sbin"
31     sminclude mbuild alx-split
32    
33     SRC_URI=(
34     http://www.keepalived.org/software/${SRCFILE}
35     mirror://${PNAME}/${SRCFILE}
36 niro 13048 mirror://${PNAME}/${PNAME}-${PVER}-confd-2.patch
37 niro 13046 )
38    
39     UP2DATE="updatecmd http://www.keepalived.org/download.html | highesttarball gz"
40    
41     src_prepare()
42     {
43     munpack ${SRCFILE} || die
44     cd ${SRCDIR}
45    
46     # use /etc/conf.d instead of /etc/sysconfig
47 niro 13048 mpatch ${PNAME}-${PVER}-confd-2.patch || die
48 niro 13046 mautoreconf || die
49     }
50    
51     alx_generic_src_install()
52     {
53     cd ${SRCDIR}
54     mmake DESTDIR=${BINDIR} install || die
55    
56     # do not deploy any bundled ssl certificates
57     mdelete /etc/keepalived/samples/\*.pem || die
58    
59     minstalldocs AUTHOR CONTRIBUTORS COPYING ChangeLog README* TODO || die
60     }