malfs mekanizma guncelleme

This commit is contained in:
root 2016-03-10 11:57:03 +02:00
parent 827f677db4
commit 318011b2d1
25 changed files with 79 additions and 49 deletions

1
bin/hatali_derleme Executable file
View File

@ -0,0 +1 @@
grep -rnw '$1' -e "derlenmesi"

View File

@ -1,2 +1,7 @@
sed --in-place '/PKGMK_GROUPS/d' */talimat
grep -rli 'PKGMK_SOURCE_DIR' * | xargs -i@ sed -i 's/PKGMK_SOURCE_DIR/DERLEME_KAYNAKDIZIN/g' @
grep -rli 'PKGMK_IGNORE_FOOTPRINT="yes"' * | xargs -i@ sed -i 's/PKGMK_IGNORE_FOOTPRINT="yes"/DOSYAIZLEME_YOKSAY="evet"/g' @
grep -rli 'PKGMK_IGNORE_MD5SUM="yes"' * | xargs -i@ sed -i 's/PKGMK_IGNORE_MD5SUM="yes"/MD5SUM_YOKSAY="evet"/g' @
grep -rli 'PKGMK_GROUPS' * | xargs -i@ sed -i 's/PKGMK_SOURCE_DIR/DERLEME_KAYNAKDIZIN/g' @
grep -rli '${PKGMK_BUILDVER}' * | xargs -i@ sed -i 's/${PKGMK_BUILDVER}/#$version-/g' @
grep -rli 'cards.tar' * | xargs -i@ sed -i 's/cards.tar/mps/g' @

View File

@ -5,7 +5,6 @@
run=(gawk)
PKGMK_GROUPS=(man)
name=alsa-utils
version=1.1.0
release=1

View File

@ -5,7 +5,6 @@
run=(xdg-utils gtk-update-icon-cache)
PKGMK_GROUPS=(man devel)
name=cups
version=2.1.3
release=1

View File

@ -2,7 +2,6 @@
# URL: http://www.freedesktop.org/wiki/Software/dbus/
# Packager: pierre at nutyx dot org
# Depends on: expat xorg-libx11 xorg-libsm xorg-libice
PKGMK_GROUPS=(doc devel)
name=dbus
version=1.10.6

View File

@ -1,45 +1,43 @@
# Description: A widely used XML scheme for writing documentation and help
# URL: http://www.docbook.org
# Packager: pierre at nutyx dot org
# Depends on: libxml2 unzip
# Description: An document type definitions for verification of XML data files against the DocBook rule set.
# URL: http://www.docbook.org/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: libxml2 unzip
name=docbook-xml
version=4.5
release=1
source=(http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip \
http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip \
http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip \
http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip \
source=(http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip
http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip
http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip
http://www.docbook.org/xml/4.1.2/docbkx412.zip)
# override pkgmk's unpack_source() function so that source files
# don't get munged together in the same directory and lost
unpack_source() {
# similarly-named versions first
for DB_VER in 4.5 4.4 4.3 4.2
do
mkdir $SRC/$name-$DB_VER
unzip -q -d $SRC/$name-$DB_VER $PKGMK_SOURCE_DIR/$name-$DB_VER.zip
local DTDVERSION
for DTDVERSION in 4.5 4.4 4.3 4.2; do
install -d $SRC/$name-$DTDVERSION
unzip -q -d $SRC/$name-$DTDVERSION $DERLEME_KAYNAKDIZIN/$name-$DTDVERSION.zip
done
# now 4.1.2, named differently
mkdir $SRC/$name-4.1.2
unzip -q -d $SRC/$name-4.1.2 $PKGMK_SOURCE_DIR/docbkx412.zip
install -d $SRC/$name-4.1.2
unzip -q -d $SRC/$name-4.1.2 $DERLEME_KAYNAKDIZIN/docbkx412.zip
}
build() {
# copy to proper locations
for DB_VER in 4.5 4.4 4.3 4.2 4.1.2
for DTDVERSION in 4.5 4.4 4.3 4.2 4.1.2
do
mkdir -p $PKG/usr/share/xml/docbook/xml-dtd-$DB_VER
cp -a $SRC/$name-$DB_VER/{ent,docbook.cat,*.dtd,*.mod} \
$PKG/usr/share/xml/docbook/xml-dtd-$DB_VER/
install -d $PKG/usr/share/xml/docbook/xml-dtd-$DTDVERSION
cp -a $SRC/$name-$DTDVERSION/{ent,docbook.cat,*.dtd,*.mod} \
$PKG/usr/share/xml/docbook/xml-dtd-$DTDVERSION/
done
find $PKG -type f \( -perm -g=r -o -perm -g=w \) -exec chmod -g=rw {} \+
# create initial docbook-xml catalog
mkdir -p $PKG/etc/xml
install -d $PKG/etc/xml
xmlcatalog --noout --create $PKG/etc/xml/$name
# add each version to the initial catalog
@ -257,5 +255,6 @@ build() {
"http://www.oasis-open.org/docbook/xml/4.1.2" \
"file:///usr/share/xml/docbook/xml-dtd-4.1.2" \
$PKG/etc/xml/$name
}
rm $PKG/usr/share/xml/docbook/xml-dtd-4.{4,5}/ent/README
}

View File

@ -10,8 +10,8 @@ release=1
source=(flwm.desktop)
build() {
git clone https://github.com/bbidulock/flwm.git $PKGMK_SOURCE_DIR/flwm
cp -r $PKGMK_SOURCE_DIR/flwm $SRC/ && cd $SRC/flwm
git clone https://github.com/bbidulock/flwm.git $DERLEME_KAYNAKDIZIN/flwm
cp -r $DERLEME_KAYNAKDIZIN/flwm $SRC/ && cd $SRC/flwm
make || return 1
mkdir -p $PKG/usr/share/xsessions

View File

@ -2,7 +2,6 @@
# URL: http://www.gtk.org/
# Packager: tnut at nutyx dot org
# Depends on: libffi pcre python elfutils
PKGMK_GROUPS=(man devel doc )
name=glib
version=2.46.2

View File

@ -12,7 +12,6 @@ run=(gtk-update-icon-cache)
# de fichiers binaires n'est pas très important. La variable PKGMK_GROUP redéfini les groupes
# Ici, le groupe lib ne sera pas construit
PKGMK_GROUPS=(devel man doc)
name=gtk2
version=2.24.29

View File

@ -4,7 +4,6 @@
# Packager: tnut at nutyx dot org
# Depends on: iso-codes librsvg xorg-libxinerama xorg-libxrandr xorg-libxcursor xorg-libxdamage gtk2 consolekit2
PKGMK_GROUPS=()
run=(consolekit2 librsvg)
name=lxdm

View File

@ -9,7 +9,6 @@ release=1
source=(https://downloads.mariadb.org/interstitial/mariadb-$version/source/mariadb-$version.tar.gz )
PKGMK_GROUPS=(devel lib man doc service)
build() {
source /etc/blfs-bootscripts

View File

@ -7,7 +7,6 @@ version=8.38
release=1
source=( ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$name-$version.tar.bz2 )
PKGMK_GROUPS=(devel man doc)
build() {
cd $name-$version

View File

@ -3,7 +3,6 @@
# Maintainer: - n3npq <http://freecode.com/users/n3npq>
# Packager: pierre at nutyx dot org
# Depends on:
PKGMK_GROUPS=(devel man doc)
name=popt
version=1.16

View File

@ -4,7 +4,6 @@
# Depends on: python libxml2 libxslt openldap
# variable groupe
PKGMK_GROUPS=(lib doc man devel service)
name=postgresql
version=9.5.0

View File

@ -2,7 +2,6 @@
# URL: http://www.python.org
# Packager: alienus at nutyx dot org, tnut at nutyx dot org
# Depends on: sqlite expat
PKGMK_GROUPS=(devel man doc)
name=python3
version=3.5.1

View File

@ -2,7 +2,6 @@
# URL: https://www.kde.org/
# Packager: pierre at nutyx dot org, fanch at nutyx dot org, tnut at nutyx dot org
# Depends on: cmake qt5 upower consolekit2
PKGMK_GROUPS=()
run=(consolekit2)
name=sddm
release=1

View File

@ -9,8 +9,8 @@ release=1
_name=Oracle_VM_VirtualBox_Extension_Pack
_release=104815
PKGMK_IGNORE_FOOTPRINT="yes"
PKGMK_IGNORE_MD5SUM="yes"
DOSYAIZLEME_YOKSAY="evet"
MD5SUM_YOKSAY="evet"
[ "`uname -m`" == "i686" ] && _ARCH=x86

View File

@ -10,13 +10,13 @@ release=1
source=()
build() {
if cd $PKGMK_SOURCE_DIR/wmfs ; then
if cd $DERLEME_KAYNAKDIZIN/wmfs ; then
git pull
else
git clone git://github.com/xorg62/wmfs.git $PKGMK_SOURCE_DIR/wmfs
git clone git://github.com/xorg62/wmfs.git $DERLEME_KAYNAKDIZIN/wmfs
fi
cp -r $PKGMK_SOURCE_DIR/wmfs $SRC/ && cd $SRC/wmfs
cp -r $DERLEME_KAYNAKDIZIN/wmfs $SRC/ && cd $SRC/wmfs
./configure --prefix /usr \
--xdg-config-dir /etc/xdg \

View File

@ -2,7 +2,6 @@
# URL: http://xcb.freedesktop.org
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
# Depends on: python
PKGMK_GROUPS=()
name=xcb-proto
version=1.11
release=1

View File

@ -2,7 +2,6 @@
# URL: http://xorg.freedesktop.org
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
PKGMK_GROUPS=(doc man)
section="proto"
name=xorg-proto
version=7.7

View File

@ -2,7 +2,6 @@
# URL: http://www.x.org
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
PKGMK_GROUPS=()
_name=util-macros
name=xorg-util-macros
version=1.19.0

View File

@ -2,7 +2,6 @@
# URL: http://xorg.freedesktop.org
# Packager: pierre at nutyx dot org
# Depends on:
PKGMK_GROUPS=()
_name=xbitmaps
name=xorg-xbitmaps
version=1.1.1

View File

@ -0,0 +1,4 @@
mkinitramfs 4.4.1-milis
[ -f boot/initrd ] && rm boot/initrd
ln -sf initrd-4.4.1-milis boot/initrd
ln -sf kernel-4.4.1 boot/kernel

View File

@ -0,0 +1,25 @@
if [ ! -f /etc/sysconfig/nfs-server ]; then
cat > /etc/sysconfig/nfs-server << "EOF"
PORT="2049"
PROCESSES="8"
QUOTAS="no"
KILLDELAY="10"
EOF
fi
if [ ! -f /etc/exports ]; then
cat > /etc/exports << "EOF"
# /etc/exports - exports(5) - directories exported to NFS clients
#
# Example for NFSv2 and NFSv3:
# /srv/home hostname1(rw,sync) hostname2(ro,sync)
# Example for NFSv4:
# /srv/nfs4 hostname1(rw,sync,fsid=0)
# /srv/nfs4/home hostname1(rw,sync,nohide)
# Using Kerberos and integrity checking:
# /srv/nfs4 *(rw,sync,sec=krb5i,fsid=0)
# /srv/nfs4/home *(rw,sync,sec=krb5i,nohide)
#
# Use `exportfs -arv` to reload.
EOF
fi

View File

@ -0,0 +1,12 @@
if [ ! -f /etc/rsyncd.conf ]; then
cat > /etc/rsyncd.conf << "EOF"
# use chroot = yes
# [site]
# path = /home/saravane/nutyx.org
# comment = Site web
# auth users = tnut
# read only = yes
# exclude from = /etc/saravane_rsync_exclude_files.txt
# secrets file = /etc/rsyncd.secrets
EOF
fi