Skip to content

Revert "tcp-wrappers: remove" #2665

Merged
merged 1 commit into from
Apr 30, 2022
Merged
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
45 changes: 45 additions & 0 deletions tcp-wrappers.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/usr/bin/env beesh

# BEE_VERSION tcp-wrappers-7.6-1

# more info: https://foo.bar.com

SRCURL[0]="https://ftp.osuosl.org/pub/blfs/conglomeration/tcp_wrappers/tcp_wrappers_${PKGVERSION}.tar.bz2"

PATCHURL[0]="https://ftp.osuosl.org/pub/blfs/conglomeration/tcp_wrappers/tcp_wrappers-${PKGVERSION}-shared_lib_plus_plus-1.patch"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

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

mee_patch() {
bee_patch
sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
}

mee_configure() {
/bin/true
}

mee_build() {
make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
}

#mee_build() {
# bee_build
#}

mee_install() {
mkdir -pv ${D}{${LIBDIR},${SBINDIR},${MANDIR}/man{3,5,8},${INCLUDEDIR}}
bee_install
}

#mee_install_post() {
# exit
#}