mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-11-24 01:22:18 -05:00
First complete
This commit is contained in:
parent
0887a41178
commit
fd2414b131
45
src/amavisd-new/.SRCINFO
Normal file
45
src/amavisd-new/.SRCINFO
Normal file
@ -0,0 +1,45 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Tue Jun 7 17:47:22 UTC 2016
|
||||
pkgbase = amavisd-new
|
||||
pkgdesc = High-performance interface between mailer (MTA) and content checkers
|
||||
pkgver = 2.11.0
|
||||
pkgrel = 1
|
||||
url = http://www.ijs.si/software/amavisd/
|
||||
install = install
|
||||
arch = any
|
||||
license = GPL
|
||||
depends = perl>=5.8.2
|
||||
depends = perl-archive-zip>=1.14
|
||||
depends = perl-convert-tnef
|
||||
depends = perl-convert-uulib>=1.4-5
|
||||
depends = perl-mime-tools
|
||||
depends = perl-mailtools>=1.58
|
||||
depends = perl-net-libidn
|
||||
depends = perl-net-server>=0.88
|
||||
depends = perl-io-socket-inet6
|
||||
depends = perl-io-stringy
|
||||
depends = perl-unix-syslog>=1.1-4
|
||||
depends = perl-mail-dkim>=0.31
|
||||
depends = perl-berkeleydb>=0.42
|
||||
depends = bzip2
|
||||
depends = gzip
|
||||
optdepends = perl-file-libmagic
|
||||
optdepends = arc: Decoder for: .arc
|
||||
optdepends = arj: Decoder for: .arj .exe
|
||||
optdepends = lrzip: Decoder for: .lrz
|
||||
optdepends = lz4: Decoder for: .lz4
|
||||
optdepends = lzo: Decoder for: .lzo
|
||||
optdepends = p7zip: Decoder for: .7z
|
||||
optdepends = unrar: Decoder for: .rar
|
||||
optdepends = rpmextract: Decoder for: .rpm
|
||||
backup = etc/amavisd/amavisd.conf
|
||||
backup = etc/amavisd/amavisd-custom.conf
|
||||
source = http://www.ijs.si/software/amavisd/amavisd-new-2.11.0.tar.xz
|
||||
source = service
|
||||
source = tmpfiles
|
||||
sha256sums = b41de4f0796cb344120c9792c82fc25177cbf9f51aaa5f91536cdf34aea89906
|
||||
sha256sums = cdfc26a15049ea8526b552ab1bef9ccf9bc8608ee65897801d9ea87de84a7435
|
||||
sha256sums = 84bccf5f2b2740b25ea7d15237607f894b7ce7558e1ecba67f2d005497b8bf25
|
||||
|
||||
pkgname = amavisd-new
|
||||
|
3
src/amavisd-new/.gitignore
vendored
Normal file
3
src/amavisd-new/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
amavisd-new-*.tar.xz
|
||||
amavisd-new-*-package.log
|
||||
amavisd-new-*-prepare.log
|
32
src/amavisd-new/install
Normal file
32
src/amavisd-new/install
Normal file
@ -0,0 +1,32 @@
|
||||
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" || :
|
||||
}
|
18
src/amavisd-new/service
Normal file
18
src/amavisd-new/service
Normal file
@ -0,0 +1,18 @@
|
||||
[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
|
2
src/amavisd-new/tmpfiles
Normal file
2
src/amavisd-new/tmpfiles
Normal file
@ -0,0 +1,2 @@
|
||||
d /var/spool/amavis 0750 amavis amavis
|
||||
d /var/spool/amavis/virus 0750 amavis amavis
|
24
src/brother-hl2170w/.SRCINFO
Normal file
24
src/brother-hl2170w/.SRCINFO
Normal file
@ -0,0 +1,24 @@
|
||||
# Generated by makepkg 5.0.0
|
||||
# Thu Feb 18 20:39:52 UTC 2016
|
||||
pkgbase = brother-hl2170w
|
||||
pkgdesc = LPR and CUPS driver for the Brother HL2170W
|
||||
pkgver = 2.0.2_1
|
||||
pkgrel = 1
|
||||
url = http://solutions.brother.com/linux/en_us/
|
||||
install = brother-hl2170w.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = custom:brother commercial license
|
||||
depends = cups
|
||||
depends = lib32-glibc
|
||||
source = http://www.brother.com/pub/bsc/linux/dlf/brhl2170wlpr-2.0.2-1.i386.rpm
|
||||
source = http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2170W-2.0.2-1.i386.rpm
|
||||
source = cupswrapper-license.txt
|
||||
source = lpr-license.txt
|
||||
md5sums = 2d7fe5114239b48dad38e08e24c9fca0
|
||||
md5sums = 5d2b95b7c148eabf21866604e6e5cf3a
|
||||
md5sums = 97ad0cffd216059e9d1d3121899d8646
|
||||
md5sums = 5e87a3dc0f3e3438c088eda0f3565f0d
|
||||
|
||||
pkgname = brother-hl2170w
|
||||
|
9
src/brother-hl2170w/brother-hl2170w.install
Normal file
9
src/brother-hl2170w/brother-hl2170w.install
Normal file
@ -0,0 +1,9 @@
|
||||
post_install() {
|
||||
post_upgrade;
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
echo "Restart CUPS to load the new files"
|
||||
echo "You can now register your new printer using the web interface at:"
|
||||
echo " http://localhost:631/"
|
||||
}
|
127
src/brother-hl2170w/cupswrapper-license.txt
Normal file
127
src/brother-hl2170w/cupswrapper-license.txt
Normal file
@ -0,0 +1,127 @@
|
||||
This Software may be used in accordance with GNU General Public License (GPL). Please read carefully the following GPL and click on "I Accept" button. If you cannot agree with the following terms, please click "I don't Accept" button. In case of your non-acceptance, you can not use this Software.
|
||||
Note:
|
||||
Please click on "I Accept" while holding down "Shift" or right click on "I Accept" and select "Save Target As,,," from the menu.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
|
||||
|
||||
You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
|
||||
You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
|
||||
You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
|
||||
You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
|
||||
You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
|
||||
If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
|
||||
If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
|
||||
The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
|
||||
If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author Gnomovision
|
||||
comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
|
11
src/brother-hl2170w/lpr-license.txt
Normal file
11
src/brother-hl2170w/lpr-license.txt
Normal file
@ -0,0 +1,11 @@
|
||||
This Agreement provides terms and conditions for license grant from Brother Industries, Ltd ("Broher"). Brother, who owns all copyrights to the software that is distributed with this Agreement ("Software") to recipients thereof ("User"), for use of the Software. User shall have the right to use the Software only in accordance with the terms and conditions of this Agreement. Any use by User of the Software shall be deemed as its agreement hereto.
|
||||
Note:
|
||||
Please click on "I Accept" while holding down "Shift" or right click on "I Accept" and select "Save Target As,,," from the menu.
|
||||
|
||||
Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.
|
||||
|
||||
Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.
|
||||
|
||||
The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.
|
||||
Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage.
|
||||
Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.
|
25
src/cndrvcups-common-lb/.SRCINFO
Normal file
25
src/cndrvcups-common-lb/.SRCINFO
Normal file
@ -0,0 +1,25 @@
|
||||
pkgbase = cndrvcups-common-lb
|
||||
pkgdesc = Common printer driver modules for cndrvcups-lb package, built from source
|
||||
pkgver = 3.60
|
||||
pkgrel = 1
|
||||
url = http://support-au.canon.com.au/contents/AU/EN/0100270808.html
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
license = MIT
|
||||
license = custom
|
||||
makedepends = automake
|
||||
makedepends = autoconf
|
||||
depends = libglade
|
||||
depends = lib32-gcc-libs
|
||||
conflicts = cndrvcups-lb-bin
|
||||
options = !emptydirs
|
||||
options = !strip
|
||||
options = staticlibs
|
||||
source = Linux_UFRII_PrinterDriver_V320_uk_EN.tar.gz::http://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwMjcwODE0&cmp=ABS&lang=EN
|
||||
sha512sums = fc35670a07f067b6ccdebf5b96590eafac2ed984faaa8a90ce44dd44396d6de0964f6352cae0fdf8ce1f6127ebf3ea9f6610b56ba7dd9a7f382bd1c6d588a801
|
||||
depends_i686 = libglade
|
||||
depends_i686 = gcc-libs
|
||||
|
||||
pkgname = cndrvcups-common-lb
|
||||
|
19
src/cndrvcups-lb-bin/.SRCINFO
Normal file
19
src/cndrvcups-lb-bin/.SRCINFO
Normal file
@ -0,0 +1,19 @@
|
||||
pkgbase = cndrvcups-lb-bin
|
||||
pkgdesc = Canon UFR II/UFR II LT Printer Driver (including Canon imageCLASS MF4720w)
|
||||
pkgver = 3.20
|
||||
pkgrel = 1
|
||||
url = http://support-asia.canon-asia.com/contents/ASIA/EN/0100270810.html
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = custom
|
||||
depends = lib32-libxml2
|
||||
depends = lib32-libcups
|
||||
conflicts = cndrvcups-lb
|
||||
replaces = canon-ufr
|
||||
source = http://gdlp01.c-wss.com/gds/8/0100002708/14/Linux_UFRII_PrinterDriver_V320_uk_EN.tar.gz
|
||||
sha256sums = b28bc2b460aeddcb7800983d2fad8c29ea6efcc95ad767a78fe6c25d0956f242
|
||||
depends_i686 = libxml2
|
||||
depends_i686 = libcups
|
||||
|
||||
pkgname = cndrvcups-lb-bin
|
||||
|
27
src/cndrvcups-lb/.SRCINFO
Normal file
27
src/cndrvcups-lb/.SRCINFO
Normal file
@ -0,0 +1,27 @@
|
||||
pkgbase = cndrvcups-lb
|
||||
pkgdesc = Canon UFR II /LIPSLX Printer Driver build from source for LBP, iR & MF printers
|
||||
pkgver = 3.20
|
||||
pkgrel = 1
|
||||
url = http://support-au.canon.com.au/contents/AU/EN/0100270808.html
|
||||
install = cndrvcups-lb.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = custom
|
||||
makedepends = autoconf
|
||||
makedepends = automake
|
||||
depends = cndrvcups-common-lb=3.60
|
||||
depends = lib32-libxml2
|
||||
conflicts = cndrvcups-lb-bin
|
||||
conflicts = cndrvcups-lb-cpca
|
||||
options = !emptydirs
|
||||
options = !strip
|
||||
options = !libtool
|
||||
source = Linux_UFRII_PrinterDriver_V320_uk_EN.tar.gz::http://pdisp01.c-wss.com/gdl/WWUFORedirectTarget.do?id=MDEwMDAwMjcwODE0&cmp=ABS&lang=EN
|
||||
source = how-to.txt
|
||||
sha512sums = fc35670a07f067b6ccdebf5b96590eafac2ed984faaa8a90ce44dd44396d6de0964f6352cae0fdf8ce1f6127ebf3ea9f6610b56ba7dd9a7f382bd1c6d588a801
|
||||
sha512sums = 736e1785c443c4d129c8801a127410012889f46691259e8a7f6a54106a0647beb5b6267aabb78b3ed0a1c7a9d8ce216e159515d3aad425812e5be52c8b58e4ee
|
||||
depends_i686 = cndrvcups-common-lb=3.60
|
||||
depends_i686 = libxml2
|
||||
|
||||
pkgname = cndrvcups-lb
|
||||
|
41
src/cndrvcups-lb/cndrvcups-lb.install
Executable file
41
src/cndrvcups-lb/cndrvcups-lb.install
Executable file
@ -0,0 +1,41 @@
|
||||
post_install(){
|
||||
if [ -d /usr/share/ppd ] ; then
|
||||
cd /usr/share/cups/model
|
||||
for fn in CN*ZK.ppd ; do \
|
||||
ln -sf "/usr/share/cups/model/"$fn /usr/share/ppd/$fn ;
|
||||
done
|
||||
fi
|
||||
chmod 4755 /usr/bin/cnpkmoduleufr2
|
||||
cat << EOF
|
||||
>>> Installation:
|
||||
>>> 1) Make sure CUPS is running and your printer is turned on and connected to your computer.
|
||||
>>> eg.
|
||||
>>> systemctl start cups
|
||||
>>>
|
||||
>>> 2) Check the name of the device, udev created for you.
|
||||
>>> eg. /dev/usb/lp0
|
||||
>>>
|
||||
>>> 3) /usr/sbin/lpadmin -p [Printer Name] -m [PPD file] -v usb:[device file location] -E
|
||||
>>> eg.
|
||||
>>> /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v usb:/dev/usblp0 -E
|
||||
>>> you can find ppds in the /usr/share/cups/model/ directory)
|
||||
>>>
|
||||
>>> 4) Now you can print. Consider using "systemctl enable cups" to have it start automatically on boot
|
||||
|
||||
EOF
|
||||
}
|
||||
|
||||
post_upgrade(){
|
||||
post_remove
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove(){
|
||||
if [ -d /usr/share/ppd ] ; then
|
||||
rm -rf /usr/share/ppd/CN*ZK.ppd
|
||||
fi
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
$op $*
|
14
src/cndrvcups-lb/how-to.txt
Normal file
14
src/cndrvcups-lb/how-to.txt
Normal file
@ -0,0 +1,14 @@
|
||||
Installation:
|
||||
1) Make sure CUPS is running and your printer is turned on and connected to your computer.
|
||||
eg.
|
||||
systemctl start cups
|
||||
|
||||
2) Check the name of the device, udev created for you.
|
||||
eg. /dev/usb/lp0
|
||||
|
||||
3) /usr/sbin/lpadmin -p [Printer Name] -m [PPD file] -v usb:[device file location] -E
|
||||
eg.
|
||||
/usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v usb:/dev/usblp0 -E
|
||||
you can find ppds in the /usr/share/cups/model/ directory)
|
||||
|
||||
6) Now you can print. If desired use "systemctl enable cups" to have it start automatically on boot
|
21
src/cower/.SRCINFO
Normal file
21
src/cower/.SRCINFO
Normal file
@ -0,0 +1,21 @@
|
||||
pkgbase = cower
|
||||
pkgdesc = A simple AUR agent with a pretentious name
|
||||
pkgver = 16
|
||||
pkgrel = 1
|
||||
url = http://github.com/falconindy/cower
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = perl
|
||||
depends = curl
|
||||
depends = openssl
|
||||
depends = pacman
|
||||
depends = yajl
|
||||
source = https://pkgbuild.com/~dreisner/sources/cower/cower-16.tar.gz
|
||||
source = https://pkgbuild.com/~dreisner/sources/cower/cower-16.tar.gz.sig
|
||||
validpgpkeys = 487EACC08557AD082088DABA1EB2638FF56C0C53
|
||||
md5sums = f141e441b7775df3d3a1ba3a80bc3d1d
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = cower
|
||||
|
35
src/freeminer/.SRCINFO
Normal file
35
src/freeminer/.SRCINFO
Normal file
@ -0,0 +1,35 @@
|
||||
pkgbase = freeminer
|
||||
pkgdesc = An open source sandbox game inspired by Minecraft.
|
||||
pkgver = 0.4.14.8
|
||||
pkgrel = 2
|
||||
url = http://freeminer.org/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL3
|
||||
license = CCPL:cc-by-sa-3.0
|
||||
makedepends = cmake
|
||||
makedepends = msgpack-c
|
||||
makedepends = clang
|
||||
depends = leveldb
|
||||
depends = curl
|
||||
depends = hiredis
|
||||
depends = sqlite
|
||||
depends = luajit
|
||||
depends = irrlicht
|
||||
depends = openal
|
||||
depends = enet
|
||||
depends = jsoncpp
|
||||
depends = libvorbis
|
||||
depends = hicolor-icon-theme
|
||||
depends = freetype2
|
||||
provides = freeminer=0.4.14.8
|
||||
conflicts = freeminer-git
|
||||
source = https://github.com/freeminer/freeminer/releases/download/0.4.14.8/freeminer-0.4.14.8.zip
|
||||
source = enet_shared_lib.patch
|
||||
source = fix_msgpack.patch
|
||||
sha512sums = 093c1640c9a070fdbd45074d0a4acc5b7894d23cd436dc3cf794cee8fff92930cf26f8d802b984cb9ce19bac7fccc6e0ce948c816c9e19b9e9551e373e560beb
|
||||
sha512sums = ac51ee33df27f9fb3bdf16c50b2a9da602d6c55bba7afe21492d0056cdfefa5f84ccfb306c23bd2bcf22066ca3ef2a952110ba0de350602393754f0466383004
|
||||
sha512sums = 4ac827ed4b1185264c6b7df279c40548b7e5dc5957129ee6dc4fe6ff05222844dabab67cf1f8c1932cac0cc691ac040812eca662d7ff36424eb3d3827bb126a0
|
||||
|
||||
pkgname = freeminer
|
||||
|
12
src/freeminer/enet_shared_lib.patch
Normal file
12
src/freeminer/enet_shared_lib.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uprNEBZ --suppress-blank-empty a/src/main.cpp b/src/main.cpp
|
||||
--- a/src/main.cpp 2015-11-21 01:53:20.445038202 -0600
|
||||
+++ b/src/main.cpp 2015-11-21 01:57:13.407056516 -0600
|
||||
@@ -64,7 +64,7 @@ along with Freeminer. If not, see <http
|
||||
|
||||
#if USE_ENET
|
||||
// todo: move to connection
|
||||
-#include "enet/enet.h"
|
||||
+#include <enet/enet.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TOUCHSCREENGUI
|
37
src/freeminer/fix_msgpack.patch
Normal file
37
src/freeminer/fix_msgpack.patch
Normal file
@ -0,0 +1,37 @@
|
||||
diff -uprNEBZ --suppress-blank-empty a/src/network/networkpacket.cpp b/src/network/networkpacket.cpp
|
||||
--- a/src/network/networkpacket.cpp 2016-05-16 01:59:02.000000000 -0500
|
||||
+++ b/src/network/networkpacket.cpp 2016-07-07 22:30:52.572633557 -0500
|
||||
@@ -539,11 +539,11 @@ Buffer<u8> NetworkPacket::oldForgePacket
|
||||
}
|
||||
|
||||
//freeminer:
|
||||
-bool parse_msgpack_packet(char *data, u32 datasize, MsgpackPacket *packet, int *command, msgpack::unpacked *msg) {
|
||||
+bool parse_msgpack_packet(char *data, u32 datasize, MsgpackPacket *packet, int *command, msgpack::unpacked &msg) {
|
||||
try {
|
||||
//msgpack::unpacked msg;
|
||||
msgpack::unpack(msg, data, datasize);
|
||||
- msgpack::object obj = msg->get();
|
||||
+ msgpack::object obj = msg.get();
|
||||
*packet = obj.as<MsgpackPacket>();
|
||||
|
||||
*command = (*packet)[MSGPACK_COMMAND].as<int>();
|
||||
@@ -576,7 +576,7 @@ int NetworkPacket::packet_unpack() {
|
||||
packet = new MsgpackPacketSafe;
|
||||
if (!packet_unpacked)
|
||||
packet_unpacked = new msgpack::unpacked;
|
||||
- if (!parse_msgpack_packet(getString(0), datasize, packet, &command, packet_unpacked)) {
|
||||
+ if (!parse_msgpack_packet(getString(0), datasize, packet, &command, *packet_unpacked)) {
|
||||
//verbosestream<<"Server: Ignoring broken packet from " <<addr_s<<" (peer_id="<<peer_id<<") size="<<datasize<<std::endl;
|
||||
return 0;
|
||||
}
|
||||
diff -uprNEBZ --suppress-blank-empty a/src/network/networkpacket.h b/src/network/networkpacket.h
|
||||
--- a/src/network/networkpacket.h 2016-05-16 01:59:02.000000000 -0500
|
||||
+++ b/src/network/networkpacket.h 2016-07-07 22:31:26.005881914 -0500
|
||||
@@ -140,6 +140,6 @@ private:
|
||||
};
|
||||
|
||||
#include "../util/msgpack_serialize.h"
|
||||
-bool parse_msgpack_packet(char *data, u32 datasize, MsgpackPacket *packet, int *command, msgpack::unpacked *msg);
|
||||
+bool parse_msgpack_packet(char *data, u32 datasize, MsgpackPacket *packet, int *command, msgpack::unpacked &msg);
|
||||
|
||||
#endif
|
25
src/intellij-idea-ultimate-edition/.SRCINFO
Normal file
25
src/intellij-idea-ultimate-edition/.SRCINFO
Normal file
@ -0,0 +1,25 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Wed Oct 19 11:37:00 UTC 2016
|
||||
pkgbase = intellij-idea-ultimate-edition
|
||||
pkgdesc = An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity.
|
||||
pkgver = 2016.2.5
|
||||
pkgrel = 1
|
||||
url = https://www.jetbrains.com/idea/
|
||||
arch = any
|
||||
license = Commercial
|
||||
depends = java-environment
|
||||
depends = giflib
|
||||
depends = libxtst
|
||||
options = !strip
|
||||
backup = usr/share/intellij-idea-ultimate-edition/bin/idea.vmoptions
|
||||
backup = usr/share/intellij-idea-ultimate-edition/bin/idea64.vmoptions
|
||||
backup = usr/share/intellij-idea-ultimate-edition/bin/idea.properties
|
||||
source = https://download.jetbrains.com/idea/ideaIU-2016.2.5-no-jdk.tar.gz
|
||||
source = intellijidea.sh
|
||||
source = jetbrains-idea.desktop
|
||||
sha256sums = 51d6b74c4bc73cb9c8a24020af9488614b3f6e24a14dbb8e012fe363280e4fa7
|
||||
sha256sums = ed7883b33b6fa9f2e303e5549bd238ceb552ec11ca116730271a58aca685229a
|
||||
sha256sums = 83af2ba8f9f14275a6684e79d6d4bd9b48cd852c047dacfc81324588fa2ff92b
|
||||
|
||||
pkgname = intellij-idea-ultimate-edition
|
||||
|
4
src/intellij-idea-ultimate-edition/intellijidea.sh
Normal file
4
src/intellij-idea-ultimate-edition/intellijidea.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
[[ "$IDEA_JDK" == "" ]] && IDEA_JDK=$JAVA_HOME
|
||||
export IDEA_JDK
|
||||
exec /usr/share/intellij-idea-ultimate-edition/bin/idea.sh "$@"
|
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=IntelliJ IDEA Ultimate Edition
|
||||
Comment=Intelligent Java IDE
|
||||
Exec=intellij-idea-ultimate-edition %u
|
||||
Icon=intellij-idea-ultimate-edition
|
||||
Terminal=false
|
||||
StartupWMClass=jetbrains-idea
|
||||
Type=Application
|
||||
Categories=Development;IDE;
|
16
src/iucode-tool/.SRCINFO
Normal file
16
src/iucode-tool/.SRCINFO
Normal file
@ -0,0 +1,16 @@
|
||||
pkgbase = iucode-tool
|
||||
pkgdesc = Tool to manipulate Intel® IA-32/X86-64 microcode bundles
|
||||
pkgver = 2.0
|
||||
pkgrel = 1
|
||||
url = https://gitlab.com/iucode-tool/iucode-tool/wikis/home
|
||||
arch = x86_64
|
||||
arch = i686
|
||||
license = GPL
|
||||
source = https://gitlab.com/iucode-tool/releases/raw/master/iucode-tool_2.0.tar.xz
|
||||
source = https://gitlab.com/iucode-tool/releases/raw/master/iucode-tool_2.0.tar.xz.asc
|
||||
validpgpkeys = C467A717507BBAFED3C160920BD9E81139CB4807
|
||||
sha256sums = 55b506e8472507556ceea29cc30d5a0fbf86a626159fe45066bc31511a3f4868
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = iucode-tool
|
||||
|
66
src/jdk/.SRCINFO
Normal file
66
src/jdk/.SRCINFO
Normal file
@ -0,0 +1,66 @@
|
||||
pkgbase = jdk
|
||||
pkgdesc = Oracle Java Development Kit
|
||||
pkgver = 8u112
|
||||
pkgrel = 1
|
||||
url = http://www.oracle.com/technetwork/java/javase/downloads/index.html
|
||||
install = jdk.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = custom
|
||||
depends = ca-certificates-java
|
||||
depends = desktop-file-utils
|
||||
depends = hicolor-icon-theme
|
||||
depends = java-environment-common
|
||||
depends = java-runtime-common
|
||||
depends = libx11
|
||||
depends = libxrender
|
||||
depends = libxslt
|
||||
depends = libxtst
|
||||
depends = shared-mime-info
|
||||
depends = xdg-utils
|
||||
optdepends = alsa-lib: for basic sound support
|
||||
optdepends = eclipse: to use "Oracle Java Mission Control" plugins in Eclipse
|
||||
optdepends = gtk2: for Gtk+ look and feel (desktop)
|
||||
optdepends = ttf-font: fonts
|
||||
provides = java-runtime=8
|
||||
provides = java-runtime-headless=8
|
||||
provides = java-web-start=8
|
||||
provides = java-environment=8
|
||||
provides = java-runtime-jre=8
|
||||
provides = java-runtime-headless-jre=8
|
||||
provides = java-web-start-jre=8
|
||||
provides = java-environment-jdk=8
|
||||
provides = java-openjfx=8
|
||||
options = !strip
|
||||
backup = etc/java-jdk8/amd64/jvm.cfg
|
||||
backup = etc/java-jdk8/images/cursors/cursors.properties
|
||||
backup = etc/java-jdk8/management/jmxremote.access
|
||||
backup = etc/java-jdk8/management/management.properties
|
||||
backup = etc/java-jdk8/security/java.policy
|
||||
backup = etc/java-jdk8/security/java.security
|
||||
backup = etc/java-jdk8/security/javaws.policy
|
||||
backup = etc/java-jdk8/content-types.properties
|
||||
backup = etc/java-jdk8/flavormap.properties
|
||||
backup = etc/java-jdk8/fontconfig.properties.src
|
||||
backup = etc/java-jdk8/logging.properties
|
||||
backup = etc/java-jdk8/net.properties
|
||||
backup = etc/java-jdk8/psfont.properties.ja
|
||||
backup = etc/java-jdk8/psfontj2d.properties
|
||||
backup = etc/java-jdk8/sound.properties
|
||||
source = http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip
|
||||
source = jconsole-jdk8.desktop
|
||||
source = jmc-jdk8.desktop
|
||||
source = jvisualvm-jdk8.desktop
|
||||
source = policytool-jdk8.desktop
|
||||
md5sums = b3c7031bc65c28c2340302065e7d00d3
|
||||
md5sums = b4f0da18e03f7a9623cb073b65dde6c1
|
||||
md5sums = 8f0ebcead2aecad67fbd12ef8ced1503
|
||||
md5sums = a4a21b064ff9f3c3f3fdb95edf5ac6f3
|
||||
md5sums = 98245ddb13914a74f0cc5a028fffddca
|
||||
source_i686 = http://download.oracle.com/otn-pub/java/jdk/8u112-b15/jdk-8u112-linux-i586.tar.gz
|
||||
md5sums_i686 = 66ccf8e7c28969d56863034d030134bf
|
||||
source_x86_64 = http://download.oracle.com/otn-pub/java/jdk/8u112-b15/jdk-8u112-linux-x64.tar.gz
|
||||
md5sums_x86_64 = de9b7a90f0f5a13cfcaa3b01451d0337
|
||||
|
||||
pkgname = jdk
|
||||
|
8
src/jdk/jconsole-jdk8.desktop
Normal file
8
src/jdk/jconsole-jdk8.desktop
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Exec=/usr/lib/jvm/java-8-jdk/bin/jconsole
|
||||
Icon=sun-java-jdk8
|
||||
Name=Java Monitoring and Management Console
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Development;Java;
|
71
src/jdk/jdk.install
Normal file
71
src/jdk/jdk.install
Normal file
@ -0,0 +1,71 @@
|
||||
THIS_JAVA='java-8-jdk'
|
||||
NAME='JDK'
|
||||
|
||||
all_off="$(tput sgr0)"
|
||||
bold="${all_off}$(tput bold)"
|
||||
blue="${bold}$(tput setaf 4)"
|
||||
yellow="${bold}$(tput setaf 3)"
|
||||
|
||||
note() {
|
||||
printf "${blue}::${yellow} archlinux-java:${bold} $1${all_off}\n"
|
||||
}
|
||||
|
||||
update_desktop() {
|
||||
update-desktop-database -q
|
||||
update-mime-database /usr/share/mime >/dev/null
|
||||
xdg-icon-resource forceupdate &>/dev/null
|
||||
}
|
||||
|
||||
post_install() {
|
||||
default=$(archlinux-java get)
|
||||
case ${default} in
|
||||
"")
|
||||
archlinux-java set ${THIS_JAVA}
|
||||
note "${NAME} ('${THIS_JAVA}') set as default Java environment."
|
||||
;;
|
||||
${THIS_JAVA})
|
||||
note "${NAME} ('${THIS_JAVA}') set as default Java environment."
|
||||
;;
|
||||
*)
|
||||
note "Default Java environment already set to '${default}'.
|
||||
To use ${NAME} ('${THIS_JAVA}'), run:
|
||||
# archlinux-java set ${THIS_JAVA}
|
||||
For status, use:
|
||||
$ archlinux-java status"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ ! -f /etc/ssl/certs/java/cacerts ]]; then
|
||||
update-ca-trust
|
||||
fi
|
||||
|
||||
update_desktop
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
default=$(archlinux-java get)
|
||||
if [[ ${default} = ${THIS_JAVA} ]]; then
|
||||
archlinux-java unset
|
||||
fi
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
default=$(archlinux-java get) # reassign
|
||||
if [[ ${default} ]]; then
|
||||
note "Default Java environment is '${default}'."
|
||||
else
|
||||
archlinux-java fix
|
||||
default=$(archlinux-java get) # re-reassign
|
||||
if [[ ${default} ]]; then
|
||||
note "Default Java environment left as '${default}'."
|
||||
else
|
||||
note "Java environment unset."
|
||||
fi
|
||||
fi
|
||||
|
||||
update_desktop
|
||||
}
|
8
src/jdk/jmc-jdk8.desktop
Normal file
8
src/jdk/jmc-jdk8.desktop
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Exec=/usr/lib/jvm/java-8-jdk/bin/jmc
|
||||
Icon=sun-java-jdk8
|
||||
Name=Java Mission Control
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Development;Java;
|
9
src/jdk/jvisualvm-jdk8.desktop
Normal file
9
src/jdk/jvisualvm-jdk8.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Exec=/usr/lib/jvm/java-8-jdk/bin/jvisualvm
|
||||
GenericName=Java Monitoring and Performance Monitoring Tool
|
||||
Icon=sun-java-jdk8
|
||||
Name=Java VisualVM
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Development;Java;
|
8
src/jdk/policytool-jdk8.desktop
Normal file
8
src/jdk/policytool-jdk8.desktop
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Exec=/usr/lib/jvm/java-8-jdk/jre/bin/policytool
|
||||
Icon=sun-java-jdk8
|
||||
Name=Java Policy Settings
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Settings;Java;
|
14
src/lostfiles/.SRCINFO
Normal file
14
src/lostfiles/.SRCINFO
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Wed Aug 3 17:50:57 UTC 2016
|
||||
pkgbase = lostfiles
|
||||
pkgdesc = Find orphaned files not owned by any Arch packages
|
||||
pkgver = 3.25
|
||||
pkgrel = 1
|
||||
url = https://github.com/graysky2/lostfiles
|
||||
arch = any
|
||||
license = GPL2
|
||||
source = https://github.com/graysky2/lostfiles/archive/v3.25.tar.gz
|
||||
sha256sums = 1c6a8c8fb98bdda81331ad6df91eb210a7bb8cfc2aa990f55a1b7713917e98c4
|
||||
|
||||
pkgname = lostfiles
|
||||
|
18
src/pacaur/.SRCINFO
Normal file
18
src/pacaur/.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
pkgbase = pacaur
|
||||
pkgdesc = An AUR helper that minimizes user interaction
|
||||
pkgver = 4.6.10
|
||||
pkgrel = 1
|
||||
url = https://github.com/rmarquis/pacaur
|
||||
arch = any
|
||||
license = ISC
|
||||
makedepends = perl
|
||||
depends = cower
|
||||
depends = expac
|
||||
depends = sudo
|
||||
depends = git
|
||||
backup = etc/xdg/pacaur/config
|
||||
source = https://github.com/rmarquis/pacaur/archive/4.6.10.tar.gz
|
||||
md5sums = d708774040efc197534eff3886d70425
|
||||
|
||||
pkgname = pacaur
|
||||
|
19
src/pacman-contrib/.SRCINFO
Normal file
19
src/pacman-contrib/.SRCINFO
Normal file
@ -0,0 +1,19 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Sat Oct 29 10:38:01 UTC 2016
|
||||
pkgbase = pacman-contrib-git
|
||||
pkgdesc = pacman contributions (Git version)
|
||||
pkgver = 0.0.1.r8.g86adc7b
|
||||
pkgrel = 1
|
||||
url = https://git.archlinux.org/pacman-contrib.git
|
||||
arch = any
|
||||
license = GPL
|
||||
makedepends = asciidoc
|
||||
makedepends = git
|
||||
depends = pacman-git
|
||||
provides = pacman-contrib
|
||||
replaces = pacman-contrib
|
||||
source = git+https://git.archlinux.org/pacman-contrib.git
|
||||
sha512sums = SKIP
|
||||
|
||||
pkgname = pacman-contrib-git
|
||||
|
@ -14,10 +14,10 @@ makedepends=('asciidoc' 'git')
|
||||
source=("git+$url")
|
||||
sha512sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd ${pkgname}
|
||||
git describe --long --tags | sed -r 's/^v//; s/([^-]*-g)/r\1/; s/-/./g'
|
||||
}
|
||||
#pkgver() {
|
||||
# cd ${pkgname}
|
||||
# git describe --long --tags | sed -r 's/^v//; s/([^-]*-g)/r\1/; s/-/./g'
|
||||
#}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}
|
||||
|
32
src/pacman/.SRCINFO
Normal file
32
src/pacman/.SRCINFO
Normal file
@ -0,0 +1,32 @@
|
||||
pkgbase = pacman-git
|
||||
pkgdesc = A library-based package manager with dependency support. git version.
|
||||
pkgver = 5.0.1.84.gad27aa3
|
||||
pkgrel = 1
|
||||
url = http://www.archlinux.org/pacman/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
checkdepends = python2
|
||||
checkdepends = fakechroot
|
||||
makedepends = git
|
||||
makedepends = asciidoc
|
||||
depends = bash
|
||||
depends = curl
|
||||
depends = gpgme
|
||||
depends = libarchive
|
||||
depends = pacman-mirrorlist
|
||||
optdepends = fakeroot: for makepkg usage as normal user
|
||||
provides = pacman=5.0.1.84.gad27aa3
|
||||
provides = pacman-contrib
|
||||
provides = libalpm.so
|
||||
conflicts = pacman
|
||||
conflicts = pacman-contrib
|
||||
options = !libtool
|
||||
options = !strip
|
||||
backup = etc/pacman.conf
|
||||
backup = etc/makepkg.conf
|
||||
source = git://git.archlinux.org/pacman.git
|
||||
sha1sums = SKIP
|
||||
|
||||
pkgname = pacman-git
|
||||
|
19
src/perl-convert-tnef/.SRCINFO
Normal file
19
src/perl-convert-tnef/.SRCINFO
Normal file
@ -0,0 +1,19 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Sat Mar 26 23:50:28 UTC 2016
|
||||
pkgbase = perl-convert-tnef
|
||||
pkgdesc = Perl module to read TNEF files
|
||||
pkgver = 0.18
|
||||
pkgrel = 3
|
||||
url = https://metacpan.org/release/Convert-TNEF
|
||||
arch = any
|
||||
license = PerlArtistic
|
||||
license = GPL
|
||||
depends = perl-io-stringy
|
||||
depends = perl-mime-tools
|
||||
options = !emptydirs
|
||||
source = http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/Convert-TNEF-0.18.tar.gz
|
||||
md5sums = 6f69ff242a807b861c6e68a3d93a58f7
|
||||
sha512sums = 00cbe54169c535e6d6d3b53a06eb47808a129d6397c73b5f2b53b93efba20f81d078c16edb7b0108bc037e2cb7f1c92719633519ea17088442ea8f63864eaf07
|
||||
|
||||
pkgname = perl-convert-tnef
|
||||
|
16
src/perl-convert-uulib/.SRCINFO
Normal file
16
src/perl-convert-uulib/.SRCINFO
Normal file
@ -0,0 +1,16 @@
|
||||
pkgbase = perl-convert-uulib
|
||||
pkgdesc = Perl interface to the uulib library (a.k.a. uudeview/uuenview).
|
||||
pkgver = 1.5
|
||||
pkgrel = 1
|
||||
url = http://search.cpan.org/~mlehmann/Convert-UUlib/
|
||||
arch = any
|
||||
license = GPL
|
||||
license = PerlArtistic
|
||||
depends = perl
|
||||
depends = perl-canary-stability
|
||||
options = !emptydirs
|
||||
source = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Convert-UUlib-1.5.tar.gz
|
||||
sha512sums = 92c8b6f3a72546dca21018ddf2863113904f550e3ed950a1898ed4abfcc48738e9ca374f5adbc3226df2db6beeb0e12879ae52cdd067a030c199766d53603ec1
|
||||
|
||||
pkgname = perl-convert-uulib
|
||||
|
2
src/perl-convert-uulib/.gitignore
vendored
Normal file
2
src/perl-convert-uulib/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
Convert-UUlib-*.tar.gz
|
||||
perl-convert-uulib-*.log
|
15
src/pkgsync/.SRCINFO
Normal file
15
src/pkgsync/.SRCINFO
Normal file
@ -0,0 +1,15 @@
|
||||
pkgbase = pkgsync
|
||||
pkgdesc = Sync installed packages across Arch installs
|
||||
pkgver = 1.01
|
||||
pkgrel = 1
|
||||
url = https://github.com/moparisthebest/pkgsync
|
||||
arch = any
|
||||
license = GPL3
|
||||
backup = etc/pkgsync/pkg_blacklist.list
|
||||
backup = etc/pkgsync/pkg_exclude.list
|
||||
backup = etc/default/pkgsync
|
||||
source = https://codeload.github.com/moparisthebest/pkgsync/tar.gz/v1.01
|
||||
sha256sums = 0d04af19ed5ffad2814b2845849a46ce2d606b4ef8e93e0dffb3b0f0ed8e760d
|
||||
|
||||
pkgname = pkgsync
|
||||
|
36
src/prosody-hg-stable/.SRCINFO
Normal file
36
src/prosody-hg-stable/.SRCINFO
Normal file
@ -0,0 +1,36 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Fri Nov 4 23:58:27 UTC 2016
|
||||
pkgbase = prosody-hg-stable
|
||||
pkgdesc = Lightweight and extensible Jabber/XMPP server written in Lua (stable build from 0.10-branch)
|
||||
pkgver = 0.10.r7036+.779a9ef6b4fd+
|
||||
pkgrel = 1
|
||||
url = https://prosody.im/
|
||||
install = prosody.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
arch = armv7h
|
||||
license = MIT
|
||||
makedepends = mercurial
|
||||
depends = lua51
|
||||
depends = lua51-socket
|
||||
depends = lua51-expat
|
||||
depends = lua51-filesystem
|
||||
depends = libidn
|
||||
depends = openssl
|
||||
optdepends = lua51-sec: TLS encryption support
|
||||
optdepends = lua51-bitop: websocket support
|
||||
optdepends = lua51-event: libevent support
|
||||
provides = prosody
|
||||
conflicts = prosody
|
||||
backup = etc/prosody/prosody.cfg.lua
|
||||
source = prosody-hg::hg+https://hg.prosody.im/0.10
|
||||
source = prosody.tmpfile.d
|
||||
source = sysuser.conf
|
||||
source = prosody.service
|
||||
md5sums = SKIP
|
||||
md5sums = dc8405a6a235b83dc8a0dcdf7b71cbaa
|
||||
md5sums = 385ca73d9f6046f3636266ce9bf38797
|
||||
md5sums = e74045f27cb60908d535969906781f75
|
||||
|
||||
pkgname = prosody-hg-stable
|
||||
|
28
src/prosody-hg-stable/prosody.install
Normal file
28
src/prosody-hg-stable/prosody.install
Normal file
@ -0,0 +1,28 @@
|
||||
post_install() {
|
||||
systemd-sysusers prosody.conf
|
||||
systemd-tmpfiles --create prosody.conf
|
||||
|
||||
chown prosody:jabber var/lib/prosody
|
||||
[ -d var/log/prosody ] && chown prosody:jabber var/log/prosody
|
||||
|
||||
echo ">> Documentation: http://wiki.archlinux.org/index.php/Prosody"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
paths=(/etc/prosody /var/lib/prosody /var/log/prosody
|
||||
/var/log/old/prosody)
|
||||
first=true
|
||||
for path in ${paths[@]}; do
|
||||
if [ -d $path ]; then
|
||||
if $first; then
|
||||
first=false
|
||||
echo "==> Leftover Paths:"
|
||||
fi
|
||||
echo "==> $path"
|
||||
fi
|
||||
done
|
||||
}
|
9
src/prosody-hg-stable/prosody.logrotated
Normal file
9
src/prosody-hg-stable/prosody.logrotated
Normal file
@ -0,0 +1,9 @@
|
||||
/var/log/prosody/prosody.log /var/log/prosody/prosody.err {
|
||||
# olddir /var/log/old/prosody
|
||||
create 644 prosody prosody
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
/bin/kill -HUP `cat /run/prosody/prosody.pid 2> /dev/null` 2> /dev/null || true
|
||||
endscript
|
||||
}
|
13
src/prosody-hg-stable/prosody.service
Normal file
13
src/prosody-hg-stable/prosody.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=XMPP (Jabber) Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/prosody/prosody.pid
|
||||
ExecStart=/usr/bin/prosodyctl start
|
||||
ExecStop=/usr/bin/prosodyctl stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
1
src/prosody-hg-stable/prosody.tmpfile.d
Normal file
1
src/prosody-hg-stable/prosody.tmpfile.d
Normal file
@ -0,0 +1 @@
|
||||
d /run/prosody 0755 prosody jabber -
|
3
src/prosody-hg-stable/sysuser.conf
Normal file
3
src/prosody-hg-stable/sysuser.conf
Normal file
@ -0,0 +1,3 @@
|
||||
g jabber 17 - -
|
||||
u prosody - "Prosody XMPP Server" /var/lib/prosody
|
||||
m prosody jabber
|
16
src/python2-yenc/.SRCINFO
Normal file
16
src/python2-yenc/.SRCINFO
Normal file
@ -0,0 +1,16 @@
|
||||
pkgbase = python2-yenc
|
||||
pkgdesc = yEnc encoding/decoding module for python2
|
||||
pkgver = 0.4.0
|
||||
pkgrel = 3
|
||||
url = http://www.golug.it/yenc.html
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
depends = python2
|
||||
conflicts = python-yenc
|
||||
replaces = python-yenc
|
||||
source = http://bitbucket.org/dual75/yenc/get/0.4.0.tar.bz2
|
||||
md5sums = 60e1a535b0e0c865c2cc4e7ddf18d9a4
|
||||
|
||||
pkgname = python2-yenc
|
||||
|
30
src/redis-desktop-manager/.SRCINFO
Normal file
30
src/redis-desktop-manager/.SRCINFO
Normal file
@ -0,0 +1,30 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Thu Nov 3 01:34:17 UTC 2016
|
||||
pkgbase = redis-desktop-manager
|
||||
pkgdesc = Open source cross-platform Redis Desktop Manager based on Qt 5
|
||||
pkgver = 0.9.0_alpha2
|
||||
pkgrel = 1
|
||||
url = https://redisdesktop.com/
|
||||
arch = x86_64
|
||||
license = GPLv3
|
||||
makedepends = git
|
||||
makedepends = gcc
|
||||
depends = qt5-base
|
||||
depends = qt5-charts
|
||||
depends = qt5-imageformats
|
||||
depends = qt5-tools
|
||||
depends = qt5-declarative
|
||||
depends = qt5-quickcontrols
|
||||
depends = qt5-graphicaleffects
|
||||
depends = qt5-svg
|
||||
depends = libssh2
|
||||
conflicts = redis-desktop-manager-bin
|
||||
source = rdm::git://github.com/uglide/RedisDesktopManager.git#tag=0.9.0-alpha2
|
||||
source = rdm.sh
|
||||
source = rdm.desktop
|
||||
sha256sums = SKIP
|
||||
sha256sums = f469d9a5adce723904efe0f1b1db5d79807410f90aafb117f18ae108d8b2d391
|
||||
sha256sums = 4fac85cec4a7abe7254ff3a6f0382d9a6f2b712372ecbd74474a2f8efe9c4e3c
|
||||
|
||||
pkgname = redis-desktop-manager
|
||||
|
10
src/redis-desktop-manager/rdm.desktop
Normal file
10
src/redis-desktop-manager/rdm.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Redis Desktop Manager
|
||||
Comment=Redis Desktop Manager
|
||||
Type=Application
|
||||
Categories=Development;
|
||||
Exec=rdm
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Icon=rdm.png
|
3
src/redis-desktop-manager/rdm.sh
Normal file
3
src/redis-desktop-manager/rdm.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
DIR=$(dirname "$(readlink -f "$0")")
|
||||
$DIR/rdm
|
43
src/sabnzbd/.AURINFO
Normal file
43
src/sabnzbd/.AURINFO
Normal file
@ -0,0 +1,43 @@
|
||||
pkgbase = sabnzbd
|
||||
pkgdesc = A web-interface based binary newsgrabber with NZB file support
|
||||
pkgver = 0.7.20
|
||||
pkgrel = 1
|
||||
url = http://www.sabnzbd.org
|
||||
install = sabnzbd.install
|
||||
arch = any
|
||||
license = GPL
|
||||
depends = curl
|
||||
depends = par2cmdline
|
||||
depends = python2
|
||||
depends = python2-cheetah
|
||||
depends = python2-yenc
|
||||
depends = sqlite
|
||||
depends = unrar
|
||||
depends = unzip
|
||||
optdepends = xdg-utils: registration of .nzb files
|
||||
optdepends = python2-feedparser: rss support
|
||||
optdepends = python2-pyopenssl: ssl support
|
||||
optdepends = par2cmdline-tbb: par2 multi-threading
|
||||
backup = etc/conf.d/sabnzbd
|
||||
backup = opt/sabnzbd/sabnzbd.ini
|
||||
source = http://downloads.sourceforge.net/sabnzbdplus/SABnzbd-0.7.20-src.tar.gz
|
||||
source = sabnzbd
|
||||
source = sabnzbd.desktop
|
||||
source = addnzb.sh
|
||||
source = nzb-2.png
|
||||
source = sab2_64.png
|
||||
source = x-nzb.xml
|
||||
source = sabnzbd.service
|
||||
source = sabnzbd.confd
|
||||
md5sums = 7972b2cdad0a3431262611c271ce5747
|
||||
md5sums = 48d60a1c626503c7fef1bc5374390513
|
||||
md5sums = f9bd5485072714b11f8c30a28024dc4d
|
||||
md5sums = 69b9bcbcf67ff3e7a4cdd9f26e001341
|
||||
md5sums = 2a49c07b1e3e6448eabe92644315f983
|
||||
md5sums = fdc878dd0f6f25617e627b04409abbbd
|
||||
md5sums = 11fb2cd1451e3725b08bfc2bd045be54
|
||||
md5sums = 7da9222f3b86abfed590950f48dc2e77
|
||||
md5sums = 8fc2607a7961fc643ef4f6640166322a
|
||||
|
||||
pkgname = sabnzbd
|
||||
|
43
src/sabnzbd/.SRCINFO
Normal file
43
src/sabnzbd/.SRCINFO
Normal file
@ -0,0 +1,43 @@
|
||||
pkgbase = sabnzbd
|
||||
pkgdesc = A web-interface based binary newsgrabber with NZB file support
|
||||
pkgver = 1.1.0
|
||||
pkgrel = 1
|
||||
url = http://www.sabnzbd.org
|
||||
install = sabnzbd.install
|
||||
arch = any
|
||||
license = GPL
|
||||
depends = curl
|
||||
depends = par2cmdline
|
||||
depends = python2
|
||||
depends = python2-cheetah
|
||||
depends = python2-yenc
|
||||
depends = sqlite
|
||||
depends = unrar
|
||||
depends = unzip
|
||||
optdepends = xdg-utils: registration of .nzb files
|
||||
optdepends = python2-feedparser: rss support
|
||||
optdepends = python2-pyopenssl: ssl support
|
||||
optdepends = par2cmdline-tbb: par2 multi-threading
|
||||
backup = etc/conf.d/sabnzbd
|
||||
backup = opt/sabnzbd/sabnzbd.ini
|
||||
source = https://github.com/sabnzbd/sabnzbd/releases/download/1.1.0/SABnzbd-1.1.0-src.tar.gz
|
||||
source = sabnzbd
|
||||
source = sabnzbd.desktop
|
||||
source = addnzb.sh
|
||||
source = nzb.png
|
||||
source = sabnzbd.png
|
||||
source = x-nzb.xml
|
||||
source = sabnzbd.service
|
||||
source = sabnzbd.confd
|
||||
md5sums = 03cec705efb742ab9a1d8d6dedbcee2f
|
||||
md5sums = 48d60a1c626503c7fef1bc5374390513
|
||||
md5sums = 36e5f0f60f28f67102682f80e33c6d4b
|
||||
md5sums = 69b9bcbcf67ff3e7a4cdd9f26e001341
|
||||
md5sums = 46fa8020fcfaad1e06d370fa3b0ea09a
|
||||
md5sums = b834ca5dfb63a5d06041c3174172ec09
|
||||
md5sums = 11fb2cd1451e3725b08bfc2bd045be54
|
||||
md5sums = da07971fa3790ea4824ed4ce611b38f3
|
||||
md5sums = 8fc2607a7961fc643ef4f6640166322a
|
||||
|
||||
pkgname = sabnzbd
|
||||
|
4
src/sabnzbd/addnzb.sh
Normal file
4
src/sabnzbd/addnzb.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/conf.d/sabnzbd
|
||||
curl -s -F apikey="$API_KEY" -F mode="addfile" -F name=@"$1" $URL/sabnzbd/api &> /dev/null
|
BIN
src/sabnzbd/nzb.png
Normal file
BIN
src/sabnzbd/nzb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
BIN
src/sabnzbd/sab2_64.png
Normal file
BIN
src/sabnzbd/sab2_64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
3
src/sabnzbd/sabnzbd
Normal file
3
src/sabnzbd/sabnzbd
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
python2 /opt/sabnzbd/SABnzbd.py -f ${HOME}/.sabnzbd.ini "${@}"
|
8
src/sabnzbd/sabnzbd.confd
Normal file
8
src/sabnzbd/sabnzbd.confd
Normal file
@ -0,0 +1,8 @@
|
||||
# This file is used to make association of .nzb files with SABnzbd possible.
|
||||
# If you do not want this feature, you do no have to fill in these settings.
|
||||
|
||||
# The SABnzbd url. Make sure to add a username and password if required
|
||||
URL="http://127.0.0.1:8080"
|
||||
|
||||
# Put the API key from Config > General here
|
||||
API_KEY=""
|
11
src/sabnzbd/sabnzbd.desktop
Executable file
11
src/sabnzbd/sabnzbd.desktop
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=SABnzbd+
|
||||
GenericName=Binary Newsreader
|
||||
Icon=/opt/sabnzbd/sabnzbd.png
|
||||
Exec=sh /opt/sabnzbd/addnzb.sh %u
|
||||
Terminal=false
|
||||
Categories=Network
|
||||
MimeType=application/x-nzb
|
69
src/sabnzbd/sabnzbd.install
Normal file
69
src/sabnzbd/sabnzbd.install
Normal file
@ -0,0 +1,69 @@
|
||||
# Change these to modify the ownership of sabnzbd
|
||||
# If you change this here, you also have to change
|
||||
# the user and group in the systemd service file.
|
||||
SABNZBD_USER="sabnzbd"
|
||||
SABNZBD_GROUP="sabnzbd"
|
||||
|
||||
SABNZBD_DIR="/opt/sabnzbd" # should not be changed
|
||||
|
||||
## arg 1: the new package version
|
||||
post_install() {
|
||||
# add x-nzb mimetype
|
||||
if [[ -f /usr/bin/xdg-mime ]]; then
|
||||
xdg-mime install --mode system "${SABNZBD_DIR}/x-nzb.xml"
|
||||
xdg-icon-resource install --context mimetypes --size 256 "${SABNZBD_DIR}/nzb.png" application-x-nzb
|
||||
fi
|
||||
|
||||
post_upgrade
|
||||
|
||||
cat << "EOM"
|
||||
==> If you want to associate .nzb-files with SABnzbd, run 'xdg-mime default sabnzbd.desktop applications/x-nzb'
|
||||
EOM
|
||||
}
|
||||
|
||||
## arg 1: the new package version
|
||||
## arg 2: the old package version
|
||||
pre_upgrade() {
|
||||
PID="$(pgrep -f SABnzbd.py)"
|
||||
|
||||
if [ -n "${PID}" ];then
|
||||
systemctl stop sabnzbd.service
|
||||
fi
|
||||
}
|
||||
|
||||
## arg 1: the new package version
|
||||
## arg 2: the old package version
|
||||
post_upgrade() {
|
||||
# if the group or user already exists, the request will be denied
|
||||
# and all original settings will be retained
|
||||
if [ "$SABNZBD_GROUP" == "sabnzbd" ]; then
|
||||
groupadd -r sabnzbd &> /dev/null
|
||||
fi
|
||||
|
||||
if [ "$SABNZBD_USER" == "sabnzbd" ]; then
|
||||
useradd -s /sbin/nologin -c "SABnzbd user" -d "${SABNZBD_DIR}" \
|
||||
-g sabnzbd -r sabnzbd &> /dev/null
|
||||
fi
|
||||
|
||||
chown -R "${SABNZBD_USER}:${SABNZBD_GROUP}" "${SABNZBD_DIR}"
|
||||
}
|
||||
|
||||
## arg 1: the old package version
|
||||
pre_remove() {
|
||||
pre_upgrade
|
||||
|
||||
if [[ -f /usr/bin/xdg-mime ]]; then
|
||||
xdg-mime uninstall --mode system "${SABNZBD_DIR}/x-nzb.xml"
|
||||
xdg-icon-resource uninstall --context mimetypes --size 256 application-x-nzb
|
||||
fi
|
||||
}
|
||||
|
||||
## arg 1: the old package version
|
||||
post_remove() {
|
||||
# only delete if user is sabnzbd
|
||||
userdel sabnzbd &> /dev/null
|
||||
groupdel sabnzbd &> /dev/null || /bin/true
|
||||
echo "==> There may be some files left in ${SABNZBD_DIR}."
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
BIN
src/sabnzbd/sabnzbd.png
Normal file
BIN
src/sabnzbd/sabnzbd.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
11
src/sabnzbd/sabnzbd.service
Normal file
11
src/sabnzbd/sabnzbd.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=SABnzbd binary newsreader
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/opt/sabnzbd/SABnzbd.py -l0 -f /opt/sabnzbd/sabnzbd.ini
|
||||
User=sabnzbd
|
||||
Group=sabnzbd
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
10
src/sabnzbd/x-nzb.xml
Normal file
10
src/sabnzbd/x-nzb.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/x-nzb">
|
||||
|
||||
<comment xml:lang='en'>An XML-based file format for retrieving posts from NNTP (Usenet) servers</comment>
|
||||
<sub-class-of type="application/xml"/>
|
||||
<glob pattern="*.nzb"/>
|
||||
|
||||
</mime-type>
|
||||
</mime-info>
|
20
src/scallion/.SRCINFO
Normal file
20
src/scallion/.SRCINFO
Normal file
@ -0,0 +1,20 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Thu Aug 18 21:57:52 UTC 2016
|
||||
pkgbase = scallion
|
||||
pkgdesc = Creates vanity GPG keys and .onion addresses (for Tor's hidden services) using OpenCL.
|
||||
pkgver = 2.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/lachesis/scallion
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = mono
|
||||
depends = mono
|
||||
optdepends = opencl-nvidia: OpenCL support for NVIDIA
|
||||
optdepends = opencl-mesa: OpenCL support for AMD/ATI Radeon mesa
|
||||
source = scallion.sh
|
||||
sha256sums = 1090325b7cd46c5b90ac0c9c841ca6ccf15141fd3c7b2f409ebecf0db1d39dff
|
||||
|
||||
pkgname = scallion
|
||||
|
4
src/scallion/scallion.sh
Executable file
4
src/scallion/scallion.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
/usr/bin/mono /usr/share/scallion/scallion.exe "$@"
|
||||
|
33
src/searx/.SRCINFO
Normal file
33
src/searx/.SRCINFO
Normal file
@ -0,0 +1,33 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Fri Oct 21 13:17:59 UTC 2016
|
||||
pkgbase = searx
|
||||
pkgdesc = A privacy-respecting, hackable metasearch engine
|
||||
pkgver = 0.10.0
|
||||
pkgrel = 3
|
||||
url = https://asciimoo.github.io/searx/
|
||||
install = searx.install
|
||||
arch = any
|
||||
license = AGPL
|
||||
makedepends = openssl
|
||||
depends = python2-flask
|
||||
depends = python2-flask-babel
|
||||
depends = python2-requests
|
||||
depends = python2-lxml
|
||||
depends = python2-yaml
|
||||
depends = python2-dateutil
|
||||
depends = python2-pygments
|
||||
depends = python2-certifi
|
||||
depends = python2-pyasn1-modules
|
||||
depends = python2-ndg-httpsclient
|
||||
depends = python2-pysocks
|
||||
conflicts = searx-git
|
||||
backup = etc/searx/settings.yml
|
||||
source = https://github.com/asciimoo/searx/archive/v0.10.0.zip
|
||||
source = searx.install
|
||||
source = searx.service
|
||||
sha512sums = 2290dde2e26b8b219e8613c2c79b17a6d0ecd9170cf02b7c6cfe6bc1c0a67ca09b60c18d194e7086701218483ae0941e8e2001fd99eedc36b17a6fead7b4f4a3
|
||||
sha512sums = daf98a69d87dc78ea645a02146d67b0a2903b3b219edadf2e3c987c20d0751ac147b72fe185c74bfe3e0b154ed8ee4b9b503e7ca922548fad52157aada05803c
|
||||
sha512sums = 354ec9c88018108ce0a652647faefaa23afb7afe53b42259a43adf9395b854d02c2b6d350b8d17cf105a9283f62aee0788f7dc96c2676f67c77941d3ef6edc0c
|
||||
|
||||
pkgname = searx
|
||||
|
12
src/searx/searx.install
Normal file
12
src/searx/searx.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
getent passwd searx >/dev/null || useradd -rb /usr/lib/python2.7/site-packages -s /usr/bin/nologin searx
|
||||
echo "Settings are at /etc/searx/settings.yml"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
echo "You may want to remove searx user"
|
||||
}
|
19
src/searx/searx.service
Normal file
19
src/searx/searx.service
Normal file
@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Searx server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=searx
|
||||
Environment=SEARX_SETTINGS_PATH=/etc/searx/settings.yml
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
# Prevent accessing /home, /root and /run/user
|
||||
ProtectHome=true
|
||||
# Prevent writes to /usr, /boot, and /etc
|
||||
ProtectSystem=full
|
||||
ExecStart=/usr/bin/searx-run
|
||||
Restart=on-abort
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
34
src/sonarr/.SRCINFO
Normal file
34
src/sonarr/.SRCINFO
Normal file
@ -0,0 +1,34 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Tue Nov 1 19:26:37 UTC 2016
|
||||
pkgbase = sonarr
|
||||
pkgdesc = PVR for newsgroup users. Formerly known as NZBDrone
|
||||
pkgver = 2.0.0.4374
|
||||
pkgrel = 1
|
||||
url = https://sonarr.tv
|
||||
install = sonarr.install
|
||||
arch = any
|
||||
license = GPL3
|
||||
depends = mono
|
||||
depends = libmediainfo
|
||||
depends = sqlite
|
||||
optdepends = sabnzbd: an NZB downloader
|
||||
optdepends = nzbget: an NZB downloader
|
||||
optdepends = transmission-cli: a torrent downloader (CLI and daemon version)
|
||||
optdepends = transmission-gtk: a torrent downloader (GTK+ version)
|
||||
optdepends = transmission-qt: a torrent downloader (Qt version)
|
||||
optdepends = deluge: a torrent downloader
|
||||
provides = nzbdrone
|
||||
provides = nzbdrone-torrents
|
||||
conflicts = nzbdrone
|
||||
conflicts = nzbdrone-torrents
|
||||
replaces = nzbdrone
|
||||
replaces = nzbdrone-torrents
|
||||
source = https://update.sonarr.tv/v2/master/mono/NzbDrone.master.2.0.0.4374.mono.tar.gz
|
||||
source = sonarr.sh
|
||||
source = sonarr.service
|
||||
sha512sums = e18ec5af06f9a0c4fdd3caddcc303367bf963a4669653eec73cad96957b1bd61b35e106d2770da025796ee5c7e25790ead3e9b5b41070ac3dbc632ece2022e8c
|
||||
sha512sums = 84efa2eebd9afe6b74203aefdc3fdbd4088ecfad17dbe929396f1ffc639743b615a9b75566a0b45d6b7925bd5675368015047c6d65c1421ffe8712728f350695
|
||||
sha512sums = 438de225c38c26aaa15cae243b18d0be85f3f0e54f1297bf182082a0bdbd936d21928cdcdb899f0f18c6ec32ee88c2e0f0d29b8a2a1cdf98a8e1907cd6f36a2c
|
||||
|
||||
pkgname = sonarr
|
||||
|
4
src/sonarr/.gitignore
vendored
Normal file
4
src/sonarr/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
NzbDrone.master.*.mono.tar.gz
|
||||
pkg
|
||||
sonarr-*.pkg.tar.xz
|
||||
src
|
28
src/sonarr/sonarr.install
Normal file
28
src/sonarr/sonarr.install
Normal file
@ -0,0 +1,28 @@
|
||||
post_install() {
|
||||
if grep -q "^sonarr" /etc/group &> /dev/null ; then
|
||||
groupmod -n sonarr sonarr &> /dev/null
|
||||
else
|
||||
groupadd -r sonarr &> /dev/null
|
||||
fi
|
||||
if grep -q "^sonarr:" /etc/passwd 2> /dev/null ; then
|
||||
usermod -s /bin/false -c "Sonarr daemon" -d /var/lib/sonarr -g sonarr sonarr &> /dev/null
|
||||
else
|
||||
useradd -s /bin/false -c "Sonarr daemon user" -d /var/lib/sonarr -g sonarr -r sonarr &> /dev/null
|
||||
fi
|
||||
|
||||
mkdir -p /var/lib/sonarr
|
||||
if [[ ! -f /var/lib/sonarr/config.xml ]]
|
||||
then
|
||||
if [[ -f /var/lib/nzbdrone/config.xml ]]
|
||||
then
|
||||
echo "A previous installation of nzbdrone has been detected. Copying previous configuration to Sonarr"
|
||||
cp -r /var/lib/nzbdrone/* /var/lib/sonarr
|
||||
fi
|
||||
chown -R sonarr: /var/lib/sonarr
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
13
src/sonarr/sonarr.service
Normal file
13
src/sonarr/sonarr.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Sonarr Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=sonarr
|
||||
Group=sonarr
|
||||
ExecStart=/usr/bin/sonarr -nobrowser -data=/var/lib/sonarr
|
||||
Type=simple
|
||||
TimeoutStopSec=20
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
2
src/sonarr/sonarr.sh
Executable file
2
src/sonarr/sonarr.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec mono /usr/lib/sonarr/NzbDrone.exe "$@"
|
22
src/subsonic/.SRCINFO
Normal file
22
src/subsonic/.SRCINFO
Normal file
@ -0,0 +1,22 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Mon May 9 11:24:15 UTC 2016
|
||||
pkgbase = subsonic
|
||||
pkgdesc = A free, web-based media streamer and jukebox.
|
||||
pkgver = 6.0
|
||||
pkgrel = 2
|
||||
url = http://subsonic.org/
|
||||
install = subsonic.install
|
||||
arch = any
|
||||
license = CUSTOM
|
||||
depends = java-runtime-headless
|
||||
conflicts = subsonic
|
||||
backup = var/lib/subsonic/db
|
||||
backup = var/lib/subsonic/subsonic.properties
|
||||
backup = var/lib/subsonic/subsonic.sh
|
||||
source = http://subsonic.org/download/subsonic-6.0-standalone.tar.gz
|
||||
source = subsonic.service
|
||||
md5sums = 5bfb0c06585d087801a6b67c6cb2bd78
|
||||
md5sums = 7cbbb9c8357992385c929e9f05be00be
|
||||
|
||||
pkgname = subsonic
|
||||
|
70
src/subsonic/subsonic.install
Normal file
70
src/subsonic/subsonic.install
Normal file
@ -0,0 +1,70 @@
|
||||
_homedir=/var/lib/subsonic
|
||||
_playlistdir=/var/playlists
|
||||
|
||||
post_install() {
|
||||
|
||||
getent group subsonic &>/dev/null || groupadd --system subsonic > /dev/null
|
||||
getent passwd subsonic &>/dev/null || useradd --system \
|
||||
--home-dir /var/lib/subsonic \
|
||||
--shell /usr/bin/nologin \
|
||||
--gid subsonic \
|
||||
--groups audio \
|
||||
--comment "Subsonic user" \
|
||||
subsonic > /dev/null
|
||||
passwd --lock subsonic > /dev/null
|
||||
|
||||
fix_permissions
|
||||
echo "*************************************************"
|
||||
echo "* Edit /etc/subsonic.conf to configure subsonic *"
|
||||
echo "*************************************************"
|
||||
|
||||
systemctl daemon-reload
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
if [[ `systemctl is-active subsonic` == 'active' ]]; then
|
||||
systemctl stop subsonic
|
||||
fi
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
getent passwd subsonic &>/dev/null && userdel subsonic >/dev/null
|
||||
getent group subsonic &>/dev/null && groupdel subsonic >/dev/null
|
||||
}
|
||||
|
||||
fix_permissions() {
|
||||
chown -R subsonic:subsonic ${_homedir}
|
||||
chown subsonic:subsonic ${_playlistdir}
|
||||
}
|
||||
|
||||
pre_upgrade() {
|
||||
rm -f /tmp/subsonic-was-active
|
||||
if [[ `systemctl is-active subsonic` == 'active' ]]; then
|
||||
touch /tmp/subsonic-was-active
|
||||
echo "Stopping subsonic"
|
||||
systemctl stop subsonic
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
|
||||
if [[ $(vercmp 5.0.beta1 $2) == "1" ]]; then
|
||||
echo "!! Subsonics home dir is now located in /var/lib/subsonic."
|
||||
echo " You will have to move the database located in "
|
||||
echo " /var/subsonic/db to this new location."
|
||||
echo ""
|
||||
echo "!! This package now runs subsonic as the user 'subsonic'."
|
||||
echo " You mightneed to edit permissions for your media folders."
|
||||
rm -f /tmp/subsonic-was-active
|
||||
echo ""
|
||||
echo "!! Not restarting subsonic automatically."
|
||||
echo " You might need to change configs"
|
||||
fi
|
||||
|
||||
if [ -e /tmp/subsonic-was-active ]; then
|
||||
echo "Starting subsonic"
|
||||
systemctl start subsonic
|
||||
rm /tmp/subsonic-was-active
|
||||
fi
|
||||
}
|
12
src/subsonic/subsonic.service
Normal file
12
src/subsonic/subsonic.service
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Subsonic
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=subsonic
|
||||
ExecStart=/var/lib/subsonic/subsonic.sh
|
||||
ExecStop=/bin/kill -15 $MAINPID
|
||||
Type=forking
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
38
src/ttf-ms-fonts/.SRCINFO
Normal file
38
src/ttf-ms-fonts/.SRCINFO
Normal file
@ -0,0 +1,38 @@
|
||||
pkgbase = ttf-ms-fonts
|
||||
pkgdesc = Core TTF Fonts from Microsoft
|
||||
pkgver = 2.0
|
||||
pkgrel = 10
|
||||
url = http://corefonts.sourceforge.net/
|
||||
install = ttf-ms-fonts.install
|
||||
arch = any
|
||||
license = custom:microsoft
|
||||
makedepends = libarchive>=3.0.2
|
||||
depends = fontconfig
|
||||
depends = xorg-fonts-encodings
|
||||
depends = xorg-font-utils
|
||||
provides = ttf-font
|
||||
source = http://downloads.sourceforge.net/corefonts/andale32.exe
|
||||
source = http://downloads.sourceforge.net/corefonts/arial32.exe
|
||||
source = http://downloads.sourceforge.net/corefonts/arialb32.exe
|
||||
source = http://downloads.sourceforge.net/corefonts/comic32.exe
|
||||
source = http://downloads.sourceforge.net/corefonts/courie32.exe
|
||||
source = http://downloads.sourceforge.net/corefonts/georgi32.exe
|
||||
source = http://downloads.sourceforge.net/corefonts/impact32.exe
|
||||
source = http://downloads.sourceforge.net/corefonts/times32.exe
|
||||
source = http://downloads.sourceforge.net/corefonts/trebuc32.exe
|
||||
source = http://downloads.sourceforge.net/corefonts/verdan32.exe
|
||||
source = http://downloads.sourceforge.net/corefonts/webdin32.exe
|
||||
md5sums = cbdc2fdd7d2ed0832795e86a8b9ee19a
|
||||
md5sums = 9637df0e91703179f0723ec095a36cb5
|
||||
md5sums = c9089ae0c3b3d0d8c4b0a95979bb9ff0
|
||||
md5sums = 2b30de40bb5e803a0452c7715fc835d1
|
||||
md5sums = 4e412c772294403ab62fb2d247d85c60
|
||||
md5sums = 4d90016026e2da447593b41a8d8fa8bd
|
||||
md5sums = 7907c7dd6684e9bade91cff82683d9d7
|
||||
md5sums = ed39c8ef91b9fb80f76f702568291bd5
|
||||
md5sums = 0d7ea16cac6261f8513a061fbfcdb2b5
|
||||
md5sums = 12d2a75f8156e10607be1eaa8e8ef120
|
||||
md5sums = 230a1d13a365b22815f502eb24d9149b
|
||||
|
||||
pkgname = ttf-ms-fonts
|
||||
|
16
src/ttf-ms-fonts/ttf-ms-fonts.install
Normal file
16
src/ttf-ms-fonts/ttf-ms-fonts.install
Normal file
@ -0,0 +1,16 @@
|
||||
post_install() {
|
||||
echo -n "Updating font cache... "
|
||||
fc-cache -f > /dev/null
|
||||
mkfontscale /usr/share/fonts/TTF
|
||||
mkfontdir /usr/share/fonts/TTF
|
||||
echo "done."
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install $1
|
||||
}
|
||||
|
24
src/ttf-oxygen/.SRCINFO
Normal file
24
src/ttf-oxygen/.SRCINFO
Normal file
@ -0,0 +1,24 @@
|
||||
pkgbase = ttf-oxygen
|
||||
pkgdesc = A desktop/gui font family for integrated use with the KDE desktop
|
||||
pkgver = 5.4.3
|
||||
pkgrel = 2
|
||||
epoch = 1
|
||||
url = https://projects.kde.org/projects/kde/workspace/oxygen-fonts
|
||||
install = ttf-oxygen.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = custom:OFL
|
||||
license = GPL
|
||||
license = custom:GPL+FE
|
||||
makedepends = extra-cmake-modules
|
||||
makedepends = fontforge
|
||||
depends = fontconfig
|
||||
depends = xorg-fonts-encodings
|
||||
depends = xorg-font-utils
|
||||
provides = ttf-font
|
||||
options = !emptydirs
|
||||
source = http://download.kde.org/stable/plasma/5.4.3/oxygen-fonts-5.4.3.tar.xz
|
||||
md5sums = 8d8ab61a65642a18a40de9f3945ce584
|
||||
|
||||
pkgname = ttf-oxygen
|
||||
|
15
src/ttf-oxygen/ttf-oxygen.install
Normal file
15
src/ttf-oxygen/ttf-oxygen.install
Normal file
@ -0,0 +1,15 @@
|
||||
post_install() {
|
||||
echo -n "Updating font cache... "
|
||||
fc-cache -s
|
||||
mkfontscale /usr/share/fonts/TTF
|
||||
mkfontdir /usr/share/fonts/TTF
|
||||
echo "done."
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install $1
|
||||
}
|
27
src/wallabag/.SRCINFO
Normal file
27
src/wallabag/.SRCINFO
Normal file
@ -0,0 +1,27 @@
|
||||
pkgbase = wallabag
|
||||
pkgdesc = Self hostable application for saving web pages
|
||||
pkgver = 2.1.2
|
||||
pkgrel = 1
|
||||
url = http://www.wallabag.org/
|
||||
install = wallabag.install
|
||||
arch = any
|
||||
license = MIT
|
||||
depends = php>=5.3.3
|
||||
depends = php-gd
|
||||
depends = php-tidy
|
||||
depends = pcre
|
||||
optdepends = php-mysql: For MySQL storage
|
||||
optdepends = php-pgsql: For postgres storage
|
||||
optdepends = php-sqlite: For sqlite storage
|
||||
optdepends = rabbitmq: For async import
|
||||
optdepends = redis: For async import
|
||||
options = !strip
|
||||
backup = etc/webapps/wallabag/parameters.yml
|
||||
backup = usr/share/webapps/wallabag/parameters.yml
|
||||
backup = var/lib/wallabag/data/db/wallabag.sqlite
|
||||
backup = usr/share/webapps/wallabag/data/db/wallabag.sqlite
|
||||
source = wallabag.tar.xz::http://wllbg.org/latest-v2-package
|
||||
sha256sums = f3acfde5a945bcd0a65f2549fc2f577bc6fc633ba901df27e7dc88c07feb2406
|
||||
|
||||
pkgname = wallabag
|
||||
|
5
src/wallabag/.gitignore
vendored
Normal file
5
src/wallabag/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
*tar.gz
|
||||
*pkg.tar.xz
|
||||
src/
|
||||
pkg/
|
||||
vendor.zip
|
14
src/wallabag/LICENSE
Normal file
14
src/wallabag/LICENSE
Normal file
@ -0,0 +1,14 @@
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
|
||||
|
||||
pkgname=wallabag
|
||||
pkgver=2.1.2
|
||||
pkgver=2.1.3
|
||||
pkgrel=1
|
||||
pkgdesc='Self hostable application for saving web pages'
|
||||
arch=('any')
|
||||
@ -23,7 +23,7 @@ optdepends=(
|
||||
install="$pkgname.install"
|
||||
options=(!strip)
|
||||
source=("${pkgname}.tar.xz::http://wllbg.org/latest-v2-package")
|
||||
sha256sums=('f3acfde5a945bcd0a65f2549fc2f577bc6fc633ba901df27e7dc88c07feb2406')
|
||||
sha256sums=('f72d6e8dfd7975c4f407e5d531c52b865b3e2a72d755798ac908dcfc22d6815e')
|
||||
backup=("etc/webapps/${pkgname}/parameters.yml"
|
||||
"usr/share/webapps/${pkgname}/parameters.yml"
|
||||
"var/lib/${pkgname}/data/db/wallabag.sqlite"
|
||||
|
18
src/wallabag/README.md
Normal file
18
src/wallabag/README.md
Normal file
@ -0,0 +1,18 @@
|
||||
# wallabag
|
||||
|
||||
## Description
|
||||
|
||||
AUR package for wallabag
|
||||
|
||||
## Installation
|
||||
|
||||
``` bash
|
||||
git clone https://github.com/pschmitt/aur-wallabag /tmp/wallabag
|
||||
cd /tmp/wallabag
|
||||
makepkg -si
|
||||
```
|
||||
|
||||
## Links
|
||||
|
||||
* AUR page: https://aur.archlinux.org/packages/wallabag
|
||||
* Upstream: http://www.wallabag.org/ and https://github.com/wallabag/wallabag
|
41
src/wallabag/wallabag.install
Normal file
41
src/wallabag/wallabag.install
Normal file
@ -0,0 +1,41 @@
|
||||
|
||||
post_install() {
|
||||
echo ""
|
||||
echo "==> Installed in : /usr/share/webapps/wallabag"
|
||||
echo ""
|
||||
echo "==> Config is at /etc/webapps/wallabag/config/parameters.yml"
|
||||
echo ""
|
||||
echo -n "Change the configuration to fit to your current setup, and then "
|
||||
echo "init wallabag by launching:"
|
||||
echo "php /usr/share/webapps/wallabag/bin/console wallabag:install --env=prod"
|
||||
echo ""
|
||||
echo -n "To setup your webserver and enable the needed php extensions, "
|
||||
echo "please read: http://doc.wallabag.org/en/master/user/installation.html"
|
||||
echo ""
|
||||
echo -n "If you upgraded from 2.0.x, you might need to check the upgrade guide: "
|
||||
echo "http://doc.wallabag.org/en/master/user/upgrade-2.0.x-2.1.1.html"
|
||||
}
|
||||
|
||||
|
||||
pre_upgrade() {
|
||||
# save old untracked config and make it tracked
|
||||
if [[ -f /usr/share/webapps/wallabag/app/config/parameters.yml && \
|
||||
! -h /usr/share/webapps/wallabag/app/config/parameters.yml ]];
|
||||
then install -Dm644 \
|
||||
/usr/share/webapps/wallabag/app/config/parameters.yml \
|
||||
-t /etc/webapps/wallabag/
|
||||
fi
|
||||
# also move `data` and `var` to /var/lib/wallabag/
|
||||
if [[ -d /usr/share/webapps/wallabag/data && \
|
||||
! -h /usr/share/webapps/wallabag/data && \
|
||||
-d /usr/share/webapps/wallabag/var && \
|
||||
! -h /usr/share/webapps/wallabag/var ]]; then
|
||||
install -d /var/lib/wallabag/
|
||||
chown http:http /var/lib/wallabag/
|
||||
mv /usr/share/webapps/wallabag/{data,var} /var/lib/wallabag/
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
rm -rf /var/lib/wallabag/var/cache/*
|
||||
}
|
Loading…
Reference in New Issue
Block a user