Skip to content

smartmontools: update from 6.0 to 6.6 #615

Merged
merged 1 commit into from
Feb 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 0 additions & 83 deletions smartmontools-6.0-0.bee

This file was deleted.

46 changes: 46 additions & 0 deletions smartmontools.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/usr/bin/env beesh

# BEE_VERSION smartmontools-6.6-0

SRCURL[0]="http://downloads.sourceforge.net/project/smartmontools/smartmontools/${PKGVERSION}/smartmontools-${PKGVERSION}.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsmartmontools%2Ffiles%2F"

# PATCHURL+=()

# EXCLUDE+=()

# build_in_sourcedir


#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_configure() {
bee_configure \
--with-systemdsystemunitdir=no \
--with-initscriptdir=no \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

git show highlights the inconsistent use of tabs and spaces in the two lines above.

--with-smartdplugindir=no
}

#mee_build() {
# bee_build
#}

mee_install() {
bee_install
exit
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder how this built. Doesn’t the exit drop you back into the bee shell? Even if not, the definition above should be removed.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

me two. The answer is, that there is another mee_install() without an exit following this one. well....


mee_install() {
bee_install
rm -rf ${D}/usr/share/doc
rm -rf ${D}/etc
rm -rf ${D}/usr/share/man/man5
rm -f ${D}/usr/sbin/{smartd,update-smart-drivedb}
rm -f ${D}/usr/share/man/man8/{smartd,update-smart-drivedb}.8
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit message gives no reasoning/motivation, why we do not need these programs.

}
## by default this may be 'make install DESTDIR="${D}"'