parent
b0625978fb
commit
d155a89330
@ -1,8 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX elvis-2.2.0-glibc-2.10.patch 1526 SHA256 1363fd4ed25c7b97d1a79da7c243f38ed5d2053fdf83e23ed0be3167bd14c46d SHA512 2658fc5a6758a0ecab2320a01fcb708d595e304e94609f642e324d6d77a58a13e20560041fdb890f0f91443c5a3c53ccd1eb8f6a7bc47c70f8e910da107b071c WHIRLPOOL dc34ec022f1dc652e1368539ac7a34d720b5e73edc384fd54b9b2e2c954ee8e3a15e9fa2972daa0f75e83ba5037e0f68278a0d4413b30d388dacab1c4ec38fda
|
||||
AUX elvis-2.2.0-interix.patch 297 SHA256 36e401aa2375266813133dd195469837c60daf723c8b53a05300eb4fa6b62cae SHA512 7215150c74b96ea441898435c02f342c0fac2e579363be5a95684a49b84e020275b6e9124b8fd449559e1e3217f96901c2887214ee61a4ca8484598a7cd42442 WHIRLPOOL 996a8163bbb343371cbbdc427cbfa8dc5369911ac1853ab30664d22d6be234d24344accb14beb92febf3da62d3e3b411e37e086656ee2e8bbfbecbd8cf79a7e4
|
||||
AUX ft2.3-symbol-collision-fix.patch 2396 SHA256 59960b0498863f0793b5c33a824efc62c6255d26455d3ec6c87f62cb1969f008 SHA512 14a2880f9984615f9876973e5eaea54846547d2871b8c2f1417c968e5e92c01612c954d39026671cb29656c4d6fd93d65f1bd6fc6325471346e1f56e3e1b97a3 WHIRLPOOL d21ca4e78f5288688e539c85ea3300e252ea0d56adb6a101eed531cc2a4e2a7ab8a0cf49c80640aab5bdcd18ee71e57d352d5280befe0a40a710b2e7809347d1
|
||||
DIST elvis-2.2_0.tar.gz 1439293 SHA256 9a8466b2293798441056bc279736af3a616baaba2f11940396cc60ff71924ea0 SHA512 847cc9ac0af170798abd4725f7dc2ec74d4931fb761b58836d4016d36da5657176bd8cdcdae02bc08438b18e8ce2433eb3340ec2503630fd2992e83ba06adf42 WHIRLPOOL be087bc38507900852dbe1f9b59a14c3e135d14bc695f2ec23c6c70284c6f9b7d35b7d25a0dd2b36f32392537421aeb6804df477cfc98a206f101ffee5f2be8f
|
||||
EBUILD elvis-2.2.0-r3.ebuild 2379 SHA256 b32ca96b608482c5d41434719bd5b7c31492eedd618064098d80badfe94f11d6 SHA512 193b80bc6b0a31ea1c35b8d3791459612d8d843ea2c9243604e9ad5237b4a99a14d591d74e7f546c88c4114e76e0e8d262c98b416ef12bf3993d129893ff8a38 WHIRLPOOL acbdbaf655219416fa726ebeea864dce3cb678a26297fc4a4f7d027709138223dee99a354234f5c07edd0dbec035c7cb7e1e5ce90bc263b66d32edea08413570
|
||||
EBUILD elvis-2.2.0-r4.ebuild 2519 SHA256 1b890a33404d9d43bbca6e5d136ef72ffc169dc18601683563bbb38fc9e39817 SHA512 3a1d2c98fa75f4eb2a4d0b9fe54c14451a5d8f79e12e27517113b8efd467e26a86fc0d7829efc017692da27e8a795b2b4cef057e67a22ae88f75e63aca55b6fd WHIRLPOOL 2847b957a7cba4551e58751a18b0fada069ff38a1566121aceb58138cc18eb2fd45243bfc1d0c10fe10ff2d840a1cfb10873b3ff502ab541721b11c41f605813
|
||||
MISC ChangeLog 5732 SHA256 e5dacb9648bb6cbd3e3616c3d63425be84af0a54d5e8b1f3eabe8b3b06c67681 SHA512 439b1dd2744df623f4df1c2f6c37365b1c7fbbc484c0a601e007511a838a0dfe6a8600e004ba54875fb5cdb37ba45d439df42f8e182247ac52b074c8b4854746 WHIRLPOOL 968da83c5b13604d64972fba8bee8048e8d1f74332f788d8f929cfefd38e8456b516cda00b849757613ccdcb0be4d7edc11fd8722754fe30b0ff8828053ef86e
|
||||
EBUILD elvis-2.2.0-r4.ebuild 2515 SHA256 7d31466329754ae12326a6c61117349166b5bfcafb53cf1735eb2ccf3edb250a SHA512 df7ae1844452d093e5eb853bf54a4f31ca7d4807f2c89f62d3e195d93de99c3962136b2ee9c651d60ba36ae940b978f230f4bb94cbd88a01975ef04b0a3358d3 WHIRLPOOL bef2f9e95e7dfdc565875c18a28186239a56d5555ef88cf9582538cb4a4c16e6789cdd0b9cab800b5b1212e50bd1d142802f7c04d073333deb852effdb334c2a
|
||||
MISC ChangeLog 5826 SHA256 a6d2c030f7dc64eca57537f64ebcc729fc35a9262dec81cb84f2ed99c1526bf9 SHA512 d65f0c7938372cf172b55b198d2de3b9323ca128f09ca05dc32862d781886601ba76599e4d8ed1055a7e18f8c73686fc162753fc8557c17d4546f2247227b415 WHIRLPOOL a2577197c4ecf207463bb6acc444086e3edc674196cdbc1d0c2b333da5132907a8963a996d270f431f8f4628822e317e6ebd1eb25ebc26c63d86a3b38d82dd95
|
||||
MISC metadata.xml 156 SHA256 64d20c782589b423a6e75ba6fff7edead1ec8fbae742d27dd57f5299e8328500 SHA512 7dc1d902106e794e1a12bde5dcacb8b7143584cba9c61e72ac5728dd952663144c1b0efc949fbbc9fcec03b396b5e060e8263eaad7d70cd82d6d5b350c62f0c1 WHIRLPOOL 4381a5d144e783e5979d394720b32f7d95818a8571f748e72c5ece965c4e0375b1aec0c34f6f506a9f9fc255f1b69a220fdb74d1dbb8aabc92ec48afa44ab883
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAlA1ZOUACgkQknrdDGLu8JADRQD+KuY9vg+zc+eK01OjVmY9J2jg
|
||||
RiIPAUYGPTjxa6ss850A/0ENBPc9QWjvOr3/Dsd7ocE3FdowcqjjaYGgowWvI0CU
|
||||
=ZkxB
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,127 @@
|
||||
--- a/Config.kmk 2012-08-22 10:44:28.280834966 -0400
|
||||
+++ b/Config.kmk 2012-08-22 10:44:35.990837245 -0400
|
||||
@@ -2126,6 +2126,7 @@
|
||||
$(APPEND) '$@' 'VBOX_GCC_Wno-variadic-macros ?= $(call VBOX_GCC_CHECK_CXX,-Wno-variadic-macros,)'
|
||||
$(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)'
|
||||
$(APPEND) '$@' 'VBOX_GCC_fno-stack-protector ?= $(call VBOX_GCC_CHECK_CC,-fno-stack-protector,)'
|
||||
+ $(APPEND) '$@' 'VBOX_GCC_nopie ?= $(call VBOX_GCC_CHECK_CC,-nopie,)'
|
||||
# Produce code optimized for the most common IA32/AMD64/EM64T processors. Introduced with gcc version 4.2.
|
||||
$(APPEND) '$@' 'VBOX_GCC_mtune-generic ?= $(call VBOX_GCC_CHECK_CC,-mtune=generic,)'
|
||||
$(APPEND) '$@' 'VBOX_LD_as_needed ?= $(call VBOX_GCC_CHECK_LD,--as-needed,)'
|
||||
@@ -2643,8 +2644,8 @@
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT32),elf)
|
||||
TEMPLATE_VBoxRc_TOOL = $(VBOX_GCC32_TOOL)
|
||||
- TEMPLATE_VBoxRc_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden) -fno-rtti
|
||||
- TEMPLATE_VBoxRc_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden)
|
||||
+ TEMPLATE_VBoxRc_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden) -fno-rtti
|
||||
+ TEMPLATE_VBoxRc_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden)
|
||||
ifeq ($(KBUILD_TARGET),solaris)
|
||||
TEMPLATE_VBoxRc_LDFLAGS = -r
|
||||
else
|
||||
@@ -2704,9 +2705,9 @@
|
||||
endif
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT32),elf)
|
||||
- TEMPLATE_VBoxRcExe_CFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CFLAGS)) -O0
|
||||
- TEMPLATE_VBoxRcExe_CXXFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CXXFLAGS)) -O0
|
||||
- TEMPLATE_VBoxRcExe_LDFLAGS = -g
|
||||
+ TEMPLATE_VBoxRcExe_CFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CFLAGS)) -O0 $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBoxRcExe_CXXFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CXXFLAGS)) -O0 $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBoxRcExe_LDFLAGS = -g $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.dbgopt = -g
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.strict = -g
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.release = -g
|
||||
@@ -2768,8 +2769,8 @@
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT),elf)
|
||||
TEMPLATE_VBoxR0_TOOL = $(VBOX_GCC_TOOL)
|
||||
-TEMPLATE_VBoxR0_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden) -std=gnu99
|
||||
-TEMPLATE_VBoxR0_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) -fno-rtti
|
||||
+TEMPLATE_VBoxR0_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden) -std=gnu99
|
||||
+TEMPLATE_VBoxR0_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) -fno-rtti
|
||||
TEMPLATE_VBoxR0_CFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables -ffreestanding
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables
|
||||
ifeq ($(KBUILD_TARGET),solaris)
|
||||
@@ -2794,12 +2795,12 @@
|
||||
TEMPLATE_VBoxR0_DEFS += $(VBOX_DARWIN_DEF_SDK_DEFS)
|
||||
TEMPLATE_VBoxR0_CXXFLAGS = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS) -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) \
|
||||
-fno-common -msoft-float -static -fno-rtti -fno-exceptions $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing \
|
||||
- -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector)
|
||||
+ -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.amd64 = -m64 -mno-red-zone -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -fno-unwind-tables
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.x86 = -m32
|
||||
TEMPLATE_VBoxR0_CFLAGS = $(VBOX_DARWIN_DEF_SDK_CFLAGS) -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) \
|
||||
-fno-common -msoft-float -static -fno-exceptions $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing \
|
||||
- -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector)
|
||||
+ -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxR0_CFLAGS.amd64 = -m64 -mno-red-zone -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -fno-unwind-tables
|
||||
TEMPLATE_VBoxR0_CFLAGS.x86 = -m32
|
||||
TEMPLATE_VBoxR0_LDFLAGS = $(VBOX_DARWIN_DEF_SDK_LDFLAGS) -nostdlib
|
||||
@@ -2861,7 +2862,7 @@
|
||||
TEMPLATE_VBOXR0DRV_INCS = $(VBOX_LINUX_INCS)
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS = -nostdinc -iwithprefix include $(VBOX_LINUX_INCLUDE) \
|
||||
$(VBOX_GCC_WARN) -Wstrict-prototypes $(VBOX_GCC_Wno-pointer-sign) -Wno-sign-compare \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -mpreferred-stack-boundary=2 -msoft-float
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow \
|
||||
-fno-reorder-blocks -ffreestanding -fno-asynchronous-unwind-tables -funit-at-a-time \
|
||||
@@ -2985,7 +2986,7 @@
|
||||
-Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs \
|
||||
-Wimplicit-function-declaration -Werror-implicit-function-declaration \
|
||||
-O2 -fformat-extensions -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
-nostdinc -std=c99
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 --param inline-unit-growth=100 --param large-function-growth=1000 \
|
||||
@@ -2994,7 +2995,7 @@
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS = -fno-exceptions -fno-rtti \
|
||||
$(VBOX_GCC_WARN) -Wpointer-arith -Winline \
|
||||
-O2 -fno-format-extensions -fno-strict-aliasing -fno-common -finline-limit=8000 \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
-nostdinc
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS.x86 = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86)
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS.amd64 = $(TEMPLATE_VBOXR0DRV_CFLAGS.amd64)
|
||||
@@ -3546,8 +3547,8 @@
|
||||
TEMPLATE_VBOXNOCRTGCC_TOOL = $(VBOX_GCC_TOOL)
|
||||
TEMPLATE_VBOXNOCRTGCC_ASTOOL = $(VBOX_ASTOOL)
|
||||
TEMPLATE_VBOXNOCRTGCC_ASFLAGS = $(VBOX_ASFLAGS)
|
||||
- TEMPLATE_VBOXNOCRTGCC_CFLAGS += $(VBOX_GCC_fno-stack-protector)
|
||||
- TEMPLATE_VBOXNOCRTGCC_CXXFLAGS += $(VBOX_GCC_fno-stack-protector)
|
||||
+ TEMPLATE_VBOXNOCRTGCC_CFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBOXNOCRTGCC_CXXFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
ifeq ($(KBUILD_TARGET_ARCH),amd64)
|
||||
# in 64-bit mode we'll build a sys-module (VBoxREM2).
|
||||
if1of ($(KBUILD_TARGET), darwin solaris)
|
||||
@@ -4392,7 +4393,7 @@
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_ASFLAGS = $(VBOX_ASFLAGS)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_DLLSUFF = .so
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_DEFS = IN_RING3 $(ARCH_BITS_DEFS)
|
||||
-TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_fno-stack-protector)
|
||||
+TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.debug = -fno-inline
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release = -O2 -fno-omit-frame-pointer -fno-strict-aliasing
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.profile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release)
|
||||
@@ -4401,7 +4402,7 @@
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.debug = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.debug)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.profile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.profile)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.kprofile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.kprofile)
|
||||
-TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_fno-stack-protector)
|
||||
+TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_LIBS = pthread m rt dl
|
||||
|
||||
TEMPLATE_VBOXLNXHOSTR3LIB = Template for linux host libraries.
|
||||
@@ -4528,8 +4529,8 @@
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.x86 = -m elf_i386
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.amd64 = -Wl,-O1 -Wl,--as-needed -m elf_x86_64
|
||||
endif
|
||||
-TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-merge-constants -std=c99 $(VBOX_GCC_fno-stack-protector) -ffreestanding
|
||||
-TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-merge-constants $(VBOX_GCC_fno-stack-protector) -ffreestanding
|
||||
+TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-merge-constants -std=c99 $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -ffreestanding
|
||||
+TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-merge-constants $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -ffreestanding
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_SYSSUFF = .o
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LIBS = \
|
||||
$(VBOX_LIB_VBGL_R3_XFREE86)
|
@ -1,4 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST calcurse-2.9.2.tar.gz 517071 SHA256 e116c52fb82a051b38950bdbdb3f9df99fce2713c64d3eda1de236bacba28a55 SHA512 1b8136535ca72dc4f42f60d16a9f11f51aa899659feb01aef621bc0ec9997a81444ce9465c269b4e8da848c89a54dac8f6a3e59982e74e3223950b666576c5bf WHIRLPOOL ce351c6fa54f0f6e824154ef4dec512b34f45ba2a8282ca2e1de3867dc2806357468cbeb41c75de92ef684eb8cc1a2762bb84cd66a2a720c8b4046d9eb1337d3
|
||||
DIST calcurse-3.0.0.tar.gz 682545 SHA256 8a633120a8da250bce11d746a98c9aac3309235a3acdf19d001ab36e62cacdfa SHA512 cd4defff719635469216d9edb592cbd22b845be74eeb060ca51a93f1c0fb3fb297857ef29464c77f2aa6571eac24249901dbab77845332d82217986e4fb8d7ff WHIRLPOOL fec1147e9e7883ef909168cbb52b94da00f36251fd13dfc1cb0626e33886ce0ee754a52c9526bccec4149d014466ffa950bca906b31c01084bd2ee809b421855
|
||||
EBUILD calcurse-2.9.2.ebuild 1088 SHA256 55ab7d85da62807b07ce84d2eb43a451f3e085a307f05bb7121f94b8ca872aa5 SHA512 27591610e91ec39c5ec9484f242baedbd01462dd05f2fa626656261343e25076f77dc340def8c1a8b96926d4ffa8e68d669675781c5370df40cc6ed6579447a4 WHIRLPOOL 658f098ef6d29baa7825748a6a7b70e74429a4722ea475c7976353d0e1972bee5b736c029dc19bddc638cc71bbf6c473530f2f95289faa503a30e8134467739b
|
||||
MISC ChangeLog 2835 SHA256 c7e2c8b299a5a1b94446001f9f80f22813ff8736d2d7c08962b18661984b7cb8 SHA512 b1b6c80ae377c10c43c272f391c1bc867a8ffc1ef971c9bc18c46fe8a33c5d4fc9f78bcc85227cc1d591e9a6f2832a6a20dbba25c9eb5f4f66db5b9ce454a473 WHIRLPOOL f6ffc0bdee5d6ee94d61542b036ad2381f6e3ec7fba47890c88d33682ec65db2b77d914e47652822c62fed9ebb31f0db91ef97c2a1b15f9daa053acfd8960537
|
||||
EBUILD calcurse-3.0.0.ebuild 708 SHA256 10186b7bbfbc2fd357edae78d94dafb95ecf68afa7ecee542b345e51d7ae416d SHA512 18e2f2d77f390acb50d7c397b19f2f4f6bbc544945472e4202ed5fa2143163ced76e096ffdb855ceca682adbc658d5df8f86129b9a57703ea68879b4d98acc3e WHIRLPOOL f51352c7fc9fd39572b899985456685945e04aca93559dfc8645b9a63fe4f6f8a17cf00503327eda1ad7168b40fa4f0e1a07ca677aa18e4a36ca64b8b3688248
|
||||
MISC ChangeLog 2954 SHA256 8cebbc02c9411302665ace8fd3a4a39b84aefb63cfbc4519caeadaa9e4482638 SHA512 6c3ca5e173366d5a7c907e4c33a22db94d65b93b852f67342c3ae84f59782f0916feba3a198a9c92a32eb484b2d6203ce008eae279f1c1af4ea470eb34b57f3e WHIRLPOOL 9956d328f1d095222b1d4e46d5e6cdd84c53c5dbf63b151606a6fd6de4e64fc04e049e570b7b0625564a8eb344c8b52dd081c891740391cce669cf392bd3c17c
|
||||
MISC metadata.xml 575 SHA256 4189d151a33a59ac2252216cb46a680a8d2d700cdc19207d3fae36114f57e7dc SHA512 bf735286a9fb7aaa62cc6834ba3da27669afbce0899b1a8725c6ab114551f5b82d987e6b70f80406e416829da8c0a03c2569b8e9f2fbb1cb71e781e0a999a75a WHIRLPOOL a68c3c067f8aef6ffae60b64ca60960631aea6c2ad6143fd732c290708dde823e07c30ba7b90b364a4c7b4ebab09c9f2baf2258de3ae9d7c4697d94b4a9b3d4c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlA1kwUACgkQVWmRsqeSphPJlQCfcYaUsC6B+TBTJU80XiGtQmKN
|
||||
s/QAnA03iWbaVciWoGRph0pQ3kuj2lGf
|
||||
=P6mm
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.0.0.ebuild,v 1.1 2012/08/23 02:18:35 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="a text-based personal organizer"
|
||||
HOMEPAGE="http://calcurse.org"
|
||||
SRC_URI="http://calcurse.org/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="linguas_en linguas_fr linguas_de linguas_es linguas_nl linguas_ru"
|
||||
CC_LINGUAS="de en es fr nl pt_BR ru"
|
||||
for lingua in ${CC_LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
RDEPEND="sys-libs/ncurses"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( sys-libs/libfaketime )"
|
||||
|
||||
DOCS=( AUTHORS NEWS README TODO )
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild,v 1.1 2012/08/23 04:23:59 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="A library of routines for managing a database"
|
||||
HOMEPAGE="http://fallabs.com/tokyocabinet/"
|
||||
SRC_URI="${HOMEPAGE}${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="debug doc examples"
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
app-arch/bzip2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/fix_rpath.patch"
|
||||
sed -i \
|
||||
-e "/ldconfig/d" \
|
||||
-e "/DATADIR/d" Makefile.in || die
|
||||
# cflags fix - remove -O2 at end of line and -fomit-frame-pointer
|
||||
sed -i -e 's/-O3"$/"/' configure.in || die
|
||||
sed -i -e 's/-fomit-frame-pointer//' configure.in || die
|
||||
# flag only works on x86 derivatives, remove everywhere else
|
||||
if ! use x86 && ! use amd64; then sed -i -e 's/ -minline-all-stringops//' configure.in; fi
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# we use the "fastest" target without the -O3
|
||||
econf $(use_enable debug) --enable-off64 --enable-fastest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Install failed"
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/${PF}/example
|
||||
doins example/* || die "Install failed"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r doc/* || die "Install failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check || die "Tests failed"
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
DIST parrot-4.4.0.tar.bz2 4324058 SHA256 348ce13fc136afc74a7b50b094f64d8cb00f83f0cd3d59acc6fa4e63c824fa4d SHA512 da7659ac62a86df9004dd789255570547afa19ae045515bf8bb4eafb00fe2615b353b3f597108d18b68c7f513cfcf4359c2fe656c917b97f12977e01342b100c WHIRLPOOL 9e2a1dee83539d4a2e9509d5ce0d93ec36f81954436cd29be26bf3a4e9671f1b5994cd1ab7d993e1250a5112806b20c8bf939fa2f0ee3cbb8cd5b4e0f2650ab9
|
||||
DIST parrot-4.5.0.tar.bz2 4331710 SHA256 74996076eb9dbe0f2442e0ae9c0cb5c3e9d5f49a266368eee01f4ab30c6d2808 SHA512 ea468823db32f54cb4314b34fff87da1d4e62aa278c73fdb265ce8af0b0f048fd22426108dad355c086b2ef26509b9df36960d9f13a2553392ef69618322a449 WHIRLPOOL 111ddc48e47803d94b8d9d9415c3e965bb8534279ea3461fd6d5d874b485ea887136d1120de69eb73ccda2892a1363453db9acb445082203f937e78b273d8dfc
|
||||
DIST parrot-4.6.0.tar.bz2 4331714 SHA256 31d48e348eab418d5d9d9f9bb24d628763ff90c608d21b1944c227b6938a69d1 SHA512 dd715e4f66aaa739353b5a43a79047d234247f0d1d727d3f73e80358000dc933e32d706f40a27d57127c7728683c5aa8bc851aa2ceb80f9e25008360d20efba0 WHIRLPOOL bc12b26c7cb5158adc066ec5f6e00ea0ef49d16bab24f0fec6e28c104ac3b30016bd3892485fbdb2b52e1bb8866db3aefad7d4d2bec70025c76abc0c5d6fce30
|
||||
DIST parrot-4.7.0.tar.bz2 4333224 SHA256 4360ac3dffafffaa00bce561c1329df8ad134019f76930cf24e7a875a4422a90 SHA512 d67d9fb097b3a47c1220aa1548c37a2dd63c925f4fd9e18efa258a23917df8d6c37f6fc0ff6439f5164700d8eae9c699cb21dc9d0e2a41213be8be7232abe244 WHIRLPOOL ce22ac06fa1d015d9208805785613d5f73f8f03121bf3afbe4d7e3fa606a34f361d68513a9d7b6ebaaff8b7c0e1d664486c4dcbb9c705098ba8095221781ac1f
|
||||
EBUILD parrot-4.4.0.ebuild 2578 SHA256 12cb9138f227400638d843ff01c0ef157085a1bd600002cb39e20ce69bce20e5 SHA512 d6d7d9953bc0794ff2f05d57a9bdf733530e855a223944b556cc09f7f75fce3aec3ba2483677effc0215e7f6ce448dbe0bcdb1bc125967c505d448c4bbe87b30 WHIRLPOOL 41a147931e03554d4674affa0bbc0ad6b01c513b913eba4a53866880b1009b1b7366c601438f8692095353f89510df4db0ef9d8bc978aaf6769e1e251029bf1d
|
||||
EBUILD parrot-4.5.0.ebuild 2507 SHA256 d2b728ec55520d2b13a6edf8a513356cd9ea614661f238daa685e6ab588a23a5 SHA512 3c1abbd52e62748829acc4b040c754d927a137a32c46cf31a41c82ffd1e68f682318de3e9c6415c3f6d5604e173953434552f81d52e0cfa55b1f07c762ea5616 WHIRLPOOL 124b3095a938f50e75de6e39fae56b9ed5a4285e3244e76fd7ca2b582047da5c7a1a03877232fd981f7b39db919fb3f0e22cb155207e84d8c77f53ddb794e670
|
||||
EBUILD parrot-4.6.0.ebuild 2508 SHA256 127a7cb48fa3513e01e8673371617fccfbf7c40d85056f81c7844a771b7ed4ce SHA512 a890840ad063eaaf4e71acbb8e1339dab8642d8f907b180df8007af2f4bbbf1377fd53dfe7af70a690323b67a180750fb69c3bd03f928a79d8684fcc577b37d8 WHIRLPOOL 79f68dfc9c944d384857a6ac88c36eef91505e161df5fff349b39844063a3b0831e221f16ff9e3c10d5d5fd861025cc4847c92acda5edd2d76afad8362d0c61f
|
||||
MISC ChangeLog 8212 SHA256 a11212065845754fb615e1fc24ff6099caa8f591075f666d7ca4b3af77d9b779 SHA512 e8c85d8674d383c4fa617a36bc6c4588d2328b6d0dffb962b8e9db3d953c7d5ecdee363e441dcea35a5d186d76ff164d35807c2d285d616501d4c864f7230bbe WHIRLPOOL d91b4ccb7e62b4fca102ef57e3dffb53c5b62180b2f144b42966fe99baf46892615ae07c1d8b9cd753f139b79ef443ee8c0f699e0136c713fd2b027e21cae1ed
|
||||
EBUILD parrot-4.7.0.ebuild 2507 SHA256 ca078c8eeb630a508afa59aa9c57c04236c3a76b82bbe5fa3101bfea3ad2b394 SHA512 c5495570b99c651c46ac7b81d860d91af57a3503aa6ee3f8c2fbec72520d3f2d77044b83a3d3e05a9ef471e7e3ed6604ec7e95717223bf85a4e8b6843279577b WHIRLPOOL 93d4dea4de9f1e13bab0abc49d2f93c041ec4552909626cb32eba36a3fb2017ffde27e74c936946ab821abfd1d829df30bcf0158fc31e0115d5757737f1bbc75
|
||||
MISC ChangeLog 8321 SHA256 ffdaa8522cb22ecd84c1bb35a7c23d03eb98ed9a035d8cf6ceaa05d3e96f20a8 SHA512 aab93e7b4cef27413a7def7c165ee0cf5d3d8edb2ed4e605f8a44360d27ac281fbdf19565f2bae3efd6f497b1757b204d06533944836d25cf343927bc0631adc WHIRLPOOL a5cce930d5b0521dbe80e55e43ae19eefdfbfce7e7cab3a3bce02a1312b93c6a99a2a3a4ed11ab5b17088b74523727c12910100502e1dd353946f72469462300
|
||||
MISC metadata.xml 305 SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca SHA512 4091ecb1909d4a534e22b78412275206157346c866ff8e9ff6db2532a1414f3a60ac01a093f85650e383f20788b013f2aff0b29ace324ba8e55b4ecff6b89688 WHIRLPOOL 1d9df6f475572e37edea986931030a4312dc3b8676db70b38e7fa83de15173956268e04bf4656a0a7d4beefb8bf86088c328d0827aada706f00d69ea1251324c
|
||||
|
@ -0,0 +1,83 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-4.7.0.ebuild,v 1.1 2012/08/23 03:23:04 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
|
||||
HOMEPAGE="http://www.parrot.org/"
|
||||
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/devel/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
|
||||
|
||||
RDEPEND="sys-libs/readline
|
||||
opengl? ( media-libs/freeglut )
|
||||
nls? ( sys-devel/gettext )
|
||||
unicode? ( >=dev-libs/icu-2.6 )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.4 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
pcre? ( dev-libs/libpcre )"
|
||||
|
||||
DEPEND="dev-lang/perl[doc?]
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix for #404195 - pcre detection is wonky
|
||||
sed -i 's:libpcre.so.0:libpcre.so.1:' runtime/parrot/library/pcre.pir || die "Couldn't fix pcre location"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf="--disable-rpath"
|
||||
use unicode || myconf+=" --without-icu"
|
||||
use ssl || myconf+=" --without-crypto"
|
||||
use gdbm || myconf+=" --without-gdbm"
|
||||
use nls || myconf+=" --without-gettext"
|
||||
use gmp || myconf+=" --without-gmp"
|
||||
use opengl || myconf+=" --without-opengl"
|
||||
use pcre || myconf+=" --without-pcre"
|
||||
|
||||
perl Configure.pl \
|
||||
--ccflags="${CFLAGS}" \
|
||||
--linkflags="${LDFLAGS}" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
|
||||
$myconf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
|
||||
# occasionally dies in parallel make
|
||||
emake -j1 || die
|
||||
if use doc ; then
|
||||
emake -j1 html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
|
||||
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
|
||||
if use examples; then
|
||||
insinto "/usr/share/doc/${PF}/examples"
|
||||
doins -r examples/* || die
|
||||
fi
|
||||
if use doc; then
|
||||
insinto "/usr/share/doc/${PF}/editor"
|
||||
doins -r editor || die
|
||||
cd docs/html
|
||||
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
|
||||
pmc.html tools.html docs src tools || die
|
||||
fi
|
||||
}
|
@ -1,8 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST Traits-3.6.0.tar.gz 10884341 SHA256 f48dcd9bb33bec3389566c3fee43f039ff33fc99e5db5ca8c4967fb8e5db8657 SHA512 ea175ebdc8b05f37c77d8b240974bbca8b2de0734e0a47c5611572b5297ecfacce9b1d7d03f035ab0d3c24aeb2871cc410fc4cb453ea324d6315d975b920b133 WHIRLPOOL 2e17a22ca86de4230f1bf566785a8d436aac50e3bb3d9521b7968659a94daed9d4636085ec726a178aa5d803be3da01228f36c73c7f617072a2a8c87d1579df7
|
||||
DIST traits-4.0.0.tar.gz 4823262 SHA256 20800034591609ef74fcc7c42af41cacdadd31996ea05f024bfe67709be92a35 SHA512 c716c67c4038705cb0592c704035f7607a602546317ad3c1f359d931fee25ed4ce8d5f0887cf75d2b01beb40a537fa7af6437e2e2525e2a59c55821849d32d36 WHIRLPOOL d63bbaa3a917214b2f3e2c9aa4c1a1058afe52fb3d5cc9500a5327a77c0562b4ca07012f66cc49c9f9b5188d40a3ac82538ccf2b61f73823e3e064991b60f2d5
|
||||
DIST traits-4.1.0.tar.gz 4837086 SHA256 72253d17ac8f18c4d017a1d1487cf92e1870831fe3ce7ba23ef2a3123fdb50dd SHA512 dbdd517b110a0ecc87115f44a8789cafe21f4731fcc0675fcdb04595729afa978fe47b4bf495d4380bce34bd79937c968e0da91dde5e9f7287e852c7a5422034 WHIRLPOOL 56b2b36b0e228514321e71bb5b29f073de1e59a2fd7973c8ec36fe9010d4c61dacf27f5715e5bafc607e6873265e153a25f85a4619b9258b99e17a3df7f5eebf
|
||||
EBUILD traits-3.6.0.ebuild 1537 SHA256 f2978ca6b48b363c7cf284a2ee65c3b41f2d8060ea58c8dcfd2f96bfdb854329 SHA512 93680939304aa4d223cc24d8173673657c87a57cda3476f1ad855a84902822033611cdda61884579abdcbfe01412d03cec783d11fd3a95501dcb16d06d4b766a WHIRLPOOL 9720ebd2b3566a49c80cb0ce55bed4e56d6cfc6db8dfe287c5860cd22d74e16a2556f21e6efc4eeda97cfad8f1d06f665c58d1fd7afa7d7eb471eb5d6917a5ca
|
||||
EBUILD traits-4.0.0.ebuild 1395 SHA256 4bb4e21be1f680f5517d7b84dc1b424ab32d5bb1a65ec2a66720b5cac71317d2 SHA512 46537261bfd3791a05bb6284b5694c94a5909132dd36e9a176adfe2c87031d8af0a2f9162e34572c7d21e0efb7e983e2c57fce0a18224bad9ca9e96aa107e0c3 WHIRLPOOL b531df69bf28dc50275fb9b9c070b11c8ff5d5aa03725ddf388a5b923be5f32bf10ee19356ca27a1a4dde6fb96ebc63139e4d5308047f2c694877f58a4c84ad2
|
||||
EBUILD traits-4.1.0.ebuild 1122 SHA256 326844c6439691ea890595e70f9b2d48ca060def94ee58b340d80b1aa1358f30 SHA512 5a6583f4cebbde9df0ced2969f1be7331b83840e16f09fc8203234f1601590a7a6a9a65c6bc65e6b7afb4755d40f73b10b5d17b63243bfc2f18675bcba8ba7bb WHIRLPOOL 73cd4322ef65c7dfc6ec2f4937956ab04994c52e625084b15880ff1aeebb466789d1b488ef62c1b1135f1571ae2d20b705a94cbce793a1713a43213f36410862
|
||||
MISC ChangeLog 3680 SHA256 e572beab8a1ea9d947f5b30474f7aea966c737bb2c047542ef5972ef61ae32a2 SHA512 66635c15cf85c0e0c47c84c3297542c01adff6418fddeddf5596399335cee62a1bc315b1f6e3373b659e1dfedea2f530c9856dca70a07925a2c087053c19b082 WHIRLPOOL da768cfeac1e80d712da7b7d845a2d1fd7c8808da0a1243f1de14fa4626a7fe4e0eb1a62b736b40f604b804d8bce098e5a4f2059d16c513dc7ecbe8fc4188eab
|
||||
EBUILD traits-4.1.0.ebuild 1121 SHA256 ac79ce533d22a3d09348ec948ba8c9a1ccdbe4c350a0b7ae72d67b6cb422dd9f SHA512 64f17c806469374e4bc705f193baa6f070e71639a2286b849cb21a8450bdfdf859da830fe779469c9aa1b471e768084b8e2bc228c55d3963342b84ee0f2eecb8 WHIRLPOOL eda27688271749879b912a6048c4d79dd23883c99935794c9a1a92cbefbba788c1642f8ad8290586cda092a63bcfb58528648f3f0e0294715a632928b6e4c3d9
|
||||
MISC ChangeLog 3774 SHA256 400d215f8d043f9234fdd8be1b05dea39c75380767efe709e087b299e7b68a52 SHA512 0fe789c75c8ef61707567e7bea4f8395771973012fd6fe0dcfa3b54f319e55884cb78662306ec0b093701ab1978d30e3869b7f41999e8ec8de415c827d1c5d19 WHIRLPOOL 40b318d26fbbdd3bece957fa42136a0e6ef1282927e0b9ed1f7a944e8047592341093d80e9fc9e7983499b53cb09015897524db1ae39d6676b91a59b4545db71
|
||||
MISC metadata.xml 893 SHA256 9d3429d85f4fcfe0abbfff888ea41c1d0b930fee06a3d89c7960b23c12309c26 SHA512 fd05f7d1e7e4e81d18ae5e3149ab8e88c304c627e58cc65464523e089f8dbdee360a8286846d59e56cacee2ca7ebe1c3563d68b494c2d8c7dd3978c9a4afa998 WHIRLPOOL 87c73326eaf1372f702c2109dc7f9713a5752eb8b3e426e530594098aeff78d876d0f588aa733cb3708c87c3db147711c20d874cadcc8c12719e4d9dfeec914d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAlA1ZWYACgkQknrdDGLu8JAhZAD+PfILRgj5UnyshfGa4NPpD1UK
|
||||
0WICWJyALxACh7MngKwBAIfkHl/WlJ8a56RJXQyNnkUPPf5Fog9JsqqYQSpdO4Vn
|
||||
=7efX
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,523 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.7.12-r2.ebuild,v 1.1 2012/08/23 05:38:18 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
GENTOO_DEPEND_ON_PERL=no
|
||||
|
||||
# bug #329479: git-remote-testgit is not multiple-version aware
|
||||
PYTHON_DEPEND="python? 2"
|
||||
[[ ${PV} == *9999 ]] && SCM="git-2"
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git"
|
||||
|
||||
inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python ${SCM}
|
||||
|
||||
MY_PV="${PV/_rc/.rc}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DOC_VER=${MY_PV}
|
||||
|
||||
DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team"
|
||||
HOMEPAGE="http://www.git-scm.com/"
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
SRC_URI_SUFFIX="gz"
|
||||
SRC_URI_GOOG="http://git-core.googlecode.com/files"
|
||||
SRC_URI_KORG="mirror://kernel/software/scm/git"
|
||||
SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
doc? (
|
||||
${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
else
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+blksha1 +curl cgi doc emacs +gpg gtk +iconv +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
|
||||
|
||||
# Common to both DEPEND and RDEPEND
|
||||
CDEPEND="
|
||||
dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
pcre? ( dev-libs/libpcre )
|
||||
perl? ( dev-lang/perl[-build] )
|
||||
tk? ( dev-lang/tk )
|
||||
curl? (
|
||||
net-misc/curl
|
||||
webdav? ( dev-libs/expat )
|
||||
)
|
||||
emacs? ( virtual/emacs )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
gpg? ( app-crypt/gnupg )
|
||||
perl? ( dev-perl/Error
|
||||
dev-perl/Net-SMTP-SSL
|
||||
dev-perl/Authen-SASL
|
||||
cgi? ( virtual/perl-CGI app-text/highlight )
|
||||
cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite )
|
||||
subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey )
|
||||
)
|
||||
python? ( gtk?
|
||||
(
|
||||
>=dev-python/pygtk-2.8
|
||||
dev-python/pygtksourceview:2
|
||||
) )"
|
||||
|
||||
# This is how info docs are created with Git:
|
||||
# .txt/asciidoc --(asciidoc)---------> .xml/docbook
|
||||
# .xml/docbook --(docbook2texi.pl)--> .texi
|
||||
# .texi --(makeinfo)---------> .info
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/cpio
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/docbook2X
|
||||
sys-apps/texinfo
|
||||
)
|
||||
test? (
|
||||
app-crypt/gnupg
|
||||
)"
|
||||
|
||||
# Live ebuild builds man pages and HTML docs, additionally
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/xmlto"
|
||||
fi
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
cgi? ( perl )
|
||||
cvs? ( perl )
|
||||
subversion? ( perl )
|
||||
webdav? ( curl )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if use subversion && has_version dev-vcs/subversion && built_with_use --missing false dev-vcs/subversion dso ; then
|
||||
ewarn "Per Gentoo bugs #223747, #238586, when subversion is built"
|
||||
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
|
||||
ewarn "have been warned."
|
||||
fi
|
||||
if use python ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
# This is needed because for some obscure reasons future calls to make don't
|
||||
# pick up these exports if we export them in src_unpack()
|
||||
exportmakeopts() {
|
||||
local myopts
|
||||
|
||||
if use blksha1 ; then
|
||||
myopts="${myopts} BLK_SHA1=YesPlease"
|
||||
elif use ppcsha1 ; then
|
||||
myopts="${myopts} PPC_SHA1=YesPlease"
|
||||
fi
|
||||
|
||||
if use curl ; then
|
||||
use webdav || myopts="${myopts} NO_EXPAT=YesPlease"
|
||||
else
|
||||
myopts="${myopts} NO_CURL=YesPlease"
|
||||
fi
|
||||
|
||||
# broken assumptions, because of broken build system ...
|
||||
myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease"
|
||||
myopts="${myopts} INSTALL=install TAR=tar"
|
||||
myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh"
|
||||
myopts="${myopts} SANE_TOOL_PATH="
|
||||
myopts="${myopts} OLD_ICONV="
|
||||
myopts="${myopts} NO_EXTERNAL_GREP="
|
||||
|
||||
# can't define this to null, since the entire makefile depends on it
|
||||
sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile
|
||||
|
||||
use iconv \
|
||||
|| myopts="${myopts} NO_ICONV=YesPlease"
|
||||
use nls \
|
||||
|| myopts="${myopts} NO_GETTEXT=YesPlease"
|
||||
use tk \
|
||||
|| myopts="${myopts} NO_TCLTK=YesPlease"
|
||||
use pcre \
|
||||
&& myopts="${myopts} USE_LIBPCRE=yes"
|
||||
use perl \
|
||||
&& myopts="${myopts} INSTALLDIRS=vendor" \
|
||||
|| myopts="${myopts} NO_PERL=YesPlease"
|
||||
use python \
|
||||
|| myopts="${myopts} NO_PYTHON=YesPlease"
|
||||
use subversion \
|
||||
|| myopts="${myopts} NO_SVN_TESTS=YesPlease"
|
||||
use threads \
|
||||
&& myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease"
|
||||
use cvs \
|
||||
|| myopts="${myopts} NO_CVS=YesPlease"
|
||||
# Disabled until ~m68k-mint can be keyworded again
|
||||
# if [[ ${CHOST} == *-mint* ]] ; then
|
||||
# myopts="${myopts} NO_MMAP=YesPlease"
|
||||
# myopts="${myopts} NO_IPV6=YesPlease"
|
||||
# myopts="${myopts} NO_STRLCPY=YesPlease"
|
||||
# myopts="${myopts} NO_MEMMEM=YesPlease"
|
||||
# myopts="${myopts} NO_MKDTEMP=YesPlease"
|
||||
# myopts="${myopts} NO_MKSTEMPS=YesPlease"
|
||||
# fi
|
||||
if [[ ${CHOST} == ia64-*-hpux* ]]; then
|
||||
myopts="${myopts} NO_NSEC=YesPlease"
|
||||
fi
|
||||
if [[ ${CHOST} == *-*-aix* ]]; then
|
||||
myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease"
|
||||
fi
|
||||
|
||||
has_version '>=app-text/asciidoc-8.0' \
|
||||
&& myopts="${myopts} ASCIIDOC8=YesPlease"
|
||||
myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease"
|
||||
|
||||
# Bug 290465:
|
||||
# builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim'
|
||||
[[ "${CHOST}" == *-uclibc* ]] && \
|
||||
myopts="${myopts} NO_NSEC=YesPlease"
|
||||
|
||||
export MY_MAKEOPTS="${myopts}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
unpack ${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}"
|
||||
unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
use doc && \
|
||||
cd "${S}"/Documentation && \
|
||||
unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}"
|
||||
else
|
||||
git-2_src_unpack
|
||||
cd "${S}"
|
||||
#cp "${FILESDIR}"/GIT-VERSION-GEN .
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #418431 - stated for upstream 1.7.13. Developed by Michael Schwern,
|
||||
# funded as a bounty by the Gentoo Foundation.
|
||||
epatch "${FILESDIR}"/git-1.7.12-git-svn-backport.patch
|
||||
|
||||
# bug #350330 - automagic CVS when we don't want it is bad.
|
||||
epatch "${FILESDIR}"/git-1.7.12-optional-cvs.patch
|
||||
|
||||
sed -i \
|
||||
-e 's:^\(CFLAGS =\).*$:\1 $(OPTCFLAGS) -Wall:' \
|
||||
-e 's:^\(LDFLAGS =\).*$:\1 $(OPTLDFLAGS):' \
|
||||
-e 's:^\(CC = \).*$:\1$(OPTCC):' \
|
||||
-e 's:^\(AR = \).*$:\1$(OPTAR):' \
|
||||
-e "s:\(PYTHON_PATH = \)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
-e "s:\(PERL_PATH = \)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
Makefile || die "sed failed"
|
||||
|
||||
# Never install the private copy of Error.pm (bug #296310)
|
||||
sed -i \
|
||||
-e '/private-Error.pm/s,^,#,' \
|
||||
perl/Makefile.PL
|
||||
|
||||
# Fix docbook2texi command
|
||||
sed -i 's/DOCBOOK2X_TEXI=docbook2x-texi/DOCBOOK2X_TEXI=docbook2texi.pl/' \
|
||||
Documentation/Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
git_emake() {
|
||||
# bug #326625: PERL_PATH, PERL_MM_OPT
|
||||
# bug #320647: PYTHON_PATH
|
||||
PYTHON_PATH=""
|
||||
use python && PYTHON_PATH="$(PYTHON -a)"
|
||||
emake ${MY_MAKEOPTS} \
|
||||
DESTDIR="${D}" \
|
||||
OPTCFLAGS="${CFLAGS}" \
|
||||
OPTLDFLAGS="${LDFLAGS}" \
|
||||
OPTCC="$(tc-getCC)" \
|
||||
OPTAR="$(tc-getAR)" \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
sysconfdir="${EPREFIX}"/etc \
|
||||
PYTHON_PATH="${PYTHON_PATH}" \
|
||||
PERL_MM_OPT="" \
|
||||
GIT_TEST_OPTS="--no-color" \
|
||||
"$@"
|
||||
# This is the fix for bug #326625, but it also causes breakage, see bug
|
||||
# #352693.
|
||||
# PERL_PATH="${EPREFIX}/usr/bin/env perl" \
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
exportmakeopts
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use perl ; then
|
||||
git_emake perl/PM.stamp || die "emake perl/PM.stamp failed"
|
||||
git_emake perl/perl.mak || die "emake perl/perl.mak failed"
|
||||
fi
|
||||
git_emake || die "emake failed"
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile contrib/emacs/git{,-blame}.el \
|
||||
|| die "emacs modules failed"
|
||||
fi
|
||||
|
||||
if use perl && use cgi ; then
|
||||
git_emake \
|
||||
gitweb/gitweb.cgi \
|
||||
|| die "emake gitweb/gitweb.cgi failed"
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain"
|
||||
git_emake || die "email credential-osxkeychain"
|
||||
fi
|
||||
|
||||
cd "${S}"/Documentation
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
git_emake man \
|
||||
|| die "emake man failed"
|
||||
if use doc ; then
|
||||
git_emake info html \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
else
|
||||
if use doc ; then
|
||||
git_emake info \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
git_emake \
|
||||
install || \
|
||||
die "make install failed"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
dobin contrib/credential/osxkeychain/git-credential-osxkeychain
|
||||
fi
|
||||
|
||||
# Depending on the tarball and manual rebuild of the documentation, the
|
||||
# manpages may exist in either OR both of these directories.
|
||||
find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157]
|
||||
find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157]
|
||||
|
||||
dodoc README Documentation/{SubmittingPatches,CodingGuidelines}
|
||||
use doc && dodir /usr/share/doc/${PF}/html
|
||||
for d in / /howto/ /technical/ ; do
|
||||
docinto ${d}
|
||||
dodoc Documentation${d}*.txt
|
||||
use doc && dohtml -p ${d} Documentation${d}*.html
|
||||
done
|
||||
docinto /
|
||||
# Upstream does not ship this pre-built :-(
|
||||
use doc && doinfo Documentation/{git,gitman}.info
|
||||
|
||||
newbashcomp contrib/completion/git-completion.bash ${PN}
|
||||
newbashcomp contrib/completion/git-prompt.sh ${PN}-prompt
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} contrib/emacs/git.{el,elc} || die
|
||||
elisp-install ${PN} contrib/emacs/git-blame.{el,elc} || die
|
||||
#elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} || die
|
||||
# don't add automatically to the load-path, so the sitefile
|
||||
# can do a conditional loading
|
||||
touch "${ED}${SITELISP}/${PN}/compat/.nosearch"
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
|
||||
fi
|
||||
|
||||
if use python && use gtk ; then
|
||||
dobin "${S}"/contrib/gitview/gitview
|
||||
python_convert_shebangs ${PYTHON_ABI} "${ED}"/usr/bin/gitview
|
||||
dodoc "${S}"/contrib/gitview/gitview.txt
|
||||
fi
|
||||
|
||||
#dobin contrib/fast-import/git-p4 # Moved upstream
|
||||
#dodoc contrib/fast-import/git-p4.txt # Moved upstream
|
||||
newbin contrib/fast-import/import-tars.perl import-tars
|
||||
newbin contrib/git-resurrect.sh git-resurrect
|
||||
|
||||
dodir /usr/share/${PN}/contrib
|
||||
# The following are excluded:
|
||||
# completion - installed above
|
||||
# emacs - installed above
|
||||
# examples - these are stuff that is not used in Git anymore actually
|
||||
# gitview - installed above
|
||||
# p4import - excluded because fast-import has a better one
|
||||
# patches - stuff the Git guys made to go upstream to other places
|
||||
# svnimport - use git-svn
|
||||
# thunderbird-patch-inline - fixes thunderbird
|
||||
for i in \
|
||||
blameview buildsystems ciabot continuous convert-objects fast-import \
|
||||
hg-to-git hooks remotes2config.sh remotes2config.sh rerere-train.sh \
|
||||
stats svn-fe vim workdir \
|
||||
; do
|
||||
cp -rf \
|
||||
"${S}"/contrib/${i} \
|
||||
"${ED}"/usr/share/${PN}/contrib \
|
||||
|| die "Failed contrib ${i}"
|
||||
done
|
||||
|
||||
if use perl && use cgi ; then
|
||||
# We used to install in /usr/share/${PN}/gitweb
|
||||
# but upstream installs in /usr/share/gitweb
|
||||
# so we will install a symlink and use their location for compat with other
|
||||
# distros
|
||||
dosym /usr/share/gitweb /usr/share/${PN}/gitweb
|
||||
|
||||
# INSTALL discusses configuration issues, not just installation
|
||||
docinto /
|
||||
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
|
||||
newdoc "${S}"/gitweb/README README.gitweb
|
||||
|
||||
find "${ED}"/usr/lib64/perl5/ \
|
||||
-name .packlist \
|
||||
-exec rm \{\} \;
|
||||
else
|
||||
rm -rf "${ED}"/usr/share/gitweb
|
||||
fi
|
||||
|
||||
if ! use subversion ; then
|
||||
rm -f "${ED}"/usr/libexec/git-core/git-svn \
|
||||
"${ED}"/usr/share/man/man1/git-svn.1*
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/git-daemon.xinetd git-daemon
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/git-daemon.initd git-daemon
|
||||
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
|
||||
|
||||
fixlocalpod
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local disabled=""
|
||||
local tests_cvs="t9200-git-cvsexportcommit.sh \
|
||||
t9400-git-cvsserver-server.sh \
|
||||
t9401-git-cvsserver-crlf.sh \
|
||||
t9600-cvsimport.sh \
|
||||
t9601-cvsimport-vendor-branch.sh \
|
||||
t9602-cvsimport-branches-tags.sh \
|
||||
t9603-cvsimport-patchsets.sh"
|
||||
local tests_perl="t5502-quickfetch.sh \
|
||||
t5512-ls-remote.sh \
|
||||
t5520-pull.sh"
|
||||
# Bug #225601 - t0004 is not suitable for root perm
|
||||
# Bug #219839 - t1004 is not suitable for root perm
|
||||
# t0001-init.sh - check for init notices EPERM* fails
|
||||
local tests_nonroot="t0001-init.sh \
|
||||
t0004-unwritable.sh \
|
||||
t0070-fundamental.sh \
|
||||
t1004-read-tree-m-u-wf.sh \
|
||||
t3700-add.sh \
|
||||
t7300-clean.sh"
|
||||
# t9100 still fails with symlinks in SVN 1.7
|
||||
local test_svn="t9100-git-svn-basic.sh"
|
||||
|
||||
# Unzip is used only for the testcase code, not by any normal parts of Git.
|
||||
if ! has_version app-arch/unzip ; then
|
||||
einfo "Disabling tar-tree tests"
|
||||
disabled="${disabled} t5000-tar-tree.sh"
|
||||
fi
|
||||
|
||||
cvs=0
|
||||
use cvs && let cvs=$cvs+1
|
||||
if [[ ${EUID} -eq 0 ]]; then
|
||||
if [[ $cvs -eq 1 ]]; then
|
||||
ewarn "Skipping CVS tests because CVS does not work as root!"
|
||||
ewarn "You should retest with FEATURES=userpriv!"
|
||||
disabled="${disabled} ${tests_cvs}"
|
||||
fi
|
||||
einfo "Skipping other tests that require being non-root"
|
||||
disabled="${disabled} ${tests_nonroot}"
|
||||
else
|
||||
[[ $cvs -gt 0 ]] && \
|
||||
has_version dev-vcs/cvs && \
|
||||
let cvs=$cvs+1
|
||||
[[ $cvs -gt 1 ]] && \
|
||||
built_with_use dev-vcs/cvs server && \
|
||||
let cvs=$cvs+1
|
||||
if [[ $cvs -lt 3 ]]; then
|
||||
einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])"
|
||||
disabled="${disabled} ${tests_cvs}"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use perl ; then
|
||||
einfo "Disabling tests that need Perl"
|
||||
disabled="${disabled} ${tests_perl}"
|
||||
fi
|
||||
|
||||
einfo "Disabling tests that fail with SVN 1.7"
|
||||
disabled="${disabled} ${test_svn}"
|
||||
|
||||
# Reset all previously disabled tests
|
||||
cd "${S}/t"
|
||||
for i in *.sh.DISABLED ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}"
|
||||
done
|
||||
einfo "Disabled tests:"
|
||||
for i in ${disabled} ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i"
|
||||
done
|
||||
|
||||
# Avoid the test system removing the results because we want them ourselves
|
||||
sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \
|
||||
-i "${S}"/t/Makefile
|
||||
|
||||
# Clean old results first, must always run
|
||||
cd "${S}/t"
|
||||
nonfatal git_emake clean
|
||||
|
||||
# Now run the tests, keep going if we hit an error, and don't terminate on
|
||||
# failure
|
||||
cd "${S}"
|
||||
einfo "Start test run"
|
||||
#MAKEOPTS=-j1
|
||||
nonfatal git_emake --keep-going test
|
||||
rc=$?
|
||||
|
||||
# Display nice results, now print the results
|
||||
cd "${S}/t"
|
||||
nonfatal git_emake aggregate-results
|
||||
|
||||
# And bail if there was a problem
|
||||
[ $rc -eq 0 ] || die "tests failed. Please file a bug."
|
||||
}
|
||||
|
||||
showpkgdeps() {
|
||||
local pkg=$1
|
||||
shift
|
||||
elog " $(printf "%-17s:" ${pkg}) ${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
use python && python_mod_optimize git_remote_helpers
|
||||
einfo "Please read /usr/share/bash-completion/git for Git bash completion"
|
||||
elog "These additional scripts need some dependencies:"
|
||||
echo
|
||||
showpkgdeps git-quiltimport "dev-util/quilt"
|
||||
showpkgdeps git-instaweb \
|
||||
"|| ( www-servers/lighttpd www-servers/apache )"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use python && python_mod_cleanup git_remote_helpers
|
||||
}
|
@ -1,7 +1,27 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX hgview.rc 259 SHA256 12eee0b0d0f3be91806f62458e2097538bb861a9bc003a90c23095b9d06850df SHA512 06df9e8e34d79f53bb779fd7909f804c0f547ac92f0bc29fe3b6db5b1efaad6cefa202e0a86fe5e7fdd6b5e67426284d2f6e468a08823f1198ccd48b865f99fa WHIRLPOOL 9d51998df9d4bff9357691825d36c11250d5b7f0dbbd47d9188ff62f28b48280e994bfa68ca157b9a67a18499a0865cb08af13ac4202d9b511e2dbc7b8e31a00
|
||||
DIST hgview-1.2.1.tar.gz 99673 SHA256 a80fc2e53ddc715d74e3d9ff0bdb57890e7989364f06c40bab65aaf0d797d974 SHA512 4284ff60a2c8b5c1cbe458a53c7a7209fd23801e16427a5c8039095e2b7523e5cddbdeff23c69818524e5467af720944c1d67d95918be06801d456c560486a4b WHIRLPOOL 9f4f4d3c799651df9f584e96dac8c1faa31aea3097b0000f0ba3dea49f16e048f753635bfdc6b84b0248ba11767e09a006253ee338622c89918efa641a522077
|
||||
DIST hgview-1.5.0.tar.gz 220706 SHA256 411c7a795616263d16a4f9178c0c50f9078f047d1e601d80e035d36c565d7715 SHA512 f20e570389929e359efe3d2787ad32f4f0a3253181ce492ab6cac7a3980c582d22322f7d6e4936e547cf979de5d9e063629c6f5306a8593db6a5a09365ee8c42 WHIRLPOOL a951bd896a4dda152d20db73f7b5febd7af7cc6405191c8f1a5a155ff27c2c8ba95e4911c9b565b5c4018dd28d32ee14c9563a67ca0e8ba4e2e3445d09a17a66
|
||||
EBUILD hgview-1.2.1.ebuild 1245 SHA256 8734d50e6bf49e24c8c30f3dd0388bcb94ad78b9ab0935b4f112269cb91dc77c SHA512 4bb88b756737e330e49cca158ea984fcd4e84f0039d379352c6f169f91c928b6e58e4189803387cd38920be45f5fbe9b766b98e758d4d4a49d1ea2b9b0d6040b WHIRLPOOL 164a8ef74b8cb999d7f6a8964eb2f727126953af0706968ea4877392e44a7561e522bc153927a779dd53a8689a85926320aeed9638d76aab2e48565d6676d735
|
||||
DIST hgview-1.6.2.tar.gz 161731 SHA256 7ff7c2bf92dbe40a1520ef8944ed25467895d3c503e7aef8a73c3103e7da7fa0 SHA512 2905dde38a3b329a926e0f96bbac723319a11a19add800e58afabec53e3d8925398ccb78f4c53fb5b32a3d2d9238dc69a132908c706ff1bf2bfd5ec4d21db43f WHIRLPOOL c26d3ad0c7ac1e907f1d254aef1b777c7c300d39021a23c8badb4490192355c92d97aa1f57438a644573cb2c30f1694abe84664330cbd79c81b8b5b760ff13b5
|
||||
EBUILD hgview-1.5.0.ebuild 1245 SHA256 28d99b4d1a0fc1dfe7e3e78a33295ff43ed9f49ef8e86245371cbba6bcafa4ab SHA512 250144b597f762834a599b2ebee699c925b6cd85fb1d55322265a705ab429e46ec2883c6361f76105350a655201b12617e3b31b663802915b72eab61399430a6 WHIRLPOOL 2a1eecbcaf8eab0d495659d7ef93e3d33578d843d7106a6e666d72880fed947134b2ea6e3ef6e23e9d8f4f3dca870bf32858ffac438d72567e32d521bad17c0a
|
||||
MISC ChangeLog 1913 SHA256 20910516d21f3521cf7c0761f55220aa58c59784ad7b3e5197d714fc2411c6cf SHA512 fe2487c4d92c96c60c2f007f5d59581f0255a0be8c99d2eed0bd22ea9919e710d50e183129498655ce024c7e68b433349f7ed6352ae1bc34665d8ff4b780ed6f WHIRLPOOL 5efe6caf607908280f370084379a32ec100ded646a92aba9bc75a06d46f527af94f7764cdd85aed35166bee240be92e39096670bee1b465a1e651e9cdba3c1fe
|
||||
MISC metadata.xml 156 SHA256 abf96a845f58af14cbc6e3dde143c97b5f05ddd9f3f27e6b25833642b98fb96a SHA512 c0db0a589d006ff43f36b35cf242483f8348b4a663756d2c155ffc400c4e2b1f83543628b64237424fc74fc98907f365350fb88f33be8a331c251b0e6fe9402a WHIRLPOOL 9fd6ee842bb9fe4b7485a7ebbc2a496702467a03c52e77f88f4679eadf2c38222e4767ffd4da9682a3f4a4eaf1225f9645ecd048bac35317fab970621701c027
|
||||
EBUILD hgview-1.6.2.ebuild 1133 SHA256 cd2fa594903f500281109021e30b5dbf9813694735f9b9cc81d693f5f1a01f67 SHA512 36b52c4069df35d4df7b07b8d940e2e0e5a18b70cef91a279dfbbc7bf9460494f26fb808022edfe5de547a2a9995b11b8ff1c309f54a89ab462d2ab6e90ae80d WHIRLPOOL dea435fc51cdf0d35c9e5bcf7e09fe4fbcb269e0bab5be1a83b584ed9ac5bc5eb600260024ac9e385387d4e67a47f6785c2895530031dfee60e130f7aa25f6a0
|
||||
MISC ChangeLog 2076 SHA256 e6339e858f3d20d42a616d33e42715970277c492f1d47dfdc38fba83f8a191bf SHA512 a9d5fa00aefbae439cb7bd5c88498d959ac462a9a06f26217bc83b6d68e8da358e0a7ddbe6a80b81cc5f29d46946b5d0c1f6cafe983ec3d66d53c01c6b8cd953 WHIRLPOOL 313a8969d9f4d27cc750c4e9ccb540c21361ae1b9a8baf1a55a9a7a3ad5865f9f729a698472e76a42f10cdbfb5d116ca194010ab5bffc84f74c4f7d6051b29b0
|
||||
MISC metadata.xml 155 SHA256 94ed5876ef16dbc191744ff6b8939a0f428fcb8add316d898880e1c4c880b9e7 SHA512 f05c8982778167c3667c9246b9730ba49fec2967731ed2c615e31a7fddc220fcea8c0843caa70a14957c8c4910892c512b6f2e00a9724d65e6032e1289f4562a WHIRLPOOL 25ccd49f04da07c8525fe18b21229764bb4104938abefc6c953bf9caa533dd5c10ae7b3f80a1251182e6c1520c09383d9f1d0ac1dc74832a99299c9be27406c4
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJQNYH1AAoJENXLsxwXqFxyOaMP/3gPAu+mPqjOD1ruLyCJj3HJ
|
||||
tVS2b4OIPHP64SvA6p0A5MH24SXHTkk62WlYB2au0a1OFxxk7bmTuuiXa9jEFUIX
|
||||
FoWQSdFbxM9APLLI/5z11WVZCJyWmjnUKVWHtCFmUEb/5P+hGDejpxeF/5pjW9yM
|
||||
sGsQiLfBk94VhZLnn+t77PIEL3pQFofUlEvUDOQlWMeDtRdWac5ZCTMY9GC5VEUz
|
||||
zv5/kuJm2x+9QUaGvV35bNdXAGhlDXYoBtAb5uqwdRQjWOq27bjkN87rcKAYAa45
|
||||
a6BkmMshGuohrLQnCLFPkE8eftE1B/2qGUjxM+w/yllj/pAYU0TF4qrWKvYyXlqk
|
||||
Z2yNfLizT/qtgonYfwwycoFaAT171iPoynq2y/7iVJNxHijavYsTPGKaf2+n1vA0
|
||||
0j1VC5rgcGy4saHnEjmLG5/FpxnuD74wdy/oHPUKjtODci744+dI9g3w1ZOmgME2
|
||||
O1zm+khz/a+7q76OqOWZF6u/4OTO74bykuHt11tBzRnVngfxj8BQwdBGzvzigeB3
|
||||
fsQy7zI6NpM0XJ7F5wRRc4+oObYQXyuN9pQVjIizmGwgXUmnu4N3V7SlS1qcsDHH
|
||||
//p0epTjN+CccblxS9zRKHaQcRK+L1Bl76HCZezwpFd1j3JofV73DyT8edVMjGkb
|
||||
4xDToDTpHENiTVznD4xw
|
||||
=g/M/
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,44 @@
|
||||
--- subversion/trunk/subversion/libsvn_auth_kwallet/kwallet.cpp 2012/03/21 18:22:15 1303489
|
||||
+++ subversion/trunk/subversion/libsvn_auth_kwallet/kwallet.cpp 2012/06/03 18:54:26 1345740
|
||||
@@ -60,6 +60,9 @@
|
||||
/* KWallet simple provider, puts passwords in KWallet */
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
||||
+static int q_argc = 1;
|
||||
+static char q_argv0[] = "svn"; // Build non-const char * from string constant
|
||||
+static char *q_argv[] = { q_argv0 };
|
||||
|
||||
static const char *
|
||||
get_application_name(apr_hash_t *parameters,
|
||||
@@ -212,12 +215,11 @@
|
||||
QCoreApplication *app;
|
||||
if (! qApp)
|
||||
{
|
||||
- int argc = 1;
|
||||
- app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"});
|
||||
+ int argc = q_argc;
|
||||
+ app = new QCoreApplication(argc, q_argv);
|
||||
}
|
||||
|
||||
- KCmdLineArgs::init(1,
|
||||
- (char *[1]) {(char *) "svn"},
|
||||
+ KCmdLineArgs::init(q_argc, q_argv,
|
||||
get_application_name(parameters, pool),
|
||||
"subversion",
|
||||
ki18n(get_application_name(parameters, pool)),
|
||||
@@ -289,12 +291,11 @@
|
||||
QCoreApplication *app;
|
||||
if (! qApp)
|
||||
{
|
||||
- int argc = 1;
|
||||
- app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"});
|
||||
+ int argc = q_argc;
|
||||
+ app = new QCoreApplication(argc, q_argv);
|
||||
}
|
||||
|
||||
- KCmdLineArgs::init(1,
|
||||
- (char *[1]) {(char *) "svn"},
|
||||
+ KCmdLineArgs::init(q_argc, q_argv,
|
||||
get_application_name(parameters, pool),
|
||||
"subversion",
|
||||
ki18n(get_application_name(parameters, pool)),
|
@ -1,8 +1,8 @@
|
||||
AUX extreme-tuxracer-0.5_beta-libpng14.patch 1441 RMD160 b6d097f11a67ffd0678d6bd8e1703f86ecf28e24 SHA1 8226e2ebd255770936ea6f4233fe636d9a425a74 SHA256 bbef6acae974ca1064dfecc4f7338c7c2ce65cb56fda74dd79d8911049dba58c
|
||||
AUX extreme-tuxracer.svg 9151 RMD160 c67a7858f40ed6564f3ce6b46c517b59bda28bac SHA1 f3cc3e9d6a6a9565c8692751ef5a63b07c5f83bb SHA256 f30dbfb4651ebc4c54feb7885a4d856f890652d6e3a06b15e04904ea65fd5136
|
||||
DIST extremetuxracer-0.4.tar.gz 28749072 RMD160 69a1433e7fef2e8b0eeb27c17002ef3d74dc0a44 SHA1 db5e55b5780dc2578d8c80d0ce48354b99bb53cf SHA256 5e4057f90e6854e774f251f189b0e676cfd7e2f15779c75544c9ac5b8e30273d
|
||||
DIST extremetuxracer-0.5beta.tar.gz 43524138 RMD160 6f3bf00f792a765063cb97f691df82369157fcca SHA1 8c86186fa633b77d70722e84ab5a441ff0550452 SHA256 ba7fa156361cc6015ad2a1563ec7f05cdbf701f75177795562b528ebb44ba911
|
||||
EBUILD extreme-tuxracer-0.4.ebuild 930 RMD160 9833e03b8427ea85504a4ed257745d24306415a3 SHA1 304a0df5cb522ce0e0866726ddd16bf7a5982d4f SHA256 0e85e8debd7c49818e22756c240ccb109c0cdf9af803b66530b8022602d4dc92
|
||||
EBUILD extreme-tuxracer-0.5_beta.ebuild 1298 RMD160 f39c60f6258ad8f67de600dc27666c60df411250 SHA1 b0c8cfa965a4e5d073cee3c17e7fa638def2fe2f SHA256 79ccafb603a0d1c18d078af8693c47a8772e48c73fb496164146e7bc058b2bb0
|
||||
MISC ChangeLog 1992 RMD160 a09f523f1cb5e2ff81feea14c9e8016846e2d7ce SHA1 56917b8ddb35a466cab5d8e3f36b413fbfd4ff83 SHA256 654bfe763128f5ccd7a2e3f3a73faea1f67db77239fd03d718263494a40addf3
|
||||
MISC metadata.xml 346 RMD160 2cdc09baef144510efecbc4985615673e1a23f02 SHA1 dec611b08f0f85058d12aa22eb7f83329a267a4f SHA256 811f0ea7e4f9d82fdf3d2e75dfcccbb081e2cb5e7b2da1121d87d18733149daa
|
||||
AUX extreme-tuxracer-0.5_beta-libpng14.patch 1441 SHA256 bbef6acae974ca1064dfecc4f7338c7c2ce65cb56fda74dd79d8911049dba58c SHA512 d90ccb06e08b0ab0637956ac01f0ab1b76016d6363d5d25c5ecf6605818df0b0c0ddd419f75e483c692e4d145f549a97cdffd8566bdb84dcfde51bd989f4c4c9 WHIRLPOOL bf1bdf35ade873774d3326f06ca70955cfccab6eea93a52e05bf8b9201a238180e9b4d41599592b8280b08f5713ff214248e0e207da33b10d8a28b03d53d600b
|
||||
AUX extreme-tuxracer.svg 9151 SHA256 f30dbfb4651ebc4c54feb7885a4d856f890652d6e3a06b15e04904ea65fd5136 SHA512 754011ac42e3b0c703baf0d45b2f117b32ba368251479ca85038868acc9d0d9a39f49b3c6e2e171073dd4ae8c6859a69d315f00bb3b7faae2806efc434362a02 WHIRLPOOL a53b1a0f1119fd9125400de99b5a774f2e5bb5c9fe0e19ba22a14eb9e27e0a6152fdf119d94e279a45b85bdcf9b8a91ce451ec5eb75bd07c0611c9655d9d9573
|
||||
DIST extremetuxracer-0.4.tar.gz 28749072 SHA256 5e4057f90e6854e774f251f189b0e676cfd7e2f15779c75544c9ac5b8e30273d
|
||||
DIST extremetuxracer-0.5beta.tar.gz 43524138 SHA256 ba7fa156361cc6015ad2a1563ec7f05cdbf701f75177795562b528ebb44ba911
|
||||
EBUILD extreme-tuxracer-0.4.ebuild 930 SHA256 1a45fb406e31f312835176d1bc1584e092575900cc1c6182b24f58ff9c3ea834 SHA512 0de3eb4359e1c7ac5e5656e703c6cfb707266f961f2615d2c81abc510896dc9107dccf36272f9f6be235dab10c7fa526c7f02c18b722b035a47894b5c484be5a WHIRLPOOL 37271505531da883876ae1e1e8726892123aaba6084375a2a51bf2f127a270b0ccfe779df312a52ae84610de637a3084ccf1b4ea4414a32961ba807fd815f735
|
||||
EBUILD extreme-tuxracer-0.5_beta.ebuild 1298 SHA256 1f47e315880ccea80a2298aaf80680ef4c4f77c46cb66b3520d1bb25a027241d SHA512 b6f610f534d71129fab0a896d5e852d98f827181365fd6525ff9ce217184de0fb389e4beb779ec060368624849c14da163af88535eaa6b5957840d05e6c26a3f WHIRLPOOL f89808561459fb3543ce0ca3a9f5c851f71efccec0b30eb7c38ae9510cb4d8f1905cd5fe1293b175ca840d20597a8d8bdb33b41795f99d29e4ac3557ab844521
|
||||
MISC ChangeLog 2156 SHA256 1f793c5b13ffb57b060a42df4f7478703843eecaf5f792059a2058dd4fbb9d2e SHA512 3b50d5f005815913618f16414db45679f3ad96b8087ff7307db9a2fe0ce3318a5c8d3040569c28c8310dc02bcb518a89ba97b09b5daeb5ad5de8b3903a445035 WHIRLPOOL c5476516cdc3fc64a35fec0d2dcdd98ee69d50584c409d7152476fa6525af5cd9ce442176e2dd43b65256edbd06f704fbe6a8ee9b466f0aa78a80d2bef1277f9
|
||||
MISC metadata.xml 346 SHA256 811f0ea7e4f9d82fdf3d2e75dfcccbb081e2cb5e7b2da1121d87d18733149daa SHA512 91f05704174d9da763f81e10ada3b90c2f3dea98ffde92ed4d6faeea9fe3efa66280e2580412c5985b5866b4351d97914f3075b868025632c2598c006bb6980e WHIRLPOOL 16fa659745e51f6a79de496568bc0be88c93b7479d706be413e5200d89e368824a46b75d82c6edeeab36532441d79fcab21a9b2008a154b5218239f70c39c687
|
||||
|
@ -1,21 +1,25 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
Hash: SHA256
|
||||
|
||||
AUX nautilus-dropbox-0.7.0-system-rst2man.patch 463 RMD160 c047adc124ba99b5fe567a3a73678000ef606f62 SHA1 df910ef68d5dc69339329df1a7c836e7db0c20a1 SHA256 f8c6add8d61b73ac8083a79177705a172005a16f1f0738f37e09ce5daddc3702
|
||||
DIST nautilus-dropbox-0.6.9.tar.bz2 351131 RMD160 116eedc009dd34a51a34909f4093537ebcb060d4 SHA1 bad6402183b2ed1190ecb8faec2eccaf9ae3e821 SHA256 f1c16c0a485884a5600121a168d4617dc4b47842b22524007f5e2b116b1701f6
|
||||
DIST nautilus-dropbox-0.7.0.tar.bz2 353719 RMD160 48dbf2ff6859e7a1aae7726aa48bf1752e671351 SHA1 1b6764b15cfca95a49771b3fd4ed64062b94085c SHA256 4fe171760c897c0ab4166cea70f8587623f72c616ef66ea7d81565b702322daa
|
||||
DIST nautilus-dropbox-0.7.1.tar.bz2 353942 RMD160 19e1ad4f628915254996c11639027b1c51aa034d SHA1 efeea06f5b80de82acf7f7dd9913f1520fbf74a6 SHA256 87effa9c89d27f36350628bdd42fad4a4e013af3f8e42e4761790ff4ecd09770
|
||||
DIST nautilus-dropbox-1.4.0.tar.bz2 353988 RMD160 0bdad36dfd4730fe3b96882acbcd7d553a64a221 SHA1 0b929a0afe8fb24b9f3cee37082572133d860cd6 SHA256 3412554d31a4a819a45edcb96bb1ab071a3e2d781817b90a14df8010137cb802
|
||||
EBUILD nautilus-dropbox-0.6.9.ebuild 2132 RMD160 6eaf04828fb6e5020f4ca6d96134133a7ffce4dc SHA1 df37e5a290284ccc93a354c20d3c6d2aa2d6f4a1 SHA256 a03aaff62145640c547da8337cc9223d1f3ebf68b307c8a419110730104f423f
|
||||
EBUILD nautilus-dropbox-0.7.0.ebuild 2096 RMD160 b254dd91ce906af3317764ef298beb256f6f1f03 SHA1 c8fee871ad597de6f2ff0cd90f5e9df992df99fb SHA256 be389ecdf7ac58f2b02103284de14d6890bf69caf263126718af38a1425bfeb1
|
||||
EBUILD nautilus-dropbox-0.7.1.ebuild 2101 RMD160 575a599b3914c0005b19b4f751a5477e46bd4427 SHA1 f8dde61bc28326929a9fc4c68d35dbbb91fcdd64 SHA256 3902bc1cb50f1ddcd2f3134a8f22e00a161153b97e9479d38a35135a25296fba
|
||||
EBUILD nautilus-dropbox-1.4.0.ebuild 2103 RMD160 8c8736cb3e98fe4f8bd852be2e1b02067ad79165 SHA1 d858142a6df1a02e3da2b44bce8eb73261bbfb42 SHA256 a09657da907f725dff7d4f5bf8652809370e37a5b1e720d5694295871f7511cb
|
||||
MISC ChangeLog 3352 RMD160 12e70c1577b9ed62200a403ce1724697ad41b148 SHA1 83cb5cdf1b0f8aecfd4e45fea014e2de52dab9e0 SHA256 2c327fce08f74f342927150f5acc84dbaae273d8dc9e157da656e600d4d63462
|
||||
MISC metadata.xml 278 RMD160 85ae612f4b725d8857a7fe0808090691c0e58fbd SHA1 c97840692a46e7d54f22bfcfd0a564a8d08033dd SHA256 07a0afc4dfc12865b213ef6815169e0524357989b213ac40bc9436dea94c3160
|
||||
AUX nautilus-dropbox-0.7.0-system-rst2man.patch 463 SHA256 f8c6add8d61b73ac8083a79177705a172005a16f1f0738f37e09ce5daddc3702 SHA512 5a34c3e6ff51a1a14eac11e0619a81afeec05979944d128ed37076cadb9a79edd839918ee289c409c537be73a913ee3bc58f19cc2227cda8762328e2f0fbd7eb WHIRLPOOL 75f33c78b99b923da61a2dc926e0c4a62973cc61e36e7c5bd0a52fa840757b876fd9badf158ba1e78a42094023f76eaedf0fa72ba6795acd90bc3dd30683d9e6
|
||||
DIST nautilus-dropbox-0.6.9.tar.bz2 351131 SHA256 f1c16c0a485884a5600121a168d4617dc4b47842b22524007f5e2b116b1701f6
|
||||
DIST nautilus-dropbox-0.7.0.tar.bz2 353719 SHA256 4fe171760c897c0ab4166cea70f8587623f72c616ef66ea7d81565b702322daa
|
||||
DIST nautilus-dropbox-0.7.1.tar.bz2 353942 SHA256 87effa9c89d27f36350628bdd42fad4a4e013af3f8e42e4761790ff4ecd09770
|
||||
DIST nautilus-dropbox-1.4.0.tar.bz2 353988 SHA256 3412554d31a4a819a45edcb96bb1ab071a3e2d781817b90a14df8010137cb802
|
||||
EBUILD nautilus-dropbox-0.6.9.ebuild 2132 SHA256 a03aaff62145640c547da8337cc9223d1f3ebf68b307c8a419110730104f423f SHA512 a7cef5b67042ad0bfcf889192af9564a8c6b6bf6ffb067a9d5ea37468aca8dcbaef671936aea24e31c21fbf34528d4b8b113f000e6cb45abe5a203732246347e WHIRLPOOL 9624ff6ed75e5145436e90e285924fb199135d65e9f1b118dba54fe2567dc78267e64422a7f0465bf70320a8ef5f84e0cb42261cf6215c73500916c18ed55170
|
||||
EBUILD nautilus-dropbox-0.7.0.ebuild 2096 SHA256 be389ecdf7ac58f2b02103284de14d6890bf69caf263126718af38a1425bfeb1 SHA512 2a5f43c12550556bd461767eeb4016ba5c644da155438e080c484b3cc04ce46583435a103b041ab58dce4501c1570017594e74d61493d08693d3bce5d0a88c06 WHIRLPOOL 2ed493d27a6fcc69a78493a2a35d8129567c71217f0d034811fe2bdd7f247dc41f10c04b8858da0bcf1d99c1877e4f53effb5b8912e9c6d916e175b85b8f64b3
|
||||
EBUILD nautilus-dropbox-0.7.1.ebuild 2101 SHA256 3902bc1cb50f1ddcd2f3134a8f22e00a161153b97e9479d38a35135a25296fba SHA512 5bd7b9fffc40cf76632884fe1aafdcb30af3fd9a18753a1d6f48616c9166e105c2c4b4ae7bb4774140e707f9705aa17d307e13dd1cc26d6e1e9fea5ad1a424aa WHIRLPOOL 63ae08033703b0adf4553b9957a51ad99d0c48cb3f50c2faea8f9b43581774507c01f152bbb68a83a6ff6c1518c166326fce32a7a7b17e964f8b94411d1a0399
|
||||
EBUILD nautilus-dropbox-1.4.0.ebuild 2124 SHA256 f8d8c9b08fbae372b1643e51a41be82109a187387f47ca496461640e423ee3e6 SHA512 4ee8b3d2d4a1c5cc612fbfbd36e4845731155a29bb25018f1e23d565bece981f0454acd64c1089e42dbadcd9d5ba4aa80382fdcfbe9567ae2d6fad93ae3e00bd WHIRLPOOL 428487d663effc0f9149e7e911bad0843b95dfe89f8754f969a40cc0e30334cf2126fc8e93e57ac8e4a0cc7efdac44cbbc8a45301bdd685ea3f33cb8de740120
|
||||
MISC ChangeLog 3473 SHA256 75eaa4cee41acd54abc396a6d2c22a78dda48c4288f810077c5d540694971381 SHA512 d02f57decaff156a87eb5b22d99b04a97a164f4223218a8ca1d428e9ef5cc24aada99123a27dc19b87ce5c4c835858f94b2a1dd4290e83ebcd4e2568f9f9ea5a WHIRLPOOL a1361c37da7ef199f38d821e21f781903def8e56a0eb1d7582f5ec3ed16d9130cc2874f2d579a1d873af81bf6144f68eb97e1f0119af3a29f43686cf19773a14
|
||||
MISC metadata.xml 278 SHA256 07a0afc4dfc12865b213ef6815169e0524357989b213ac40bc9436dea94c3160 SHA512 c47ad7b85f6516eec5bc86f26785d8731544436f25fce07093a7c51de184ddfeca02253022c54fb88c1b75645350d8d23de7fc1d8c62e8050e1288b4d6ebaba6 WHIRLPOOL 5fc748443c6e622808acfb4f906cc41bac88b04718771a678462d1079185b74de2840d3dfe1c0949ad96c5b8d2a278f7587af8b1381cddf72c92b9b3099b40c8
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEARECAAYFAk/RKZEACgkQ/ejvha5XGaOsxQCeOivMfp5zL3wtzl8jJErYQJmA
|
||||
/T8AoLh8dlK1u6jDLiOlQoe1xhz2hj0m
|
||||
=KdsR
|
||||
iQEcBAEBCAAGBQJQNaCmAAoJEOeBhlrCAAWGOi0H/j+6D3cPKBs0t8Auxz9Wyjjs
|
||||
u1cdVRH7En8CGAIfQRRjnHXzmaGmEwV4MC1B1+nYuWSVTE1mSb6edGGFRjkDMbPb
|
||||
acQDa6dnJ3+X+7LmbRbUOjoL+372PXB9zwusPXciCT7M5SEIjUafkwHwjNwg6bhG
|
||||
XNVSOZV6fboAC/toydIHEhXIHCOKLohJ9rPy4+bS2ZyiP1LQD4/7FNU+FyvE8ODp
|
||||
UNo/UuwRh2PBNVi5c4h4LVH96KZSDlO2Uyk7pn6tUOo/CsWpx4CzdBIszByj3+QL
|
||||
aHMJJYGfI5ewe0K9d1aF2j7KdEHtNjEsPHEiUOWzgbl0pjvOM8neFOww7d5WGMY=
|
||||
=lkYf
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/print-manager/print-manager-0.2.0.ebuild,v 1.1 2012/08/22 22:07:07 dilfridge Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="cs da de et hu km nl pl pt pt_BR sk sv uk"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Manage print jobs and printers in KDE"
|
||||
HOMEPAGE="https://projects.kde.org/projects/playground/base/print-manager"
|
||||
[[ "${PV}" != "9999" ]] && SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="4"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
>=net-print/cups-1.6.0[dbus]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=( -DCUPS_1_6=ON )
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,178 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/assp-1.9.1.3.ebuild,v 1.2 2012/06/04 23:37:01 zmedico Exp $
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Anti-Spam SMTP Proxy written in Perl."
|
||||
HOMEPAGE="http://assp.sourceforge.net/"
|
||||
MY_PN=ASSP_${PV}-Install
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
# this is a pre-release, so no keywords for now
|
||||
KEYWORDS=""
|
||||
|
||||
IUSE="ipv6 ldap sasl spf srs ssl syslog"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/Net-DNS
|
||||
dev-perl/File-ReadBackwards
|
||||
virtual/perl-IO-Compress
|
||||
dev-perl/Email-MIME
|
||||
dev-perl/Email-Send
|
||||
dev-perl/Email-Valid
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/mime-construct
|
||||
dev-perl/Net-CIDR-Lite
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-Time-HiRes
|
||||
ipv6? ( dev-perl/IO-Socket-INET6 )
|
||||
sasl? ( dev-perl/Authen-SASL )
|
||||
spf? ( dev-perl/Mail-SPF )
|
||||
srs? ( dev-perl/Mail-SRS )
|
||||
ssl? ( dev-perl/IO-Socket-SSL )
|
||||
syslog? ( perl-core/Sys-Syslog )
|
||||
ldap? ( dev-perl/perl-ldap )"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}/ASSP
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup assp
|
||||
enewuser assp -1 -1 /dev/null assp
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
local FILES="
|
||||
assp.pl
|
||||
rebuildspamdb.pl
|
||||
stat.pl
|
||||
"
|
||||
# just being safe
|
||||
for file in ${FILES}; do
|
||||
edos2unix ${file}
|
||||
done
|
||||
|
||||
# portable changes via sed vs patch
|
||||
sed -i -e 's|file:files/|file:/etc/assp/|' \
|
||||
-e 's|$base/images|/usr/share/assp/images|' \
|
||||
-e 's|logs/maillog.txt|/var/log/assp/maillog.txt|' \
|
||||
-e 's|PID File'\'',40,textinput,'\''pid'\''|PID File'\'',40,textinput,'\''asspd.pid'\''|' \
|
||||
-e 's|Daemon\*\*'\'',0,checkbox,0|Daemon\*\*'\'',0,checkbox,1|' \
|
||||
-e 's|UID\*\*'\'',20,textinput,'\'''\''|UID\*\*'\'',20,textinput,'\''assp'\''|' \
|
||||
-e 's|GID\*\*'\'',20,textinput,'\'''\''|GID\*\*'\'',20,textinput,'\''assp'\''|' \
|
||||
-e 's|popFileEditor'\('\\'\''pb/pbdb\.\([^\.]*\)\.db\\'\'',|popFileEditor(\\'\''/var/lib/assp/pb/pbdb.\1.db\\'\'',|g' \
|
||||
-e 's|$base/assp.cfg|/etc/assp/assp.cfg|g' \
|
||||
-e 's|$base/$pidfile|/var/run/assp/asspd.pid|' \
|
||||
-e 's|mkdir "$base/$logdir",0700 if $logdir;||' \
|
||||
-e 's|mkdir "$base/$logdir",0700;||' \
|
||||
-e 's|$base/$logfile|$logfile|' \
|
||||
-e 's|$base/$logdir|$logdir|' \
|
||||
-e 's|"maillog.log"|"/var/log/assp/maillog.log"|' \
|
||||
-e 's|-d "$base/logs" or mkdir "$base/logs",0700;||' \
|
||||
-e 's|-d "$base/notes" or mkdir "$base/notes",0700;||' \
|
||||
-e 's|-d "$base/docs" or mkdir "$base/docs",0777;||' \
|
||||
-e 's|$base/$archivelogfile|$archivelogfile|' \
|
||||
-e 's|"$base/$file",$sub,"$this|"/etc/assp/$file",$sub,"$this|' \
|
||||
-e 's|"$base/$file",'\'''\'',"$this|"/etc/assp/$file",'\'''\'',"$this|' \
|
||||
-e 's|my $fil=$1; $fil="$base/$fil" if $fil!~/^\\Q$base\\E/i;|my $fil=$1;|' \
|
||||
-e 's|$fil="$base/$fil" if $fil!~/^\\Q$base\\E/i;|$fil="/etc/assp/$fil" if $fil!~/^\\/etc\\/assp\\/\|\\/var\\/lib\\/assp\\/\/i;|' \
|
||||
-e 's|$fil="$base/$fil" if $fil!~/^((\[a-z\]:)?\[\\/\\\\\]\|\\Q$base\\E)/;||' \
|
||||
-e 's|if ($fil !~ /^\\Q$base\\E/i) {|if ($fil !~ /^\\/usr\\/share\\/assp\\//i) {|' \
|
||||
-e 's|$fil = "$base/$fil";|$fil = "/usr/share/assp/$fil";|' \
|
||||
-e 's|Q$base\\E|Q\\/etc\\/assp\\/\\E|' \
|
||||
-e 's|$fil="$base/$fil"|$fil="/etc/assp/$fil"|' \
|
||||
-e 's|$base/$bf|/etc/assp/$bf|g' \
|
||||
-e 's|rebuildrun.txt|/var/lib/assp/rebuildrun.txt|' \
|
||||
assp.pl || die
|
||||
|
||||
# sed rebuildspamdb.pl
|
||||
sed -i -e 's|assp.cfg|/etc/assp/assp.cfg|' \
|
||||
-e 's|} && "$Config{base}/$Config{logfile}" \|\| '\''maillog.txt'\'';|};|' \
|
||||
-e 's|tmaxtick('\''rebuild'\'');|tmaxtick('\''/var/lib/assp/rebuild'\'');|' \
|
||||
-e 's|goodhosts|/var/lib/assp/goodhosts|g' \
|
||||
-e 's|rebuildrun.txt|/var/lib/assp/rebuildrun.txt|' \
|
||||
-e 's|$base/$DropList|$DropList|' \
|
||||
-e 's|&fixPath($base) . "/|"|' \
|
||||
-e 's|= "/var/lib/assp/rebuildrun.txt";|= "/var/lib/assp/rebuildrun.txt";\n $RebuildLog = "/var/lib/assp/rebuild.log";|' \
|
||||
-e 's|"$base//|"/|g' \
|
||||
rebuildspamdb.pl || die
|
||||
|
||||
# remove windows stuff
|
||||
rm "${S}/addservice.pl" || die "Could not remove ${S}/addservice.pl"
|
||||
rm -f "${S}/Win32-quickstart-guide.txt" || die "Could not remove ${S}/Win32-quickstart-guide.txt"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Configuration directory
|
||||
dodir /etc/assp/notes
|
||||
|
||||
insinto /etc/assp
|
||||
# Installs files that are used by assp for black/gray lists,
|
||||
# and domain country lookup. To be changed by admin as needed.
|
||||
doins files/*.txt || die
|
||||
|
||||
fowners assp:assp /etc/assp -R
|
||||
fperms 770 /etc/assp /etc/assp/notes
|
||||
|
||||
# Setup directories for mail to be stored for filter
|
||||
keepdir /var/lib/assp/spam /var/lib/assp/notspam
|
||||
keepdir /var/lib/assp/errors/spam /var/lib/assp/errors/notspam
|
||||
|
||||
# Logs directory
|
||||
keepdir /var/log/assp
|
||||
fowners assp:assp -R /var/log/assp
|
||||
fperms 770 /var/log/assp
|
||||
|
||||
# Install the app
|
||||
exeinto /usr/share/assp
|
||||
doexe *.pl *.sh || die
|
||||
insinto /usr/share/assp
|
||||
doins -r images/ || die
|
||||
|
||||
# Lock down the files/data
|
||||
fowners assp:assp -R /usr/share/assp
|
||||
fperms 770 /usr/share/assp
|
||||
|
||||
# Data storage
|
||||
fowners assp:assp -R /var/lib/assp
|
||||
fperms 770 /var/lib/assp
|
||||
|
||||
# PID directory
|
||||
dodir /var/run/assp
|
||||
keepdir /var/run/assp
|
||||
fowners assp:assp -R /var/run/assp
|
||||
fperms 770 /var/run/assp
|
||||
|
||||
# Install the init.d script to listen
|
||||
newinitd "${FILESDIR}/asspd.init" asspd
|
||||
|
||||
dohtml docs/*.htm || die "Failed to install html docs"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "To configure ASSP, start /etc/init.d/asspd then point"
|
||||
elog "your browser to http://localhost:55555"
|
||||
elog "Username: admin Password: nospam4me (CHANGE ASAP!)"
|
||||
elog
|
||||
elog "File permissions have been set to use assp:assp"
|
||||
elog "with mode 770 on directories. When you configure"
|
||||
elog "ASSP, make sure and use the user assp."
|
||||
elog
|
||||
elog "Don't change any path related options."
|
||||
elog
|
||||
elog "See the on-line docs for a complete tutorial."
|
||||
elog "http://assp.sourceforge.net/docs.html"
|
||||
elog
|
||||
elog "If upgrading, please update your old config to set both"
|
||||
elog "redre.txt and nodelay.txt path of /etc/assp. There are"
|
||||
elog "also many new options that you should review."
|
||||
elog
|
||||
}
|
@ -1,178 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/assp-1.9.2.0.ebuild,v 1.2 2012/06/04 23:37:01 zmedico Exp $
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Anti-Spam SMTP Proxy written in Perl."
|
||||
HOMEPAGE="http://assp.sourceforge.net/"
|
||||
MY_PN=ASSP_${PV}-Install
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
# this is a pre-release, so no keywords for now
|
||||
KEYWORDS=""
|
||||
|
||||
IUSE="ipv6 ldap sasl spf srs ssl syslog"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/Net-DNS
|
||||
dev-perl/File-ReadBackwards
|
||||
virtual/perl-IO-Compress
|
||||
dev-perl/Email-MIME
|
||||
dev-perl/Email-Send
|
||||
dev-perl/Email-Valid
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/mime-construct
|
||||
dev-perl/Net-CIDR-Lite
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-Time-HiRes
|
||||
ipv6? ( dev-perl/IO-Socket-INET6 )
|
||||
sasl? ( dev-perl/Authen-SASL )
|
||||
spf? ( dev-perl/Mail-SPF )
|
||||
srs? ( dev-perl/Mail-SRS )
|
||||
ssl? ( dev-perl/IO-Socket-SSL )
|
||||
syslog? ( perl-core/Sys-Syslog )
|
||||
ldap? ( dev-perl/perl-ldap )"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}/ASSP
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup assp
|
||||
enewuser assp -1 -1 /dev/null assp
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
local FILES="
|
||||
assp.pl
|
||||
rebuildspamdb.pl
|
||||
stat.pl
|
||||
"
|
||||
# just being safe
|
||||
for file in ${FILES}; do
|
||||
edos2unix ${file}
|
||||
done
|
||||
|
||||
# portable changes via sed vs patch
|
||||
sed -i -e 's|file:files/|file:/etc/assp/|' \
|
||||
-e 's|$base/images|/usr/share/assp/images|' \
|
||||
-e 's|logs/maillog.txt|/var/log/assp/maillog.txt|' \
|
||||
-e 's|PID File'\'',40,textinput,'\''pid'\''|PID File'\'',40,textinput,'\''asspd.pid'\''|' \
|
||||
-e 's|Daemon\*\*'\'',0,checkbox,0|Daemon\*\*'\'',0,checkbox,1|' \
|
||||
-e 's|UID\*\*'\'',20,textinput,'\'''\''|UID\*\*'\'',20,textinput,'\''assp'\''|' \
|
||||
-e 's|GID\*\*'\'',20,textinput,'\'''\''|GID\*\*'\'',20,textinput,'\''assp'\''|' \
|
||||
-e 's|popFileEditor'\('\\'\''pb/pbdb\.\([^\.]*\)\.db\\'\'',|popFileEditor(\\'\''/var/lib/assp/pb/pbdb.\1.db\\'\'',|g' \
|
||||
-e 's|$base/assp.cfg|/etc/assp/assp.cfg|g' \
|
||||
-e 's|$base/$pidfile|/var/run/assp/asspd.pid|' \
|
||||
-e 's|mkdir "$base/$logdir",0700 if $logdir;||' \
|
||||
-e 's|mkdir "$base/$logdir",0700;||' \
|
||||
-e 's|$base/$logfile|$logfile|' \
|
||||
-e 's|$base/$logdir|$logdir|' \
|
||||
-e 's|"maillog.log"|"/var/log/assp/maillog.log"|' \
|
||||
-e 's|-d "$base/logs" or mkdir "$base/logs",0700;||' \
|
||||
-e 's|-d "$base/notes" or mkdir "$base/notes",0700;||' \
|
||||
-e 's|-d "$base/docs" or mkdir "$base/docs",0777;||' \
|
||||
-e 's|$base/$archivelogfile|$archivelogfile|' \
|
||||
-e 's|"$base/$file",$sub,"$this|"/etc/assp/$file",$sub,"$this|' \
|
||||
-e 's|"$base/$file",'\'''\'',"$this|"/etc/assp/$file",'\'''\'',"$this|' \
|
||||
-e 's|my $fil=$1; $fil="$base/$fil" if $fil!~/^\\Q$base\\E/i;|my $fil=$1;|' \
|
||||
-e 's|$fil="$base/$fil" if $fil!~/^\\Q$base\\E/i;|$fil="/etc/assp/$fil" if $fil!~/^\\/etc\\/assp\\/\|\\/var\\/lib\\/assp\\/\/i;|' \
|
||||
-e 's|$fil="$base/$fil" if $fil!~/^((\[a-z\]:)?\[\\/\\\\\]\|\\Q$base\\E)/;||' \
|
||||
-e 's|if ($fil !~ /^\\Q$base\\E/i) {|if ($fil !~ /^\\/usr\\/share\\/assp\\//i) {|' \
|
||||
-e 's|$fil = "$base/$fil";|$fil = "/usr/share/assp/$fil";|' \
|
||||
-e 's|Q$base\\E|Q\\/etc\\/assp\\/\\E|' \
|
||||
-e 's|$fil="$base/$fil"|$fil="/etc/assp/$fil"|' \
|
||||
-e 's|$base/$bf|/etc/assp/$bf|g' \
|
||||
-e 's|rebuildrun.txt|/var/lib/assp/rebuildrun.txt|' \
|
||||
assp.pl || die
|
||||
|
||||
# sed rebuildspamdb.pl
|
||||
sed -i -e 's|assp.cfg|/etc/assp/assp.cfg|' \
|
||||
-e 's|} && "$Config{base}/$Config{logfile}" \|\| '\''maillog.txt'\'';|};|' \
|
||||
-e 's|tmaxtick('\''rebuild'\'');|tmaxtick('\''/var/lib/assp/rebuild'\'');|' \
|
||||
-e 's|goodhosts|/var/lib/assp/goodhosts|g' \
|
||||
-e 's|rebuildrun.txt|/var/lib/assp/rebuildrun.txt|' \
|
||||
-e 's|$base/$DropList|$DropList|' \
|
||||
-e 's|&fixPath($base) . "/|"|' \
|
||||
-e 's|= "/var/lib/assp/rebuildrun.txt";|= "/var/lib/assp/rebuildrun.txt";\n $RebuildLog = "/var/lib/assp/rebuild.log";|' \
|
||||
-e 's|"$base//|"/|g' \
|
||||
rebuildspamdb.pl || die
|
||||
|
||||
# remove windows stuff
|
||||
rm "${S}/addservice.pl" || die "Could not remove ${S}/addservice.pl"
|
||||
rm -f "${S}/Win32-quickstart-guide.txt" || die "Could not remove ${S}/Win32-quickstart-guide.txt"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Configuration directory
|
||||
dodir /etc/assp/notes
|
||||
|
||||
insinto /etc/assp
|
||||
# Installs files that are used by assp for black/gray lists,
|
||||
# and domain country lookup. To be changed by admin as needed.
|
||||
doins files/*.txt || die
|
||||
|
||||
fowners assp:assp /etc/assp -R
|
||||
fperms 770 /etc/assp /etc/assp/notes
|
||||
|
||||
# Setup directories for mail to be stored for filter
|
||||
keepdir /var/lib/assp/spam /var/lib/assp/notspam
|
||||
keepdir /var/lib/assp/errors/spam /var/lib/assp/errors/notspam
|
||||
|
||||
# Logs directory
|
||||
keepdir /var/log/assp
|
||||
fowners assp:assp -R /var/log/assp
|
||||
fperms 770 /var/log/assp
|
||||
|
||||
# Install the app
|
||||
exeinto /usr/share/assp
|
||||
doexe *.pl *.sh || die
|
||||
insinto /usr/share/assp
|
||||
doins -r images/ || die
|
||||
|
||||
# Lock down the files/data
|
||||
fowners assp:assp -R /usr/share/assp
|
||||
fperms 770 /usr/share/assp
|
||||
|
||||
# Data storage
|
||||
fowners assp:assp -R /var/lib/assp
|
||||
fperms 770 /var/lib/assp
|
||||
|
||||
# PID directory
|
||||
dodir /var/run/assp
|
||||
keepdir /var/run/assp
|
||||
fowners assp:assp -R /var/run/assp
|
||||
fperms 770 /var/run/assp
|
||||
|
||||
# Install the init.d script to listen
|
||||
newinitd "${FILESDIR}/asspd.init" asspd
|
||||
|
||||
dohtml docs/*.htm || die "Failed to install html docs"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "To configure ASSP, start /etc/init.d/asspd then point"
|
||||
elog "your browser to http://localhost:55555"
|
||||
elog "Username: admin Password: nospam4me (CHANGE ASAP!)"
|
||||
elog
|
||||
elog "File permissions have been set to use assp:assp"
|
||||
elog "with mode 770 on directories. When you configure"
|
||||
elog "ASSP, make sure and use the user assp."
|
||||
elog
|
||||
elog "Don't change any path related options."
|
||||
elog
|
||||
elog "See the on-line docs for a complete tutorial."
|
||||
elog "http://assp.sourceforge.net/docs.html"
|
||||
elog
|
||||
elog "If upgrading, please update your old config to set both"
|
||||
elog "redre.txt and nodelay.txt path of /etc/assp. There are"
|
||||
elog "also many new options that you should review."
|
||||
elog
|
||||
}
|
@ -1,178 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/assp-1.9.3.5.ebuild,v 1.3 2012/06/04 23:37:01 zmedico Exp $
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Anti-Spam SMTP Proxy written in Perl."
|
||||
HOMEPAGE="http://assp.sourceforge.net/"
|
||||
MY_PN=ASSP_${PV}-Install
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
# this is a pre-release, so no keywords for now
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="ipv6 ldap sasl spf srs ssl syslog"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/Net-DNS
|
||||
dev-perl/File-ReadBackwards
|
||||
virtual/perl-IO-Compress
|
||||
dev-perl/Email-MIME
|
||||
dev-perl/Email-Send
|
||||
dev-perl/Email-Valid
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/mime-construct
|
||||
dev-perl/Net-CIDR-Lite
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-Time-HiRes
|
||||
ipv6? ( dev-perl/IO-Socket-INET6 )
|
||||
sasl? ( dev-perl/Authen-SASL )
|
||||
spf? ( dev-perl/Mail-SPF )
|
||||
srs? ( dev-perl/Mail-SRS )
|
||||
ssl? ( dev-perl/IO-Socket-SSL )
|
||||
syslog? ( perl-core/Sys-Syslog )
|
||||
ldap? ( dev-perl/perl-ldap )"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}/ASSP
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup assp
|
||||
enewuser assp -1 -1 /dev/null assp
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
local FILES="
|
||||
assp.pl
|
||||
rebuildspamdb.pl
|
||||
stat.pl
|
||||
"
|
||||
# just being safe
|
||||
for file in ${FILES}; do
|
||||
edos2unix ${file}
|
||||
done
|
||||
|
||||
# portable changes via sed vs patch
|
||||
sed -i -e 's|file:files/|file:/etc/assp/|' \
|
||||
-e 's|$base/images|/usr/share/assp/images|' \
|
||||
-e 's|logs/maillog.txt|/var/log/assp/maillog.txt|' \
|
||||
-e 's|PID File'\'',40,textinput,'\''pid'\''|PID File'\'',40,textinput,'\''asspd.pid'\''|' \
|
||||
-e 's|Daemon\*\*'\'',0,checkbox,0|Daemon\*\*'\'',0,checkbox,1|' \
|
||||
-e 's|UID\*\*'\'',20,textinput,'\'''\''|UID\*\*'\'',20,textinput,'\''assp'\''|' \
|
||||
-e 's|GID\*\*'\'',20,textinput,'\'''\''|GID\*\*'\'',20,textinput,'\''assp'\''|' \
|
||||
-e 's|popFileEditor'\('\\'\''pb/pbdb\.\([^\.]*\)\.db\\'\'',|popFileEditor(\\'\''/var/lib/assp/pb/pbdb.\1.db\\'\'',|g' \
|
||||
-e 's|$base/assp.cfg|/etc/assp/assp.cfg|g' \
|
||||
-e 's|$base/$pidfile|/var/run/assp/asspd.pid|' \
|
||||
-e 's|mkdir "$base/$logdir",0700 if $logdir;||' \
|
||||
-e 's|mkdir "$base/$logdir",0700;||' \
|
||||
-e 's|$base/$logfile|$logfile|' \
|
||||
-e 's|$base/$logdir|$logdir|' \
|
||||
-e 's|"maillog.log"|"/var/log/assp/maillog.log"|' \
|
||||
-e 's|-d "$base/logs" or mkdir "$base/logs",0700;||' \
|
||||
-e 's|-d "$base/notes" or mkdir "$base/notes",0700;||' \
|
||||
-e 's|-d "$base/docs" or mkdir "$base/docs",0777;||' \
|
||||
-e 's|$base/$archivelogfile|$archivelogfile|' \
|
||||
-e 's|"$base/$file",$sub,"$this|"/etc/assp/$file",$sub,"$this|' \
|
||||
-e 's|"$base/$file",'\'''\'',"$this|"/etc/assp/$file",'\'''\'',"$this|' \
|
||||
-e 's|my $fil=$1; $fil="$base/$fil" if $fil!~/^\\Q$base\\E/i;|my $fil=$1;|' \
|
||||
-e 's|$fil="$base/$fil" if $fil!~/^\\Q$base\\E/i;|$fil="/etc/assp/$fil" if $fil!~/^\\/etc\\/assp\\/\|\\/var\\/lib\\/assp\\/\/i;|' \
|
||||
-e 's|$fil="$base/$fil" if $fil!~/^((\[a-z\]:)?\[\\/\\\\\]\|\\Q$base\\E)/;||' \
|
||||
-e 's|if ($fil !~ /^\\Q$base\\E/i) {|if ($fil !~ /^\\/usr\\/share\\/assp\\//i) {|' \
|
||||
-e 's|$fil = "$base/$fil";|$fil = "/usr/share/assp/$fil";|' \
|
||||
-e 's|Q$base\\E|Q\\/etc\\/assp\\/\\E|' \
|
||||
-e 's|$fil="$base/$fil"|$fil="/etc/assp/$fil"|' \
|
||||
-e 's|$base/$bf|/etc/assp/$bf|g' \
|
||||
-e 's|rebuildrun.txt|/var/lib/assp/rebuildrun.txt|' \
|
||||
assp.pl || die
|
||||
|
||||
# sed rebuildspamdb.pl
|
||||
sed -i -e 's|assp.cfg|/etc/assp/assp.cfg|' \
|
||||
-e 's|} && "$Config{base}/$Config{logfile}" \|\| '\''maillog.txt'\'';|};|' \
|
||||
-e 's|tmaxtick('\''rebuild'\'');|tmaxtick('\''/var/lib/assp/rebuild'\'');|' \
|
||||
-e 's|goodhosts|/var/lib/assp/goodhosts|g' \
|
||||
-e 's|rebuildrun.txt|/var/lib/assp/rebuildrun.txt|' \
|
||||
-e 's|$base/$DropList|$DropList|' \
|
||||
-e 's|&fixPath($base) . "/|"|' \
|
||||
-e 's|= "/var/lib/assp/rebuildrun.txt";|= "/var/lib/assp/rebuildrun.txt";\n $RebuildLog = "/var/lib/assp/rebuild.log";|' \
|
||||
-e 's|"$base//|"/|g' \
|
||||
rebuildspamdb.pl || die
|
||||
|
||||
# remove windows stuff
|
||||
rm "${S}/addservice.pl" || die "Could not remove ${S}/addservice.pl"
|
||||
rm -f "${S}/Win32-quickstart-guide.txt" || die "Could not remove ${S}/Win32-quickstart-guide.txt"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Configuration directory
|
||||
dodir /etc/assp/notes
|
||||
|
||||
insinto /etc/assp
|
||||
# Installs files that are used by assp for black/gray lists,
|
||||
# and domain country lookup. To be changed by admin as needed.
|
||||
doins files/*.txt || die
|
||||
|
||||
fowners assp:assp /etc/assp -R
|
||||
fperms 770 /etc/assp /etc/assp/notes
|
||||
|
||||
# Setup directories for mail to be stored for filter
|
||||
keepdir /var/lib/assp/spam /var/lib/assp/notspam
|
||||
keepdir /var/lib/assp/errors/spam /var/lib/assp/errors/notspam
|
||||
|
||||
# Logs directory
|
||||
keepdir /var/log/assp
|
||||
fowners assp:assp -R /var/log/assp
|
||||
fperms 770 /var/log/assp
|
||||
|
||||
# Install the app
|
||||
exeinto /usr/share/assp
|
||||
doexe *.pl *.sh || die
|
||||
insinto /usr/share/assp
|
||||
doins -r images/ || die
|
||||
|
||||
# Lock down the files/data
|
||||
fowners assp:assp -R /usr/share/assp
|
||||
fperms 770 /usr/share/assp
|
||||
|
||||
# Data storage
|
||||
fowners assp:assp -R /var/lib/assp
|
||||
fperms 770 /var/lib/assp
|
||||
|
||||
# PID directory
|
||||
dodir /var/run/assp
|
||||
keepdir /var/run/assp
|
||||
fowners assp:assp -R /var/run/assp
|
||||
fperms 770 /var/run/assp
|
||||
|
||||
# Install the init.d script to listen
|
||||
newinitd "${FILESDIR}/asspd.init" asspd
|
||||
|
||||
dohtml docs/*.htm || die "Failed to install html docs"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "To configure ASSP, start /etc/init.d/asspd then point"
|
||||
elog "your browser to http://localhost:55555"
|
||||
elog "Username: admin Password: nospam4me (CHANGE ASAP!)"
|
||||
elog
|
||||
elog "File permissions have been set to use assp:assp"
|
||||
elog "with mode 770 on directories. When you configure"
|
||||
elog "ASSP, make sure and use the user assp."
|
||||
elog
|
||||
elog "Don't change any path related options."
|
||||
elog
|
||||
elog "See the on-line docs for a complete tutorial."
|
||||
elog "http://assp.sourceforge.net/docs.html"
|
||||
elog
|
||||
elog "If upgrading, please update your old config to set both"
|
||||
elog "redre.txt and nodelay.txt path of /etc/assp. There are"
|
||||
elog "also many new options that you should review."
|
||||
elog
|
||||
}
|
@ -1,178 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/assp-1.9.3.7.ebuild,v 1.1 2012/07/04 02:35:19 patrick Exp $
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Anti-Spam SMTP Proxy written in Perl."
|
||||
HOMEPAGE="http://assp.sourceforge.net/"
|
||||
MY_PN=ASSP_${PV}-Install
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
# this is a pre-release, so no keywords for now
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="ipv6 ldap sasl spf srs ssl syslog"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/Net-DNS
|
||||
dev-perl/File-ReadBackwards
|
||||
virtual/perl-IO-Compress
|
||||
dev-perl/Email-MIME
|
||||
dev-perl/Email-Send
|
||||
dev-perl/Email-Valid
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/mime-construct
|
||||
dev-perl/Net-CIDR-Lite
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-Time-HiRes
|
||||
ipv6? ( dev-perl/IO-Socket-INET6 )
|
||||
sasl? ( dev-perl/Authen-SASL )
|
||||
spf? ( dev-perl/Mail-SPF )
|
||||
srs? ( dev-perl/Mail-SRS )
|
||||
ssl? ( dev-perl/IO-Socket-SSL )
|
||||
syslog? ( perl-core/Sys-Syslog )
|
||||
ldap? ( dev-perl/perl-ldap )"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}/ASSP
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup assp
|
||||
enewuser assp -1 -1 /dev/null assp
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
local FILES="
|
||||
assp.pl
|
||||
rebuildspamdb.pl
|
||||
stat.pl
|
||||
"
|
||||
# just being safe
|
||||
for file in ${FILES}; do
|
||||
edos2unix ${file}
|
||||
done
|
||||
|
||||
# portable changes via sed vs patch
|
||||
sed -i -e 's|file:files/|file:/etc/assp/|' \
|
||||
-e 's|$base/images|/usr/share/assp/images|' \
|
||||
-e 's|logs/maillog.txt|/var/log/assp/maillog.txt|' \
|
||||
-e 's|PID File'\'',40,textinput,'\''pid'\''|PID File'\'',40,textinput,'\''asspd.pid'\''|' \
|
||||
-e 's|Daemon\*\*'\'',0,checkbox,0|Daemon\*\*'\'',0,checkbox,1|' \
|
||||
-e 's|UID\*\*'\'',20,textinput,'\'''\''|UID\*\*'\'',20,textinput,'\''assp'\''|' \
|
||||
-e 's|GID\*\*'\'',20,textinput,'\'''\''|GID\*\*'\'',20,textinput,'\''assp'\''|' \
|
||||
-e 's|popFileEditor'\('\\'\''pb/pbdb\.\([^\.]*\)\.db\\'\'',|popFileEditor(\\'\''/var/lib/assp/pb/pbdb.\1.db\\'\'',|g' \
|
||||
-e 's|$base/assp.cfg|/etc/assp/assp.cfg|g' \
|
||||
-e 's|$base/$pidfile|/var/run/assp/asspd.pid|' \
|
||||
-e 's|mkdir "$base/$logdir",0700 if $logdir;||' \
|
||||
-e 's|mkdir "$base/$logdir",0700;||' \
|
||||
-e 's|$base/$logfile|$logfile|' \
|
||||
-e 's|$base/$logdir|$logdir|' \
|
||||
-e 's|"maillog.log"|"/var/log/assp/maillog.log"|' \
|
||||
-e 's|-d "$base/logs" or mkdir "$base/logs",0700;||' \
|
||||
-e 's|-d "$base/notes" or mkdir "$base/notes",0700;||' \
|
||||
-e 's|-d "$base/docs" or mkdir "$base/docs",0777;||' \
|
||||
-e 's|$base/$archivelogfile|$archivelogfile|' \
|
||||
-e 's|"$base/$file",$sub,"$this|"/etc/assp/$file",$sub,"$this|' \
|
||||
-e 's|"$base/$file",'\'''\'',"$this|"/etc/assp/$file",'\'''\'',"$this|' \
|
||||
-e 's|my $fil=$1; $fil="$base/$fil" if $fil!~/^\\Q$base\\E/i;|my $fil=$1;|' \
|
||||
-e 's|$fil="$base/$fil" if $fil!~/^\\Q$base\\E/i;|$fil="/etc/assp/$fil" if $fil!~/^\\/etc\\/assp\\/\|\\/var\\/lib\\/assp\\/\/i;|' \
|
||||
-e 's|$fil="$base/$fil" if $fil!~/^((\[a-z\]:)?\[\\/\\\\\]\|\\Q$base\\E)/;||' \
|
||||
-e 's|if ($fil !~ /^\\Q$base\\E/i) {|if ($fil !~ /^\\/usr\\/share\\/assp\\//i) {|' \
|
||||
-e 's|$fil = "$base/$fil";|$fil = "/usr/share/assp/$fil";|' \
|
||||
-e 's|Q$base\\E|Q\\/etc\\/assp\\/\\E|' \
|
||||
-e 's|$fil="$base/$fil"|$fil="/etc/assp/$fil"|' \
|
||||
-e 's|$base/$bf|/etc/assp/$bf|g' \
|
||||
-e 's|rebuildrun.txt|/var/lib/assp/rebuildrun.txt|' \
|
||||
assp.pl || die
|
||||
|
||||
# sed rebuildspamdb.pl
|
||||
sed -i -e 's|assp.cfg|/etc/assp/assp.cfg|' \
|
||||
-e 's|} && "$Config{base}/$Config{logfile}" \|\| '\''maillog.txt'\'';|};|' \
|
||||
-e 's|tmaxtick('\''rebuild'\'');|tmaxtick('\''/var/lib/assp/rebuild'\'');|' \
|
||||
-e 's|goodhosts|/var/lib/assp/goodhosts|g' \
|
||||
-e 's|rebuildrun.txt|/var/lib/assp/rebuildrun.txt|' \
|
||||
-e 's|$base/$DropList|$DropList|' \
|
||||
-e 's|&fixPath($base) . "/|"|' \
|
||||
-e 's|= "/var/lib/assp/rebuildrun.txt";|= "/var/lib/assp/rebuildrun.txt";\n $RebuildLog = "/var/lib/assp/rebuild.log";|' \
|
||||
-e 's|"$base//|"/|g' \
|
||||
rebuildspamdb.pl || die
|
||||
|
||||
# remove windows stuff
|
||||
rm "${S}/addservice.pl" || die "Could not remove ${S}/addservice.pl"
|
||||
rm -f "${S}/Win32-quickstart-guide.txt" || die "Could not remove ${S}/Win32-quickstart-guide.txt"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Configuration directory
|
||||
dodir /etc/assp/notes
|
||||
|
||||
insinto /etc/assp
|
||||
# Installs files that are used by assp for black/gray lists,
|
||||
# and domain country lookup. To be changed by admin as needed.
|
||||
doins files/*.txt || die
|
||||
|
||||
fowners assp:assp /etc/assp -R
|
||||
fperms 770 /etc/assp /etc/assp/notes
|
||||
|
||||
# Setup directories for mail to be stored for filter
|
||||
keepdir /var/lib/assp/spam /var/lib/assp/notspam
|
||||
keepdir /var/lib/assp/errors/spam /var/lib/assp/errors/notspam
|
||||
|
||||
# Logs directory
|
||||
keepdir /var/log/assp
|
||||
fowners assp:assp -R /var/log/assp
|
||||
fperms 770 /var/log/assp
|
||||
|
||||
# Install the app
|
||||
exeinto /usr/share/assp
|
||||
doexe *.pl *.sh || die
|
||||
insinto /usr/share/assp
|
||||
doins -r images/ || die
|
||||
|
||||
# Lock down the files/data
|
||||
fowners assp:assp -R /usr/share/assp
|
||||
fperms 770 /usr/share/assp
|
||||
|
||||
# Data storage
|
||||
fowners assp:assp -R /var/lib/assp
|
||||
fperms 770 /var/lib/assp
|
||||
|
||||
# PID directory
|
||||
dodir /var/run/assp
|
||||
keepdir /var/run/assp
|
||||
fowners assp:assp -R /var/run/assp
|
||||
fperms 770 /var/run/assp
|
||||
|
||||
# Install the init.d script to listen
|
||||
newinitd "${FILESDIR}/asspd.init" asspd
|
||||
|
||||
dohtml docs/*.htm || die "Failed to install html docs"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "To configure ASSP, start /etc/init.d/asspd then point"
|
||||
elog "your browser to http://localhost:55555"
|
||||
elog "Username: admin Password: nospam4me (CHANGE ASAP!)"
|
||||
elog
|
||||
elog "File permissions have been set to use assp:assp"
|
||||
elog "with mode 770 on directories. When you configure"
|
||||
elog "ASSP, make sure and use the user assp."
|
||||
elog
|
||||
elog "Don't change any path related options."
|
||||
elog
|
||||
elog "See the on-line docs for a complete tutorial."
|
||||
elog "http://assp.sourceforge.net/docs.html"
|
||||
elog
|
||||
elog "If upgrading, please update your old config to set both"
|
||||
elog "redre.txt and nodelay.txt path of /etc/assp. There are"
|
||||
elog "also many new options that you should review."
|
||||
elog
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/assp-1.9.3.6.ebuild,v 1.1 2012/06/18 07:16:28 patrick Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/assp-1.9.4.0.ebuild,v 1.1 2012/08/23 04:48:56 patrick Exp $
|
||||
|
||||
inherit eutils user
|
||||
|
@ -1,35 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX amarok-2.3.2-fix-qt-regression.patch 2958 SHA256 2f2a77552a06e6ec30106d8cb1f012f3f4213ac3354e64c7fe7f6933deb6d6ab SHA512 11593a7be35c533bfef88d0683c34fb8c5e42652c0500422c7d89030115b6a14b047bb06468d0fbb4a5748b4d213d9ddab838ead973c8a5dc7dbef8e3190fae9 WHIRLPOOL 45d8341d22be5f5bee2cf948d3ca31c021fb10e6f048efd8c8bc4e34ace29984bde8d9a93a1c1a8eec5e41a5ed4ffa9135f71059a9dd5309100b766e901600ae
|
||||
AUX amarok-2.3.2-flac-fix.patch 1233 SHA256 f68f3c9b4fb8be02a37ac21d535d417b8fa6167d123e6e13e98c26fb758e40f1 SHA512 5ca8d8fdd2afb7423e03803bb8409756cbaf1986b9744b0962ded599a680df89f2ee2ff90bcbc6f1a83769b24391893c268ad586a15af13646dfb25b245067ac WHIRLPOOL 1b82bfeea2c5cc775ef40dace49478e5af1a2f82e0e38395fe1f0eb523e7945bdbdcf9dab88f27db548e8cb4801bb24ca28897195079b93e187984d14b96dbc9
|
||||
AUX amarok-2.4.0.90-fix-plugin-detection.patch 623 SHA256 aae0ceca58b36ae714516fe46f1a4011836a3e3256a7efd106fdb8568e1fdbcf SHA512 8ee5ecee47ee7590c7888081dc2a6c1fca925e56f39c8fe2354afba2c58f5aab2af84c33962291506b0c861220b31e30fea808fbb6daeb4e93918b3935a8df6f WHIRLPOOL 47dd4592d7a3a16511f86e09f740604adb179b817856680b260ebbeacf07d8075b7067d05a282e262142f88215b891624434d1a2f25658ccfd52242214c1332f
|
||||
AUX amarok-2.5.0-fix-context-view-on-startup.patch 1217 SHA256 8e9c224ff81a2d39898820a4a219a589fc9dd12c2cdea7d159db5329179fb49c SHA512 5a73ca88ed7503f69d999ca76f952d7681b172de1e12edff872e164db66d24bc92d89f696e69dbaa85ab55c82b776bf1e4876ffb4db4e67d5e80782efe436238 WHIRLPOOL 13e244cc9f645736469cb4fa991af74ee7d389914494fa6886c685dd41b8b7fbf8de5c417a43de8ad1d27e7c8465f59e627e4e27db469da4c847fe99101d479e
|
||||
AUX amarok-2.5.0-kde48.patch 2111 SHA256 4ee6b27d79d42e7fbb5469f46c3ebaf69eef73ff83cb0882e44f4d993ba0ce51 SHA512 27dfba494cf2a12db9b2300de3c2b217c1b84945daa32881152f9e9eddea637ace74ff37cf7d3855a405c6618bfeb45929600e0fedbffc255e91c7dbc5663e8e WHIRLPOOL 3f8968ecd3209dd284de1cae6138613a5c3ab2240f8bd3357884032424f3450b93d0c27f8ede70b6bd5f9136a249cd33508ac0c3df325184edc28c5eab389ada
|
||||
AUX amarok-2.5.0-qtdebug.patch 2787 SHA256 a2b4ff34c38741979a76b96e0a741e5da7cadecc1a592035e10773b233d38f29 SHA512 5ea1523e16d9889a027866ee5e3f8bf8bb9efe743f55f7b5871aa6ef1a8f5341744b6858547251a9f472f840911cc516f247021659280a28f35eed41e27f5f85 WHIRLPOOL e2b8a58ad15e3d76e0a66befa044dd5b32e3838ddd0a94f767d723288c40854d257e1fe110f5b13c57b1d5842a47a4489c60711f9c8240c67dfc67524a2a24a6
|
||||
AUX amarok-fix-upnp-dep.patch 1896 SHA256 e88481548d77d334adb51250ee2e70186249ee51164f060382a7b1ee2c6839d6 SHA512 7bc7f42ffed5501bd7479705228f4dbb0219f7e3375483bad38f4097ce636390bcde97bbf88d219f2f2af8c034333791086d7854c98fb6da9fabc0a077b9af7b WHIRLPOOL aed5d81ed31de6230f4a142b6668f73a730b1a383de75b94a0c08f6718ae6ec8197346079343a95f8f87c862b666972a04c1686cba5cee40af6e841265dff46d
|
||||
DIST amarok-2.4.3.tar.bz2 17468203 SHA256 6ce448ecd30cc3d45211617636904e3662c2082441b79ca1e36685c8b0be8208 SHA512 68a06a92f354b6ecd9e888c57f0d3dccf29d1029f4d877a80853daf9846863ad9e5195cce2335a3fca46ebed49e8d767c09211a1661a331a53a59fbab518b6cb WHIRLPOOL 692610428f5a1db37bd430e38f9efd49f5b061c2e19d49d6545b016d4e54a69bb82721b2a200ade3bf35da1aa46e05e8d355d49879056a7125ea0f8c99b3d81a
|
||||
DIST amarok-2.5.0.tar.bz2 46607238 SHA256 1ed191db290fdede7c910c322cff2aba8ecfc1c4af891508d9ee410db3768849 SHA512 ac195f627ed0b1daba4b3a2896048d445caa85310b3373b373cabc76c36f424a60f2a3a439012363f3022c0ddb85a6770f2debd5b1a6e009e067bc5329d284c6 WHIRLPOOL e2256ae5dc941016afc9c3798b8f4ee4275dd23085b520067d6f24fa682ce465254d251c3494208a679441058771226668d5b500cb84851ccdd5b48584bb73bc
|
||||
DIST amarok-2.6.0.tar.bz2 42331208 SHA256 a91280e588181cf9363d7146f339ef527220fe0c8057f26f010f592b01fdd2c0 SHA512 da67876dfc41dcc3e1f3087698d36dabb43a339cef1669ca0518de191e2d9dd2e3e72122ffe76ecfd763e83547e46c55bba8606c095d35c85058df77bf35fb4a WHIRLPOOL 70fadaff2565fc2e9d8cb628942ec8107c6f4fcea0bd3e898f4ba6a72231ebaca8cb1d924f1413ced7c82940790438c9dcbe2fba7760e356b100eb832d8a2edc
|
||||
EBUILD amarok-2.4.3-r1.ebuild 3266 SHA256 4c667dcc5c1eeb180425f1a21672c89b10cd6524202aaf73fae021753f700e41 SHA512 864803b8363974a64be9bacd4edcfc54903f9c1589ff2432e3c19b4146e98e4290d3d0280e6789cdbb90f9d323ec6897b212cadc9adc1967bc39fe9ff063d55c WHIRLPOOL 7b5db4ebf4132e17fc93a989fa16c2bbefd5d2dcfdefa754cfdef397db067a11b3c539a591390e9bfcb365fd078c058d850f0394be82bd87d5fb2b5745b915d2
|
||||
EBUILD amarok-2.5.0-r4.ebuild 3817 SHA256 0f77844aab7e0bbc70135ac376931149f4c434075efbbe2425ef5a3607ba4f03 SHA512 d26a067d5b46d6f25850d3d6f734e303e3830d7bda2870d171dbb8f55bd9e944444e412ef4fe7d10ed6e186c983b2c0fb5c9606ba911ed1b0c7ee3336b5964eb WHIRLPOOL 0b3940a449c3bbc5eec53691b807d8c45198af1fef3feae19b9af0866018accc2bea3c873742ca14b9715737667214089b6541690da4aa1564d705e90361a052
|
||||
EBUILD amarok-2.5.0-r4.ebuild 3809 SHA256 4e31bbdf07649a51a66581930d595d721d1bc1f3900d4defc93c22cfa813ef41 SHA512 95505ac6a8b7db7b00ea121317c3d9e2335f59a8d51df8793d431a71c8b4f47a7ec37d1a4c04592ee8a3741200e1b1c66f2db7cac93cf6e30fef22f148310950 WHIRLPOOL 13c593836986aec2612d10217534e013c4d8532ff6ca7430971936f7a88e056b625e9cc6200a663fbb1b58cbd99e0e58a4571c30bf038adc37ad36811fa5ea10
|
||||
EBUILD amarok-2.6.0.ebuild 3463 SHA256 7be4151c93dcf96c332e51f266c9f58c577bb48b8381f5cb0483ba360cf41960 SHA512 42680e45509acd53dff06bc2874f533c524ce8daca783b376395be373cf432031fd8b32889eced11d542da59def219040cccc7bfa2ba2056279ab067f0086580 WHIRLPOOL 0f37f7d7f007b2ce2ded7a0681f9561b501b2ab9cc3dc5b9c7a838c24d4fdf65954cefe3f7f0da8ae6e811fcdfbdc40ee13101dbd7c28ee39dca597e260db45e
|
||||
MISC ChangeLog 74665 SHA256 559147db3d9fb09c16d321de4f53e51f28576966fb1ee0864b33ea6a4c4e2793 SHA512 17a83242764dd0bb511fa6c2f00f79461a5e28e3da83d4c5c736465bfe25fd0b455a13be41fe9aca844b6a6674ceebc172b37d402311924c31fc5c573e49f95b WHIRLPOOL 10a6d89aabe776e0a1771935e2c54cdee370b33a5a8e4fdea777e8612210f5868838338c5a9c468b10be3d9661fc25f18de90df2487e9eda0d4847a2ce7648b9
|
||||
MISC ChangeLog 75020 SHA256 16b431f03eba1467bc1b6badea18e6bb1fb4b1b3ea5ea7ecf4488c4af1fbc07f SHA512 283114de51ecd3e21072a3a3fef63571c5b35448fdb5a396b374e6a3614de1438281b56abe820cb23fd31ceaf50241dc2448d4aefc27178a1431dfa2f5da988c WHIRLPOOL 2359ab14ebd2fba317a706e08d33968b0c47154389942425b6250a77b760be48761194f692a8dd68ad6cf5f7cffb0c0b97b43aa3f6b0fd62a4723bc1ef3a05be
|
||||
MISC metadata.xml 1283 SHA256 dbd309064732531993f21257f6db969c681545fcf7dd4766daac33bb41da0451 SHA512 f61fc22596e31125cd7e4964d0699527e79fb5bf39e7708c1051eb1a3bf9f23dbc4310f9e94da58672a81d1a93c57b7924d84fb8af86e9ac78962b0ee3ffee7f WHIRLPOOL 3e408437f2857ba19314e17056da6204226e42362cccc75fe2c26931499b2c05abb6c672255dc29682bd77f2acb069e36dac568daf13a388a047a6cf616a13d8
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJQJsNHAAoJEOSiRoyO7jvo11QP/iKRgkGYtx/oP6DmBmk+1kni
|
||||
xBc/vvkIMN0FoPc4ATpnrd7/KIQEXHqYfuPyNAPU8simNlQW1BOlDFP9UkGsiFyy
|
||||
nKVvPWJsSjRcDJ3nLqsVuRu/eEp7YOBZKlLaFPwl7s3e2HvHOv/mwbxYNwthQNWu
|
||||
Biny+HdPmjXSKObLmWa+q597efQRh9bnnoRenBqUcvdlOP8FzUtaQziqN6UKL0RH
|
||||
6rrn+y2djMd5T80j0+o6gh4M4d9aQN1F9hwx62DYKuJD/CN0asu7NxAK2su9wboU
|
||||
LLiwqQuSulGulRunB8S+2LzMXfVqhocLAafPnj44MQLlYfNTvuR8LdCk9q8RqgJO
|
||||
lKFnwoPAGmMcPzdDjNHFJr70payqSKZpeZbI+T85k1LYKhaiJqE+S5tcE0TOnt4C
|
||||
cHlig7IRbs/RnMv/NBOfGumH1qy+zcKVkWSZrgdtqe3Mh3Xddz4INmpPtnNYlK36
|
||||
XnCqWHUQObdeN1Hh7dyQnTOvfuEo70TA9rwMjVXNjXFuf0yNVu9McOLaCZUo9EI+
|
||||
0wC91yryEA7jvvsVZ6RaxAXqaJFPT2BWNJEYPfUSp35vRsJ9jdlVeBw8nyfsfuVK
|
||||
j7R0/4tAPpvBbuIP33oRKMfbZwWIbYsqRt+LsEDAbVkwsOaIhqACOnUY+oufYw6Q
|
||||
+jBCwP7OG8FAAPpQgHxD
|
||||
=aOFZ
|
||||
iQEcBAEBCAAGBQJQNWiiAAoJEO+t9ga+3I3aJoUIAKeL44hAEZTorjEy4a87j8Di
|
||||
P0s2WoaltoQMjSpbWu9+2Xhf/TCdNqueVrvYUXTT6/KjzbJ4YBtaq+ow7upTXA5b
|
||||
zqkC5C03H+xpTTgjarf1mSVPFL3OupIb5xQnLIpzvPDGXpKbT3+JNmm1Bhbma8x0
|
||||
2t4qOpQqS6svYM9IwkOTJfoJxJCvQVMPaGPhDACETUwMOQT5xfVEKpNWg+dnJ59O
|
||||
HuGYRFHDAeEw5QGNWwhUDg66DMUEW2iKvB89d3XTgyPdkIKQBcRfuxO1F2jg+iPX
|
||||
eNGHa/iLccVeew0S9to+/wcDwjiESUGAEll2Y6f7uhHqqx1Z66KiborYCBqKG80=
|
||||
=HTOn
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.4.3-r1.ebuild,v 1.7 2012/07/19 15:56:45 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="bg ca cs da de en_GB es et eu fi fr it ja km nb nds nl pa
|
||||
pl pt pt_BR ru sl sr sr@latin sv th tr uk wa zh_TW"
|
||||
KDE_SCM="git"
|
||||
KDE_REQUIRED="never"
|
||||
inherit flag-o-matic kde4-base
|
||||
|
||||
DESCRIPTION="Advanced audio player based on KDE framework."
|
||||
HOMEPAGE="http://amarok.kde.org/"
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp opengl semantic-desktop +utils"
|
||||
|
||||
# Tests require gmock - http://code.google.com/p/gmock/
|
||||
# It's not in the tree yet
|
||||
RESTRICT="test"
|
||||
|
||||
# ipod requires gdk enabled and also gtk compiled in libgpod
|
||||
COMMONDEPEND="
|
||||
app-crypt/qca:2
|
||||
>=app-misc/strigi-0.5.7
|
||||
$(add_kdebase_dep kdelibs 'opengl?,semantic-desktop?')
|
||||
$(add_kdebase_dep kdebase-kioslaves)
|
||||
>=media-libs/taglib-1.6.1[asf,mp4]
|
||||
>=media-libs/taglib-extras-1.0.1
|
||||
sys-libs/zlib
|
||||
>=virtual/mysql-5.1[embedded?]
|
||||
x11-libs/qt-script:4
|
||||
>=x11-libs/qtscriptgenerator-0.1.0
|
||||
cdda? (
|
||||
$(add_kdebase_dep libkcddb)
|
||||
$(add_kdebase_dep libkcompactdisc)
|
||||
$(add_kdebase_dep kdemultimedia-kioslaves)
|
||||
)
|
||||
ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
|
||||
lastfm? ( =media-libs/liblastfm-0.3* )
|
||||
mp3tunes? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl
|
||||
net-libs/loudmouth
|
||||
net-misc/curl
|
||||
x11-libs/qt-core:4[glib]
|
||||
)
|
||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
||||
opengl? ( virtual/opengl )
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
dev-util/automoc
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
$(add_kdebase_dep phonon-kde)
|
||||
!media-sound/amarok-utils
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# Append minimal-toc cflag for ppc64, see bug 280552 and 292707
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
local mycmakeargs
|
||||
|
||||
mycmakeargs=(
|
||||
-DWITH_PLAYER=ON
|
||||
-DWITH_Libgcrypt=OFF
|
||||
$(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
|
||||
$(cmake-utils_use_with ipod)
|
||||
$(cmake-utils_use_with ipod Gdk)
|
||||
$(cmake-utils_use_with lastfm LibLastFm)
|
||||
$(cmake-utils_use_with mtp)
|
||||
$(cmake-utils_use_with mp3tunes MP3Tunes)
|
||||
)
|
||||
|
||||
mycmakeargs+=(
|
||||
$(cmake-utils_use_with utils UTILITIES)
|
||||
)
|
||||
# $(cmake-utils_use_with semantic-desktop Nepomuk)
|
||||
# $(cmake-utils_use_with semantic-desktop Soprano)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
if use daap; then
|
||||
echo
|
||||
elog "You have installed amarok with daap support."
|
||||
elog "You may be interested in installing www-servers/mongrel as well."
|
||||
echo
|
||||
fi
|
||||
|
||||
if ! use embedded; then
|
||||
echo
|
||||
elog "You've disabled the amarok support for embedded mysql DBs."
|
||||
elog "You'll have to configure amarok to use an external db server."
|
||||
echo
|
||||
elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how"
|
||||
elog "to configure the external db and migrate your data from the embedded database."
|
||||
echo
|
||||
|
||||
if has_version "virtual/mysql[minimal]"; then
|
||||
elog "You built mysql with the minimal use flag, so it doesn't include the server."
|
||||
elog "You won't be able to use the local mysql installation to store your amarok collection."
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
From 79d86829294ac54132c01153660e70e30c15c378 Mon Sep 17 00:00:00 2001
|
||||
From: Jeff Mitchell <mitchell@kde.org>
|
||||
Date: Wed, 22 Sep 2010 18:15:17 -0400
|
||||
Subject: [PATCH] Re-add some tests for unprintable but also invalid chars. Apparently Qt's XML classes don't properly check for invalid chars when writing XML, even if you tell them to.
|
||||
|
||||
Also switch to QXmlStreamWriter, as apparently going forward it is the more supported class.
|
||||
|
||||
BUG: 251762
|
||||
---
|
||||
utilities/collectionscanner/CollectionScanner.cpp | 27 +++++++++++++-------
|
||||
1 files changed, 17 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/utilities/collectionscanner/CollectionScanner.cpp b/utilities/collectionscanner/CollectionScanner.cpp
|
||||
index 0a23a53..28c554b 100644
|
||||
--- a/utilities/collectionscanner/CollectionScanner.cpp
|
||||
+++ b/utilities/collectionscanner/CollectionScanner.cpp
|
||||
@@ -37,13 +37,13 @@
|
||||
#include <QByteArray>
|
||||
#include <QDBusReply>
|
||||
#include <QDir>
|
||||
-#include <QDomDocument>
|
||||
#include <QFile>
|
||||
#include <QtDebug>
|
||||
#include <QTextCodec>
|
||||
#include <QTextStream>
|
||||
#include <QTimer>
|
||||
#include <QThread>
|
||||
+#include <QXmlStreamWriter>
|
||||
|
||||
//Taglib:
|
||||
#include <apetag.h>
|
||||
@@ -814,8 +814,10 @@ CollectionScanner::readTags( const QString &path, TagLib::AudioProperties::ReadS
|
||||
void
|
||||
CollectionScanner::writeElement( const QString &name, const AttributeHash &attributes )
|
||||
{
|
||||
- QDomDocument doc; // A dummy. We don't really use DOM, but SAX2
|
||||
- QDomElement element = doc.createElement( name );
|
||||
+ QString text;
|
||||
+ QXmlStreamWriter writer( &text );
|
||||
+
|
||||
+ writer.writeStartElement( name );
|
||||
|
||||
QHashIterator<QString, QString> it( attributes );
|
||||
while( it.hasNext() )
|
||||
@@ -829,7 +831,15 @@ CollectionScanner::writeElement( const QString &name, const AttributeHash &attri
|
||||
bool noCategory = false;
|
||||
for( unsigned i = 0; i < len; i++ )
|
||||
{
|
||||
- if( data[i].category() == QChar::NoCategory )
|
||||
+ if( data[i].category() == QChar::NoCategory ||
|
||||
+ data[i].category() == QChar::Other_Surrogate ||
|
||||
+ (
|
||||
+ data[i].unicode() < 20 &&
|
||||
+ data[i].unicode() != 9 &&
|
||||
+ data[i].unicode() != 10 &&
|
||||
+ data[i].unicode() != 13
|
||||
+ )
|
||||
+ )
|
||||
{
|
||||
noCategory = true;
|
||||
break;
|
||||
@@ -838,15 +848,12 @@ CollectionScanner::writeElement( const QString &name, const AttributeHash &attri
|
||||
|
||||
if( noCategory )
|
||||
continue;
|
||||
-
|
||||
- element.setAttribute( it.key(), it.value() );
|
||||
+ writer.writeAttribute( it.key(), it.value() );
|
||||
}
|
||||
|
||||
- QString text;
|
||||
- QTextStream stream( &text, QIODevice::WriteOnly );
|
||||
- element.save( stream, 0 );
|
||||
+ writer.writeEndElement();
|
||||
|
||||
- std::cout << text.toUtf8().data() << std::endl;
|
||||
+ std::cout << text.toUtf8().data() << std::endl << std::endl;
|
||||
}
|
||||
|
||||
// taken verbatim from Qt's sources, since it's stupidly in the QtGui module
|
||||
--
|
||||
1.7.0.4
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue