diff options
Diffstat (limited to '')
58 files changed, 0 insertions, 1958 deletions
@@ -7,8 +7,3 @@ The file /watch executes the watch file in each directory. This lists all packages that has been updated upstream and each upstream that is not reachable. - -I run this automatically every half hour and my -RSS reader will notify me when there are packages -in need of update. - @@ -1,2 +0,0 @@ -More automation! -Add simple-scan-nocolord (cannot get the build to produces proper binaries) diff --git a/libspoton/PKGBUILD b/libspoton/PKGBUILD deleted file mode 100644 index 289f8ad..0000000 --- a/libspoton/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> - -pkgname=libspoton -pkgver=2017.01.20 -pkgrel=1 -pkgdesc='Binding library for Spot-On' -url='http://spot-on.sourceforge.net/' -arch=('i686' 'x86_64') -license=('custom:3-clause BSD') -depends=('sqlite' 'libgcrypt>=1.5' 'libntru') -makedepends=('sqlite' 'libgcrypt>=1.5' 'make' 'gcc' 'coreutils') -source=("Spot-On-${pkgver}.zip::http://downloads.sourceforge.net/project/spot-on/Version%20${pkgver}/Spot-On-Src.d.zip?r=") -sha256sums=('45ff31d37092f653c0b94b4dc47b16f64c4b1327841bacfd8a4f624b63a6e04c') - - -build() { - cd "$srcdir/spot-on.d/libSpotOn" - make -} - -package () { - cd "$srcdir/spot-on.d/libSpotOn" - install -dm755 -- "$pkgdir/usr/lib" - install -m755 -- libspoton.so "$pkgdir/usr/lib/libspoton.so" - install -dm755 -- "$pkgdir/usr/include" - install -m755 -- libspoton.h "$pkgdir/usr/include/libspoton.h" -} - diff --git a/libspoton/upload b/libspoton/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/libspoton/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/mesa-nowayland/LICENSE b/mesa-nowayland/LICENSE deleted file mode 100644 index ae33d27..0000000 --- a/mesa-nowayland/LICENSE +++ /dev/null @@ -1,82 +0,0 @@ -Disclaimer - -Mesa is a 3-D graphics library with an API which is very similar to -that of OpenGL* -To the extent that Mesa utilizes the OpenGL command syntax or state -machine, it is being used with authorization from Silicon Graphics, -Inc.(SGI). However, the author does not possess an OpenGL license -from SGI, and makes no claim that Mesa is in any way a compatible -replacement for OpenGL or associated with SGI. Those who want a -licensed implementation of OpenGL should contact a licensed -vendor. - -Please do not refer to the library as MesaGL (for legal -reasons). It's just Mesa or The Mesa 3-D graphics -library - -* OpenGL is a trademark of Silicon Graphics Incorporated. - -License / Copyright Information - -The Mesa distribution consists of several components. Different copyrights -and licenses apply to different components. For example, GLUT is copyrighted -by Mark Kilgard, some demo programs are copyrighted by SGI, some of the Mesa -device drivers are copyrighted by their authors. See below for a list of -Mesa's main components and the license for each. - -The core Mesa library is licensed according to the terms of the MIT license. -This allows integration with the XFree86, Xorg and DRI projects. - -The default Mesa license is as follows: - -Copyright (C) 1999-2007 Brian Paul All Rights Reserved. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the "Software"), -to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Attention, Contributors - -When contributing to the Mesa project you must agree to the licensing terms -of the component to which you're contributing. -The following section lists the primary components of the Mesa distribution -and their respective licenses. - - -Mesa Component Licenses - -Component Location Primary Author License ----------------------------------------------------------------------------- -Main Mesa code src/mesa/ Brian Paul Mesa (MIT) - -Device drivers src/mesa/drivers/* See drivers See drivers - -Ext headers include/GL/glext.h SGI SGI Free B - include/GL/glxext.h - -GLUT src/glut/ Mark Kilgard Mark's copyright - -Mesa GLU library src/glu/mesa/ Brian Paul GNU-LGPL - -SGI GLU library src/glu/sgi/ SGI SGI Free B - -demo programs progs/demos/ various see source files - -X demos progs/xdemos/ Brian Paul see source files - -SGI demos progs/samples/ SGI SGI copyright - -RedBook demos progs/redbook/ SGI SGI copyright diff --git a/mesa-nowayland/PKGBUILD b/mesa-nowayland/PKGBUILD deleted file mode 100644 index 6520bf2..0000000 --- a/mesa-nowayland/PKGBUILD +++ /dev/null @@ -1,108 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> -# Maintainer of the mesa package: Jan de Groot <jgc@archlinux.org> -# Maintainer of the mesa package: Andreas Radke <andyrtr@archlinux.org> - -pkgname=mesa-nowayland -pkgver=13.0.1 -pkgrel=1 -arch=('i686' 'x86_64') -pkgdesc="An open-source implementation of the OpenGL specification" -makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto' - 'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'elfutils' 'llvm' - 'systemd' 'libomxil-bellagio' 'libgcrypt' 'libclc' 'clang') -depends=('libdrm' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'elfutils' - 'libomxil-bellagio' 'libgcrypt' 'libtxc_dxtn' 'llvm-libs') -optdepends=('opengl-man-pages: for the OpenGL API man pages' - 'mesa-vdpau: for accelerated video playback' - 'libva-mesa-driver: for accelerated video playback') -conflicts=("mesa") -provides=("mesa=$pkgver" - 'ati-dri' 'intel-dri' 'nouveau-dri' 'svga-dri' 'mesa-dri') -conflicts=('ati-dri' 'intel-dri' 'nouveau-dri' 'svga-dri' 'mesa-dri') -replaces=('ati-dri' 'intel-dri' 'nouveau-dri' 'svga-dri' 'mesa-dri') -url="http://mesa3d.sourceforge.net" -license=('custom') -source=(ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/mesa-${pkgver}.tar.xz - LICENSE - remove-libpthread-stubs.patch) -sha256sums=('71962fb2bf77d33b0ad4a565b490dbbeaf4619099c6d9722f04a73187957a731' - '7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2' - '75ab53ad44b95204c788a2988e97a5cb963bdbf6072a5466949a2afb79821c8f') - -prepare() { - cd ${srcdir}/mesa-${pkgver} - - # Now mesa checks for libpthread-stubs - so remove the check - patch -Np1 -i ../remove-libpthread-stubs.patch - - autoreconf -fiv -} - -build() { - cd ${srcdir}/mesa-${pkgver} - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-dri-driverdir=/usr/lib/xorg/modules/dri \ - --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast,virgl \ - --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \ - --with-egl-platforms=x11,drm \ - --with-vulkan-drivers=intel,radeon \ - --with-sha1=libgcrypt \ - --disable-xvmc \ - --enable-gallium-llvm \ - --enable-llvm-shared-libs \ - --enable-shared-glapi \ - --enable-egl \ - --enable-glx \ - --enable-glx-tls \ - --enable-gles1 \ - --enable-gles2 \ - --enable-gbm \ - --enable-dri \ - --enable-osmesa \ - --enable-texture-float \ - --enable-xa \ - --enable-vdpau \ - --enable-omx \ - --enable-nine \ - --enable-opencl \ - --enable-opencl-icd \ - --with-clang-libdir=/usr/lib - - make - - # fake installation - mkdir -p $srcdir/fakeinstall - make DESTDIR=${srcdir}/fakeinstall install -} - -package() { - install -m755 -d ${pkgdir}/etc - cp -rv ${srcdir}/fakeinstall/etc/drirc ${pkgdir}/etc - - install -m755 -d ${pkgdir}/usr/lib/xorg/modules/dri - # ati-dri, nouveau-dri, intel-dri, svga-dri, swrast - cp -av ${srcdir}/fakeinstall/usr/lib/xorg/modules/dri/* ${pkgdir}/usr/lib/xorg/modules/dri - - cp -rv ${srcdir}/fakeinstall/usr/lib/bellagio ${pkgdir}/usr/lib - cp -rv ${srcdir}/fakeinstall/usr/lib/d3d ${pkgdir}/usr/lib - cp -rv ${srcdir}/fakeinstall/usr/lib/lib{gbm,glapi}.so* ${pkgdir}/usr/lib/ - cp -rv ${srcdir}/fakeinstall/usr/lib/libOSMesa.so* ${pkgdir}/usr/lib/ - cp -rv ${srcdir}/fakeinstall/usr/lib/libxatracker.so* ${pkgdir}/usr/lib/ - - cp -rv ${srcdir}/fakeinstall/usr/include ${pkgdir}/usr - cp -rv ${srcdir}/fakeinstall/usr/lib/pkgconfig ${pkgdir}/usr/lib/ - - # remove vulkan headers - rm -rf ${pkgdir}/usr/include/vulkan - - install -m755 -d ${pkgdir}/usr/lib/mesa - # move libgl/EGL/glesv*.so to not conflict with blobs - may break .pc files ? - cp -rv ${srcdir}/fakeinstall/usr/lib/libGL.so* ${pkgdir}/usr/lib/mesa/ - cp -rv ${srcdir}/fakeinstall/usr/lib/libEGL.so* ${pkgdir}/usr/lib/mesa/ - cp -rv ${srcdir}/fakeinstall/usr/lib/libGLES*.so* ${pkgdir}/usr/lib/mesa/ - - install -m755 -d "${pkgdir}/usr/share/licenses/mesa" - install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa/" -} diff --git a/mesa-nowayland/remove-libpthread-stubs.patch b/mesa-nowayland/remove-libpthread-stubs.patch deleted file mode 100644 index efe8aad..0000000 --- a/mesa-nowayland/remove-libpthread-stubs.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 54416b4..8a708d3 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -824,7 +824,7 @@ test -z "$PTHREAD_LIBS" && PTHREAD_LIBS="-lpthread" - - dnl pthread-stubs is mandatory on targets where it exists - case "$host_os" in --cygwin* ) -+cygwin* | linux* ) - pthread_stubs_possible="no" - ;; - * ) diff --git a/mesa-nowayland/upload b/mesa-nowayland/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/mesa-nowayland/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/newsd/0001-Fix-some-errors.patch b/newsd/0001-Fix-some-errors.patch deleted file mode 100644 index 6c29ef9..0000000 --- a/newsd/0001-Fix-some-errors.patch +++ /dev/null @@ -1,97 +0,0 @@ -From 7ea16aa17813ea8fc4a43853804c2ebe99ebb1fa Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= <maandree@operamail.com> -Date: Thu, 19 Nov 2015 21:58:27 +0100 -Subject: [PATCH] Fix some errors -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Mattias Andrée <maandree@operamail.com> ---- - Makefile | 7 +++---- - Server.C | 6 +----- - everything.H | 1 + - newsd.conf.pod | 6 ++++++ - 4 files changed, 11 insertions(+), 9 deletions(-) - -diff --git a/Makefile b/Makefile -index 73f5d9f..1e2c1b0 100644 ---- a/Makefile -+++ b/Makefile -@@ -105,10 +105,9 @@ MANPAGES = newsd.man newsd.$(CAT8EXT) \ - $(POD2MAN) $< >$@ - .pod.0 .pod.1m .pod.5 .pod.8: - echo Formatting $@... -- $(RM) $@.roff -- $(POD2MAN) $< >$@.roff -- $(NROFF) -man $@.roff >$@ -- $(RM) $@.roff -+ $(POD2MAN) $< > $@ -+ sed -i 's/^\.TH NEWSD\.CONF.*$$/\.TH newsd.conf 5/' $@ -+ sed -i 's/^\.TH NEWSD.*$$/\.TH newsd 8/' $@ - .pod.z: - echo Formatting $@... - $(RM) $@ $@.roff $@.tmp $@.tmp.z -diff --git a/Server.C b/Server.C -index 58aff13..f61ce38 100644 ---- a/Server.C -+++ b/Server.C -@@ -964,11 +964,7 @@ int Server::Accept() - // fprintf(stderr, "Listening for connect requests on port %d\n", - // (int)port); - --#if defined(DARWIN) | defined(BSD) -- int length = sizeof(sin); --#else -- size_t length = sizeof(sin); --#endif -+ socklen_t length = sizeof(sin); - - msgsock = accept(sock, (struct sockaddr*)&sin, &length); - if (msgsock < 0) -diff --git a/everything.H b/everything.H -index afc861a..350fe47 100644 ---- a/everything.H -+++ b/everything.H -@@ -43,6 +43,7 @@ - #include <time.h> - #include <pwd.h> - #include <grp.h> -+#include <limits.h> - - using namespace std; - -diff --git a/newsd.conf.pod b/newsd.conf.pod -index 768d2f5..9f0f75f 100644 ---- a/newsd.conf.pod -+++ b/newsd.conf.pod -@@ -244,6 +244,8 @@ replies to be sent to the specifies address, typically a mail - gateway back to the newsgroup. If set to "-", no Reply-To header - will be sent. The default is "-". - -+=back -+ - =head1 .INFO FILES - - I<newsd> automatically creates and maintains little ".info" -@@ -256,6 +258,8 @@ a problem, in which case the daemon should not be running. - - =head1 SEE ALSO - -+=over -+ - =item newsd(8) -- erco's simple nntp news server - - =item RFC 977 -- NNTP Protocol -@@ -264,6 +268,8 @@ a problem, in which case the daemon should not be running. - - =item RFC 1036 -- Usenet news messages format - -+=back -+ - =head1 REPORTING BUGS - - Report bugs using the form at "http://www.easysw.com/~mike/newsd/". --- -2.6.2 - diff --git a/newsd/PKGBUILD b/newsd/PKGBUILD deleted file mode 100644 index af99bf5..0000000 --- a/newsd/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> - -pkgname=newsd -pkgver=1.44 -pkgrel=1 -pkgdesc='Standalone local nntp server' -url='http://www.msweet.org/projects.php?Z4' -arch=('i686' 'x86_64') -license=('GPL2') -depends=(gcc-libs) -makedepends=(gcc-libs perl sed) -source=("http://www.msweet.org/files/project4/newsd-1.44-source.tar.gz" - 0001-Fix-some-errors.patch) -sha256sums=(e6d97cc347bc8f897cfa4c2f4aa80690fa7018efebc39555b1ab4aa19edee406 - 75d69ea858b55f60581e19ce18925b6a56da1f869aff8c0fcac9feb2c4924c58) - - - -build() -{ - cd "${srcdir}/newsd-${pkgver}" - ./configure --sbindir=/usr/bin - patch -Np1 -i ../0001-Fix-some-errors.patch - make -} - -package() -{ - cd "${srcdir}/newsd-${pkgver}" - make install DESTDIR="${pkgdir}" -} - diff --git a/newsd/upload b/newsd/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/newsd/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/newsd/watch b/newsd/watch deleted file mode 100755 index e70112c..0000000 --- a/newsd/watch +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -[ -f 'release' ] && rm 'release' - -wget 'http://www.msweet.org/projects.php?Z4' -O release >/dev/null 2>/dev/null - -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - < release grep -Poi '>newsd [^<>]* source archive<' | sed 1q | sed 's/ tar.[^ ]* / /g' | dd conv=lcase 2>/dev/null | md5sum > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'newsd' - fi -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'newsd (unfetchable)' -fi - diff --git a/pony-initialisation/PKGBUILD b/pony-initialisation/PKGBUILD deleted file mode 100644 index 76ed2c4..0000000 --- a/pony-initialisation/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> - -pkgname=pony-initialisation -pkgver=1381025241 -pkgrel=2 -pkgdesc="System bootup scripts for sysvinit" -url="https://github.com/GNU-Pony/pony-initialisation" -arch=(any) -license=(GPL3) -backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown) -depends=(glibc bash coreutils iproute2 ncurses kbd findutils) -makedepends=("dhcpcd: DHCP network configuration" - "bridge-utils: Network bridging support" - "net-tools: Network support" - "wireless_tools: Wireless networking" - "sysvinit: SysV init support" - "systemd: new crypttab format support") -provides=(initscripts initscripts-fork) -conflicts=(initscripts initscripts-fork) -makedepends=(make coreutils grep sed asciidoc texinfo gzip) -install=pony-initialisation.install -source=("${url}/archive/${pkgver}.tar.gz") -sha256sums=(56cfd3d3e13f0507d251c34079fc57f301e11934ff9ddecc9591798691a00c62) - - -build() { - cd "${srcdir}/pony-initialisation-${pkgver}" - make DESTDIR="${pkgdir}" PREFIX= LIBEXEC=/lib DATA=/usr/share info completion/{bash,zsh}-completion.install -} - -package() { - cd "${srcdir}/pony-initialisation-${pkgver}" - make -j1 DESTDIR="${pkgdir}" PREFIX= LIBEXEC=/lib DATA=/usr/share install install_systemdcompatlayer install_all_daemons - _dir="${pkgdir}/usr/share/licenses/${pkgname}" - ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE" -} - diff --git a/pony-initialisation/pony-initialisation.install b/pony-initialisation/pony-initialisation.install deleted file mode 100644 index 8d34bd3..0000000 --- a/pony-initialisation/pony-initialisation.install +++ /dev/null @@ -1,23 +0,0 @@ -_files=(rc.conf rc.d) - -infodir="usr/share/info" - - -post_install() { - [[ -x "usr/bin/install-info" ]] || return 0 - for file in "${_files[@]}"; do - install-info -- "${infodir}/${file}.info.gz" "${infodir}/dir" 2> /dev/null - done -} - -post_upgrade() { - post_install "$1" -} - -pre_remove() { - [[ -x "usr/bin/install-info" ]] || return 0 - for file in "${_files[@]}"; do - install-info --delete -- "${infodir}/${file}.info.gz" "${infodir}/dir" 2> /dev/null - done -} - diff --git a/pony-initialisation/upload b/pony-initialisation/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/pony-initialisation/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/port-trigger/PKGBUILD b/port-trigger/PKGBUILD deleted file mode 100644 index aa21482..0000000 --- a/port-trigger/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> - -pkgname=port-trigger -pkgver=2 -pkgrel=1 -pkgdesc="Run programs when someone makes a connection to a specific port" -arch=('any') -url="https://github.com/maandree/port-trigger" -license=('GPL3') -depends=('java-runtime') -makedepends=('sed' 'java-environment' 'texinfo') -source=("${url}/archive/${pkgver}.tar.gz") -sha256sums=('57dbcee8065bc15c6d0cb6042c36f08b61256166e0b18e63283a167b02e7c083') - - -build() { - cd "${srcdir}/port-trigger-${pkgver}" - make DESTDIR="$pkgdir" -} - -package() { - cd "${srcdir}/port-trigger-${pkgver}" - make DESTDIR="$pkgdir" install -} - diff --git a/port-trigger/upload b/port-trigger/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/port-trigger/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/qtchess/PKGBUILD b/qtchess/PKGBUILD deleted file mode 100644 index fb5fdd3..0000000 --- a/qtchess/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> -# Contributor: kleintux <reg-archlinux AT klein DOT tuxli DOT ch> - -pkgname=qtchess -pkgver=2021.03.15 -pkgrel=2 -pkgdesc='Online chess game client written in Qt' -url='https://textbrowser.github.io/qtchess/' -arch=('i686' 'x86_64') -license=('custom:3-clause BSD') -# (license notice included in qtchess_main.cc) -depends=('qt5-base' 'libgl') -makedepends=('qt5-base' 'libgl' 'qt5-tools') -source=(qtchess-${pkgver}.tar.gz::"https://github.com/textbrowser/qtchess/archive/refs/tags/${pkgver}.tar.gz") -sha256sums=('b67e182beca7d203dd07b995a6d4cae752dc42ed76439694e1befe5d6bd5f2be') - - -prepare () { - cd "$srcdir/qtchess-${pkgver}" - sed '/-Werror/d' < qtchess.pro > qtchess.pro.fixed -} - -build () { - cd "$srcdir/qtchess-${pkgver}" - qmake-qt5 -o Makefile qtchess.pro.fixed - make -} - -package () { - cd "$srcdir/qtchess-${pkgver}" - mkdir -p -- "${pkgdir}/usr/bin/" - cp -- QtChess "${pkgdir}/usr/bin/qtchess" -} diff --git a/qtchess/upload b/qtchess/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/qtchess/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/qtchess/watch b/qtchess/watch deleted file mode 100755 index 05d5681..0000000 --- a/qtchess/watch +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -[ -f 'index.html' ] && rm 'index.html' -wget http://qtchess.sourceforge.net/ >/dev/null 2>/dev/null -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - grep 'has been released' < index.html | md5sum > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'dooble' - fi - rm index.html -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'dooble (unfetchable)' -fi - diff --git a/rssyl/.gitignore b/rssyl/.gitignore deleted file mode 100644 index 98ecdaf..0000000 --- a/rssyl/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/plugins.* diff --git a/rssyl/PKGBUILD b/rssyl/PKGBUILD deleted file mode 100644 index 1113c95..0000000 --- a/rssyl/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -pkgname=rssyl -pkgver=0.34 -pkgrel=1 -pkgdesc="claws-mail plugin for RSS and Atom feeds" -arch=(i686 x86_64) -url="http://www.claws-mail.org/plugin.php?plugin=rssyl" -license=('GPL') -groups=(network) -depends=('claws-mail>=3.9.0' 'curl' 'libxml2') -source=("http://www.claws-mail.org/downloads/plugins/$pkgname-$pkgver.tar.gz") -md5sums=('49b45608e8d160b3625d3d50016ec2ca') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir/" install -} diff --git a/rssyl/upload b/rssyl/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/rssyl/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/rssyl/watch b/rssyl/watch deleted file mode 100755 index caeb5e8..0000000 --- a/rssyl/watch +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -[ -f 'plugins.php?branch=EXT' ] && rm 'plugins.php?branch=EXT' -wget 'http://www.claws-mail.org/plugins.php?branch=EXT' >/dev/null 2>/dev/null -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - head --lines=$(( $(grep -n RSSyl < 'plugins.php?branch=EXT' | cut -f 1 -d \:) + 30 )) < 'plugins.php?branch=EXT' | tail --lines=30 | grep nowrap | md5sum > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'rssyl' - fi - rm 'plugins.php?branch=EXT' -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'rssyl (unfetchable)' -fi - diff --git a/shadow-libpassphrase/0001-Use-libpassphrase-when-entering-passwords.patch b/shadow-libpassphrase/0001-Use-libpassphrase-when-entering-passwords.patch deleted file mode 100644 index 226f4b5..0000000 --- a/shadow-libpassphrase/0001-Use-libpassphrase-when-entering-passwords.patch +++ /dev/null @@ -1,460 +0,0 @@ -From d5074436f7d8f9666fe1e6aac6d732ea62d182c8 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= <maandree@member.fsf.org> -Date: Sat, 5 Dec 2015 21:09:45 +0100 -Subject: [PATCH 1/2] Use libpassphrase when entering passwords. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -libpassphrase can be compiled so that it can display -the strength of the password, including telling the -user that she is using a common passphrase. - -As a bonus, libpassphrase can be configured to do -something else then just be slient without echoes. - -Signed-off-by: Mattias Andrée <maandree@member.fsf.org> ---- - ChangeLog | 10 ++++++++ - README | 1 + - lib/Makefile.am | 6 +++-- - lib/pwauth.c | 6 +++-- - lib/xgetpass.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - lib/xgetpass.h | 35 ++++++++++++++++++++++++++++ - libmisc/pam_pass.c | 40 +++++++++++++++++++++++++++++++- - src/gpasswd.c | 6 +++-- - src/newgrp.c | 4 +++- - src/passwd.c | 8 ++++--- - src/sulogin.c | 6 +++-- - 11 files changed, 176 insertions(+), 13 deletions(-) - create mode 100644 lib/xgetpass.c - create mode 100644 lib/xgetpass.h - -diff --git a/ChangeLog b/ChangeLog -index 23cd5ae..bc43385 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,3 +1,13 @@ -+2015-12-05 Mattias Andrée <maandree@member.fsf.org> -+ -+ * lib/xgetpass.c: Add ability to use libpassphrase>=1449331105 instead of getpass. -+ * libmisc/pam_pass.c: Use xgetpass instead of misc_conv when entering (not retyping) the new password. -+ * lib/pwauth.c: Replace getpass with xgetpass. -+ * src/gpasswd.c: Likewise. -+ * src/newgrp.c: Likewise. -+ * src/passwd.c: Likewise. -+ * src/sulogin.c: Likewise. -+ - 2014-05-09 Christian Perrier <bubulle@debian.org> - - * Include patches only included in Debian for 4.2 -diff --git a/README b/README -index e531de6..5c27142 100644 ---- a/README -+++ b/README -@@ -87,6 +87,7 @@ Leonard N. Zubkoff <lnz@dandelion.com> - Luca Berra <bluca@www.polimi.it> - Lukáš Kuklínek <lkukline@redhat.com> - Lutz Schwalowsky <schwalow@mineralogie.uni-hamburg.de> -+Mattias Andrée <maandree@member.fsf.org> - Marc Ewing <marc@redhat.com> - Martin Bene <mb@sime.com> - Martin Mares <mj@gts.cz> -diff --git a/lib/Makefile.am b/lib/Makefile.am -index 6db86cd..3fa3817 100644 ---- a/lib/Makefile.am -+++ b/lib/Makefile.am -@@ -5,7 +5,7 @@ DEFS = - - noinst_LTLIBRARIES = libshadow.la - --libshadow_la_LDFLAGS = -version-info 0:0:0 -+libshadow_la_LDFLAGS = -version-info 0:0:0 -lpassphrase - - libshadow_la_SOURCES = \ - commonio.c \ -@@ -53,7 +53,9 @@ libshadow_la_SOURCES = \ - shadowio.h \ - shadowmem.c \ - spawn.c \ -- utent.c -+ utent.c \ -+ xgetpass.c \ -+ xgetpass.h - - if WITH_TCB - libshadow_la_SOURCES += tcbfuncs.c tcbfuncs.h -diff --git a/lib/pwauth.c b/lib/pwauth.c -index 9e24fbf..6775465 100644 ---- a/lib/pwauth.c -+++ b/lib/pwauth.c -@@ -3,6 +3,7 @@ - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2003 - 2006, Tomasz Kłoczko - * Copyright (c) 2008 - 2009, Nicolas François -+ * Copyright (c) 2015 , Mattias Andrée - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without -@@ -45,6 +46,7 @@ - #include "defines.h" - #include "pwauth.h" - #include "getdef.h" -+#include "xgetpass.h" - #ifdef SKEY - #include <skey.h> - #endif -@@ -161,7 +163,7 @@ int pw_auth (const char *cipher, - #endif - - snprintf (prompt, sizeof prompt, cp, user); -- clear = getpass (prompt); -+ clear = xgetpass (prompt, 0); - if (NULL == clear) { - static char c[1]; - -@@ -194,7 +196,7 @@ int pw_auth (const char *cipher, - * -- AR 8/22/1999 - */ - if ((0 != retval) && ('\0' == input[0]) && use_skey) { -- clear = getpass (prompt); -+ clear = xgetpass (prompt, 0); - if (NULL == clear) { - static char c[1]; - -diff --git a/lib/xgetpass.c b/lib/xgetpass.c -new file mode 100644 -index 0000000..a44ffc0 ---- /dev/null -+++ b/lib/xgetpass.c -@@ -0,0 +1,67 @@ -+/* -+ * Copyright (c) 2015 , Mattias Andrée -+ * All rights reserved. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions -+ * are met: -+ * 1. Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * 2. Redistributions in binary form must reproduce the above copyright -+ * notice, this list of conditions and the following disclaimer in the -+ * documentation and/or other materials provided with the distribution. -+ * 3. The name of the copyright holders or contributors may not be used to -+ * endorse or promote products derived from this software without -+ * specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -+ * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -+ */ -+ -+#include <config.h> -+ -+#ident "$Id$" -+ -+#include <unistd.h> -+#include <passphrase.h> -+#include <fcntl.h> -+#include <errno.h> -+#include <stdio.h> -+ -+char *xgetpass (const char *prompt, int is_new) -+{ -+ int fd, saved_errno; -+ char *pass; -+ -+ fd = open ("/dev/tty", O_RDWR); -+ if (-1 == fd) { -+ return NULL; -+ } -+ -+ passphrase_disable_echo1 (fd); -+ fprintf (stderr, "%s", prompt); -+ fflush (stderr); -+ pass = passphrase_read2 (fd, is_new -+ ? PASSPHRASE_READ_NEW | -+ PASSPHRASE_READ_SCREEN_FREE -+ : PASSPHRASE_READ_EXISTING); -+ saved_errno = errno; -+ passphrase_reenable_echo1 (fd); -+ errno = saved_errno; -+ return pass; -+ -+ /* -+ return getpass (prompt); -+ (void) is_new; -+ */ -+} -+ -diff --git a/lib/xgetpass.h b/lib/xgetpass.h -new file mode 100644 -index 0000000..b1abbb0 ---- /dev/null -+++ b/lib/xgetpass.h -@@ -0,0 +1,35 @@ -+/* -+ * Copyright (c) 2015 , Mattias Andrée -+ * All rights reserved. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions -+ * are met: -+ * 1. Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * 2. Redistributions in binary form must reproduce the above copyright -+ * notice, this list of conditions and the following disclaimer in the -+ * documentation and/or other materials provided with the distribution. -+ * 3. The name of the copyright holders or contributors may not be used to -+ * endorse or promote products derived from this software without -+ * specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -+ * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -+ */ -+ -+/* -+ * $Id$ -+ */ -+ -+ -+char *xgetpass (const char *prompt, int is_new); -diff --git a/libmisc/pam_pass.c b/libmisc/pam_pass.c -index a89bb2c..93029ec 100644 ---- a/libmisc/pam_pass.c -+++ b/libmisc/pam_pass.c -@@ -2,6 +2,7 @@ - * Copyright (c) 1997 - 1999, Marek Michałkiewicz - * Copyright (c) 2001 - 2005, Tomasz Kłoczko - * Copyright (c) 2008 , Nicolas François -+ * Copyright (c) 2015 , Mattias Andrée - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without -@@ -42,22 +43,59 @@ - #include <stdio.h> - #include <stdlib.h> - #include <unistd.h> -+#include <string.h> - #include <sys/types.h> - #include "defines.h" - #include "pam_defs.h" - #include "prototypes.h" -+#include "xgetpass.h" -+ -+static int xgetpass_conv (int num_msg, const struct pam_message **msg, -+ struct pam_response **resp, void *appdata_ptr) -+{ -+ struct pam_response *response; -+ static int first_enter = 0; -+ int current; -+ int saved_errno; -+ -+ if ((num_msg != 1) || (msg[0]->msg_style != PAM_PROMPT_ECHO_OFF)) -+ return conv.conv (num_msg, msg, resp, appdata_ptr); -+ -+ response = calloc((size_t)1, sizeof(struct pam_response)); -+ if (response == NULL) { -+ return PAM_CONV_ERR; -+ } -+ -+ current = strchr(msg[0]->msg, '(') != NULL; -+ first_enter ^= !current; -+ response->resp_retcode = 0; -+ response->resp = xgetpass (msg[0]->msg, first_enter & !current); -+ if (response->resp == NULL) { -+ saved_errno = errno; -+ free(response); -+ errno = saved_errno; -+ return PAM_CONV_ERR; -+ } -+ -+ *resp = response; -+ return PAM_SUCCESS; -+} -+ - - void do_pam_passwd (const char *user, bool silent, bool change_expired) - { - pam_handle_t *pamh = NULL; - int flags = 0, ret; -+ struct pam_conv conv_proper = conv; -+ -+ conv_proper.conv = xgetpass_conv; - - if (silent) - flags |= PAM_SILENT; - if (change_expired) - flags |= PAM_CHANGE_EXPIRED_AUTHTOK; - -- ret = pam_start ("passwd", user, &conv, &pamh); -+ ret = pam_start ("passwd", user, &conv_proper, &pamh); - if (ret != PAM_SUCCESS) { - fprintf (stderr, - _("passwd: pam_start() failed, error %d\n"), ret); -diff --git a/src/gpasswd.c b/src/gpasswd.c -index 8959a35..811a93d 100644 ---- a/src/gpasswd.c -+++ b/src/gpasswd.c -@@ -3,6 +3,7 @@ - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2011, Nicolas François -+ * Copyright (c) 2015 , Mattias Andrée - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without -@@ -46,6 +47,7 @@ - #include "groupio.h" - #include "nscd.h" - #include "prototypes.h" -+#include "xgetpass.h" - #ifdef SHADOWGRP - #include "sgroupio.h" - #endif -@@ -909,14 +911,14 @@ static void change_passwd (struct group *gr) - printf (_("Changing the password for group %s\n"), group); - - for (retries = 0; retries < RETRIES; retries++) { -- cp = getpass (_("New Password: ")); -+ cp = xgetpass (_("New Password: "), 1); - if (NULL == cp) { - exit (1); - } - - STRFCPY (pass, cp); - strzero (cp); -- cp = getpass (_("Re-enter new password: ")); -+ cp = xgetpass (_("Re-enter new password: "), 0); - if (NULL == cp) { - exit (1); - } -diff --git a/src/newgrp.c b/src/newgrp.c -index 49dd151..6ea3617 100644 ---- a/src/newgrp.c -+++ b/src/newgrp.c -@@ -3,6 +3,7 @@ - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2008, Nicolas François -+ * Copyright (c) 2015 , Mattias Andrée - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without -@@ -42,6 +43,7 @@ - #include "defines.h" - #include "getdef.h" - #include "prototypes.h" -+#include "xgetpass.h" - /*@-exitarg@*/ - #include "exitcodes.h" - -@@ -171,7 +173,7 @@ static void check_perms (const struct group *grp, - * get the password from her, and set the salt for - * the decryption from the group file. - */ -- cp = getpass (_("Password: ")); -+ cp = xgetpass (_("Password: "), 0); - if (NULL == cp) { - goto failure; - } -diff --git a/src/passwd.c b/src/passwd.c -index 3424f3b..c2cac67 100644 ---- a/src/passwd.c -+++ b/src/passwd.c -@@ -3,6 +3,7 @@ - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2011, Nicolas François -+ * Copyright (c) 2015 , Mattias Andrée - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without -@@ -55,6 +56,7 @@ - #include "pwauth.h" - #include "pwio.h" - #include "shadowio.h" -+#include "xgetpass.h" - - /* - * exit status values -@@ -237,7 +239,7 @@ static int new_password (const struct passwd *pw) - */ - - if (!amroot && ('\0' != crypt_passwd[0])) { -- clear = getpass (_("Old password: ")); -+ clear = xgetpass (_("Old password: "), 1); - if (NULL == clear) { - return -1; - } -@@ -312,7 +314,7 @@ static int new_password (const struct passwd *pw) - - warned = false; - for (i = getdef_num ("PASS_CHANGE_TRIES", 5); i > 0; i--) { -- cp = getpass (_("New password: ")); -+ cp = xgetpass (_("New password: "), 1); - if (NULL == cp) { - memzero (orig, sizeof orig); - return -1; -@@ -339,7 +341,7 @@ static int new_password (const struct passwd *pw) - warned = true; - continue; - } -- cp = getpass (_("Re-enter new password: ")); -+ cp = xgetpass (_("Re-enter new password: "), 0); - if (NULL == cp) { - memzero (orig, sizeof orig); - return -1; -diff --git a/src/sulogin.c b/src/sulogin.c -index ccbf2c5..1296856 100644 ---- a/src/sulogin.c -+++ b/src/sulogin.c -@@ -3,6 +3,7 @@ - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2002 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2010, Nicolas François -+ * Copyright (c) 2015 , Mattias Andrée - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without -@@ -43,6 +44,7 @@ - #include "getdef.h" - #include "prototypes.h" - #include "pwauth.h" -+#include "xgetpass.h" - /*@-exitarg@*/ - #include "exitcodes.h" - -@@ -202,10 +204,10 @@ static RETSIGTYPE catch_signals (unused int sig) - */ - - /* get a password for root */ -- cp = getpass (_( -+ cp = xgetpass (_( - "\n" - "Type control-d to proceed with normal startup,\n" --"(or give root password for system maintenance):")); -+"(or give root password for system maintenance): "), 0); - /* - * XXX - can't enter single user mode if root password is - * empty. I think this doesn't happen very often :-). But --- -2.6.3 - diff --git a/shadow-libpassphrase/0002-Make-libpassphrase-optional.patch b/shadow-libpassphrase/0002-Make-libpassphrase-optional.patch deleted file mode 100644 index 86c3e1f..0000000 --- a/shadow-libpassphrase/0002-Make-libpassphrase-optional.patch +++ /dev/null @@ -1,144 +0,0 @@ -From 5b110e7aaac8d20559eba96f2a9d0dbae2b83dc9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= <maandree@member.fsf.org> -Date: Mon, 7 Dec 2015 08:02:01 +0100 -Subject: [PATCH 2/2] Make libpassphrase optional -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Mattias Andrée <maandree@member.fsf.org> ---- - ChangeLog | 5 +++++ - configure.in | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ - lib/xgetpass.c | 16 +++++++++------- - 3 files changed, 64 insertions(+), 7 deletions(-) - -diff --git a/ChangeLog b/ChangeLog -index bc43385..fd7389b 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,3 +1,8 @@ -+2015-12-07 Mattias Andrée <maandree@member.fsf.org> -+ -+ * lib/xgetpass.c: Make libpassphrase optional. -+ * configure.in: Likewise. -+ - 2015-12-05 Mattias Andrée <maandree@member.fsf.org> - - * lib/xgetpass.c: Add ability to use libpassphrase>=1449331105 instead of getpass. -diff --git a/configure.in b/configure.in -index a55f125..b752e18 100644 ---- a/configure.in -+++ b/configure.in -@@ -253,6 +253,9 @@ AC_ARG_WITH(audit, - AC_ARG_WITH(libpam, - [AC_HELP_STRING([--with-libpam], [use libpam for PAM support @<:@default=yes if found@:>@])], - [with_libpam=$withval], [with_libpam=maybe]) -+AC_ARG_WITH(libpassphrase, -+ [AC_HELP_STRING([--with-libpassphrase], [use libpassphrase support @<:@default=yes if found@:>@])], -+ [with_libpassphrase=$withval], [with_libpassphrase=maybe]) - AC_ARG_WITH(selinux, - [AC_HELP_STRING([--with-selinux], [use SELinux support @<:@default=yes if found@:>@])], - [with_selinux=$withval], [with_selinux=maybe]) -@@ -581,6 +584,52 @@ else - AC_MSG_RESULT(yes) - fi - -+AC_SUBST(LIBPASSPHRASE) -+if test "$with_libpassphrase" != "no"; then -+ dnl passphrase_read has always existed -+ AC_CHECK_LIB(passphrase, passphrase_read, -+ [passphrase_lib="yes"], [passphrase_lib="no"]) -+ if test "$passphrase_lib$with_libpassphrase" = "noyes" ; then -+ AC_MSG_ERROR(libpassphrase not found) -+ fi -+ -+ LIBPASSPHRASE="-lpassphrase" -+ passphrase_read2_function="no" -+ dnl passphrase_read2 was, along with other used functions, introduced in libpassphrase=1449331105 -+ -+ AC_CHECK_LIB(passphrase, passphrase_read2, -+ [passphrase_read2_function="yes"], []) -+ -+ if test "$passphrase_read2_function$with_libpassphrase" = "noyes" ; then -+ AC_MSG_ERROR(Only version 1449331105 and later of libpassphrase are supported) -+ fi -+ -+ passphrase_header_found=no -+ AC_CHECK_HEADERS(passphrase.h, -+ [ passphrase_header_found=yes ; break ], [], -+ [ #include <passphrase.h> ] ) -+ if test "$passphrase_header_found$with_libpassphrase" = "noyes" ; then -+ AC_MSG_ERROR(libpassphrase header not found) -+ fi -+ -+ if test "$passphrase_lib$passphrase_header_found$passphrase_read2_function" = "yesyesyes" ; then -+ with_libpassphrase="yes" -+ else -+ with_libpassphrase="no" -+ unset LIBPASSPHRASE -+ fi -+fi -+ -+if test "$with_libpassphrase" = "yes"; then -+ save_libs="$LIBS" -+ LIBS="$LIBS $LIBPASSPHRASE" -+ -+ AC_DEFINE(USE_LIBPASSPHRASE, 1, [Define to support libpassphrase]) -+ AM_CONDITIONAL(USE_LIBPASSPHRASE, [true]) -+else -+ AM_CONDITIONAL(USE_LIBPASSPHRASE, [false]) -+fi -+ - if test "$enable_acct_tools_setuid" != "no"; then - if test "$with_libpam" != "yes"; then - if test "$enable_acct_tools_setuid" = "yes"; then -@@ -670,6 +719,7 @@ echo - echo " auditing support: $with_audit" - echo " CrackLib support: $with_libcrack" - echo " PAM support: $with_libpam" -+echo " libpassphrase support: $with_libpassphrase" - if test "$with_libpam" = "yes"; then - echo " suid account management tools: $enable_acct_tools_setuid" - fi -diff --git a/lib/xgetpass.c b/lib/xgetpass.c -index a44ffc0..4efa33d 100644 ---- a/lib/xgetpass.c -+++ b/lib/xgetpass.c -@@ -32,13 +32,16 @@ - #ident "$Id$" - - #include <unistd.h> --#include <passphrase.h> --#include <fcntl.h> --#include <errno.h> --#include <stdio.h> -+#ifdef USE_LIBPASSPHRASE -+# include <passphrase.h> -+# include <fcntl.h> -+# include <errno.h> -+# include <stdio.h> -+#endif - - char *xgetpass (const char *prompt, int is_new) - { -+#ifdef USE_LIBPASSPHRASE - int fd, saved_errno; - char *pass; - -@@ -58,10 +61,9 @@ char *xgetpass (const char *prompt, int is_new) - passphrase_reenable_echo1 (fd); - errno = saved_errno; - return pass; -- -- /* -+#else - return getpass (prompt); - (void) is_new; -- */ -+#endif - } - --- -2.6.3 - diff --git a/shadow-libpassphrase/LICENSE b/shadow-libpassphrase/LICENSE deleted file mode 100644 index c5ab15a..0000000 --- a/shadow-libpassphrase/LICENSE +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 1990 - 1994, Julianne Frances Haugh - * Copyright (c) 1996 - 2000, Marek Michałkiewicz - * Copyright (c) 2001 - 2006, Tomasz Kłoczko - * Copyright (c) 2007 - 2009, Nicolas François - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the copyright holders or contributors may not be used to - * endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ diff --git a/shadow-libpassphrase/PKGBUILD b/shadow-libpassphrase/PKGBUILD deleted file mode 100644 index 0023ebe..0000000 --- a/shadow-libpassphrase/PKGBUILD +++ /dev/null @@ -1,163 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> -# Maintainer of the shadow package: Dave Reisner <dreisner@archlinux.org> -# Maintainer of the shadow package: Aaron Griffin <aaron@archlinux.org> - -_pkgname=shadow -pkgname=shadow-libpassphrase -pkgver=4.2.1 -pkgrel=1 -pkgdesc="Patched version of shadow that uses libpassphrase and can indicate the strenght of your new password" -arch=('i686' 'x86_64') -url='https://github.com/maandree/shadow' -license=('BSD') -groups=('base') -depends=('bash' 'pam' 'acl' 'libpassphrase>=1449331105') -makedepends=('pam' 'acl' 'libpassphrase>=1449331105') -optdepends=('passcheck: for password strenght meter') -conflicts=(shadow) -provides=('shadow=4.2.1') -backup=(etc/login.defs - etc/pam.d/{chage,passwd,shadow,useradd,usermod,userdel} - etc/pam.d/{chpasswd,newusers,groupadd,groupdel,groupmod} - etc/pam.d/{chgpasswd,groupmems} - etc/default/useradd) -options=(strip) -install='shadow.install' -source=("http://pkg-shadow.alioth.debian.org/releases/$_pkgname-$pkgver.tar.xz" - '0001-Use-libpassphrase-when-entering-passwords.patch' - '0002-Make-libpassphrase-optional.patch' - LICENSE - chgpasswd - chpasswd - defaults.pam - login.defs - newusers - passwd - shadow.{timer,service} - useradd.defaults - xstrdup.patch - shadow-strncpy-usage.patch - lastlog.tmpfiles) -sha1sums=('0917cbadd4ce0c7c36670e5ecd37bbed92e6d82d' - 08ac0b8cbcfaa9dbab5caec52aeab702e7869a0c - 8d163eb290c2a41009abb9f0e1f84cacb9febb78 - '33a6cf1e44a1410e5c9726c89e5de68b78f5f922' - '4ad0e059406a305c8640ed30d93c2a1f62c2f4ad' - '12427b1ca92a9b85ca8202239f0d9f50198b818f' - '0e56fed7fc93572c6bf0d8f3b099166558bb46f1' - 'bb3509087947d08bfb6e5d1b5c033856b9146ad9' - '12427b1ca92a9b85ca8202239f0d9f50198b818f' - '611be25d91c3f8f307c7fe2485d5f781e5dee75f' - 'a154a94b47a3d0c6c287253b98c0d10b861226d0' - 'e40fc20894e69a07fb0070b41f567d0c27133720' - '9ae93de5987dd0ae428f0cc1a5a5a5cd53583f19' - '6010fffeed1fc6673ad9875492e1193b1a847b53' - '21e12966a6befb25ec123b403cd9b5c492fe5b16' - 'f57ecde3f72b4738fad75c097d19cf46a412350f') - -prepare() { - cd "$_pkgname-$pkgver" - - patch -Np1 <"$srcdir/0001-Use-libpassphrase-when-entering-passwords.patch" - patch -Np1 <"$srcdir/0002-Make-libpassphrase-optional.patch" - - # need to offer these upstream - patch -Np1 <"$srcdir/xstrdup.patch" - patch -Np1 <"$srcdir/shadow-strncpy-usage.patch" - - # supress etc/pam.d/*, we provide our own - sed -i '/^SUBDIRS/s/pam\.d//' etc/Makefile.in -} - -build() { - cd "$_pkgname-$pkgver" - - libtoolize - aclocal - autoheader - autoconf - automake --add-missing - - ./configure \ - LIBS="-lcrypt" \ - --prefix=/usr \ - --bindir=/usr/bin \ - --sbindir=/usr/bin \ - --libdir=/usr/lib \ - --mandir=/usr/share/man \ - --sysconfdir=/etc \ - --without-libpam \ - --with-group-name-max-length=32 \ - --without-selinux \ - --with-libpassphrase - - make -} - -package() { - cd "$_pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - - # license - install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/shadow/LICENSE" - - # useradd defaults - install -Dm644 "$srcdir/useradd.defaults" "$pkgdir/etc/default/useradd" - - # systemd timer - install -D -m644 "$srcdir/shadow.timer" "$pkgdir/usr/lib/systemd/system/shadow.timer" - install -D -m644 "$srcdir/shadow.service" $pkgdir/usr/lib/systemd/system/shadow.service - install -d -m755 "$pkgdir/usr/lib/systemd/system/multi-user.target.wants" - ln -s ../shadow.timer "$pkgdir/usr/lib/systemd/system/multi-user.target.wants/shadow.timer" - - # login.defs - install -Dm644 "$srcdir/login.defs" "$pkgdir/etc/login.defs" - - # PAM config - custom - install -dm755 "$pkgdir/etc/pam.d" - install -t "$pkgdir/etc/pam.d" -m644 "$srcdir"/{passwd,chgpasswd,chpasswd,newusers} - - # PAM config - from tarball - install -Dm644 etc/pam.d/groupmems "$pkgdir/etc/pam.d/groupmems" - - # we use the 'useradd' PAM file for other similar utilities - for file in chage groupadd groupdel groupmod shadow \ - useradd usermod userdel; do - install -Dm644 "$srcdir/defaults.pam" "$pkgdir/etc/pam.d/$file" - done - - # lastlog log file creation - install -Dm644 "$srcdir/lastlog.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/lastlog.conf" - - # Remove evil/broken tools - rm "$pkgdir"/usr/sbin/logoutd - - # Remove utilities provided by util-linux - rm \ - "$pkgdir"/usr/bin/{login,su,chsh,chfn,sg,nologin} \ - "$pkgdir"/usr/sbin/{vipw,vigr} - - # but we keep newgrp, as sg is really an alias to it - mv "$pkgdir"/usr/bin/{newgrp,sg} - - # ...and their many man pages - find "$pkgdir"/usr/share/man \ - '(' -name 'chsh.1' -o \ - -name 'chfn.1' -o \ - -name 'su.1' -o \ - -name 'logoutd.8' -o \ - -name 'login.1' -o \ - -name 'nologin.8' -o \ - -name 'vipw.8' -o \ - -name 'vigr.8' -o \ - -name 'newgrp.1' ')' \ - -delete - rmdir \ - "$pkgdir"/usr/share/man/{fi,id,zh_TW}/man1 \ - "$pkgdir"/usr/share/man/{fi,ko/man8} - - # move everything else to /usr/bin, because this isn't handled by ./configure - mv "$pkgdir"/usr/sbin/* "$pkgdir"/usr/bin - rmdir "$pkgdir/usr/sbin" -} diff --git a/shadow-libpassphrase/chgpasswd b/shadow-libpassphrase/chgpasswd deleted file mode 100644 index 8f49f5c..0000000 --- a/shadow-libpassphrase/chgpasswd +++ /dev/null @@ -1,4 +0,0 @@ -#%PAM-1.0 -auth sufficient pam_rootok.so -account required pam_permit.so -password include system-auth diff --git a/shadow-libpassphrase/chpasswd b/shadow-libpassphrase/chpasswd deleted file mode 100644 index 5d44798..0000000 --- a/shadow-libpassphrase/chpasswd +++ /dev/null @@ -1,6 +0,0 @@ -#%PAM-1.0 -auth sufficient pam_rootok.so -auth required pam_unix.so -account required pam_unix.so -session required pam_unix.so -password required pam_unix.so sha512 shadow diff --git a/shadow-libpassphrase/defaults.pam b/shadow-libpassphrase/defaults.pam deleted file mode 100644 index a7bf8a4..0000000 --- a/shadow-libpassphrase/defaults.pam +++ /dev/null @@ -1,6 +0,0 @@ -#%PAM-1.0 -auth sufficient pam_rootok.so -auth required pam_unix.so -account required pam_unix.so -session required pam_unix.so -password required pam_permit.so diff --git a/shadow-libpassphrase/lastlog.tmpfiles b/shadow-libpassphrase/lastlog.tmpfiles deleted file mode 100644 index 9c07b39..0000000 --- a/shadow-libpassphrase/lastlog.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -f /var/log/lastlog 0644 root root diff --git a/shadow-libpassphrase/login.defs b/shadow-libpassphrase/login.defs deleted file mode 100644 index 5c88828..0000000 --- a/shadow-libpassphrase/login.defs +++ /dev/null @@ -1,208 +0,0 @@ -# -# /etc/login.defs - Configuration control definitions for the login package. -# -# Three items must be defined: MAIL_DIR, ENV_SUPATH, and ENV_PATH. -# If unspecified, some arbitrary (and possibly incorrect) value will -# be assumed. All other items are optional - if not specified then -# the described action or option will be inhibited. -# -# Comment lines (lines beginning with "#") and blank lines are ignored. -# -# Modified for Linux. --marekm - -# -# Delay in seconds before being allowed another attempt after a login failure -# -FAIL_DELAY 3 - -# -# Enable display of unknown usernames when login failures are recorded. -# -LOG_UNKFAIL_ENAB no - -# -# Enable logging of successful logins -# -LOG_OK_LOGINS no - -# -# Enable "syslog" logging of su activity - in addition to sulog file logging. -# SYSLOG_SG_ENAB does the same for newgrp and sg. -# -SYSLOG_SU_ENAB yes -SYSLOG_SG_ENAB yes - -# -# If defined, either full pathname of a file containing device names or -# a ":" delimited list of device names. Root logins will be allowed only -# upon these devices. -# -CONSOLE /etc/securetty -#CONSOLE console:tty01:tty02:tty03:tty04 - -# -# If defined, all su activity is logged to this file. -# -#SULOG_FILE /var/log/sulog - -# -# If defined, file which maps tty line to TERM environment parameter. -# Each line of the file is in a format something like "vt100 tty01". -# -#TTYTYPE_FILE /etc/ttytype - -# -# If defined, the command name to display when running "su -". For -# example, if this is defined as "su" then a "ps" will display the -# command is "-su". If not defined, then "ps" would display the -# name of the shell actually being run, e.g. something like "-sh". -# -SU_NAME su - -# -# *REQUIRED* -# Directory where mailboxes reside, _or_ name of file, relative to the -# home directory. If you _do_ define both, MAIL_DIR takes precedence. -# QMAIL_DIR is for Qmail -# -#QMAIL_DIR Maildir -MAIL_DIR /var/spool/mail - -# -# If defined, file which inhibits all the usual chatter during the login -# sequence. If a full pathname, then hushed mode will be enabled if the -# user's name or shell are found in the file. If not a full pathname, then -# hushed mode will be enabled if the file exists in the user's home directory. -# -HUSHLOGIN_FILE .hushlogin -#HUSHLOGIN_FILE /etc/hushlogins - -# -# *REQUIRED* The default PATH settings, for superuser and normal users. -# -# (they are minimal, add the rest in the shell startup files) -ENV_SUPATH PATH=/usr/bin -ENV_PATH PATH=/usr/bin - -# -# Terminal permissions -# -# TTYGROUP Login tty will be assigned this group ownership. -# TTYPERM Login tty will be set to this permission. -# -# If you have a "write" program which is "setgid" to a special group -# which owns the terminals, define TTYGROUP to the group number and -# TTYPERM to 0620. Otherwise leave TTYGROUP commented out and assign -# TTYPERM to either 622 or 600. -# -TTYGROUP tty -TTYPERM 0600 - -# -# Login configuration initializations: -# -# ERASECHAR Terminal ERASE character ('\010' = backspace). -# KILLCHAR Terminal KILL character ('\025' = CTRL/U). -# UMASK Default "umask" value. -# -# The ERASECHAR and KILLCHAR are used only on System V machines. -# The ULIMIT is used only if the system supports it. -# (now it works with setrlimit too; ulimit is in 512-byte units) -# -# Prefix these values with "0" to get octal, "0x" to get hexadecimal. -# -ERASECHAR 0177 -KILLCHAR 025 -UMASK 077 - -# -# Password aging controls: -# -# PASS_MAX_DAYS Maximum number of days a password may be used. -# PASS_MIN_DAYS Minimum number of days allowed between password changes. -# PASS_WARN_AGE Number of days warning given before a password expires. -# -PASS_MAX_DAYS 99999 -PASS_MIN_DAYS 0 -PASS_WARN_AGE 7 - -# -# Min/max values for automatic uid selection in useradd -# -UID_MIN 1000 -UID_MAX 60000 -# System accounts -SYS_UID_MIN 500 -SYS_UID_MAX 999 - -# -# Min/max values for automatic gid selection in groupadd -# -GID_MIN 1000 -GID_MAX 60000 -# System accounts -SYS_GID_MIN 500 -SYS_GID_MAX 999 - -# -# Max number of login retries if password is bad -# -LOGIN_RETRIES 5 - -# -# Max time in seconds for login -# -LOGIN_TIMEOUT 60 - -# -# Which fields may be changed by regular users using chfn - use -# any combination of letters "frwh" (full name, room number, work -# phone, home phone). If not defined, no changes are allowed. -# For backward compatibility, "yes" = "rwh" and "no" = "frwh". -# -CHFN_RESTRICT rwh - -# -# List of groups to add to the user's supplementary group set -# when logging in on the console (as determined by the CONSOLE -# setting). Default is none. -# -# Use with caution - it is possible for users to gain permanent -# access to these groups, even when not logged in on the console. -# How to do it is left as an exercise for the reader... -# -#CONSOLE_GROUPS floppy:audio:cdrom - -# -# Should login be allowed if we can't cd to the home directory? -# Default in no. -# -DEFAULT_HOME yes - -# -# If defined, this command is run when removing a user. -# It should remove any at/cron/print jobs etc. owned by -# the user to be removed (passed as the first argument). -# -#USERDEL_CMD /usr/sbin/userdel_local - -# -# Enable setting of the umask group bits to be the same as owner bits -# (examples: 022 -> 002, 077 -> 007) for non-root users, if the uid is -# the same as gid, and username is the same as the primary group name. -# -# This also enables userdel to remove user groups if no members exist. -# -USERGROUPS_ENAB yes - -# -# Controls display of the motd file. This is better handled by pam_motd.so -# so the declaration here is empty is suppress display by readers of this -# file. -# -MOTD_FILE - -# -# Hash shadow passwords with SHA512. -# -ENCRYPT_METHOD SHA512 diff --git a/shadow-libpassphrase/newusers b/shadow-libpassphrase/newusers deleted file mode 100644 index 5d44798..0000000 --- a/shadow-libpassphrase/newusers +++ /dev/null @@ -1,6 +0,0 @@ -#%PAM-1.0 -auth sufficient pam_rootok.so -auth required pam_unix.so -account required pam_unix.so -session required pam_unix.so -password required pam_unix.so sha512 shadow diff --git a/shadow-libpassphrase/passwd b/shadow-libpassphrase/passwd deleted file mode 100644 index ab56da4..0000000 --- a/shadow-libpassphrase/passwd +++ /dev/null @@ -1,4 +0,0 @@ -#%PAM-1.0 -#password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3 -#password required pam_unix.so sha512 shadow use_authtok -password required pam_unix.so sha512 shadow nullok diff --git a/shadow-libpassphrase/shadow-strncpy-usage.patch b/shadow-libpassphrase/shadow-strncpy-usage.patch deleted file mode 100644 index 5aba8fa..0000000 --- a/shadow-libpassphrase/shadow-strncpy-usage.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -u shadow-4.1.5/src/usermod.c.orig shadow-4.1.5/src/usermod.c ---- shadow-4.1.5/src/usermod.c.orig 2012-02-13 08:19:43.792146449 -0500 -+++ shadow-4.1.5/src/usermod.c 2012-02-13 08:21:19.375114500 -0500 -@@ -182,7 +182,7 @@ - struct tm *tp; - - if (date < 0) { -- strncpy (buf, "never", maxsize); -+ strncpy (buf, "never", maxsize - 1); - } else { - time_t t = (time_t) date; - tp = gmtime (&t); -diff -u shadow-4.1.5/src/login.c.orig shadow-4.1.5/src/login.c ---- shadow-4.1.5/src/login.c.orig 2012-02-13 08:19:50.951994454 -0500 -+++ shadow-4.1.5/src/login.c 2012-02-13 08:21:04.490430937 -0500 -@@ -752,7 +752,8 @@ - _("%s login: "), hostn); - } else { - strncpy (loginprompt, _("login: "), -- sizeof (loginprompt)); -+ sizeof (loginprompt) - 1); -+ loginprompt[sizeof (loginprompt) - 1] = '\0'; - } - - retcode = pam_set_item (pamh, PAM_USER_PROMPT, loginprompt); diff --git a/shadow-libpassphrase/shadow.install b/shadow-libpassphrase/shadow.install deleted file mode 100644 index 14384c3..0000000 --- a/shadow-libpassphrase/shadow.install +++ /dev/null @@ -1,9 +0,0 @@ -post_upgrade() { - grpck -r >/dev/null 2>&1 - if [ $? -eq 2 ]; then - printf '%s\n' \ - "==> Warning: /etc/group or /etc/gshadow are inconsistent." \ - " Run 'grpck' to correct this." - fi - return 0 -} diff --git a/shadow-libpassphrase/shadow.service b/shadow-libpassphrase/shadow.service deleted file mode 100644 index 5c1c845..0000000 --- a/shadow-libpassphrase/shadow.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Verify integrity of password and group files - -[Service] -Type=oneshot -ExecStart=/usr/bin/pwck -r -ExecStart=/usr/bin/grpck -r -Nice=19 -IOSchedulingClass=best-effort -IOSchedulingPriority=7 diff --git a/shadow-libpassphrase/shadow.timer b/shadow-libpassphrase/shadow.timer deleted file mode 100644 index 9cc6baa..0000000 --- a/shadow-libpassphrase/shadow.timer +++ /dev/null @@ -1,7 +0,0 @@ -[Unit] -Description=Daily verification of password and group files - -[Timer] -OnCalendar=daily -AccuracySec=12h -Persistent=true diff --git a/shadow-libpassphrase/upload b/shadow-libpassphrase/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/shadow-libpassphrase/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/shadow-libpassphrase/useradd.defaults b/shadow-libpassphrase/useradd.defaults deleted file mode 100644 index b800b17..0000000 --- a/shadow-libpassphrase/useradd.defaults +++ /dev/null @@ -1,9 +0,0 @@ -# useradd defaults file for ArchLinux -# original changes by TomK -GROUP=100 -HOME=/home -INACTIVE=-1 -EXPIRE= -SHELL=/bin/bash -SKEL=/etc/skel -CREATE_MAIL_SPOOL=no diff --git a/shadow-libpassphrase/xstrdup.patch b/shadow-libpassphrase/xstrdup.patch deleted file mode 100644 index bce4342..0000000 --- a/shadow-libpassphrase/xstrdup.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- shadow-4.1.2.1/libmisc/xmalloc.c 2008-08-30 21:55:44.000000000 -0500 -+++ shadow-4.1.2.1/libmisc/xmalloc.c.new 2008-08-30 21:55:36.000000000 -0500 -@@ -61,5 +61,6 @@ - - char *xstrdup (const char *str) - { -+ if(str == NULL) return NULL; - return strcpy (xmalloc (strlen (str) + 1), str); - } diff --git a/spot-on/PKGBUILD b/spot-on/PKGBUILD deleted file mode 100644 index db5bb18..0000000 --- a/spot-on/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> - -pkgname=spot-on -pkgver=2017.01.20 -pkgrel=1 -pkgdesc='An exploratory research project investigating a variety of communications protocols' -url='http://spot-on.sourceforge.net/' -arch=('i686' 'x86_64') -license=('custom:3-clause BSD') -depends=('qt5-base' 'geoip>=1.5.1' 'libgcrypt>=1.5' 'openssl>=0.9.8' 'lksctp-tools' 'qt5-multimedia' "libspoton=${pkgver}" 'libntru' 'qt5-declarative') -makedepends=('qt5-base' 'geoip>=1.5.1' 'libgcrypt>=1.5' 'openssl>=0.9.8' 'lksctp-tools' 'qt5-multimedia' 'qt5-tools' 'make' 'gcc' 'qt5-declarative') -source=("Spot-On-${pkgver}.zip::http://downloads.sourceforge.net/project/spot-on/Version%20${pkgver}/Spot-On-Src.d.zip?r=") -sha256sums=('45ff31d37092f653c0b94b4dc47b16f64c4b1327841bacfd8a4f624b63a6e04c') - - -build() { - cd "$srcdir/spot-on.d/branches/trunk" - qmake-qt5 -o Makefile spot-on.qt5.pro - make -} - -package () { - cd "$srcdir/spot-on.d/branches/trunk" - install -dm755 -- "$pkgdir/usr/lib/spot-on" - install -m755 -- Spot-On "$pkgdir/usr/lib/spot-on/Spot-On" - install -m755 -- Spot-On-Kernel "$pkgdir/usr/lib/spot-on/Spot-On-Kernel" - install -dm755 -- "$pkgdir/usr/bin" - ln -s ../lib/spot-on/Spot-On -- "$pkgdir/usr/bin/spot-on" -} - diff --git a/spot-on/upload b/spot-on/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/spot-on/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/spot-on/watch b/spot-on/watch deleted file mode 100755 index 20cdc6f..0000000 --- a/spot-on/watch +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -[ -f 'index.html' ] && rm 'index.html' -wget http://spot-on.sourceforge.net/ >/dev/null 2>/dev/null -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - grep 'has been released' < index.html | md5sum > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'dooble' - fi - rm index.html -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'dooble (unfetchable)' -fi - diff --git a/sysvinit/PKGBUILD b/sysvinit/PKGBUILD deleted file mode 100644 index aa20af8..0000000 --- a/sysvinit/PKGBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> -pkgname=sysvinit -pkgver=2.90 -pkgrel=1 -pkgdesc='Linux System V Init' -url='http://savannah.nongnu.org/projects/sysvinit' -arch=('i686' 'x86_64' 'armv6h') -license=('GPL') -depends=('glibc' 'procps-ng>=3.3.9') -conflicts=('systemd-sysvcompat') - -source=("http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-${pkgver}.tar.xz") -sha256sums=('114cffc8ef514a38b9916de2050bb6d73b43dff7afd05aee6b09d2f6cea7664e') - - -build() -{ - cd "$srcdir/$pkgname-${pkgver}" - - # Patch for Arch's Linux filesystem hierarchy - if [ "$(grep 'execv("/sbin/mount", args);' < src/killall5.c | wc -l)" = 1 ]; then - sed -i 's:execv("/bin/mount", args);::' src/killall5.c - fi - sed -i 's|/bin:/sbin:/usr/bin:/usr/sbin|/usr/bin|' src/init.h src/shutdown.c - sed -i 's|/sbin:/usr/sbin:/bin:/usr/bin|/usr/bin|' src/init.h src/shutdown.c - sed -i 's|/bin:/usr/bin:/sbin:/usr/sbin|/usr/bin|' src/init.h src/shutdown.c - sed -i 's:/sbin/:/bin/:g' contrib/notify-pam-dead.patch man/*.{1,5,8} src/*.{c,h} - sed -i 's:/bin/:/usr/bin/:g' contrib/notify-pam-dead.patch man/*.{1,5,8} src/*.{c,h} - sed -i 's:/usr/usr/:/usr/:g' contrib/notify-pam-dead.patch man/*.{1,5,8} src/*.{c,h} - - make DISTRO=archlinux -} - -package() -{ - cd "$srcdir/$pkgname-${pkgver}" - mkdir -p "$pkgdir/__temp__" - make DISTRO=archlinux ROOT="$pkgdir/__temp__" install - cd "$pkgdir/__temp__" - rm -r bin usr/bin usr/share/man/man*/{mesg,last,pidof}.* usr/share/man/man1 - find . | while read file; do - if [ -d "$file" ]; then - mkdir -p ".$file" - else - cp "$file" ".$file" - fi - done - cd .. - rm -r "__temp__" - mv "$pkgdir/sbin" "$pkgdir/usr/bin" -} - diff --git a/sysvinit/upload b/sysvinit/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/sysvinit/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/texlive-europecv/PKGBUILD b/texlive-europecv/PKGBUILD deleted file mode 100644 index 38bc9d6..0000000 --- a/texlive-europecv/PKGBUILD +++ /dev/null @@ -1,18 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> -# Contributor: Andrea Scarpino <andrea@archlinux.org> - -pkgname=texlive-europecv -pkgver=20140627 -pkgrel=1 -pkgdesc='Unofficial class for European curricula vitæ' -arch=('any') -url='http://www.ctan.org/tex-archive/macros/latex/contrib/europecv/' -license=('GPL') -depends=('texlive-latexextra') -source=("europecv-${pkgver}.zip"::"http://mirror.ctan.org/macros/latex/contrib/europecv.zip") -sha256sums=('8774724fa20744777d2ce7275024f5969b0cdd09684033949b833410c45112d5') - -package() { - install -d -- "$pkgdir"/usr/share/texmf/tex/latex - cp -r europecv -- "$pkgdir"/usr/share/texmf/tex/latex -} diff --git a/texlive-europecv/upload b/texlive-europecv/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/texlive-europecv/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/texlive-flashcards/PKGBUILD b/texlive-flashcards/PKGBUILD deleted file mode 100644 index d35d952..0000000 --- a/texlive-flashcards/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> -# Contributor: tze <tze@datalove.me> - -pkgname=texlive-flashcards -pkgver=1.0.1 -pkgrel=2 -license=('GPL') -depends=('texlive-core') -pkgdesc="A class for typesetting flashcards." -url="https://ctan.org/pkg/flashcards" -arch=('any') -install=texlive-flashcards.install -source=(https://mirror.ctan.org/macros/latex/contrib/flashcards.zip) -sha256sums=('3a344b39e4d3f36152772458c85b32f294e18b13617ac79b18b49406ce73fc52') - -build () -{ - cd "${srcdir}/flashcards" - latex flashcards.ins -} - -package () -{ - cd "${srcdir}/flashcards" - mkdir -p -- "${pkgdir}/usr/share/texmf/tex/latex/flashcards" - - cp -- flashcards.cls "${pkgdir}/usr/share/texmf/tex/latex/flashcards" - cp -- *.cfg "${pkgdir}/usr/share/texmf/tex/latex/flashcards" - - install -D -- "${srcdir}/flashcards/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - diff --git a/texlive-flashcards/texlive-flashcards.install b/texlive-flashcards/texlive-flashcards.install deleted file mode 100644 index 996ec23..0000000 --- a/texlive-flashcards/texlive-flashcards.install +++ /dev/null @@ -1,14 +0,0 @@ -post_install() { - post_remove - echo "The file was installed in:" - kpsewhich flashcards.cls -} - -post_upgrade() { - post_install -} - -post_remove() { - echo "Upgrading package database..." - mktexlsr -} diff --git a/texlive-flashcards/upload b/texlive-flashcards/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/texlive-flashcards/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/texlive-flashcards/watch b/texlive-flashcards/watch deleted file mode 100755 index cd655ff..0000000 --- a/texlive-flashcards/watch +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -[ -f flashcards ] && rm flashcards - -wget 'http://ctan.org/pkg/flashcards' -O flashcards >/dev/null 2>/dev/null - -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - grep 'Ver­sion' < flashcards | md5sum > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'texlive-flashcards' - fi -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'texlive-flashcards (unfetchable)' -fi - diff --git a/untex/PKGBUILD b/untex/PKGBUILD deleted file mode 100644 index 0bc50c8..0000000 --- a/untex/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> -# Contributor: Anton Bazhenov <anton.bazhenov at gmail> -# Contributor: froggie <sullivanva@gmail.com> - -pkgname=untex -pkgver=1.3 -pkgrel=3 -pkgdesc="A tool for removing LaTeX commands from input" -arch=('i686' 'x86_64') -url="ftp://ftp.thp.uni-duisburg.de/pub/source/" -license=('GPL') -depends=('glibc') -source=(ftp://ftp.thp.uni-duisburg.de/pub/source/$pkgname-$pkgver.tar.gz) -md5sums=('909da862cdccea0f6987467be72f103a') - - -build() { - cd "$srcdir" - make -} - -package() { - cd "$srcdir" - install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname - install -Dm644 $pkgname.man "$pkgdir"/usr/share/man/man1/$pkgname.1 -} - diff --git a/untex/upload b/untex/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/untex/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file diff --git a/untex/watch b/untex/watch deleted file mode 100755 index 99e0009..0000000 --- a/untex/watch +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -[ -f index.html ] && rm index.html - -wget 'ftp://ftp.thp.uni-duisburg.de/pub/source/' -O index.html >/dev/null 2>/dev/null - -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - grep -o '>untex-.*<' < index.html | md5sum > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'untex' - fi -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'untex (unfetchable)' -fi - diff --git a/use/PKGBUILD b/use/PKGBUILD deleted file mode 100644 index 29567dd..0000000 --- a/use/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se> - -pkgname=use -pkgver=1.12.1 -pkgrel=1 -pkgdesc='A utility to help casual user install multiple versions of a software package' -url='http://use.sourceforge.net/' -arch=('i686' 'x86_64') -license=('custom:3-clause BSD') -depends=('glibc') -makedepends=('gcc' 'glibc' 'make' 'coreutils' 'perl' 'sed') -source=("use-${pkgver}.tar.gz::https://downloads.sourceforge.net/project/use/Version%20${pkgver}/use.d.tar.gz") -sha256sums=('9efd990bd3e2cf40e74e56ecb7f849e5050e69aa24317633adbe2e1ce360efbe') - - -build() { - cd "$srcdir/use.d" - ./configure.pl <<EOF -/etc -/usr/bin -/usr/share/man/man1 -EOF - sed -i 's:\${INSTALL_:-- "\${DESTDIR}"&:g' Makefile.mk - make - sed -i 's:/usr/local/:/usr/:g' use.1 use.*sh - sed -i 's:/usr/share/use.table:/etc/use.table:g' use.1 -} - -package () { - cd "$srcdir/use.d" - mkdir -p -- "$pkgdir/etc" - mkdir -p -- "$pkgdir/usr/bin" - mkdir -p -- "$pkgdir/usr/share/man/man1" - make install DESTDIR="$pkgdir" -} - diff --git a/use/upload b/use/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/use/upload +++ /dev/null @@ -1 +0,0 @@ -../upload
\ No newline at end of file |