malfs mekanizma guncelleme
This commit is contained in:
parent
1854189b5c
commit
82d56e5773
7
bin/mps
7
bin/mps
|
@ -7,18 +7,17 @@ betikad=${0##*/}
|
|||
kurulum_onay="evet"
|
||||
dokunulmaz="/etc/dokunulmaz"
|
||||
talimatname_dizin="/root/talimatname"
|
||||
kokdizin="/"
|
||||
|
||||
icerik_ekle(){
|
||||
paketad=`echo "$1" | cut -d'#' -f1`
|
||||
paketad=`basename $paketad`
|
||||
echo $paketad" paketi kuruluyor."
|
||||
mkdir -p /var/lib/pkg/DB/"$paketad" &&
|
||||
tar xf $1 -C / &&
|
||||
tar xf $1 -C $kokdizin &&
|
||||
mv /.MTREE /var/lib/pkg/DB/"$paketad"/files &&
|
||||
mv /.META /var/lib/pkg/DB/"$paketad"/META &&
|
||||
if [ -f /tools/sbin/ldconfig ];then
|
||||
/tools/sbin/ldconfig
|
||||
else
|
||||
if [ -f /etc/ld.so.conf ];then
|
||||
ldconfig
|
||||
fi
|
||||
echo $paketad" paketi kuruldu."
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
. lib/lsb/init-functions
|
||||
[ ! -d etc/ports ] && mkdir -p etc/ports
|
||||
for i in base cli gui base-extra cli-extra gui-extra xfce4 xfce4-extra kde5 kde5-extra gnome gnome-extra \
|
||||
mate mate-extra lxde lxde-extra
|
||||
|
||||
do
|
||||
if [ ! -f etc/ports/$i.cards ]; then
|
||||
echo "host=downloads.nutyx.org
|
||||
destination=/usr/ports/$i
|
||||
version=8.0
|
||||
collection=$i" > etc/ports/$i.cards
|
||||
log_success_msg "${WARNING} /etc/ports/$i.cards created ${NORMAL}"
|
||||
log_warning_msg "${WARNING} Double check /etc/ports/$i and adapted to your needs ${NORMAL}"
|
||||
else
|
||||
sed -i "s@houaphan@8.0@" etc/ports/$i.cards
|
||||
fi
|
||||
done
|
||||
if [ ! -f etc/pkgmk.conf ]; then
|
||||
if [ -f etc/pkgmk.conf.example ]; then
|
||||
cp etc/pkgmk.conf.example etc/pkgmk.conf
|
||||
log_success_msg "${WARNING} /etc/pkgmk.conf.example copied as /etc/pkgmk.conf ${NORMAL}"
|
||||
log_warning_msg "${WARNING} Double check /etc/pkgmk.conf and adapted to your needs ${NORMAL}"
|
||||
fi
|
||||
fi
|
|
@ -1,53 +0,0 @@
|
|||
autoconf
|
||||
automake
|
||||
acl.devel
|
||||
attr.devel
|
||||
bison
|
||||
binutils.devel
|
||||
bzip2.devel
|
||||
curl.devel
|
||||
e2fsprogs.devel
|
||||
eudev.devel
|
||||
expat.devel
|
||||
file.devel
|
||||
flex.devel
|
||||
gawk
|
||||
gawk.devel
|
||||
gdbm.devel
|
||||
gettext.devel
|
||||
gmp.devel
|
||||
kmod.devel
|
||||
iproute2.devel
|
||||
libcap.devel
|
||||
libpipeline.devel
|
||||
m4
|
||||
mpc.devel
|
||||
mpfr.devel
|
||||
ncurses.devel
|
||||
openssl.devel
|
||||
pam.devel
|
||||
perl
|
||||
procps-ng.devel
|
||||
readline.devel
|
||||
rsync
|
||||
lvm2.devel
|
||||
libtool
|
||||
texinfo
|
||||
texinfo.devel
|
||||
nasm
|
||||
groff
|
||||
make
|
||||
patch
|
||||
pkg-config
|
||||
glibc.devel
|
||||
gcc.devel
|
||||
libarchive.devel
|
||||
util-linux.devel
|
||||
xz.devel
|
||||
lzo.devel
|
||||
dialog.devel
|
||||
tar
|
||||
wget
|
||||
gpm
|
||||
gpm.devel
|
||||
zlib.devel
|
|
@ -1,30 +0,0 @@
|
|||
# Description: A set of utilities to manage software packages on NuTyX distribution.
|
||||
# URL: https://github.com/NuTyX/cards
|
||||
# Maintainer: tnut at nutyx dot org
|
||||
# Packager: tnut at nutyx dot org
|
||||
|
||||
PKGMK_IGNORE_RUNTIMEDEPS="no"
|
||||
PKGMK_GROUPS=(devel doc man)
|
||||
name=cards
|
||||
version=1.99.7
|
||||
release=1
|
||||
|
||||
source=(http://downloads.nutyx.org/files/cards-$version.tar.gz)
|
||||
build () {
|
||||
cd $name-$version
|
||||
make all
|
||||
make DESTDIR=$PKG install
|
||||
mkdir -p $PKG/{etc,usr}/ports
|
||||
}
|
||||
devel()
|
||||
{
|
||||
cd $PKG
|
||||
bsdtar -cf \
|
||||
$PKGMK_PACKAGE_DIR/$name.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
|
||||
usr/bin \
|
||||
usr/ports \
|
||||
var \
|
||||
etc/ports \
|
||||
etc/pkgmk.conf.example
|
||||
rm -rf var usr/bin usr/ports etc/pkgmk.conf.example etc/ports
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
# Description: Base system of NuTyX, contains all folders and startup scripts.
|
||||
# URL: https://github.com/nutyx
|
||||
# Maintainer: tnut at nutyx dot org
|
||||
# Packager: tnut at nutyx dot org
|
||||
|
||||
PKGMK_GROUPS=(man)
|
||||
PKGMK_IGNORE_RUNTIMEDEPS=yes
|
||||
|
||||
name=nutyx
|
||||
version=8.0
|
||||
release=1
|
||||
source=(http://downloads.nutyx.org/files/nutyx-basicfs-$version.tar.bz2)
|
||||
build () {
|
||||
cd nutyx-basicfs/nutyx-houaphan-basicfs/rootfs
|
||||
mv * $PKG/
|
||||
mkdir -p $PKG/usr/local
|
||||
case $(uname -m) in
|
||||
x86_64) ln -sv lib $PKG/lib64
|
||||
ln -sv lib $PKG/usr/lib64
|
||||
ln -sv lib $PKG/usr/local/lib64;;
|
||||
esac
|
||||
}
|
Loading…
Reference in New Issue