summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-23 03:16:09 -0700
committerroot <root@rshg054.dnsready.net>2013-03-23 03:16:09 -0700
commitbfffe04eef66a8556e972c888cc854a202b307d9 (patch)
tree6b1ee7ed31b9fe2c2210e04eabeef01c982f2d72 /extra
parenta42cd7aaabfdb3ecc0a538548e8dbcc7ca860b2d (diff)
Sat Mar 23 03:16:08 PDT 2013
Diffstat (limited to 'extra')
-rw-r--r--extra/gnome-menus/PKGBUILD36
-rw-r--r--extra/gnome-menus/menus.patch25
-rw-r--r--extra/gstreamer0.10-good/PKGBUILD59
-rw-r--r--extra/gstreamer0.10-good/gstreamer0.10-good-plugins.install19
-rw-r--r--extra/usermin/PKGBUILD134
-rw-r--r--extra/usermin/usermin-config.tar.bz2bin951 -> 0 bytes
-rw-r--r--extra/usermin/usermin.install34
-rw-r--r--extra/usermin/usermin.rc44
-rw-r--r--extra/usermin/usermin.service9
-rw-r--r--extra/webmin/PKGBUILD221
-rw-r--r--extra/webmin/webmin-config.tar.bz2bin3125 -> 0 bytes
-rw-r--r--extra/webmin/webmin-pacman.tar.bz2bin833 -> 0 bytes
-rw-r--r--extra/webmin/webmin.install35
-rw-r--r--extra/webmin/webmin.rc46
-rw-r--r--extra/webmin/webmin.service11
-rw-r--r--extra/xsp/PKGBUILD64
-rw-r--r--extra/xsp/xsp.conf.d10
-rw-r--r--extra/xsp/xsp.install37
-rw-r--r--extra/xsp/xsp.rc.d40
-rw-r--r--extra/xsp/xsp.service8
-rw-r--r--extra/xsp/xsp.webapp8
21 files changed, 78 insertions, 762 deletions
diff --git a/extra/gnome-menus/PKGBUILD b/extra/gnome-menus/PKGBUILD
deleted file mode 100644
index 09763771a..000000000
--- a/extra/gnome-menus/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 175187 2013-01-16 10:52:05Z jgc $
-# Maintainer: Jan de Groot <jan@archlinux.org>
-
-pkgname=gnome-menus
-pkgver=3.6.2
-pkgrel=1
-pkgdesc="GNOME menu specifications"
-arch=('i686' 'x86_64')
-depends=('glib2' 'python2-gobject')
-makedepends=('intltool' 'gobject-introspection')
-options=('!libtool')
-license=('GPL' 'LGPL')
-url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
- menus.patch)
-sha256sums=('f6cefb25ce3ca2a0e4cb43894089cc6079bf948230e99bc0e244b380fa84bf4f'
- 'df2779777906b038fa911dc745534564ede9524a64ab368e2f6f8e38d54e7acc')
-
-build() {
- cd "$pkgname-$pkgver"
-
- patch -Np0 -i "$srcdir/menus.patch"
-
- PYTHON=/usr/bin/python2 ./configure \
- --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
- make
-}
-
-package(){
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-
- sed -i "1s|#!/usr/bin/env python$|&2|" \
- "$pkgdir/usr/lib/python2.7/site-packages/GMenuSimpleEditor/config.py"
-}
diff --git a/extra/gnome-menus/menus.patch b/extra/gnome-menus/menus.patch
deleted file mode 100644
index bf73e86cd..000000000
--- a/extra/gnome-menus/menus.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- layout/applications.menu 2005-06-28 10:16:39.000000000 +0200
-+++ layout/applications.menu 2005-09-12 23:21:20.000000000 +0200
-@@ -7,7 +7,6 @@
- <Directory>Applications.directory</Directory>
-
- <!-- Scan legacy dirs first, as later items take priority -->
-- <KDELegacyDirs/>
- <LegacyDir>/etc/X11/applnk</LegacyDir>
- <LegacyDir>/usr/share/gnome/apps</LegacyDir>
-
-@@ -18,6 +17,14 @@
- <!-- Read in overrides and child menus from applications-merged/ -->
- <DefaultMergeDirs/>
-
-+ <!-- Archlinux submenu -->
-+ <Menu>
-+ <Name>Archlinux</Name>
-+ <Directory>Archlinux.directory</Directory>
-+ <Include>
-+ <Category>Archlinux</Category>
-+ </Include>
-+ </Menu> <!-- End Archlinux -->
- <!-- Accessories submenu -->
- <Menu>
- <Name>Accessories</Name>
diff --git a/extra/gstreamer0.10-good/PKGBUILD b/extra/gstreamer0.10-good/PKGBUILD
new file mode 100644
index 000000000..3d0b13a61
--- /dev/null
+++ b/extra/gstreamer0.10-good/PKGBUILD
@@ -0,0 +1,59 @@
+# $Id: PKGBUILD 153259 2012-03-12 16:05:31Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgbase=gstreamer0.10-good
+pkgname=('gstreamer0.10-good' 'gstreamer0.10-good-plugins')
+pkgver=0.10.31
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL')
+makedepends=('intltool' 'pkgconfig' 'gstreamer0.10-base>=0.10.34' 'libavc1394' 'libiec61883' 'aalib' 'libshout' 'libdv' 'flac' 'gconf' 'wavpack' 'taglib' 'libsoup-gnome' 'v4l-utils' 'libcaca' 'bzip2' 'gdk-pixbuf2' 'libpulse' 'jack' 'udev')
+url="http://gstreamer.freedesktop.org/"
+options=(!libtool !emptydirs)
+source=(${url}/src/gst-plugins-good/gst-plugins-good-${pkgver}.tar.xz)
+sha256sums=('77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64')
+
+build() {
+ cd "${srcdir}/gst-plugins-good-${pkgver}"
+ sed -i '/AC_PATH_XTRA/d' configure.ac
+ autoreconf
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --enable-experimental \
+ --disable-schemas-install \
+ --disable-hal \
+ --disable-esd \
+ --with-package-name="GStreamer Good Plugins (Archlinux)" \
+ --with-package-origin="http://www.archlinux.org/"
+
+ make
+ sed -e 's/gst sys ext/gst/' -i Makefile
+}
+
+check() {
+ cd "${srcdir}/gst-plugins-good-${pkgver}"
+ make check
+}
+
+package_gstreamer0.10-good() {
+ depends=('gstreamer0.10-base>=0.10.34' 'bzip2')
+ pkgdesc="GStreamer Multimedia Framework Good plugin libraries"
+
+ cd "${srcdir}/gst-plugins-good-${pkgver}"
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}/etc/gconf"
+}
+
+package_gstreamer0.10-good-plugins() {
+ depends=("gstreamer0.10-good=${pkgver}" 'libavc1394' 'libiec61883' 'aalib' 'libshout' 'libdv' 'flac' 'gconf' 'wavpack' 'taglib' 'libsoup-gnome' 'v4l-utils' 'libcaca' 'libpng' 'libjpeg' 'jack' 'libpulse' 'udev')
+ pkgdesc="GStreamer Multimedia Framework Good Plugins (gst-plugins-good)"
+ groups=('gstreamer0.10-plugins')
+ replaces=('gstreamer0.10-aalib' 'gstreamer0.10-wavpack' 'gstreamer0.10-shout2' 'gstreamer0.10-taglib' 'gstreamer0.10-libcaca' 'gstreamer0.10-libpng' 'gstreamer0.10-jpeg' 'gstreamer0.10-cairo' 'gstreamer0.10-flac' 'gstreamer0.10-speex' 'gstreamer0.10-gdkpixbuf' 'gstreamer0.10-dv1394' 'gstreamer0.10-annodex' 'gstreamer0.10-gconf' 'gstreamer0.10-esd' 'gstreamer0.10-cdio' 'gstreamer0.10-dv' 'gstreamer0.10-soup' 'gstreamer0.10-pulse')
+ conflicts=('gstreamer0.10-aalib' 'gstreamer0.10-wavpack' 'gstreamer0.10-shout2' 'gstreamer0.10-taglib' 'gstreamer0.10-libcaca' 'gstreamer0.10-libpng' 'gstreamer0.10-jpeg' 'gstreamer0.10-cairo' 'gstreamer0.10-flac' 'gstreamer0.10-speex' 'gstreamer0.10-gdkpixbuf' 'gstreamer0.10-dv1394' 'gstreamer0.10-annodex' 'gstreamer0.10-gconf' 'gstreamer0.10-esd' 'gstreamer0.10-cdio' 'gstreamer0.10-dv' 'gstreamer0.10-bad-plugins<0.10.7' 'gstreamer0.10-soup' 'gstreamer0.10-pulse')
+ install=gstreamer0.10-good-plugins.install
+
+ cd "${srcdir}/gst-plugins-good-${pkgver}"
+ make -C sys DESTDIR="${pkgdir}" install
+ make -C ext GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+ install -m644 gconf/gstreamer-0.10.schemas "${pkgdir}/usr/share/gconf/schemas/gstreamer0.10-good-plugins.schemas"
+}
diff --git a/extra/gstreamer0.10-good/gstreamer0.10-good-plugins.install b/extra/gstreamer0.10-good/gstreamer0.10-good-plugins.install
new file mode 100644
index 000000000..e343beea5
--- /dev/null
+++ b/extra/gstreamer0.10-good/gstreamer0.10-good-plugins.install
@@ -0,0 +1,19 @@
+pkgname=gstreamer0.10-good-plugins
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ pre_remove
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}
diff --git a/extra/usermin/PKGBUILD b/extra/usermin/PKGBUILD
deleted file mode 100644
index 2585344c5..000000000
--- a/extra/usermin/PKGBUILD
+++ /dev/null
@@ -1,134 +0,0 @@
-# $Id: PKGBUILD 179315 2013-03-05 11:21:55Z tpowa $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-pkgname=usermin
-pkgver=1.540
-pkgrel=1
-pkgdesc="a web interface that can be used to easily perform tasks like reading mail, setting up SSH or configuring mail forwarding"
-arch=(i686 x86_64)
-license=('custom:usermin')
-url="http://www.webmin.com/"
-depends=('perl' 'webmin')
-makedepends=('perl-net-ssleay')
-backup=('etc/usermin/miniserv.conf' 'etc/usermin/miniserv.users' 'etc/usermin/config' 'etc/usermin/usermin.cats' \
-'etc/usermin/at/config' \
-'etc/usermin/man/config' \
-'etc/usermin/ssh/config' \
-'etc/usermin/chfn/config' \
-'etc/usermin/cron/config' \
-'etc/usermin/file/config' \
-'etc/usermin/plan/config' \
-'etc/usermin/proc/config' \
-'etc/usermin/spam/config' \
-'etc/usermin/htaccess/config' \
-'etc/usermin/cshrc/config' \
-'etc/usermin/gnupg/config' \
-'etc/usermin/mysql/config' \
-'etc/usermin/quota/config' \
-'etc/usermin/shell/config' \
-'etc/usermin/theme/config' \
-'etc/usermin/mailbox/config' \
-'etc/usermin/schedule/config' \
-'etc/usermin/config' \
-'etc/usermin/commands/config' \
-'etc/usermin/htaccess-htpasswd/config' \
-'etc/usermin/forward/config' \
-'etc/usermin/telnet/config' \
-'etc/usermin/tunnel/config' \
-'etc/usermin/updown/config' \
-'etc/usermin/procmail/config' \
-'etc/usermin/fetchmail/config' \
-'etc/usermin/changepass/config' \
-'etc/usermin/language/config' \
-'etc/usermin/postgresql/config' \
-'etc/usermin/usermount/config' \
-)
-install=usermin.install
-source=(http://downloads.sourceforge.net/sourceforge/webadmin/$pkgname-$pkgver.tar.gz
- usermin.rc
- usermin.service
- ftp://ftp.archlinux.org/other/usermin/usermin-config.tar.bz2)
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver
-
- # remove modules we do not support
-
- #remove config files from other distros
- rm -f $(find . ! -name 'config-generic-linux' ! -name 'config-\*-linux' ! -name 'config-lib.pl' -name 'config-*')
-
- # remove caldera theme
- rm -rf caldera
-
- # remove init-scripts from other distros
- rm usermin-init
- rm usermin-daemon
-
- # setting perl path
- (find . -name '*.cgi' ; find . -name '*.pl') | perl perlpath.pl /usr/bin/perl -
-
- # create dirs
- mkdir -p "$pkgdir"/opt/usermin
- mkdir -p "$pkgdir"/var/log/usermin
- mkdir -p "$pkgdir"/etc/usermin
-
- # install pam stuff
- install -D -m 644 usermin-pam "$pkgdir"/etc/pam.d/usermin
-
- # remove other distros and add only Archlinux don't change next line else it will not work!
- rm os_list.txt
- echo 'Archlinux Any version generic-linux * -d "/etc/pacman.d"' >> os_list.txt
-
- # copy stuff to right dirs
- cd "$srcdir"/$pkgname-$pkgver
- cp -rp * "$pkgdir"/opt/usermin
- cd "$srcdir"/usermin-config
- cp -rfp * "$pkgdir"/opt/usermin
-
- # define parameters for setup.sh
- config_dir="$pkgdir"/etc/usermin
- var_dir="$pkgdir"/var/log/usermin
- perl=/usr/bin/perl
- autoos=1
- port=20000
- login=root
- crypt="XXX"
- ssl=1
- atboot=0
- nostart=1
- nochown=1
- autothird=1
- nouninstall=1
- noperlpath=1
- atbootyn=n
- tempdir="$pkgdir"/tmp
- export config_dir var_dir perl autoos port tempdir ssl nochown autothird nouninstall nostart noperlpath atbootyn login crypt
-
- # Fix setup.sh
- sed -i -e 's:read atbootyn::g' -e 's:exit 13::g' "$pkgdir"/opt/usermin/setup.sh
- "$pkgdir"/opt/usermin/setup.sh
-
- # Fixup the config files to use their real locations
- sed -i 's:^pidfile=.*$:pidfile=/var/run/usermin.pid:' "$pkgdir"/etc/usermin/miniserv.conf
- find "$pkgdir"/etc/usermin -type f -exec sed -i "s:$pkgdir::g" {} \;
-
- # make it only accessible by localhost
- echo 'allow=127.0.0.1' >> "$pkgdir"/etc/usermin/miniserv.conf
-
- # enable user and password login
- sed -i -e '/localauth/d' "$pkgdir"/etc/usermin/miniserv.conf
-
- #install systemd service file
- install -D -m 644 "$srcdir"/usermin.service "$pkgdir"/usr/lib/systemd/system/usermin.service
-
- #install rc file
- install -D -m 755 "$srcdir"/usermin.rc "$pkgdir"/etc/rc.d/usermin
-
- # delete temp dir
- rm -r "$pkgdir"/tmp
- #install license
- install -m 644 -D "$srcdir"/$pkgname-$pkgver/LICENCE "$pkgdir"/usr/share/licenses/usermin/LICENCE
-}
-md5sums=('d29c9fdebab14c168c33bde8906efe21'
- 'cfef4490cd1ef9517c0b39a7bd75c968'
- 'a5bd5e5ee779f8a3cf3d776ca77ee36e'
- 'ec37a79f948f778224550930d2a7ca07')
diff --git a/extra/usermin/usermin-config.tar.bz2 b/extra/usermin/usermin-config.tar.bz2
deleted file mode 100644
index 056bb6298..000000000
--- a/extra/usermin/usermin-config.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/extra/usermin/usermin.install b/extra/usermin/usermin.install
deleted file mode 100644
index 3ace10ea2..000000000
--- a/extra/usermin/usermin.install
+++ /dev/null
@@ -1,34 +0,0 @@
-# arg 1: the new package version
-post_install() {
- local crypt=$(grep "^root:" ${ROOT}/etc/shadow | cut -f 2 -d :)
- crypt=${crypt//\\/\\\\}
- crypt=${crypt//\//\\\/}
- sed -i "s/root:XXX/root:${crypt}/" /etc/usermin/miniserv.users
-cat << EOF
-Note:
-==> It is not allowed to install 3rd party modules, or delete existing modules.
-==> Please write your own PKGBUILDS for 3rd party modules and additional themes.
-Setup:
-==> To make usermin start at boot time, add usermin to rc.conf daemons
-==> Point your web browser to http://localhost:20000 to use usermin.
-==> To change the modules setup please use webmin.
-
-==> The access is restricted to localhost, if you want to connect from other locations
-==> change /etc/usermin/miniserv.conf to something like that: allow=127.0.0.1 <your-ip>
-==> If you want to have ssl encryption please install 'perl-net-ssleay' additional.
-EOF
-# fix man module
- cd /opt/usermin/man
- gzip -df $(find . -name '*.gz')
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- # uninstall unzipped files
- rm -r /opt/usermin/man
-}
diff --git a/extra/usermin/usermin.rc b/extra/usermin/usermin.rc
deleted file mode 100644
index af365780a..000000000
--- a/extra/usermin/usermin.rc
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-start=/etc/usermin/start
-stop=/etc/usermin/stop
-lockfile=/var/lock/usermin
-
-case "$1" in
-'start')
- stat_busy "Starting Usermin daemon"
- $start >/dev/null 2>&1 </dev/null
- RETVAL=$?
- if [ "$RETVAL" = "0" ]; then
- touch $lockfile >/dev/null 2>&1
- stat_done
- else
- stat_fail
-fi
-;;
-
-'stop')
- stat_busy "Stopping Usermin daemon"
- $stop >/dev/null 2>&1 </dev/null
- RETVAL=$?
- if [ "$RETVAL" = "0" ]; then
- rm -f $lockfile
- stat_done
- else
- stat_fail
-fi
-;;
-
-'restart')
- $stop && $start
- RETVAL=$?
-;;
-*)
-echo "Usage: $0 { start | stop | restart }"
-RETVAL=1
-;;
-esac
-exit $RETVAL \ No newline at end of file
diff --git a/extra/usermin/usermin.service b/extra/usermin/usermin.service
deleted file mode 100644
index e91164c63..000000000
--- a/extra/usermin/usermin.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=Usermin
-
-[Service]
-Type=forking
-ExecStart=/opt/usermin/miniserv.pl /etc/usermin/miniserv.conf
-
-[Install]
-WantedBy=multi-user.target
diff --git a/extra/webmin/PKGBUILD b/extra/webmin/PKGBUILD
deleted file mode 100644
index 593107acb..000000000
--- a/extra/webmin/PKGBUILD
+++ /dev/null
@@ -1,221 +0,0 @@
-# $Id: PKGBUILD 179317 2013-03-05 11:25:58Z tpowa $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-pkgname=webmin
-pkgver=1.620
-pkgrel=1
-pkgdesc="a web-based interface for system administration"
-arch=(i686 x86_64)
-license=('custom:webmin')
-url="http://www.webmin.com/"
-depends=('perl' 'perl-perl4-corelibs')
-makedepends=('perl-net-ssleay')
-backup=('etc/webmin/miniserv.conf' 'etc/webmin/miniserv.users' 'etc/webmin/config' 'etc/webmin/webmin.cats' \
-'etc/webmin/pacman/config' \
-'etc/webmin/at/config' \
-'etc/webmin/acl/config' \
-'etc/webmin/lvm/config' \
-'etc/webmin/net/config' \
-'etc/webmin/nis/config' \
-'etc/webmin/pam/config' \
-'etc/webmin/cron/config' \
-'etc/webmin/file/config' \
-'etc/webmin/grub/config' \
-'etc/webmin/init/config' \
-'etc/webmin/ipfw/config' \
-'etc/webmin/lilo/config' \
-'etc/webmin/proc/config' \
-'etc/webmin/raid/config' \
-'etc/webmin/spam/config' \
-'etc/webmin/sshd/config' \
-'etc/webmin/time/config' \
-'etc/webmin/cluster-passwd/config' \
-'etc/webmin/software/config' \
-'etc/webmin/webminlog/config' \
-'etc/webmin/cluster-webmin/config' \
-'etc/webmin/bind8/config' \
-'etc/webmin/dhcpd/config' \
-'etc/webmin/fdisk/config' \
-'etc/webmin/mount/config' \
-'etc/webmin/mysql/config' \
-'etc/webmin/quota/config' \
-'etc/webmin/samba/config' \
-'etc/webmin/shell/config' \
-'etc/webmin/squid/config' \
-'etc/webmin/adsl-client/config' \
-'etc/webmin/servers/config' \
-'etc/webmin/cluster-shell/config' \
-'etc/webmin/bandwidth/config' \
-'etc/webmin/ppp-client/config' \
-'etc/webmin/lpadmin/config' \
-'etc/webmin/apache/config' \
-'etc/webmin/firewall/config' \
-'etc/webmin/stunnel/config' \
-'etc/webmin/burner/config' \
-'etc/webmin/exports/config' \
-'etc/webmin/backup-config/config' \
-'etc/webmin/custom/config' \
-'etc/webmin/htaccess-htpasswd/config' \
-'etc/webmin/logrotate/config' \
-'etc/webmin/format/config' \
-'etc/webmin/fsdump/config' \
-'etc/webmin/passwd/config' \
-'etc/webmin/cluster-useradmin/config' \
-'etc/webmin/cluster-software/config' \
-'etc/webmin/cluster-copy/config' \
-'etc/webmin/cluster-cron/config' \
-'etc/webmin/telnet/config' \
-'etc/webmin/status/config' \
-'etc/webmin/syslog/config' \
-'etc/webmin/updown/config' \
-'etc/webmin/usermin/config' \
-'etc/webmin/webmin/config' \
-'etc/webmin/xinetd/config' \
-'etc/webmin/openslp/config' \
-'etc/webmin/procmail/config' \
-'etc/webmin/fetchmail/config' \
-'etc/webmin/postgresql/config' \
-'etc/webmin/useradmin/config' \
-'etc/webmin/mailboxes/config' \
-'etc/webmin/inittab/config' \
-'etc/webmin/change-user/config' \
-'etc/webmin/postfix/config' \
-'etc/webmin/proftpd/config' \
-'etc/webmin/pserver/config' \
-'etc/webmin/dnsadmin/config' )
-install=webmin.install
-source=(http://downloads.sourceforge.net/sourceforge/webadmin/$pkgname-$pkgver.tar.gz
- ftp://ftp.archlinux.org/other/webmin/webmin-config.tar.bz2
- ftp://ftp.archlinux.org/other/webmin/webmin-pacman.tar.bz2
- webmin.rc
- webmin.service)
-options=(!strip)
-
-package() {
- # NOTE: USE --asroot build option to avoid fakeroot error!
- cd "$srcdir"/$pkgname-$pkgver
- # add patches from webmin.com
- #for i in ../*.wbm
- #do tar xvf $i
- #done
- #for i in ../*.wbt
- #do tar xvf $i
- #done
- # delete stuff that's not needed
- rm -f mount/freebsd-mounts*
- rm -f mount/openbsd-mounts*
- rm -f mount/macos-mounts*
-
- # remove modules we do not support
- rm -rf {bacula-backup,ldap-useradmin,mon,sentry,frox,jabber,majordomo,qmail,sendmail,sarg,wuftpd,webalizer,inetd,ipsec,pap,pptp-client,pptp-server,shorewall,smart-status,vgetty,heartbeat,cfengine,cpan,sgiexports,hpuxexports,qmailadmin,bsdexports,dfsadmin}
-
- #remove config files from other distros
- rm -f $(find . ! -name 'config-generic-linux' ! -name 'config-\*-linux' ! -name 'config-lib.pl' -name 'config-*')
-
- # remove caldera theme
- rm -rf caldera
-
- # remove init-scripts from other distros
- rm webmin-gentoo-init
- rm webmin-init
- rm webmin-caldera-init
- rm webmin-daemon
-
- # remove update stuff to avoid problems with updating webmin,modules and themes without pacman
- rm -f webmin/{update.cgi,update.pl,update_sched.cgi,upgrade.cgi,edit_upgrade.cgi,install_mod.cgi,delete_mod.cgi,install_theme.cgi}
- rm -f usermin/{upgrade.cgi,update.cgi,update.pl,edit_upgrade.cgi,install_mod.cgi,delete_mod.cgi,install_theme.cgi}
-
- # remove modules add because we don't want files installed without pacman control
- rm -f webmin/{install_mod.cgi,delete_mod.cgi}
-
- # setting perl path
- (find . -name '*.cgi' ; find . -name '*.pl') | perl perlpath.pl /usr/bin/perl -
-
- # create dirs
- mkdir -p "$pkgdir"/opt/webmin
- mkdir -p "$pkgdir"/var/log/webmin
- mkdir -p "$pkgdir"/etc/webmin
-
- # install pam stuff
- install -D -m 644 webmin-pam "$pkgdir"/etc/pam.d/webmin
-
- # remove other distros and add only Archlinux don't change next line else it will not work!
- rm os_list.txt
- echo 'Archlinux Any version generic-linux * -d "/etc/pacman.d"' >> os_list.txt
-
- # Add rc.conf support to boot and shutdown menu and lock editing of this module
- cd init/
- sed -i -e 's:^local_down=.*:local_down=Archlinux RC.CONF,3,None:g' $(find . ! -name 'config.info.pl' -name 'config.info*')
- sed -i -e 's:^local_script=.*:local_script=Archlinux RC.LOCAL,3,None:g' $(find . ! -name 'config.info.pl' -name 'config.info*')
- sed -i -e 's:^index_downscript=.*:index_downscript=Archlinux RC.CONF:g' lang/*
- sed -i -e 's:^index_script=.*:index_script=Archlinux RC.LOCAL:g' lang/*
- sed -i -e 's:^noconfig=0:noconfig=1:g' defaultacl
-
- # Add pacman menu
- cd "$srcdir"/$pkgname-$pkgver
- cp -rf custom/ pacman
- cp -rf mscstyle3/custom mscstyle3/pacman
- sed -i -e 's:^noconfig=0:noconfig=1:g' -e 's:^edit=1:edit=0:g' pacman/defaultacl
- sed -i -e '/desc/d' -e '/longdesc/d' pacman/module.info
- sed -i -e 's:^name=Custom:name=Pacman:g' pacman/module.info
- echo 'category=system' >> pacman/module.info
- echo 'desc=Pacman' >> pacman/module.info
- sed -i -e 's:^index_title=.*:index_title=Pacman:g' pacman/lang/*
-
- # copy stuff to right dirs
- cd "$srcdir"/$pkgname-$pkgver
- cp -rp * "$pkgdir"/opt/webmin
- cd "$srcdir"/webmin-config
- cp -rfp * "$pkgdir"/opt/webmin
-
- # define parameters for setup.sh
- config_dir="$pkgdir"/etc/webmin
- var_dir="$pkgdir"/var/log/webmin
- perl=/usr/bin/perl
- autoos=1
- port=10000
- login=root
- crypt="XXX"
- ssl=1
- atboot=0
- nostart=1
- nochown=1
- autothird=1
- nouninstall=1
- noperlpath=1
- atbootyn=n
- tempdir="$pkgdir"/tmp
- export config_dir var_dir perl autoos port tempdir login crypt ssl nochown autothird nouninstall nostart noperlpath atbootyn
-
- # Fix setup.sh
- sed -i -e 's:read atbootyn::g' -e 's:exit 13::g' "$pkgdir"/opt/webmin/setup.sh
- "$pkgdir"/opt/webmin/setup.sh
-
- # Fixup the config files to use their real locations
- sed -i 's:^pidfile=.*$:pidfile=/var/run/webmin.pid:' "$pkgdir"/etc/webmin/miniserv.conf
- find "$pkgdir"/etc/webmin -type f -exec sed -i "s:$pkgdir::g" {} \;
-
- # make it only accessible by localhost
- echo 'allow=127.0.0.1' >> "$pkgdir"/etc/webmin/miniserv.conf
-
- # install pacman menu
- cd "$srcdir"/webmin-pacman/config
- cp -rfp * "$pkgdir"/etc/webmin/pacman
-
- #install rc file
- install -D -m 755 "$srcdir"/webmin.rc "$pkgdir"/etc/rc.d/webmin
-
- # install systemd files
- install -D -m 644 $srcdir/webmin.service $pkgdir/usr/lib/systemd/system/webmin.service
-
- # delete temp dir
- rm -r "$pkgdir"/tmp
- # change sticky bit
- chmod 0644 $pkgdir/opt/webmin/man/config-generic-linux
- # install license
- install -m 644 -D "$srcdir"/$pkgname-$pkgver/LICENCE "$pkgdir"/usr/share/licenses/webmin/LICENCE
-}
-md5sums=('e93bc5057a5b7d7e31ecb2bb228d7044'
- 'b0b3e3fb231a12e60165b6b4d604dcfa'
- 'bfebb75bb94029b48c46b7f1ba1aa811'
- 'c77dfcd621b417a7826d25f56a1e60ae'
- 'fc29ecb6a5cd8c278abe054e60381095')
diff --git a/extra/webmin/webmin-config.tar.bz2 b/extra/webmin/webmin-config.tar.bz2
deleted file mode 100644
index c7869eebf..000000000
--- a/extra/webmin/webmin-config.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/extra/webmin/webmin-pacman.tar.bz2 b/extra/webmin/webmin-pacman.tar.bz2
deleted file mode 100644
index e8ad9fd7b..000000000
--- a/extra/webmin/webmin-pacman.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/extra/webmin/webmin.install b/extra/webmin/webmin.install
deleted file mode 100644
index efdd9291d..000000000
--- a/extra/webmin/webmin.install
+++ /dev/null
@@ -1,35 +0,0 @@
-# arg 1: the new package version
-post_install() {
- local crypt=$(grep "^root:" ${ROOT}/etc/shadow | cut -f 2 -d :)
- crypt=${crypt//\\/\\\\}
- crypt=${crypt//\//\\\/}
- sed -i "s/root:XXX/root:${crypt}/" /etc/webmin/miniserv.users
-
-cat << EOF
-Note:
-==> It is not allowed to install 3rd party modules, or delete existing modules.
-==> Please write your own PKGBUILDS for 3rd party modules and additional themes.
-Setup:
-==> To make webmin start at boot time, add webmin to rc.conf daemons
-==> Point your web browser to http://localhost:10000 to use webmin.
-==> The access is restricted to localhost, if you want to connect from other locations
-==> change /etc/webmin/miniserv.conf to something like that: allow=127.0.0.1 <your-ip>
-==> If you want to have ssl encryption please install 'perl-net-ssleay' additional.
-EOF
-# fix man module
- cd /opt/webmin/man
- for i in $(find . -name '*.gz'); do
- gzip -df $i
- done
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- # uninstall unzipped files
- rm -r /opt/webmin/man
-}
diff --git a/extra/webmin/webmin.rc b/extra/webmin/webmin.rc
deleted file mode 100644
index 6aac8941d..000000000
--- a/extra/webmin/webmin.rc
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-start=/etc/webmin/start
-stop=/etc/webmin/stop
-lockfile=/var/lock/webmin
-
-case "$1" in
-'start')
- stat_busy "Starting Webmin daemon"
- $start >/dev/null 2>&1 </dev/null
- RETVAL=$?
- if [ "$RETVAL" = "0" ]; then
- touch $lockfile >/dev/null 2>&1
- add_daemon webmin
- stat_done
- else
- stat_fail
-fi
-;;
-
-'stop')
- stat_busy "Stopping Webmin daemon"
- $stop >/dev/null 2>&1 </dev/null
- RETVAL=$?
- if [ "$RETVAL" = "0" ]; then
- rm -f $lockfile
- rm_daemon webmin
- stat_done
- else
- stat_fail
-fi
-;;
-
-'restart')
- $0 stop
- $0 start
-;;
-*)
-echo "Usage: $0 { start | stop | restart }"
-RETVAL=1
-;;
-esac
-exit $RETVAL \ No newline at end of file
diff --git a/extra/webmin/webmin.service b/extra/webmin/webmin.service
deleted file mode 100644
index a8a384a8c..000000000
--- a/extra/webmin/webmin.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Webmin
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/etc/webmin/start
-ExecStop=/etc/webmin/stop
-
-[Install]
-WantedBy=multi-user.target
diff --git a/extra/xsp/PKGBUILD b/extra/xsp/PKGBUILD
deleted file mode 100644
index 7c8a888c6..000000000
--- a/extra/xsp/PKGBUILD
+++ /dev/null
@@ -1,64 +0,0 @@
-# $Id: PKGBUILD 168400 2012-10-10 22:19:53Z tomegun $
-# Maintainer: Daniel Isenmann <daniel@archlinux.org>
-# Contributor: Tobias Kieslich <tobias@justdreams.de>
-
-pkgname=xsp
-pkgver=2.10.2
-pkgrel=4
-pkgdesc="A simple webserver based on mono - provides ASP.NET support"
-arch=(i686 x86_64)
-license=('custom')
-url="http://www.go-mono.com"
-depends=('mono>=2.10.2' 'sqlite')
-options=(!makeflags)
-install=${pkgname}.install
-source=(http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2
- ${pkgname}.rc.d ${pkgname}.conf.d ${pkgname}.webapp ${pkgname}.service)
-
-build() {
- # get rid of that .wapi errors; thanks to brice
- export MONO_SHARED_DIR=${srcdir}/src/weird
- mkdir -p "${MONO_SHARED_DIR}"
- # import pathes
- # build
- cd ${srcdir}/${pkgname}-${pkgver}
- #sed -i 's|/bin/sh|\0\nexport MONO_PATH=${MONO_PATH}:/opt/mono/lib/mono/1.0|' scripts/script.in
- ./configure --prefix=/usr --sysconfdir=/etc
- make || return 1
- # tweak the xsp shellscript to grab system dll's
- for script in scripts/*2; do
- sed -i 's|/usr/lib/mono/1.0|/usr/lib/mono/2.0|' $script
- done
- #destdir related bugfixes
- sed -i 's|mkdir \$(datadir)|mkdir $(DESTDIR)$(datadir)|' test/2.0/treeview/Makefile
- sed -i 's|gif \$(datadir)|gif $(DESTDIR)$(datadir)|' test/2.0/treeview/Makefile
-}
-
-package(){
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir}/ install
- # move test files from share to arch' default html home
- mkdir -p ${pkgdir}/srv/http/html
- mv ${pkgdir}/usr/lib/xsp/test ${pkgdir}/srv/http/html/xsp
- rm -rf ${pkgdir}/usr/share
- chown -R http:http ${pkgdir}/srv/http/html/${pkgname}
-
- # install a deamon
- install -D -m755 ${srcdir}/${pkgname}.rc.d \
- ${pkgdir}/etc/rc.d/${pkgname}
- # install a deamon configurationfile
- install -D -m644 ${srcdir}/$pkgname.conf.d \
- ${pkgdir}/etc/conf.d/${pkgname}
- # install a xsp configuration home
- install -D -m644 ${srcdir}/${pkgname}.webapp \
- ${pkgdir}/etc/${pkgname}/${pkgname}.webapp
- install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
- # install systemd service file
- install -D -m644 ${srcdir}/${pkgname}.service \
- ${pkgdir}/usr/lib/systemd/system/xsp.service
-}
-md5sums=('4fe62fc95ad5dc136d8a7f3299d523b6'
- '9575bd7d6f64d51ba05bdd6370665858'
- '35d921df0fefc30f47a438c95d420efc'
- 'c917c07f68b945691506c29750db482f'
- '9d83bd36d209f8d36a11dfbc4fa50819')
diff --git a/extra/xsp/xsp.conf.d b/extra/xsp/xsp.conf.d
deleted file mode 100644
index 99d634929..000000000
--- a/extra/xsp/xsp.conf.d
+++ /dev/null
@@ -1,10 +0,0 @@
-# xsp options
-
-
-# note that is just the helping app for mod_mono if you like production like
-# quality
-# xsp is for ASP testing mainly -- read the manpage for xsp to know what
-# options are available. Archlinux will provide xsp configured by a .webapp
-# configuration file which rests in /etc/xsp
-
-XSP_PARAMS="--appconfigdir /etc/xsp"
diff --git a/extra/xsp/xsp.install b/extra/xsp/xsp.install
deleted file mode 100644
index b8a8f3136..000000000
--- a/extra/xsp/xsp.install
+++ /dev/null
@@ -1,37 +0,0 @@
-# arg 1: the new package version
-post_install() {
- cat << EOM
-
---> xsp is just the helping app for mod_mono if you like a production like
---> server. xsp itself is for ASP testing mainly -- read the manpage for xsp
---> to know which options are available.
---> Archlinux will provide xsp configured by a .webapp configuration file
---> which rests in /etc/xsp. Just put your other webapp files there to let
---> xsp pick them up.
---> xsp is commandline based configuration is done in /etc/conf.d/xsp. Set all
---> your arguments there. Don't forget that you can run xsp from the console
---> as oridinary user, which is safer and for testing absolutely sufficient!!
-
---> You can run the testpages simply by starting the server and calling
- http://localhost:8080
---> from your browser's location bar
-
-
-EOM
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
diff --git a/extra/xsp/xsp.rc.d b/extra/xsp/xsp.rc.d
deleted file mode 100644
index b4fcda15c..000000000
--- a/extra/xsp/xsp.rc.d
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/xsp ] && . /etc/conf.d/xsp
-
-PID=`pidof -o %PPID /usr/bin/mono`
-case "$1" in
- start)
- stat_busy "Starting Xsp Daemon"
- if [ -z "$PID" ]; then
- /usr/bin/xsp $XSP_PARAMS --nonstop &> /dev/null &
- fi
- if [ ! -z "$PID" -o $? -gt 0 ]; then
- stat_fail
- else
- add_daemon xsp
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Xsp Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon xsp
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
diff --git a/extra/xsp/xsp.service b/extra/xsp/xsp.service
deleted file mode 100644
index 36b802e21..000000000
--- a/extra/xsp/xsp.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=XSP Web Server
-
-[Service]
-ExecStart=/usr/bin/xsp --appconfigdir /etc/xsp --nonstop
-
-[Install]
-WantedBy=multi-user.target
diff --git a/extra/xsp/xsp.webapp b/extra/xsp/xsp.webapp
deleted file mode 100644
index a685dd171..000000000
--- a/extra/xsp/xsp.webapp
+++ /dev/null
@@ -1,8 +0,0 @@
-<apps>
- <web-application>
- <name>Root</name>
- <vpath>/</vpath>
- <path>/srv/http/html/xsp</path>
- <vhost>localhost</vhost>
- </web-application>
-</apps>