These Perl modules come with OpenBSD as of 3.3.
This commit is contained in:
parent
c8f8a1f8ef
commit
e7c4e7d9f1
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.177 2003/07/20 03:56:34 avsm Exp $
|
||||
# $OpenBSD: Makefile,v 1.178 2003/07/22 21:43:07 brad Exp $
|
||||
# $FreeBSD: Makefile,v 1.85 1997/11/20 05:22:14 asami Exp $
|
||||
|
||||
SUBDIR += ElectricFence
|
||||
@ -106,7 +106,6 @@
|
||||
SUBDIR += p5-Algorithm-Permute
|
||||
SUBDIR += p5-App-Info
|
||||
SUBDIR += p5-AppConfig
|
||||
SUBDIR += p5-Attribute-Handlers
|
||||
SUBDIR += p5-B-Graph
|
||||
SUBDIR += p5-BSD-Resource
|
||||
SUBDIR += p5-C-Scan
|
||||
@ -138,7 +137,6 @@
|
||||
SUBDIR += p5-IO-Tty
|
||||
SUBDIR += p5-IO-stringy
|
||||
SUBDIR += p5-IPC-ShareLite
|
||||
SUBDIR += p5-Locale-Maketext
|
||||
SUBDIR += p5-Locale-PGettext
|
||||
SUBDIR += p5-Log-Agent
|
||||
SUBDIR += p5-MLDBM
|
||||
@ -149,18 +147,13 @@
|
||||
SUBDIR += p5-Params-Validate
|
||||
SUBDIR += p5-Parse-RecDescent
|
||||
SUBDIR += p5-Scalar-List-Utils
|
||||
SUBDIR += p5-Scalar-Utils
|
||||
SUBDIR += p5-Set-Scalar
|
||||
SUBDIR += p5-Storable
|
||||
SUBDIR += p5-String-CRC32
|
||||
SUBDIR += p5-String-Scanf
|
||||
SUBDIR += p5-Term-ReadKey
|
||||
SUBDIR += p5-Term-ReadLine-Gnu
|
||||
SUBDIR += p5-Term-Screen
|
||||
SUBDIR += p5-Term-ScreenColor
|
||||
SUBDIR += p5-Test-Harness
|
||||
SUBDIR += p5-Test-Simple
|
||||
SUBDIR += p5-Time-HiRes
|
||||
SUBDIR += p5-Time-Period
|
||||
SUBDIR += p5-Time-Piece
|
||||
SUBDIR += p5-Time-TimeDate
|
||||
|
@ -1,22 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2002/10/30 00:03:38 pvalchev Exp $
|
||||
|
||||
IGNORE= "comes with ${OPSYS} as of release 3.3"
|
||||
|
||||
COMMENT= "perl module to simplify package attribute handling"
|
||||
|
||||
DISTNAME= Attribute-Handlers-0.77
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Attribute/}
|
||||
|
||||
MAINTAINER= Jim Geovedi <jim@corebsd.or.id>
|
||||
|
||||
# Artistic License
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (Attribute-Handlers-0.77.tar.gz) = 27919dce609552d1d6f95dc7ba14d359
|
||||
RMD160 (Attribute-Handlers-0.77.tar.gz) = 2dd0f7867062ef843f977a114cb21e32e6d9cf83
|
||||
SHA1 (Attribute-Handlers-0.77.tar.gz) = 81ef689288e26a9002ef17fb6ee3c80ddb05aae7
|
@ -1,8 +0,0 @@
|
||||
This module, when inherited by a package, allows that package's
|
||||
class to define attribute handler subroutines for specific attributes.
|
||||
|
||||
Variables and subroutines subsequently defined in that package, or
|
||||
in packages derived from that package may be given attributes with
|
||||
the same names as the attribute handler subroutines, which will
|
||||
then be called at the end of the compilation phase (i.e. in a `CHECK'
|
||||
block).
|
@ -1,3 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2002/07/11 09:41:02 shell Exp $
|
||||
${P5SITE}/Attribute/Handlers.pm
|
||||
man/man3p/Attribute::Handlers.3p
|
@ -1,22 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2002/11/22 16:43:44 sturm Exp $
|
||||
|
||||
IGNORE= "comes with ${OPSYS} as of release 3.3"
|
||||
|
||||
COMMENT= "framework for localization and inheritance-based lexicons"
|
||||
|
||||
DISTNAME= Locale-Maketext-1.03
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= devel perl5
|
||||
|
||||
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Locale/}
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (Locale-Maketext-1.03.tar.gz) = 7f861143f97cf76b4c8032747f4b4fc9
|
||||
RMD160 (Locale-Maketext-1.03.tar.gz) = bb3e33ea19536c349ac121d71a6373b717fcfc56
|
||||
SHA1 (Locale-Maketext-1.03.tar.gz) = 3955934a96ba9bb6307148ca2cc80995aa2046ab
|
@ -1,3 +0,0 @@
|
||||
Locale::Maketext is a base class providing a framework for localization
|
||||
and inheritance-based lexicons, as described in an article in The Perl
|
||||
Journal #13 (a corrected version of which appears in this dist).
|
@ -1,7 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/08/20 19:35:18 naddy Exp $
|
||||
${P5SITE}/Locale/Maketext.pm
|
||||
${P5SITE}/Locale/Maketext.pod
|
||||
${P5SITE}/Locale/Maketext/TPJ13.pod
|
||||
man/man3p/Locale::Maketext.3p
|
||||
man/man3p/Locale::Maketext::TPJ13.3p
|
||||
@dirrm ${P5SITE}/Locale/Maketext
|
@ -1,21 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2002/10/30 00:07:40 pvalchev Exp $
|
||||
|
||||
IGNORE= "comes with ${OPSYS} as of release 3.3"
|
||||
|
||||
COMMENT= "perl module replacement for the builtin Scalar"
|
||||
|
||||
VERSION= 1.0701
|
||||
DISTNAME= Scalar-List-Utils-${VERSION}
|
||||
PKGNAME= p5-Scalar-Utils-${VERSION}
|
||||
CATEGORIES= devel perl5
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Scalar/}
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (Scalar-List-Utils-1.0701.tar.gz) = 1156302e823845980bb37c370a37d51a
|
||||
RMD160 (Scalar-List-Utils-1.0701.tar.gz) = b3b08c7b84eaa5055f63e3a8401a52a3f5311074
|
||||
SHA1 (Scalar-List-Utils-1.0701.tar.gz) = 7112992a66104cc6bb4119db203b9a30820d153d
|
@ -1,7 +0,0 @@
|
||||
This distribution is a replacement for the builtin distribution.
|
||||
|
||||
This package contains a selection of subroutines that people have
|
||||
expressed would be nice to have in the perl core, but the usage
|
||||
would not really be high enough to warrant the use of a keyword,
|
||||
and the size so small such that being individual extensions would
|
||||
be wasteful.
|
@ -1,8 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/07/11 09:25:03 shell Exp $
|
||||
${P5ARCH}/List/Util.pm
|
||||
${P5ARCH}/Scalar/Util.pm
|
||||
${P5ARCH}/auto/List/Util/Util.bs
|
||||
${P5ARCH}/auto/List/Util/Util.so
|
||||
man/man3p/List::Util.3p
|
||||
man/man3p/Scalar::Util.3p
|
||||
@dirrm ${P5ARCH}/auto/List/Util
|
@ -1,24 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2002/11/27 21:36:43 pvalchev Exp $
|
||||
|
||||
IGNORE= "comes with ${OPSYS} as of release 3.3"
|
||||
|
||||
COMMENT= "persistency for perl data structures"
|
||||
|
||||
DISTNAME= Storable-2.05
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= devel perl5
|
||||
|
||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Storable/}
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
REGRESS_DEPENDS= ::devel/p5-Test-Harness
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (Storable-2.05.tar.gz) = 6f7b68c33781322225c0334d99183293
|
||||
RMD160 (Storable-2.05.tar.gz) = cfbdcf24b670463f3ebc0c3d799f09a7c7615d36
|
||||
SHA1 (Storable-2.05.tar.gz) = be78802038c9a1969fa70d4b09bdf4956df9596b
|
@ -1,31 +0,0 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.1 2002/09/20 02:10:38 kevlo Exp $
|
||||
--- Makefile.PL.orig Sat Jun 1 04:22:56 2002
|
||||
+++ Makefile.PL Fri Sep 20 10:01:35 2002
|
||||
@@ -13,27 +13,6 @@ WriteMakefile(
|
||||
DISTNAME => "Storable",
|
||||
MAN3PODS => {},
|
||||
PREREQ_PM => { 'Test::More' => '0.41' },
|
||||
- INSTALLDIRS => 'perl',
|
||||
VERSION_FROM => 'Storable.pm',
|
||||
dist => { SUFFIX => 'gz', COMPRESS => 'gzip -f' },
|
||||
);
|
||||
-
|
||||
-my $ivtype = $Config{ivtype};
|
||||
-
|
||||
-# I don't know if the VMS folks ever supported long long on 5.6.x
|
||||
-if ($ivtype and $ivtype eq 'long long' and $^O !~ /^MSWin/) {
|
||||
- print <<'EOM';
|
||||
-
|
||||
-You appear to have a perl configured to use 64 bit integers in its scalar
|
||||
-variables. If you have existing data written with an earlier version of
|
||||
-Storable which this version of Storable refuses to load with a
|
||||
-
|
||||
- Byte order is not compatible
|
||||
-
|
||||
-error, then please read the section "64 bit data in perl 5.6.0 and 5.6.1"
|
||||
-in the Storable documentation for instructions on how to read your data.
|
||||
-
|
||||
-(You can find the documentation at the end of Storable.pm in POD format)
|
||||
-
|
||||
-EOM
|
||||
-}
|
@ -1,10 +0,0 @@
|
||||
The Storable package brings you persistency for your perl
|
||||
data structures containing SCALAR, ARRAY, HASH or REF
|
||||
objects, i.e. anything that can be conveniently stored to
|
||||
disk and retrieved at a later time.
|
||||
|
||||
It can be used in the regular procedural way by calling
|
||||
store with a reference to the object to store, and
|
||||
providing a file name. The routine returns undef for I/O
|
||||
problems or other internal error, a true value otherwise.
|
||||
Serious errors are propagated as a die exception.
|
@ -1,26 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2002/09/20 02:10:40 kevlo Exp $
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Storable.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/CAN_FLOCK.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/Storable.bs
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/Storable.so
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/_freeze.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/_retrieve.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/_store.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/_store_fd.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/autosplit.ix
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/fd_retrieve.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/freeze.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/lock_nstore.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/lock_retrieve.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/lock_store.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/logcarp.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/logcroak.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/nfreeze.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/nstore.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/nstore_fd.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/read_magic.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/retrieve.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/show_file_magic.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/store.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/store_fd.al
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Storable/thaw.al
|
@ -1,26 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2002/12/29 20:19:11 fgsch Exp $
|
||||
|
||||
IGNORE= "comes with ${OPSYS} as of release 3.3"
|
||||
|
||||
COMMENT= "perl module for running perl test scripts with statistics"
|
||||
|
||||
VERSION= 2.26
|
||||
DISTNAME= Test-Harness-${VERSION}
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= devel perl5
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
|
||||
|
||||
MAINTAINER= Shell Hung <shell@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
post-patch:
|
||||
@perl -pi.orig -e 'm.INSTALLDIRS.&&s,.,,sg' ${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (Test-Harness-2.26.tar.gz) = ec1b1ebc715614a5b06fe7ff5d355f25
|
||||
RMD160 (Test-Harness-2.26.tar.gz) = 0575153abb8b0d6aa28a73eb9dc15f09f4229bd4
|
||||
SHA1 (Test-Harness-2.26.tar.gz) = 017aab7c074836a7b4c9649ce72d3d4775dcdadc
|
@ -1,12 +0,0 @@
|
||||
By using the Test module, you can write test scripts without knowing
|
||||
the exact output this module expects.
|
||||
|
||||
Perl test scripts print to standard output "ok N" for each single
|
||||
test, where N is an increasing sequence of integers. The first line
|
||||
output by a standard test script is "1..M" with M being the number
|
||||
of tests that should be run within the test script.
|
||||
Test::Harness::runtests(@tests) runs all the testscripts named as
|
||||
arguments and checks standard output for the expected "ok N" strings.
|
||||
|
||||
After all tests have been performed, runtests() prints some performance
|
||||
statistics that are computed by the Benchmark module.
|
@ -1,10 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2002/05/09 05:59:37 shell Exp $
|
||||
${P5SITE}/Test/Harness.pm
|
||||
${P5SITE}/Test/Harness/Assert.pm
|
||||
${P5SITE}/Test/Harness/Iterator.pm
|
||||
${P5SITE}/Test/Harness/Straps.pm
|
||||
man/man3p/Test::Harness.3p
|
||||
man/man3p/Test::Harness::Assert.3p
|
||||
man/man3p/Test::Harness::Iterator.3p
|
||||
man/man3p/Test::Harness::Straps.3p
|
||||
@dirrm ${P5SITE}/Test/Harness
|
@ -1,28 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2002/10/30 00:03:38 pvalchev Exp $
|
||||
|
||||
IGNORE= "comes with ${OPSYS} as of release 3.3"
|
||||
|
||||
COMMENT= "basic utilities for writing tests in perl"
|
||||
|
||||
VERSION= 0.47
|
||||
DISTNAME= Test-Simple-${VERSION}
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= devel perl5
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
|
||||
|
||||
MAINTAINER= Shell Hung <shell@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
BUILD_DEPENDS= :p5-Test-Harness-*:devel/p5-Test-Harness
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
REGRESS_TARGET= test
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (Test-Simple-0.47.tar.gz) = 4a6c12685bfeadfe8ff6fca70825f90c
|
||||
RMD160 (Test-Simple-0.47.tar.gz) = 8ba58480b138fa90ab561169bb88f1781e43a2e2
|
||||
SHA1 (Test-Simple-0.47.tar.gz) = f9e3c343923699eb4c0cb96ac5b574fa11a3149c
|
@ -1,2 +0,0 @@
|
||||
This is an extremely simple, extremely basic module for writing
|
||||
tests suitable for CPAN modules and other pursuits.
|
@ -1,9 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2002/04/18 14:24:59 shell Exp $
|
||||
${P5SITE}/Test/Builder.pm
|
||||
${P5SITE}/Test/More.pm
|
||||
${P5SITE}/Test/Simple.pm
|
||||
${P5SITE}/Test/Tutorial.pod
|
||||
man/man3p/Test::Builder.3p
|
||||
man/man3p/Test::More.3p
|
||||
man/man3p/Test::Simple.3p
|
||||
man/man3p/Test::Tutorial.3p
|
@ -1,19 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2002/12/29 20:19:11 fgsch Exp $
|
||||
|
||||
IGNORE= "comes with ${OPSYS} as of release 3.3"
|
||||
|
||||
COMMENT= "high resolution ualarm, sleep, and gettimeofday module"
|
||||
|
||||
DISTNAME= Time-HiRes-01.20
|
||||
PKGNAME= p5-Time-HiRes-1.20
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Time/}
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (Time-HiRes-01.20.tar.gz) = 8942a6599a93837fd9aec6ce7832a822
|
||||
RMD160 (Time-HiRes-01.20.tar.gz) = b146367341ea0cf536324301ce3735d221a7dc7e
|
||||
SHA1 (Time-HiRes-01.20.tar.gz) = baae7d6a3fea1e060174e4887df63aa363c6294c
|
@ -1,6 +0,0 @@
|
||||
Time::HiRes module: High resolution time, sleep, and alarm.
|
||||
|
||||
Implement usleep, ualarm, and gettimeofday for Perl, as well as wrappers
|
||||
to implement time, sleep, and alarm that know about non-integral seconds.
|
||||
|
||||
POD documentation is embedded.
|
@ -1,6 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2002/04/16 19:25:04 espie Exp $
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Time/HiRes.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Time/HiRes/HiRes.bs
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Time/HiRes/HiRes.so
|
||||
man/man3p/Time::HiRes.3p
|
||||
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Time/HiRes
|
Loading…
x
Reference in New Issue
Block a user