1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-21 08:15:01 -05:00

Delete packages that are now official

This commit is contained in:
Travis Burtrum 2018-09-08 15:48:14 -04:00
parent f263c28d82
commit 0953112db9
19 changed files with 6 additions and 495 deletions

6
ppa
View File

@ -156,8 +156,14 @@ echo_changed() {
git diff-tree --no-commit-id --name-status -r "$commit" | grep -v ^D | grep PKGBUILD$ | sed -e 's@/PKGBUILD$@@' -e 's@.*/@@' | tr '\n' ' '
}
list_official_packages() {
cd "$src_dir"
ls | xargs -n1 -I {} pacman -Ss '^{}$' | egrep -v "^($repo_name| )"
}
reinstall() {
paclist $repo_name | cut -d' ' -f1 | xargs sudo pacman -S --noconfirm
comm -12 <(pacman -Qq | sort) <(pacman -Slq $repo_name | sort) | xargs sudo pacman -S --noconfirm
}
clean() {

View File

@ -1,3 +0,0 @@
amavisd-new-*.tar.xz
amavisd-new-*-package.log
amavisd-new-*-prepare.log

View File

@ -1,78 +0,0 @@
# Maintainer: Yardena Cohen <yardenack at gmail dot com>
pkgname=amavisd-new
pkgver=2.11.0
pkgrel=1
pkgdesc="High-performance interface between mailer (MTA) and content checkers"
arch=('any')
url="http://www.ijs.si/software/amavisd/"
license=('GPL')
depends=(
'perl>=5.8.2'
'perl-archive-zip>=1.14'
'perl-convert-tnef'
'perl-convert-uulib>=1.4-5'
'perl-mime-tools'
'perl-mailtools>=1.58'
'perl-net-libidn'
'perl-net-server>=0.88'
'perl-io-socket-inet6'
'perl-io-stringy'
'perl-unix-syslog>=1.1-4'
'perl-mail-dkim>=0.31'
'perl-berkeleydb>=0.42'
'bzip2'
'gzip'
)
optdepends=(
'perl-file-libmagic'
'arc: Decoder for: .arc'
'arj: Decoder for: .arj .exe'
'lrzip: Decoder for: .lrz'
'lz4: Decoder for: .lz4'
'lzo: Decoder for: .lzo'
'p7zip: Decoder for: .7z'
'unrar: Decoder for: .rar'
'rpmextract: Decoder for: .rpm'
)
backup=('etc/amavisd/amavisd.conf' 'etc/amavisd/amavisd-custom.conf')
source=("http://www.ijs.si/software/amavisd/amavisd-new-${pkgver}.tar.xz"
"service"
"tmpfiles")
sha256sums=('b41de4f0796cb344120c9792c82fc25177cbf9f51aaa5f91536cdf34aea89906'
'cdfc26a15049ea8526b552ab1bef9ccf9bc8608ee65897801d9ea87de84a7435'
'84bccf5f2b2740b25ea7d15237607f894b7ce7558e1ecba67f2d005497b8bf25')
install=install
prepare() {
sed -i \
-e "s/# @bypass_virus_checks_maps = (1)/@bypass_virus_checks_maps = (1)/g" \
-e "s/# @bypass_spam_checks_maps = (1)/@bypass_spam_checks_maps = (1)/g" \
-e "s/\\\$daemon_user = 'vscan'/\\\$daemon_user = 'amavis'/g" \
-e "s/\\\$daemon_group = 'vscan'/\\\$daemon_group = 'amavis'/g" \
-e "sX# \\\$MYHOME = '/var/amavis'X\\\$MYHOME = '/var/spool/amavis'Xg" \
-e "sX\\\$QUARANTINEDIR = '/var/virusmails'X\\\$QUARANTINEDIR = \"\\\$MYHOME/virus\"Xg" \
-e "sX# \\\$pid_file = \"\\\$MYHOME/var/amavisd.pid\"X\\\$pid_file = \"/run/amavis/pid\"Xg" \
-e "sX# \\\$lock_file = \"\\\$MYHOME/var/amavisd.lock\"X\\\$lock_file = \"/run/amavis/lock\"Xg" \
-e "sX\\\$unix_socketname = \"\\\$MYHOME/amavisd.sock\"X\\\$unix_socketname = \"/run/amavis/sock\"Xg" \
${srcdir}/amavisd-new-${pkgver}/amavisd.conf
}
package() {
cd ${srcdir}/amavisd-new-${pkgver}
install -D -m644 ${srcdir}/service ${pkgdir}/usr/lib/systemd/system/amavisd.service
install -D -m644 ${srcdir}/tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/amavisd.conf
install -D -m755 JpegTester.pm ${pkgdir}/usr/share/perl5/vendor_perl/JpegTester.pm
install -D -m644 LDAP.ldif ${pkgdir}/etc/openldap/schema/amavisd-new.ldif
install -D -m644 LDAP.schema ${pkgdir}/etc/openldap/schema/amavisd-new.schema
install -D -m750 -o 333 -g 333 -d ${pkgdir}/var/spool/amavis/{,db,tmp,var,virus}
mkdir -p \
${pkgdir}/etc/amavisd \
${pkgdir}/usr/share/doc/amavis \
${pkgdir}/usr/bin
install -D -m644 -t ${pkgdir}/etc/amavisd amavisd{.conf,-custom.conf,.conf-default}
install -D -m644 -t ${pkgdir}/usr/share/doc/amavis amavisd-new-{qmqpqq,courier}.patch
install -D -m755 -t ${pkgdir}/usr/bin p0f-analyzer.pl amavisd{,-{agent,nanny,release,signer,snmp-subagent{,-zmq}}}
}

View File

@ -1,32 +0,0 @@
users_and_groups() {
getent group amavis >/dev/null || groupadd -g 333 amavis >/dev/null
getent passwd amavis >/dev/null || useradd -u 333 -M -d /var/spool/amavis -g amavis -s /bin/false amavis >/dev/null
}
filters_howto() {
cat <<EOF
To use virus or spam filters, comment these lines in /etc/amavisd/amavisd.conf:
@bypass_virus_checks_maps = (1);
@bypass_spam_checks_maps = (1);
EOF
}
post_install() {
users_and_groups
filters_howto
}
post_upgrade() {
users_and_groups
[ "$(vercmp $2 2.8.0-1)" -lt 0 ] && cat <<EOF
Things have moved again. Amavis now uses these directories:
/var/spool/amavis <-- homedir, database, quarantine, etc
/run/amavis <-- pid, lock, socket
You must update /etc/amavisd/amavisd.conf to prevent breakage!
EOF
[ "$(vercmp $2 2.6.4-4)" -lt 0 ] && filters_howto || :
}
post_remove() {
groupdel amavis &>/dev/null
userdel amavis &>/dev/null
[ -d /var/spool/amavis ] && echo "You still need to clean up /var/spool/amavis" || :
}

View File

@ -1,18 +0,0 @@
[Unit]
Description=Amavisd Daemon
Wants=postfix.service
Wants=spamassassin.service
After=network.target
[Service]
PIDFile=/run/amavis/pid
User=amavis
Group=amavis
RuntimeDirectory=amavis
RuntimeDirectoryMode=750
ExecStart=/usr/bin/amavisd -c /etc/amavisd/amavisd.conf foreground
ExecReload=/usr/bin/amavisd -c /etc/amavisd/amavisd.conf reload
PrivateTmp=true
[Install]
WantedBy=multi-user.target

View File

@ -1,2 +0,0 @@
d /var/spool/amavis 0750 amavis amavis
d /var/spool/amavis/virus 0750 amavis amavis

View File

@ -1,45 +0,0 @@
# Maintainer: Marcin (CTRL) Wieczorek <marcin@marcin.co>
# Contributor: TDY <tdy@archlinux.info>
# Contributor: Mark Taylor <skymt0 at gmail dot com>
pkgbase=argtable
pkgname=('argtable' 'argtable-docs')
pkgver=2.13
pkgrel=2
pkgdesc="An ANSI C command line parser"
arch=('i686' 'x86_64' 'armv7h')
url="http://argtable.sourceforge.net/"
license=('LGPL')
source=(https://downloads.sourceforge.net/argtable/$pkgname${pkgver/./-}.tar.gz)
sha1sums=('bce828c64c35e16f4c3f8e1f355e4a2a97fe3289')
build() {
cd "$srcdir/${pkgname%-*}${pkgver/./-}"
./configure --prefix=/usr
make
}
check_argtable() {
cd "$srcdir/${pkgname%-*}${pkgver/./-}"
make -k check
}
package_argtable() {
options=('!libtool')
cd "$srcdir/${pkgname%-*}${pkgver/./-}"
sed -i '/^install-data-am:/s/install-dist_exampleDATA //' Makefile
make SUBDIRS="src tests" DESTDIR="$pkgdir/" install
install -D -m644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
package_argtable-docs() {
pkgdesc+=" - documentation and examples"
arch=('any')
cd "$srcdir/${pkgname%-*}${pkgver/./-}"
make -C doc DESTDIR="$pkgdir/" install
make DESTDIR="$pkgdir/" install-dist_exampleDATA
}
# vim:set ts=2 sw=2 et:

View File

@ -1,26 +0,0 @@
# Maintainer: Andreas Bosch <admin@progandy.de>
pkgname=iucode-tool
pkgver=2.2
pkgrel=1
pkgdesc="Tool to manipulate Intel® IA-32/X86-64 microcode bundles"
arch=(x86_64 i686)
url="https://gitlab.com/iucode-tool/iucode-tool/wikis/home"
license=('GPL')
makedepends=()
source=("https://gitlab.com/iucode-tool/releases/raw/master/${pkgname}_${pkgver}.tar.xz"
"https://gitlab.com/iucode-tool/releases/raw/master/${pkgname}_${pkgver}.tar.xz.asc")
noextract=()
sha256sums=('9810daf925b8a9ca244adc4e1916bcab65601c9ebe87e91c2281f78055982971'
'SKIP')
validpgpkeys=('C467A717507BBAFED3C160920BD9E81139CB4807') # Henrique de Moraes Holschuh <hmh@hmh.eng.br>
build() {
cd "$srcdir/${pkgname}-$pkgver"
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
cd "$srcdir/${pkgname}-$pkgver"
make DESTDIR="$pkgdir/" install
}

View File

@ -1,49 +0,0 @@
# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
# Generator : CPANPLUS::Dist::Arch 1.32
pkgname='perl-convert-tnef'
pkgver='0.18'
pkgrel='3'
pkgdesc="Perl module to read TNEF files"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl-io-stringy' 'perl-mime-tools')
makedepends=()
url='https://metacpan.org/release/Convert-TNEF'
source=('http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/Convert-TNEF-0.18.tar.gz')
md5sums=('6f69ff242a807b861c6e68a3d93a58f7')
sha512sums=('00cbe54169c535e6d6d3b53a06eb47808a129d6397c73b5f2b53b93efba20f81d078c16edb7b0108bc037e2cb7f1c92719633519ea17088442ea8f63864eaf07')
_distdir="Convert-TNEF-0.18"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$srcdir/$_distdir"
/usr/bin/perl Makefile.PL
make
)
}
check() {
cd "$srcdir/$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
}
package() {
cd "$srcdir/$_distdir"
make install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et:

View File

@ -1,2 +0,0 @@
Convert-UUlib-*.tar.gz
perl-convert-uulib-*.log

View File

@ -1,50 +0,0 @@
# Maintainer: Yardena Cohen <yardenack at gmail dot com>
# Contributor: Techlive Zheng <techlivezheng [at] gmail [dot] com>
# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
# Contributor: David Zaragoza <david@zaragoza.com.ve>
# Contributor: Piotr Beling <qwak@w8.pl>
# Contributor: Wael Nasreddine <wael@phoenixlinux.org>
# Contributor: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka)
# Contributor: Chih-mao Chen <pkmx.tw@gmail.com>
pkgname='perl-convert-uulib'
pkgver='1.5'
pkgrel='1'
pkgdesc='Perl interface to the uulib library (a.k.a. uudeview/uuenview).'
_dist=Convert-UUlib
arch=('any')
url='http://search.cpan.org/~mlehmann/Convert-UUlib/'
license=('GPL' 'PerlArtistic')
depends=(perl perl-canary-stability)
options=(!emptydirs)
source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Convert-UUlib-${pkgver}.tar.gz")
sha512sums=('92c8b6f3a72546dca21018ddf2863113904f550e3ed950a1898ed4abfcc48738e9ca374f5adbc3226df2db6beeb0e12879ae52cdd067a030c199766d53603ec1')
build() {
cd "${srcdir}"/"${_dist}"-"${pkgver}"
unset PERL5LIB PERL_MM_OPT CPPFLAGS
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
perl Makefile.PL
make
}
check() {
cd "${srcdir}"/"${_dist}"-"${pkgver}"
unset PERL5LIB PERL_MM_OPT
export PERL_MM_USE_DEFAULT=1
make test
}
package() {
cd "${srcdir}"/"${_dist}"-"${pkgver}"
unset PERL5LIB PERL_MM_OPT
make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
find "${pkgdir}" -name '.packlist' -o -name 'perllocal.pod' -delete
}

View File

@ -1,41 +0,0 @@
# Maintainer: Alexandre Bouvier <contact AT amb DOT tf>
# Contributor: Ivan Shapovalov <intelfx@intelfx.name>
# Contributor: Tommaso Sardelli <lacapannadelloziotom AT gmail DOT com>
# Contributor: Philipp Joram <phijor AT t-online DOT de>
pkgname=('python-axolotl-curve25519' 'python2-axolotl-curve25519')
pkgbase=python-axolotl-curve25519
pkgver=0.1
pkgrel=1
pkgdesc="Python wrapper for curve25519 library"
arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/tgalal/python-axolotl-curve25519"
license=('GPL3')
makedepends=('python-setuptools' 'python2-setuptools')
source=("https://files.pythonhosted.org/packages/source/${pkgbase::1}/$pkgbase/$pkgbase-$pkgver.tar.gz")
md5sums=('f28d902df9044f0bf86a35a4bd2ec092')
prepare() {
cp -a "$pkgbase-$pkgver"{,-python2}
}
build() {
cd "$srcdir/$pkgbase-$pkgver"
python setup.py build
cd "$srcdir/$pkgbase-$pkgver-python2"
python2 setup.py build
}
package_python-axolotl-curve25519() {
depends=('python')
cd "$pkgbase-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
package_python2-axolotl-curve25519() {
depends=('python2')
cd "$pkgbase-$pkgver-python2"
python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

View File

@ -1,41 +0,0 @@
# Maintainer: Alexandre Bouvier <contact AT amb DOT tf>
# Contributor: Ivan Shapovalov <intelfx@intelfx.name>
# Contributor: Tommaso Sardelli <lacapannadelloziotom AT gmail DOT com>
# Contributor: Philipp Joram <phijor AT t-online DOT de>
pkgname=('python-axolotl' 'python2-axolotl')
pkgbase=python-axolotl
pkgver=0.1.39
pkgrel=1
pkgdesc="Python port of libaxolotl"
arch=('any')
url="https://github.com/tgalal/python-axolotl"
license=('GPL3')
makedepends=('python-setuptools' 'python2-setuptools')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/tgalal/python-axolotl/archive/$pkgver.tar.gz")
md5sums=('89ae2ace340f02f1377a71063265ffc6')
prepare() {
cp -a "$pkgbase-$pkgver"{,-python2}
}
build() {
cd "$srcdir/$pkgbase-$pkgver"
python setup.py build
cd "$srcdir/$pkgbase-$pkgver-python2"
python2 setup.py build
}
package_python-axolotl() {
depends=('python-protobuf' 'python-crypto' 'python-axolotl-curve25519')
cd "$pkgbase-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
package_python2-axolotl() {
depends=('python2-protobuf' 'python2-crypto' 'python2-axolotl-curve25519')
cd "$pkgbase-$pkgver-python2"
python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

View File

@ -1,6 +0,0 @@
tinyssh-*.tar.bz2
tinyssh-*.tar.xz
tinyssh-*.tar.gz
tinyssh-*.tar.gz.asc
src/*
pkg/*

View File

@ -1,41 +0,0 @@
# Maintainer: Adrian Perez <aperez@igalia.com>
# Co-Maintainer: Giancarlo Razzolini <grazzolini@gmail.com>
pkgname='tinyssh'
pkgver='20160812'
pkgrel='1'
pkgdesc='Small SSH server using NaCl / TweetNaCl'
url='http://tinyssh.org'
arch=('x86_64' 'i686' 'arm' 'armv6h')
license=('Public Domain')
makedepends=('gcc' 'make')
install='tinyssh.install'
source=("${pkgname}-${pkgver}.tar.gz::https://mojzis.com/software/${pkgname}/${pkgname}-${pkgver}.tar.gz"
tinyssh@.socket tinyssh@.service tinysshgenkeys.service
"${pkgname}-${pkgver}.tar.gz.asc::https://mojzis.com/software/${pkgname}/${pkgname}-${pkgver}.tar.gz.asc")
sha512sums=('54817e7e0da778eb4e404e165caff321ef3c8b13f1e1840c9fad1e8f6f64fee086019f4222199bf2b47e19754913400bb719443a944c612e987e3d3fdae14147'
'9fbc5ae3b6d1df6d78eedf812fdd8fe115e81fc0811f4799d541e37239d53db22203e691026ed479a38c9f17043e52d43b44054be51ae03c2f12f3f235c5b83a'
'9c9ba78c5b61f64f42f59cfe556519d9ab2c3e4d45f36d6f78c5e7728b050c494673239630dae66398006f3f20fb3a26f22899cd0728ed17e61c655b372236b3'
'415cdfe649eedcbb11a263938c0a66bef42432210baa2e2c9e428d5e8e486fb4dedad53b9fdb9086bf97ca506909d3b3054aaca56f02c063e0b8d5fab4e56198'
'SKIP')
validpgpkeys=('AADF2EDF5529F1702772C8A2DEC4D246931EF49B')
build () {
cd "${srcdir}/${pkgname}-${pkgver//./}"
make
}
package () {
cd "${srcdir}/${pkgname}-${pkgver//./}"
make install DESTDIR="${pkgdir}"
# Nowadays /usr/sbin is a symlink to /usr/bin
mv "${pkgdir}"/usr/{s,}bin
install -m 755 -d ${pkgdir}/etc/tinyssh
install -m 755 -d "${pkgdir}/usr/lib/systemd/system"
install -m 644 -t "${pkgdir}/usr/lib/systemd/system" \
"${srcdir}/tinysshgenkeys.service" \
"${srcdir}/tinyssh@.service" \
"${srcdir}/tinyssh@.socket"
}

View File

@ -1,31 +0,0 @@
#! /bin/bash
#
# tinyssh.install
# Copyright (C) 2014 Adrian Perez <aperez@igalia.com>
#
# Distributed under terms of the MIT license.
#
set -e
post_install () {
cat <<-EOF
A generic systemd template unit has been installed, which can be used
to make TinySSH listen on more than one interface/address. To configure
it in the default port (22) on all interfaces, use:
systemctl enable tinyssh@22.socket
systemctl start tinyssh@22.socket
Note that you can also specify the interface address, and multiple
address/port combinations can be configured at the same time by writing
the "ipaddress:port" as the unit instance. For example:
systemctl enable tinyssh@192.168.0.10:22222.socket
systemctl start tinyssh@192.168.0.10:22222.socket
EOF
}
post_upgrade () {
post_install
}

View File

@ -1,9 +0,0 @@
[Unit]
Description=TinySSH Per-Connection Daemon
Documentation=http://tinyssh.org
After=tinysshgenkeys.service
[Service]
ExecStart=/usr/bin/tinysshd /etc/tinyssh/sshkeydir
StandardInput=socket
StandardError=journal

View File

@ -1,13 +0,0 @@
[Unit]
Description=TinySSH service (socket-activated)
Documentation=http://tinyssh.org
Wants=tinysshgenkeys.service
[Socket]
ListenStream=%i
Accept=true
KeepAlive=true
IPTOS=low-delay
[Install]
WantedBy=sockets.target

View File

@ -1,8 +0,0 @@
[Unit]
Description=TinySSH Key Generation
ConditionPathIsDirectory=!/etc/tinyssh/sshkeydir
[Service]
ExecStart=/usr/bin/tinysshd-makekey /etc/tinyssh/sshkeydir
Type=oneshot
RemainAfterExit=true