perl-net-cups
MEDIUM
maintainer jthvai
5 votes
scanned 2026-11-04 08:06:45.494616
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: René Wagner <rwagner at rw-net dot de>
2
# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
3
# Generator : CPANPLUS::Dist::Arch 1.32
4
5
pkgname='perl-net-cups'
6
pkgver='0.64'
7
pkgrel='2'
8
pkgdesc="Common Unix Printing System Interface"
9
arch=('i686' 'x86_64')
10
license=('PerlArtistic' 'GPL')
11
options=('!emptydirs')
12
depends=('perl' 'e2fsprogs>=1.43.4' 'glibc>=2.25' 'krb5>=1.13.7' 'libcups>=2.2.3' 'zlib>=1:1.2.11' 'cups-filters')
13
makedepends=()
14
url='https://metacpan.org/release/Net-CUPS'
15
source=('http://search.cpan.org/CPAN/authors/id/N/NI/NINE/Net-CUPS-0.64.tar.gz')
16
sha256sums=('d7bc77ff0f62bf874c843c590eb12a80bbd44749a2fb74dbed445c35d0e85a85')
17
_distdir="Net-CUPS-0.64"
18
19
prepare() {
20
cd "$srcdir/$_distdir"
21
# Replace all instances of CUPS_IMAGE_ with CF_IMAGE_ in the source files
22
find . -type f -exec sed -i 's/CUPS_IMAGE_/CF_IMAGE_/g' {} +
23
}
24
25
build() {
26
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
27
PERL_AUTOINSTALL=--skipdeps \
28
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
29
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
30
MODULEBUILDRC=/dev/null
31
32
cd "$srcdir/$_distdir"
33
/usr/bin/perl Makefile.PL
34
make
35
)
36
}
37
38
check() {
39
cd "$srcdir/$_distdir"
40
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
41
make test
42
)
43
}
44
45
package() {
46
cd "$srcdir/$_distdir"
47
make install
48
49
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
50
}
51
52
# Local Variables:
53
# mode: shell-script
54
# sh-basic-offset: 2
55
# End:
56
# vim:set ts=2 sw=2 et:
57
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-04 08:06:45 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |