From 1225656e8b213822069c8a43b7f96250fc72ff8f Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Fri, 18 Oct 2019 13:24:32 +0200 Subject: [PATCH 1/2] net-snmp: update to 5.8 - get rid of rpm.so dependency - disable perl module build - implies disabling embedded perl in snmpd - disabled other fancy stuff --- net-snmp-5.7.3-0.bee | 84 -------------------------------------------- net-snmp.be0 | 40 +++++++++++++++++++++ 2 files changed, 40 insertions(+), 84 deletions(-) delete mode 100755 net-snmp-5.7.3-0.bee create mode 100755 net-snmp.be0 diff --git a/net-snmp-5.7.3-0.bee b/net-snmp-5.7.3-0.bee deleted file mode 100755 index 5a0f7892a..000000000 --- a/net-snmp-5.7.3-0.bee +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/env beesh - -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. - -SRCURL[0]="http://downloads.sourceforge.net/project/net-snmp/net-snmp/${PKGVERSION}/net-snmp-${PKGVERSION}.tar.gz" - -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - -# PATCHURL+=() - -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build inside the source -## directory. - -build_in_sourcedir - -############################################################################### -## bee cannot detect buildtypes specified in subdirectories. -## Sometimes packages "hide" the real sources in a subdirectory named -## 'src' or 'cmake' or .. -## use 'sourcesubdir_append' to specify this directory if known. - -# sourcesubdir_append src - - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" - -#mee_extract() { -# bee_extract "${@}" -#} - -#mee_patch() { -# bee_patch "${@}" -#} - -mee_configure() { - bee_configure --with-defaults --with-perl-modules -} - -#mee_build() { -# bee_build -#} - -mee_install() { - bee_install - find $D -name "perllocal.pod" -exec rm {} \; -} -## by default this may be 'make install DESTDIR="${D}"' - -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0]="" is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## diff --git a/net-snmp.be0 b/net-snmp.be0 new file mode 100755 index 000000000..3500b3f5c --- /dev/null +++ b/net-snmp.be0 @@ -0,0 +1,40 @@ +#!/usr/bin/env beesh + +# BEE_VERSION net-snmp-5.8-0 + +# more info: https://net-snmp.org + +SRCURL[0]="http://downloads.sourceforge.net/project/net-snmp/net-snmp/${PKGVERSION}/net-snmp-${PKGVERSION}.tar.gz" + +# PATCHURL+=() + +build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +mee_configure() { + bee_configure \ + --with-defaults \ + --with-rpm=no \ + --with-mysql=no \ + --disable-embedded-perl \ + --with-perl-modules=no \ + --with-python-modules=no \ + --with-systemd=no +} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} From 888389fbb5f462884526f4e77fffc812eee40529 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Fri, 18 Oct 2019 15:02:54 +0200 Subject: [PATCH 2/2] ntp: update to 4.2.8p13 - compile fix - rebuild against net-snmp-5.8 - remove html dev docs --- ntp.be0 | 60 ++++++--------------------------------------------------- 1 file changed, 6 insertions(+), 54 deletions(-) diff --git a/ntp.be0 b/ntp.be0 index 9acee98dd..a48f3f47b 100755 --- a/ntp.be0 +++ b/ntp.be0 @@ -1,50 +1,15 @@ #!/usr/bin/env beesh -# BEE_VERSION ntp-4.2.8p8-0 - -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. +# BEE_VERSION ntp-4.2.8p13-0 SRCURL[0]="https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PKGVERSION[2]}/ntp-${PKGVERSION}.tar.gz" -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - # PATCHURL+=() -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build inside the source -## directory. - # build_in_sourcedir -############################################################################### -## bee cannot detect buildtypes specified in subdirectories. -## Sometimes packages "hide" the real sources in a subdirectory named -## 'src' or 'cmake' or .. -## use 'sourcesubdir_append' to specify this directory if known. - # sourcesubdir_append src - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" - #mee_extract() { # bee_extract "${@}" #} @@ -64,22 +29,9 @@ SRCURL[0]="https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PKGVERSION[2]}/n #mee_install() { # bee_install #} -## by default this may be 'make install DESTDIR="${D}"' -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0]="" is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## +mee_install_post() { + rm -rvf ${D}/usr/share/doc + rm -rvf ${D}/usr/libexec + rm -rvf ${D}/usr/sbin +}