Commit graph

275 commits

Author SHA1 Message Date
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Antoine Brodin
6d18d6f568 Attempt to fix runtime on FreeBSD 10
Reported by:	pkg-fallout
2015-06-12 18:08:45 +00:00
Palle Girgensohn
adc4965d0a Add missing iconv library.
PR:	200755
2015-06-11 12:06:47 +00:00
Xin LI
e017cd45cb Add a missing file to plist when Avahi is selected. 2015-06-10 05:33:31 +00:00
Jung-uk Kim
faba3ae49d CUPS 2.x does not support OpenSSL any more. Switch to GNU TLS by default.
MFH:		2015Q2
2015-06-10 00:43:11 +00:00
Xin LI
a054f91232 Security update to 2.0.3. 2015-06-09 22:15:48 +00:00
Dmitry Marakasov
0dc7363f5b - Add CPE info
Approved by:	portmgr blanket
2015-05-17 13:14:45 +00:00
John Marino
312461b6fa 3 ports categories: Remove $PTHREAD_LIBS
Categories: print, science, emulators

approved by:	PTHREAD blanket
2015-03-24 22:17:41 +00:00
Boris Samorodov
5d2ca95e1b print/cups-client via print/cups-base: treat avahi/dnssd explicitely
1. The port's configure script is auto-detecting if avahi exists
(unless avahi is explicitely disabled):
---
   9096 if test "x$PKGCONFIG" != x -a x$enable_avahi != xno; then
   9097         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Avahi" >&5
   9098 $as_echo_n "checking for Avahi... " >&6; }
   9099         if $PKGCONFIG --exists avahi-client; then
   9100                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   9101 $as_echo "yes" >&6; }
---

So if avahi-lib is installed one get config.log:
---
configure:9097: checking for Avahi
configure:9100: result: yes
[...]
#define HAVE_AVAHI 1
---

And later avahi is used while building:
---
Using LIBS=-lcups  -lssl -lcrypto -L/usr/local/lib -lavahi-common -lavahi-client   -lz -pthread -lm -lcrypt   -lz
---

Then print/cups-client installs libraries which are linked with avahi, ex.:
---
% ldd libcups.so | grep avahi
        libavahi-common.so.3 => /usr/local/lib/libavahi-common.so.3 (0x801cda000)
        libavahi-client.so.3 => /usr/local/lib/libavahi-client.so.3 (0x801ee6000)
---

Which leads to print/cups-base build failure (even if avahi is unset by options):
---
Linking ippserver...
cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -fstack-protector -Wl,-R/usr/local/lib   -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -o ippserver ippserver.o  ../cups/libcups.a \
         -lssl -lcrypto -ldns_sd -pthread -lm -lcrypt   -lz -lz
../cups/libcups.a(http-support.o): In function `_httpResolveURI':
---

Let's reflect this fact.

2. Bump PORTREVISION for print/cups-client, it's default options and dependencies
were changed.

PR:		ports/195743
Submitted by:	O. Hartmann <ohartman@zedat.fu-berlin.de>
Discussed at:	ports@
Tested by:	O. Hartmann <ohartman@zedat.fu-berlin.de>
2015-01-04 13:50:41 +00:00
Kurt Jaeger
cba03c03e1 security/libgcrypt: 1.6.1 -> 1.6.2, bump depends
Changes:
- src/sexp.c (do_vsexp_sscan): Return error for invalid args.
- cipher/md.c (_gcry_md_info): Fix a segv in case of calling
  with wrong parameters.
- cipher/primegen.c (_gcry_generate_elg_prime): Change to return an
  error code, possible NULL deref in call to prime generator.
- cipher/dsa.c (generate): Take care of new return code.
- cipher/elgamal.c (generate): Change to return an error code.  Take
	care of _gcry_generate_elg_prime return code.
- ecc: Support the non-standard 0x40 compression flag for EdDSA.
- mpi: Extend the internal mpi_get_buffer.
- mpi: Fix regression for powerpc-apple-darwin detection.
- Fix bug inhibiting the use of the sentinel attribute in src/gcrypt.h.in
- Fix building for the x32 target without asm modules in
  mpi/generic/mpi-asm-defs.h: Use a fixed value for the x32 ABI.
- Fix ARM assembly when building __PIC__
- mpi: Fix a subtle bug setting spurious bits with in mpi_set_bit.
  * mpi/mpi-bit.c (_gcry_mpi_set_bit, _gcry_mpi_set_highbit): Clear
    allocated but not used bits before resizing.
  * tests/t-mpi-bits.c (set_bit_with_resize): New.
- Use internal malloc function in fips.c.
  * src/fips.c (check_binary_integrity): s/gcry_malloc/xtrymalloc/.
- pubkey: Re-map all deprecated RSA algo numbers.
- cipher: Fix possible NULL dereference in cipher/md.c for being NULL.
- Fix ARMv6 detection when CFLAGS modify target CPU architecture.

PR:		193264
Approved by:	cpm@fbsd.es (maintainer)
2015-01-02 18:46:33 +00:00
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Antoine Brodin
7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +00:00
John Marino
5f19ee0628 print/cups-base: Fix build when PAM option is enabled
The @sample keyword fixes the config file based error.  While here,
clean refactor the port a bit.

PR:		194854
Submitted by:	Adrian Waters
Final fix by:	Takefu (airport.fm)
2014-11-28 11:51:30 +00:00
Dmitry Marakasov
e7b109f6df Properly strip libraries in cups-base, cups-client and cups-image ports 2014-11-27 19:05:01 +00:00
Antoine Brodin
115aba45f3 Cleanup plist 2014-11-13 07:41:17 +00:00
Tijl Coosemans
7888e65fff - Let the rc script require the mdnsd or avahi_daemon rc scripts [1]
- Fix two getsockopt calls so they return peer credentials correctly [2]

PR:		194856 [1], 191515 [2]
Submitted by:	Adrian Waters <draenan@gmail.com> [1]
Submitted by:	Bengt Ahlgren <bengta@sics.se> [2]
2014-11-07 13:03:09 +00:00
Marcus von Appen
d45fbf3040 - Convert ports of news/ and print/ to new USES=python
Approved by: portmgr (implicit)
2014-10-24 16:42:59 +00:00
Tijl Coosemans
9c67a6b13f DOCS isn't optional. The files provide the cups web interface. 2014-08-17 10:05:32 +00:00
Kurt Jaeger
b95d127471 security/libgcrypt: 1.5.3_3 -> 1.6.1
- Update to 1.6.1
- Remove some unneeded patches
- Fix pkg-plist
- report configure bug upstream
  https://bugs.g10code.com/gnupg/issue1668
- report API breakage downstream and find that MacPorts had the same issue
  https://rt.cpan.org/Ticket/Display.html?id=97201
- bump PORTREVISION for dependent ports (approx. 100 ports)
- Thanks to exp-run by antoine@ to find ports that break
- patch ports that would otherwise break
  security/shishi with PR 192164 is already committed
  [1] devel/ccrtp
  [2] editors/abiword
  [3] security/p5-Crypt-GCrypt

PR:		191256, 192162 [1], 192163 [2], 192166 [3]
Submitted by:	Carlos Jacobo Puga Medina <cjpugmed@gmail.com>
Approved by:	maintainer timeout, antoine (exp-run), portmgr (implicit)
2014-07-30 03:57:23 +00:00
John Marino
d1dbd236f3 print/cups-base: Don't use avahi when MDNSRESPONDER option is selected
PR:		191619
Submitted by:	Don Lewis
Approval:	Not required; port is unmaintained
2014-07-28 19:22:23 +00:00
Tijl Coosemans
3ab1b8443e - Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-07-23 09:54:02 +00:00
Jason E. Hale
89fe55a74a - Update to 1.7.3
- Add DOCS option
- PHP option no longer installs a PHP module (it was eliminated in 1.6)
- Add options for other interpreters
- Add OPENSSL option to make it clearer that it is enabled instead of GNUTLS
- Fix build when ZEROCONF is disabled
- Fix detection of libusb on FreeBSD < 10 as they do not have .pc files for it
- Use @sample directive in pkg-plist
- Remove some old cruft
2014-07-01 19:15:35 +00:00
Dmitry Marakasov
627d72d304 - Switch print/libpaper to USES=libtool, drop .la files
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-06-20 11:15:57 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Boris Samorodov
49d1531ae2 print/cups-base: remove files/cups_browsed.in, it does not belong here
. remove using cups_browsed.in;  [1]
. bump PORTREVISION.

PR:		ports/190085  [1]
Submitted by:	Fafael Ostertag <rafi@guengel.ch>  [1]
2014-05-22 12:40:17 +00:00
Kurt Jaeger
a843d55831 print/cups-base: unbreak AVAHI option and add missing rc script
- Add missing rc script for cups-browsed [1]
- Enable building CUPS with native Avahi backend [2]
- Disable AVAHI if not selected [3]

PR:             ports/188550 [1],
                ports/189757 [2],
                ports/188751 [3]
Submitted by:   Rafael Ostertag <rafi@guengel.ch> [1],
                Raivo Hool <raivo.hool@gmail.com> [2],
                Dan Lukes <dan@obluda.cz> [3]
Approved by:    culot (mentor)
2014-05-19 19:09:07 +00:00
Boris Samorodov
aac0bcbd6e print/cups-base: add an options ICONS to install desktop icons
When unchecked this option greatly reduces the package depends list  [1]
(from 82 to 42).

Defaults to "on" for ordinary package users sake.

Submitted by:	Hilko Meyer <Hilko.Meyer@gmx.de>  [1]
2014-04-25 19:31:13 +00:00
Boris Samorodov
38bd336744 print/cups{,-base,-client,-image}: update to version 1.7.2
MDNSRESPONDER id now the default option for print/cups-base
(can't be compiled without dnssd).
2014-04-23 19:56:18 +00:00
Boris Samorodov
0e9ef71a83 print/cups-base: remove BLOCKS detection from cups/cups.h
It appears to be the best option here, i.e. just remove BLOCKS
detection from cups/cups.h: there are some other ports which
use cups/cups.h and get broken by a BLOCKS detection. So:
. patch cups/cups.h to remove the offending code;
. remove traces of previous attempts to fix cups-* ports;
. bump PORTREVISION;
. at PORTNAME block add a note that PORTREVISION is defined
  later for all ports.

Discussed at:	freebsd-ports
Suggested by:	tijl
MFH:		2014Q2
2014-04-22 19:32:06 +00:00
Bryan Drewery
23a1cad535 - Fix plist to have proper 'rmdir DIR' ordering.
Pkgng will not detect the directory otherwise. This was due to
  incorrectly advise in the check-stagedir.sh script, fixed in
  r351587

With hat:	portmgr
2014-04-21 01:14:53 +00:00
Boris Samorodov
747844a3a4 A try (since I can't reproduce it at CURRENT) to fix "make index":
include USES+=compiler unconditionally.

Reported by:	Poersnap buildbox
2014-04-11 14:00:30 +00:00
Boris Samorodov
8a4520bd37 . fix cross-building; [1];
. refine comment.

Reported by:	gjb [1]
Suggested by:	bdrewery [1]
MFH:		2014Q2
2014-04-11 11:45:13 +00:00
Glen Barber
d3f7541087 Remove an unused configure flag.
configure: WARNING: unrecognized options: --disable-slp

Sponsored by:	The FreeBSD Foundation
2014-04-09 00:56:25 +00:00
Boris Samorodov
a1ee8dd5fc print/cups-base: add CFLAGS+=-fno-blocks to print/cups-image at gcc systems
In additiond to print/cups-client (r350154):
Use CFLAGS+=-fno-blocks to unbreak systems with default gcc compiler.
This is a band-aid that should be reworked for systems with blocks
and libdispatch support.

Reported by:	Anton Shterenlikht <mexas@bris.ac.uk>
Tested by:	Anton Shterenlikht <mexas@bris.ac.uk>
Discussed at:	freebsd-ports@
MVH:		2014Q2
2014-04-08 07:41:39 +00:00
Boris Samorodov
83c66c94e1 Use CFLAGS+=-fno-blocks to unbreak systems with default gcc compiler.
This is a band-aid that should be reworked for systems with blocks
and libdispatch support.

Reported by:	Anton Shterenlikht <mexas@bris.ac.uk>
Discussed at:	freebsd-ports@
MFH:		2014Q2
2014-04-04 19:27:51 +00:00
Baptiste Daroussin
0e859c72aa Update to cups to 1.7.1
- Stage all cups related ports
- Cleanup (it still needs more cleanup)

Base on [1]

PR:		ports/186824 [1]
Submitted by:	bsam
2014-03-30 21:16:39 +00:00
Tijl Coosemans
f663aef08c Fix installation of cups-base when libiconv is installed: do not descend
into the cups subdirectory.  That directory is already installed by the
cups-client port and it requires USES=iconv.

Reported by:	Mark Knight <markk@knigma.org>
2014-02-19 13:19:30 +00:00
Boris Samorodov
ec8d898909 Release cups-* nad foomatic-* ports. Currently I have no enough
spare time for those ports.

I've submitted ports/186824 to update cups-* ports to version 1.7.0.
2014-02-16 21:17:15 +00:00
Martin Wilke
0ecaea287b - Stage support part1 for client and image
Submitted by:	antoine
2014-02-05 05:41:01 +00:00
Matthias Andree
7ab8506c5d Update master sites for some ports formerly hosted on easysw.com, now extinct.
Remove easysw.com domain from MASTER_SITE_EASYSW, and drop tu-bs.de from mirror
list (is no longer mirroring easysw.com).
2014-01-22 23:37:53 +00:00
Boris Samorodov
352933e9c5 Guess I should take those ports... 2013-12-09 14:49:08 +00:00
Sunpoet Po-Chuan Hsieh
cf50f6e5a7 - Use USES=gmake 2013-10-25 13:31:18 +00:00
Alex Kozlov
546a9259a9 - Return ports to the pool
PR:	ports/183244
Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com> (former maintainer)
2013-10-23 20:45:10 +00:00
Dmitry Marakasov
27d195667d - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [np])
Approved by:	portmgr (bdrewery)
2013-10-22 13:59:53 +00:00
Guido Falsi
2093492436 - Add explicit LDFLAGS for iconv
Submitted by:	marino
Approved by:	portmgr (bapt)
2013-09-24 22:53:11 +00:00
Baptiste Daroussin
6c6152ff82 Add NO_STAGE all over the place in preparation for the staging support (cat: print) 2013-09-20 22:43:59 +00:00
Chris Rees
512b02a7c6 Only cups-base INSTALLS_ICONS
Submitted by:	Scott Allendorf <scott-allendorf@uiowa.edu>
2013-08-09 12:10:34 +00:00
Chris Rees
6cc4f5292c Fix reinstall
Correct IGNORE messages

INSTALLS_ICONS

PR:		ports/174815
Submitted by:	nemysis <nemysis@gmx.ch>
Approved by:	Chris Petrik <c.petrik.sosa@gmail.com> (maintainer)
2013-08-05 10:32:31 +00:00
Martin Wilke
1d182b643a - Fix plist
Reported by:	pkg (DEVELOPER_MODE)
2013-06-12 06:46:16 +00:00
Eitan Adler
8efafbce82 - Fix typo w.r.t. XDG_OPEN option
- Add a a backported patch from cups 1.6 which fixes an issue with regard to a timed out TCP connection. it should be
deleted once the port is updated to 1.6.
- Pet portlint a bit
- remove unused CONFLICTS line

PR:		178987
Submitted by:	"r4721@tormail.org" <r4721@tormail.org>
PR:		179194
Submitted by:	Sayetsky Anton <vsjcfm@gmail.com>
Approved by:	c.petrik.sosa@gmail.com (maintainer)
2013-06-02 12:14:24 +00:00