diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-09-29 12:11:54 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-09-29 12:11:54 +0000 |
commit | a6be37c96770b878725e72bb8cab6f30a36b96a9 (patch) | |
tree | ab396c35bdb6b7ff297d88d2082d1f26233aa3b8 /main | |
parent | e2f7e6c743d23f82e1620076fcc5330a347ae02a (diff) | |
download | aports-a6be37c96770b878725e72bb8cab6f30a36b96a9.tar.bz2 aports-a6be37c96770b878725e72bb8cab6f30a36b96a9.tar.xz |
main/net-snmp: fix musl build
Diffstat (limited to 'main')
-rw-r--r-- | main/net-snmp/APKBUILD | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/main/net-snmp/APKBUILD b/main/net-snmp/APKBUILD index 75e8bd4617..1bc3ca17b8 100644 --- a/main/net-snmp/APKBUILD +++ b/main/net-snmp/APKBUILD @@ -11,11 +11,12 @@ depends= depends_dev="openssl-dev" # we need perl-net-snmp in make depends for bootstrapping issues # net-snmp-gui subpackage has perl-net-snmp as depends -makedepends="perl-dev openssl-dev perl-net-snmp" +makedepends="file perl-dev openssl-dev perl-net-snmp" subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-agent-libs:alibs $pkgname-perl:pl $pkgname-gui $pkgname-tools" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz netsnmp-swinst-crash.patch + fix-includes.patch snmpd.initd snmpd.confd snmptrapd.initd @@ -27,7 +28,7 @@ _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" - # patches goes here + update_config_sub || return 1 for i in $source; do case $i in *.patch|*.diff) @@ -163,7 +164,22 @@ tools() { md5sums="5bddd02e2f82b62daa79f82717737a14 net-snmp-5.7.2.tar.gz bd7dc10ffb5839e35ec37effcc53c2ad netsnmp-swinst-crash.patch +917e1b603e4c48761d55884b7fd039bd fix-includes.patch 198a4a7b80557fa8112394df5ec9914e snmpd.initd 96510a2f3bc9f21648b03f7e8d76c0d3 snmpd.confd 7ce3e9e880fc6313ae87eb000bae4bda snmptrapd.initd 363f7728a76bdfc46e29b7e1f5cf4950 snmptrapd.confd" +sha256sums="09ed31b4cc1f3c0411ef9a16eff79ef3b30d89c32ca46d5a01a41826c4ceb816 net-snmp-5.7.2.tar.gz +377e54bc2b66590c1c5174bf2e2c820adcbecd703d67c68be13c325d04d7d0c4 netsnmp-swinst-crash.patch +0a3719d621e14da5836836a52c786aa88f8ce3d3fcec8ea1bcdde14b30c8b546 fix-includes.patch +2fa0a1ecd5f64827592bf55f0416cb61c6eec114aadd3e9d20aa92ce71c3a09f snmpd.initd +4a8eb647d8b8f25b03858e3815489eaf2cd8fd4932185f97a1d896f8ee2f85e8 snmpd.confd +4baf3ee9950ded78078d93c32833ff657d7e85580d64778cdc9a963cf24bc7ab snmptrapd.initd +095647b0e5be51e2bdd398267d7450da678b7d23cae6273f9b9461a26f89d69f snmptrapd.confd" +sha512sums="6cf9847c30d861f1c7002ca68f8317f84e7a7278ab78e92e6481a5296e0bf1e5f3525ec566002bd307d8d907699e9baef9f3919ba18d0948cc3bb550b99de882 net-snmp-5.7.2.tar.gz +78c036f1e6b4e3592cb2a6ff9b22671c930e337e9644298a9f78b6f13af1d9241d9c15dcc996b441b51cb2d551bf2dfe5caf602ff1e17baf7b6532f3dc6ba5bd netsnmp-swinst-crash.patch +a65cb3d043e30161861e3aab77ff203c90a466c27d8d54c4eb4a47638d757c9860f2ef93ea58e997d07efa8902ba46c2d0f56c4b6548fee32c1f703ae17dbdae fix-includes.patch +ad66fef217ad9884114e9006c20074288656cf79fae19b59941545bbb551adfaaf4ec54cd0802e096a715d35c49a7c94cd4369302f847b8ba2892bd9fb62848c snmpd.initd +3030ad11dd556569e481f108af69aef620b1fe67be8d8d12016f4aed1f0ffdb6c2ee87c40ed5bc883986568227e097cb7aa958658e01da51576848715bf65472 snmpd.confd +e9b29b89d27e88420932ea6ca077a6c807ae5555436cad4d840ec732b5851a498661d0d174f22d308f403904b623d7eadf9d201a539529ff57ced18bc8c58b6f snmptrapd.initd +9cafeece565ca09c2cc85fa9c805d9932a745aca45b999e7511ccd0ffe0a95eddc1441ed231acf52a811db124bc2f797612ebb182b0a8a959ad24506e790a0b1 snmptrapd.confd" |