Fixed prefix, CFLAGS and discarded --docdir build options in several packages in net

Updated net buildlist file
This commit is contained in:
PktSurf 2023-06-12 07:56:17 +05:30
parent 233f2d68a8
commit 4fffbee77e
66 changed files with 92 additions and 103 deletions

View file

@ -1,6 +1,5 @@
fail2ban
distcc
x11vnc
bwm-ng
netcat
ppp
@ -8,7 +7,6 @@ rp-pppoe
wireless-tools
hostname
ethtool
openntpd
iproute2
openvpn
rsync
@ -44,7 +42,6 @@ irssi
cgit
darkhttpd
lynx
xdg-utils
tor
transmission
cyrus-sasl
@ -62,28 +59,20 @@ sylpheed
minidlna
hexchat
uget
x2x
maccalc
fping
mtr
aircrack-ng
lftp
autossh
cups
ghostscript
poppler
poppler-data
evince
cups-filters
rpcbind
nfs-utils
sane-backends
sane-frontends
wavemon
macchanger
dhcpcd
geocode-glib
redshift
iperf
ipset
rrdtool
@ -91,3 +80,4 @@ php
traceroute
privoxy
samba
net-snmp

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--without-readline \
--without-libjson \

View file

@ -20,7 +20,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--with-ncurses \
--with-procnetdev \
--with-partitions

View file

@ -16,7 +16,7 @@ prepbuilddir() {
cd $app-$version
fixbuilddirpermissions
[ -d git ] && rm -rf git
[[ -d git ]] && rm -rf git
tar -xf "$srcdir/git-$gitv.tar.lz" && mv git-$gitv git
}
@ -25,7 +25,7 @@ build() {
export NO_REGEX=NeedsStartEnd
make
make install prefix="/" DESTDIR="$pkg"
make install prefix=/ DESTDIR="$pkg"
cp COPYING $pkgdocs/
install -Dm 644 $srcdir/cgitrc $pkg/etc/cgitrc.new
@ -39,4 +39,4 @@ build() {
sha512sums="
5b11fee74514e52b40f534b38b9ebe271ac707b1e560a7221b0f6b3fc422b339024ac955e3bba566bf20d70be0c7a99924db95b68483c3b0b6884ef89dbbec95 cgit-1.2.3.tar.lz
529a132f96cb9f7956bd68e2589a5f9722289d79e45171221595ea39c147028c53b1208f2fb1aed81741867718367c447dce2efb112d73d170c5dba93918dec4 git-2.28.1.tar.lz
"
"

View file

@ -21,7 +21,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=""
--prefix=
make
make install DESTDIR=$pkg

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--libdir=/lib \
--sysconfdir=/etc \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--libdir=/lib \
--sysconfdir=/etc \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--sbindir=/bin

View file

@ -20,7 +20,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin
make

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--libexecdir=/lib/dhcpcd \
--datadir=/share \

View file

@ -20,7 +20,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--sysconfdir=/etc \
--without-libiberty \

View file

@ -19,7 +19,7 @@ prepbuilddir() {
build() {
SM_BUILDOPTS="-DHAVE_DNSSEC -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_CONNTRACK"
make COPTS="$SM_BUILDOPTS"
make COPTS="$SM_BUILDOPTS" PREFIX="/" BINDIR="/bin" DESTDIR="$pkg" install
make COPTS="$SM_BUILDOPTS" PREFIX=/ BINDIR=/bin DESTDIR="$pkg" install
install -Dm 600 dnsmasq.conf.example $pkg/etc/dnsmasq.conf.new
cp COPYING* $pkgdocs/

View file

@ -30,7 +30,7 @@ build() {
i_cv_c99_vsnprintf=yes \
i_cv_fd_passing=yes \
./configure \
--prefix="" \
--prefix= \
--bindir=/bin \
--sbindir=/bin \
--sysconfdir=/etc \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin
make

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="/" \
--prefix=/ \
--disable-nautilus \
--disable-static

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
sh fail2ban-2to3
python setup.py install --prefix="" --root=$pkg
python setup.py install --root=$pkg
cp COPYING $pkgdocs/

View file

@ -27,7 +27,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--sysconfdir=/etc \
--localstatedir=/var \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--enable-ipv4 \
--enable-ipv6

View file

@ -21,7 +21,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--enable-dynamic \
--with-system-libtiff \

View file

@ -23,7 +23,7 @@ build() {
sed -i 's@Werror=missing-include-dirs @@g' configure
./configure \
--prefix="" \
--prefix= \
--enable-openssl \
--enable-textfe \
--disable-lua \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=""
--prefix=
make
install -Dm 755 ifstat $pkg/bin/ifstat

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--mandir=/share/man \
$builddist

View file

@ -20,7 +20,7 @@ build() {
# With profiling enabled, the build fails with ld: Cannot find gcrt1.o: No such file or directory
# https://github.com/esnet/iperf/issues/749
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--disable-static \
--disable-profiling

View file

@ -20,7 +20,7 @@ build() {
# The kernel source directory requires the kernel build config file.
# zcat /proc/config.gz > /share/linux-5.4.41
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--disable-static \
--with-kbuild=/share/linux-5.4.41

View file

@ -19,7 +19,7 @@ prepbuilddir() {
build() {
LDFLAGS="-lcurses -lterminfo" \
./configure \
--prefix=""
--prefix=
make
make install DESTDIR=$pkg

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
make
make install PREFIX="" SBINDIR=/bin MANDIR=/share/man DESTDIR="$pkg"
make install PREFIX= SBINDIR=/bin MANDIR=/share/man DESTDIR="$pkg"
cp COPYING $pkgdocs/

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--disable-static \
--disable-https

View file

@ -22,7 +22,7 @@ prepbuilddir() {
build() {
LIBS="-lcurses -lterminfo -lz" \
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--with-ssl \
--enable-ipv6

View file

@ -21,7 +21,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=""
--prefix=
make
make install DESTDIR=$pkg

View file

@ -20,7 +20,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=""
--prefix=
make
make install DESTDIR=$pkg

View file

@ -20,7 +20,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--with-os-name="SMLinux" \
--with-db-path=/var/lib/minidlna \

View file

@ -19,7 +19,7 @@ prepbuilddir() {
build() {
# Building with mmal causes link errors with /opt/vc/lib/libvcsm.so, hence we disable it.
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--without-mmal

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin
make

View file

@ -19,7 +19,7 @@ prepbuilddir() {
build() {
LDFLAGS="-lterminfo" \
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc/mutt \
--enable-imap \
--enable-pop \

View file

@ -1,3 +1,4 @@
# Maintainer: PktSurf <smlinux@pktsurf.in>
app=net-snmp
version=5.8
build=1sml
@ -22,27 +23,27 @@ prepbuilddir() {
}
build() {
#./configure \
# --prefix="/" \
# --sbindir=/bin \
# --sysconfdir=/etc/snmp \
# --mandir=/share/man \
# --with-default-snmp-version="3" \
# --with-sys-contact="root@localhost" \
# --with-sys-location="Unknown" \
# --with-logfile="/var/log/snmpd.log" \
# --with-persistent-directory="/var/lib/net-snmp" \
# --with-openssl \
# --enable-ipv6 \
# --enable-as-needed \
# --with-perl-modules="INSTALLDIRS=vendor" \
# --disable-embedded-perl \
# --disable-debugging \
# --without-rpm \
# --program-suffix= \
# --program-prefix= \
# --enable-static=no \
# --build=arm-musl-linux
./configure \
--prefix="/" \
--sbindir=/bin \
--sysconfdir=/etc/snmp \
--mandir=/share/man \
--with-default-snmp-version="3" \
--with-sys-contact="root@localhost" \
--with-sys-location="Unknown" \
--with-logfile="/var/log/snmpd.log" \
--with-persistent-directory="/var/lib/net-snmp" \
--with-openssl \
--enable-ipv6 \
--enable-as-needed \
--with-perl-modules="INSTALLDIRS=vendor" \
--disable-embedded-perl \
--disable-debugging \
--without-rpm \
--program-suffix= \
--program-prefix= \
--enable-static=no \
--build=arm-musl-linux
make
sed -i 's@INSTALLMAN3DIR = none@INSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)@g' perl/SNMP/Makefile

View file

@ -19,7 +19,7 @@ prepbuilddir() {
build() {
CC="$CC" \
./configure \
--prefix="/var/lib" \
--prefix=/var/lib \
--with-http_ssl_module \
--with-http_v2_module \
--with-http_stub_status_module \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
$builddist
make

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--with-liblua=included \
--without-nmap-update

View file

@ -22,9 +22,9 @@ prepbuilddir() {
}
build() {
CFLAGS="$CFLAGS -D_BSD_SOURCE -DMISSING_FD_MASK -DMISSING_NFDBITS" \
CFLAGS+=" -D_BSD_SOURCE -DMISSING_FD_MASK -DMISSING_NFDBITS" \
./configure \
--prefix="" \
--prefix= \
--bindir=/bin \
--sbindir=/bin \
--libexecdir=/lib/ssh \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--sysconfdir=/etc/openvpn \
--enable-iproute2 \

View file

@ -28,7 +28,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc/php \
--sbindir=/bin \
--localstatedir=/var \

View file

@ -40,7 +40,7 @@ build() {
sed -i "s:^#USE_CRYPT=y:USE_CRYPT=y:" pppd/Makefile.linux
./configure \
--prefix="" \
--prefix= \
--localstatedir=/var \
$builddist

View file

@ -27,11 +27,10 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--sysconfdir=/etc/"$app" \
--localstatedir=/var \
--docdir="/share/doc/$app-$version" \
--with-docbook=no \
--with-user=nobody \
--enable-no-gifs \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--sbindir=/bin \
--enable-ipv6

View file

@ -21,7 +21,7 @@ build() {
cd src
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--sbindir=/bin \
--enable-plugin=/include/pppd

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--enable-perl \
--enable-ruby \

View file

@ -20,7 +20,7 @@ prepbuilddir() {
build() {
CFLAGS+=" -include sys/sysmacros.h" \
./configure \
--prefix="" \
--prefix= \
--disable-locale \
--disable-xxhash

View file

@ -17,7 +17,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--disable-static
make

View file

@ -17,9 +17,9 @@ prepbuilddir() {
}
build() {
CXXFLAGS="$CFLAGS -lpthread" \
CXXFLAGS+=" -lpthread" \
./configure \
--prefix=""
--prefix=
make
make install DESTDIR=$pkg

View file

@ -36,7 +36,7 @@ prepbuilddir() {
build() {
unset CFLAGS CXXFLAGS
./configure \
--prefix="/" \
--prefix=/ \
--bindir=/bin \
--sbindir=/bin \
--libexecdir=/lib \
@ -86,4 +86,4 @@ b7906d66fe55a980a54161ee3f311b51bcbce76b8d4c8cc1ba6d0c5bdf98232cb192b9d2c1aa7b3e
f997d0bca9de64a567bccc245bec41e4aa00bacb379d8e348678dcafcf7e723e8716608c5d2d266ad816439b8b93bb8ee28371308a01c9d9c50229f1fc8deb67 netgroup.patch
c0bbe1186b150a9bb2a0b741a8cfbd7a5109e5fed1eaa07aaa38cf026ebe054d38cc01e2496f0cab7b40f743e1b7ecfbf8a4d5820810226c4152021df65f36dc pidl.patch
e98fd19f65d954f04f7e3b5be86e9c4bcc9ac090c40037de77bfeb266617747c514aeb42f3daf84113b2f3374480d25e368bc1fdebc1870458eda12329d2062e samba-bgqd-include-signal-h.patch
"
"

View file

@ -20,7 +20,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--sysconfdir=/etc \
--localstatedir=/var \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--mandir=/share/man \
$builddist

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=""
--prefix=
make
make install DESTDIR=$pkg

View file

@ -21,7 +21,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=""
--prefix=
make
make install DESTDIR=$pkg

View file

@ -19,7 +19,7 @@ prepbuilddir() {
build() {
ac_cv_linux_vers=3 \
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin
make

View file

@ -18,9 +18,8 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--docdir="/share/doc/$app-$version" \
--disable-tool-name-check \
--enable-pic

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
make
make install prefix="/" DESTDIR=$pkg
make install prefix=/ DESTDIR=$pkg
cp COPYING* $pkgdocs/

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=""
--prefix=
make
make install DESTDIR=$pkg

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=""
--prefix=
make
make install DESTDIR=$pkg

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--sbindir=/bin \
--with-username=nobody \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sbindir=/bin \
--sysconfdir=/etc

View file

@ -21,7 +21,7 @@ build() {
unset CFLAGS
./configure \
--prefix=""
--prefix=
make
make install DESTDIR=$pkg

View file

@ -19,7 +19,7 @@ prepbuilddir() {
build() {
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX="" \
-DCMAKE_INSTALL_PREFIX= \
-DENABLE_PHP=OFF \
-DENABLE_TCL=OFF \
-DENABLE_GUILE=OFF \

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--with-ssl=openssl \
--disable-rpath

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix="" \
--prefix= \
--sysconfdir=/etc \
--mandir=/share/man \
--disable-charset \